A method and system for dynamic allocation of shared control between a vehicle and a human
By reconstructing the driver's counterfactual intent trajectory and normalizing it according to scenario conditions, the problem of inaccurate allocation of human-machine shared control rights in existing technologies is solved. This achieves accurate allocation of control rights that reflects the consistency of human-machine styles within the same style space, ensuring vehicle safety and meeting driver habits.
Patent Information
- Application Number
- CN202611524859.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing human-machine shared control allocation schemes cannot effectively distinguish the differences in driving styles between drivers and autonomous driving systems, resulting in inaccurate control allocation and failing to meet the needs of safety constraints and driver habits.
By reconstructing the driver's counterfactual intent trajectory without superimposed autonomous driving input, behavioral primitive features are extracted using the same operator and normalized according to scenario conditions. Based on the estimated covariance and reliability weighting, preference control weights are generated, projected onto the safe and feasible set, and output control commands that satisfy vehicle dynamics and actuator constraints.
It achieves accurate reflection of the consistency between human and machine styles in the same style space, provides a reliable basis for the allocation of control rights, and ensures safe vehicle operation and meets the needs of driver habits.
Smart Images

Figure CN123169953A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle autonomous driving and human-machine collaborative control technology, and in particular to a method and system for dynamic allocation of shared control rights between humans and machines in vehicles. Background Technology
[0002] With the development of intelligent driving technology, vehicles with partial autonomous driving capabilities have been widely deployed in practical use. For the foreseeable future, autonomous driving systems cannot completely replace drivers, and vehicles will still need to operate in a human-machine shared control mode: both the driver and the autonomous driving system possess control capabilities, with longitudinal and lateral control being jointly performed by both in a certain proportion. To ensure that the vehicle meets both safety constraints and conforms to driver habits, the control authority of the autonomous driving system in the longitudinal and lateral control channels needs to be dynamically determined based on the actual human-machine state during driving.
[0003] Existing human-machine shared control allocation schemes generally use the behavioral differences between humans and machines as the basis for adjusting control rights. One type of scheme first extracts features from the driver's historical driving behavior, classifying them into styles such as conservative, average, aggressive, or novice, and then determines control rights and control parameters by looking up tables or rules according to the categories. Another type of scheme compares the driver's input and the autonomous driving's planned input in real time during the shared control process, for example, using the degree of steering wheel torque conflict, the deviation between the driver's intended trajectory and the autonomous driving's planned trajectory, or the driver's state and takeover ability as inputs to adjust the control weights. Still other schemes quantify the uncertainty of human commands and solve for the compromise control quantity closest to the human command within a safe and feasible set defined by lane, collision, and vehicle stability. In addition, some schemes focus on learning individual driving styles and modifying the autonomous driving's planning or cost function accordingly, so that the autonomous driving output approaches the driver's preferences.
[0004] The common thread in the aforementioned schemes is that the differences in human-machine behavior used to drive the allocation of control rights are all derived by directly comparing the vehicle response, operation, or trajectory quantities of the driver and autonomous driving sides at the same moment. However, in shared control, the differences obtained from this direct comparison are not equivalent to differences in driving styles. First, during shared control, the actual vehicle response is simultaneously influenced by both the driver's operation and the autonomous driving control input. The driver behavior inferred from the vehicle response is already mixed with the influence of the autonomous driving control input and cannot represent the driver's own expectations. Second, the driver and autonomous driving are in the same driving scenario, and their behavior is simultaneously driven by common external factors such as road curvature, the motion state of vehicles ahead, and road surface adhesion conditions. The differences obtained from direct comparison contain a large number of components caused by the scenario rather than style. Third, the difference quantities themselves do not carry confidence information; the estimation accuracy and validity differences of each feature dimension are not distinguished, and low-precision or invalid dimensions are treated equally with high-confidence dimensions.
[0005] In summary, existing methods all obtain differences in human-machine behavior by directly comparing the response, operation, or trajectory quantities of the driver and the autonomous driving side at the same time. However, this comparison already incorporates the control input of the other party, the comparison process does not remove common external factors of the scenario, and the difference quantities do not carry confidence information. As a result, the obtained difference becomes a mixture of input coupling, scenario external factors, and style individuality. Ultimately, this difference cannot be attributed to driving style and cannot be used as a reliable basis for the allocation of control. Summary of the Invention
[0006] Based on this, it is necessary to provide a method and system for dynamic allocation of vehicle human-machine shared control rights to address the aforementioned technical problems. This method can reconstruct the driver's counterfactual intent trajectory without superimposed autonomous driving input, extract behavioral primitive features of both parties using the same operator, normalize them according to scene conditions, and obtain the longitudinal and lateral driving style matching degree based on the estimated covariance and reliability weighting; thereby generating preference control rights and projecting them onto a safe and feasible set, outputting control commands that satisfy vehicle dynamics and actuator constraints.
[0007] The following technical solution is adopted in this specification: This manual provides a method for dynamically allocating vehicle human-machine shared control rights, including the following steps: The system obtains the current driving scenario constraint vector, driver operation amount, vehicle status information, and candidate planning trajectory of the autonomous driving system in the current prediction time domain.
[0008] The driver's input and the vehicle state information are input into the vehicle dynamics model to reconstruct the counterfactual intent trajectory. Using the same behavioral feature extraction operator in the same prediction time domain, behavioral primitive features are extracted from both the counterfactual intent trajectory and the candidate planning trajectory. These features are then normalized according to the mean and scale of the scene conditions corresponding to the current driving scenario constraint vector, resulting in a driver style vector and an autonomous driving style vector located in the same driving style space. The joint uncertainty is determined based on the estimated covariance of the driver style vector and the autonomous driving style vector. The difference between the two style vectors is weighted by combining the reliability of each feature dimension to obtain the longitudinal driving style matching degree and the lateral driving style matching degree, respectively. The counterfactual intent trajectory is the vehicle state trajectory corresponding to the driver's input without superimposed autonomous driving control input.
[0009] Based on the driving style matching degree of the two channels, the preferred autonomous driving control rights of the corresponding channels are generated. The preferred autonomous driving control rights of the two channels are projected onto the feasible set determined by the vehicle safety constraints to obtain the execution control rights of the corresponding channels. The driver motion reference and autonomous driving planning reference are fused into the channels according to the execution control rights to generate control commands that satisfy vehicle dynamics and actuator constraints and output them to the vehicle actuators.
[0010] Furthermore, the driver's input and the vehicle state information are input into the vehicle dynamics model to reconstruct the counterfactual intent trajectory. Specifically, this involves: based on at least one of the following: steering wheel torque, steering wheel angle, accelerator pedal opening, brake pedal opening, and their time series, combined with the vehicle dynamics model, solving for the counterfactual vehicle motion trajectory corresponding to the driver's operation when there is no autonomous driving control input. ; ; in, Take the independent variable that minimizes the objective function. , Input operators for the vehicle inverse model. For candidate trajectories in the th The vehicle state in each predicted step. To predict the number of steps, For the first Actual measurement of driver's input. This is the weight matrix for each component of the driver's input. The trajectory smoothing coefficient, It is a second-order difference operator. For constraint identification, For vehicle dynamics model, For the first Step vehicle status quantity.
[0011] Further, by normalizing the mean and scale of the scene conditions corresponding to the current driving scenario constraint vector, the driver style vector and autonomous driving style vector located in the same driving style space are obtained as follows: The scene baseline model outputs the mean and scale matrix of the current scenario based on the current driving scenario constraint vector, and normalizes the behavioral primitive features of the driver side and the autonomous driving side respectively, thereby removing the interference of road curvature, forward vehicle risk and road surface adhesion conditions on behavioral differences, so that the features of the driver side and the autonomous driving side have a basis for direct comparison after eliminating the common effects, and the obtained differences reflect the consistency of driving styles; the scene baseline model is determined by the conditional distribution obtained by performing conditional statistics on historical vehicle motion behavior in the same scenario; the driver style vector includes long-term driving style parameters representing stable behavioral characteristics and short-term behavioral offset parameters representing behavioral changes under the current driving conditions; the method for normalizing the behavioral primitive features of the driver side and the autonomous driving side respectively is as follows: ; in, For the control subject In the passage At Scene-normalized style vector at any given moment For channel In the scene The conditional scaling matrix under the following conditions as the main body In the passage At The feature vector of the behavioral primitive at time step. As a driver, For autonomous driving, It is a vertical channel. It is a horizontal passage.
[0012] Furthermore, the weighted summation of the differences between the two style vectors based on the reliability of each feature dimension to obtain the driving style matching degree of the longitudinal control channel and the lateral control channel is specifically as follows: The joint uncertainty is constructed by superimposing a regularization term on the sum of the style estimation covariances of the driver's side and the autonomous driving side; a reliability matrix is constructed using the feature validity of each dimension determined by sensor effectiveness, sample size, and scene coverage; the distance obtained by weighting the difference between the two style vectors by the inverse of the joint uncertainty and the reliability matrix is taken, and the difference term of the style change trends on both sides is superimposed to obtain the weighted matching distance; based on the weighted matching distance, the matching degree of the corresponding channel is obtained. This reduces the weight of feature dimensions with high estimation uncertainty and low reliability in the matching process; when behavioral features are unavailable due to sensor anomalies, missing data, or inapplicability to the current driving task, they are calculated based only on the feature dimensions that are valid for both parties. If the number of valid features is insufficient to support a reliable judgment, the current matching result is maintained, and the autonomous driving control of the corresponding channel is restricted according to the preset safety control strategy. ; in, It is a natural exponential function. For channel The weighted matching distance.
[0013] Furthermore, after obtaining the driving style matching degree of the longitudinal control channel and the lateral control channel respectively, the method further includes: comparing the driver intention reference corresponding to the counterfactual intention trajectory with the autonomous driving planning reference corresponding to the candidate planning trajectory point by point in the prediction time domain. The longitudinal intention reference and the longitudinal planning reference are the longitudinal motion state quantities of the target vehicle, including the target speed, the target acceleration, and the expected headway. The lateral intention reference and the lateral planning reference are the lateral motion state quantities of the target vehicle, including the lateral position, the heading angle, and the path curvature of the target vehicle. A human-machine behavior conflict index is constructed based on the cumulative amount of the obtained motion target deviation. The larger the value of the human-machine behavior conflict index, the greater the difference between the motion targets of the two parties. The human-machine behavior conflict index serves as an auxiliary evaluation parameter for adjusting the control rights of the corresponding channel, and as a cost term for the following rolling optimization, used to suppress adversarial inputs between the driver and the autonomous driving system on the same control channel. Furthermore, the method for generating the preferred autonomous driving control rights for the corresponding channels based on the driving style matching degree of the two channels is as follows: the preferred autonomous driving control rights are generated by mapping the driving style matching degree of the two channels. The higher the driving style matching degree, the closer the preferred control rights are to the upper limit of the channel; the lower the driving style matching degree, the closer they are to the lower limit. The upper limit and the lower limit are determined by the driver's current takeover ability and effective forced takeover intention, so that the autonomous driving control rights of the corresponding channel are restricted to a value range that is compatible with the takeover ability. Different control requirements are processed according to the following priority: first, vehicle safety constraints are met; second, the driver's effective forced takeover requirements are responded to; and finally, the degree of control participation is adjusted according to the driving style matching degree.
[0014] Furthermore, after generating control commands that satisfy vehicle dynamics and actuator constraints and outputting them to the vehicle actuators, closed-loop feedback optimization is also included. Specifically, the closed-loop feedback includes a fast loop and a slow loop. The fast loop operates on a control cycle, updating the current matching degree, conflict index, and control authority. The slow loop updates model parameters only after accumulating a sufficient number of identifiable interaction segments. The identifiable segments must at least satisfy the following conditions: sufficient driver contribution ratio, effective operation signal-to-noise ratio, healthy sensors, and no emergency avoidance misoperation. This avoids updating the driver model with vehicle responses dominated by autonomous driving when autonomous driving has a high weight. The update objects of the slow loop may include driver long-term style parameters, autonomous driving planning cost parameters, matching degree mapping slope, and hysteresis threshold.
[0015] All updates undergo parameter domain projection, version management, and rollback checks; if an update causes an increase in the security constraint trigger rate or a deterioration in verification metrics, it is frozen or rolled back to the previous version.
[0016] This manual provides a dynamic allocation system for shared control rights in vehicles, specifically including: The data acquisition module is used to obtain the vehicle's current driving scenario constraint vector, driver operation amount, vehicle status information, and candidate planning trajectory of the autonomous driving system in the current prediction time domain.
[0017] The style vector generation module is used to input the driver's operation amount and the vehicle state information into the vehicle dynamics model to reconstruct the counterfactual intent trajectory. Using the same behavioral feature extraction operator in the same prediction time domain, behavioral primitive features are extracted from the counterfactual intent trajectory and the candidate planning trajectory respectively, and normalized according to the mean and scale of the scene conditions corresponding to the current driving scene constraint vector to obtain the driver style vector and the autonomous driving style vector located in the same driving style space.
[0018] The driving style matching degree calculation module is used to determine the joint uncertainty based on the estimated covariance of the driver style vector and the autonomous driving style vector, and to weight the difference between the two style vectors by combining the reliability of each feature dimension to obtain the longitudinal driving style matching degree and the lateral driving style matching degree respectively; the counterfactual intent trajectory is the vehicle state trajectory corresponding to the driver's operation amount when the autonomous driving control input is not superimposed.
[0019] The control command generation module is used to generate the preferred autonomous driving control rights for the corresponding channels based on the driving style matching degree of the two channels, determine the execution control rights for the corresponding channels based on the preferred autonomous driving control rights, and fuse the driver motion reference and autonomous driving planning reference for each channel according to the execution control rights to generate control commands that satisfy vehicle dynamics and actuator constraints and output them to the vehicle actuators.
[0020] The beneficial effects of this invention are as follows: Compared with the prior art, this invention reconstructs the counterfactual intention trajectory without superimposed autonomous driving control input based on the vehicle dynamics model, extracts the behavioral primitive features of both parties in the same prediction time domain using the same operator and normalizes them according to the mean and scale of the scene conditions, and then determines the joint uncertainty based on the estimated covariance of the two style vectors and weights the differences by combining the reliability of each dimension. This makes the driver's behavior exclude the interference of autonomous driving input, the features of both parties are in the same style space and the common external factors of the scene are canceled out, and the low confidence dimension is reduced in weight. This enables the longitudinal and lateral matching degree to truly reflect the degree of consistency between human and machine styles and can be attributed to the driving style. Thus, it can serve as a reliable basis for the allocation of control rights and can be used for longitudinal and lateral control channels respectively. Attached Figure Description
[0021] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:
[0022] Figure 1 This is a general flowchart of an embodiment of the present invention; Figure 2 This is a schematic diagram of the system composition and data control closed loop of an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the construction of a scenario-normalized shared driving style space according to an embodiment of the present invention. Figure 4 This is a schematic diagram of the matching degree-driven channelized control right security projection according to an embodiment of the present invention; Figure 5 This is a schematic diagram of channelized shared control fusion and constraint predictive control according to an embodiment of the present invention; Figure 6 This is a schematic diagram of dual-time-scale closed-loop optimization for identifiability gating according to an embodiment of the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this invention.
[0024] Example like Figure 2 As shown, this embodiment employs a system comprising a data acquisition module, a style vector generation module, a driving style matching degree calculation module, and a control command generation module. The style vector generation module includes a driver intent and driving style identification submodule and an autonomous driving behavior modeling submodule. The control command generation module includes a dynamic control allocation submodule, a safety constraint supervisor, and a shared control fusion submodule. These modules interact via a vehicle communication network to jointly complete human-machine behavior analysis, control adjustment, and vehicle motion control. The system outputs longitudinal and lateral style matching degrees. A high matching degree increases the autonomous driving preference control power for the corresponding channel; a low matching degree reduces the autonomous driving preference control power for the corresponding channel, provided the driver has the ability to take over and does not violate safety constraints. The preference control power is not a direct weight of the actuator but is projected onto a feasible set defined by a safety function, takeover capability, control power rate, and hysteresis. The system then first fuses the motion references of the driver and autonomous driving, and then calculates actuator commands through constraint predictive control, thereby avoiding conflicts caused by simple command superposition.
[0025] This embodiment does not treat "driving style matching" as a simple equality judgment based on a single category label. Instead, it projects the driver's counterfactual intent trajectory and the autonomous driving candidate trajectory into a common multi-dimensional behavioral feature space. The counterfactual intent trajectory refers to the trajectory the driver hopes the vehicle will form, reconstructed based on the driver's actions, assuming that the autonomous driving control input is not superimposed. By normalizing the behavioral features of both parties using the same scenario condition baseline, the interference of common external factors such as road curvature, forward vehicle risk, and adhesion conditions on the matching judgment can be reduced; for example... Figure 1 As shown, the specific steps include:
[0026] S1: Scene Normalization and Collaborative Driving Style Space Construction To achieve an effective comparison between the driving behavior of the driver and the autonomous driving system, this embodiment constructs as follows: Figure 3 The scenario shown is a normalized shared driving style space. For each control cycle, a constraint vector for the current driving scenario is first generated. Based on this constraint vector, a corresponding driving behavior benchmark model is established to obtain the conditional mean and scale of vehicle motion behavior under the current scenario. The driving behavior benchmark model can be implemented using statistical analysis methods, probabilistic models, machine learning models, or a combination of these models. The purpose of this model is to provide a unified behavioral evaluation benchmark, enabling comparison of the driver's and the autonomous driving system's behavioral characteristics under the same conditions, rather than to limit the specific model structure. On the driver's side: Based on the driver's steering wheel operation, pedal operation, and vehicle state information, the driver's desired vehicle trajectory is reconstructed through a vehicle dynamics model to obtain the counterfactual vehicle trajectory. This trajectory represents the vehicle's motion state that the driver might exhibit without any input from autonomous driving control.
[0027] ; in, Take the independent variable that minimizes the objective function. , Input operators for the vehicle inverse model. For candidate trajectories in the th The vehicle state in each predicted step. To predict the number of steps, For the first Actual measurement of driver's input. This is the weight matrix for each component of the driver's input. The trajectory smoothing coefficient, It is a second-order difference operator. For constraint identification, For vehicle dynamics model, For the first Step vehicle status quantity.
[0028] Subsequently, driving behavior features are extracted from the trajectory and normalized to obtain the driver's driving style vector. On the autonomous driving side: candidate trajectories that have not yet been executed within the current prediction period of the autonomous driving system are obtained. Using the same behavior feature extraction method as the driver side, the autonomous driving behavior style vector is obtained. Through these methods, both the driver and the autonomous driving system are mapped to the same driving style space, enabling direct comparison of behavior features between different control entities.
[0029] The method for scene normalization is as follows: ; in, For the control subject In the passage At Scene-normalized style vector at any given moment For channel In the scene The conditional scaling matrix under the following conditions as the main body In the passage At The feature vector of the behavioral primitive at time step. As a driver, For autonomous driving, It is a vertical channel. For horizontal channels Furthermore, the driving style vector in this embodiment not only describes the driver's long-term stable driving habits but also reflects short-term behavioral changes caused by changes in the current traffic environment, driving tasks, and driving stress. Specifically, the long-term driving style parameter represents the driver's stable behavioral characteristics, while the short-term behavioral offset parameter represents changes in driving behavior under current driving conditions. By combining long-term features and short-term changes, the adaptability of driving style recognition to complex driving environments can be improved.
[0030] S2: Style Matching and Human-Computer Conflict Calculation After obtaining the driver's driving style vector and the autonomous driving behavior style vector, this embodiment calculates the style matching degree corresponding to the longitudinal control channel and the lateral control channel, respectively. For any control channel: first, the difference between the driver's style vector and the autonomous driving style vector is calculated; second, based on the joint uncertainty of the driving style estimates of both parties... The reliability matrix is obtained by weighting the behavioral differences. Behavioral change trends and uncertainty-weighted matching distance ;
[0031] ; ; ; ; in, and These are the estimated covariances of the style vectors on the driver's side and the autonomous driving side, respectively. To prevent singular regularization terms in the matrix, It is the identity matrix. For the first Dimensional feature effectiveness The feature dimension of the primitive, Due to differences in style and location, For the inverse of joint uncertainty, This is the weighted reliability matrix. For the weight of the difference in trend, Differences in trends of change.
[0032] Finally, the matching results are further refined based on feature effectiveness and behavioral change trends. This approach reduces the impact of unreliable features on the matching results and improves the stability of driving style matching.
[0033] When some behavioral features cannot be obtained due to sensor malfunctions, missing data, or inapplicability to the current driving task, this embodiment calculates the style matching degree based solely on the feature dimensions that are mutually valid. ; ; in, It is a natural exponential function. For channel The weighted matching distance.
[0034] If the number of valid features is insufficient to support a reliable judgment, the current matching result is maintained or a preset safety control strategy is adopted to avoid abnormal changes in control due to insufficient data. Furthermore, this embodiment establishes a human-machine behavior conflict index based on the difference between driver intent references and autonomous driving planning references. This indicator is used to describe the degree of consistency between the moving targets of both parties within the prediction time range, and serves as an auxiliary evaluation parameter in the process of adjusting control.
[0035] ; in, To predict the number of steps, For the prediction step index, The trajectory of counterfactual intent in the first The target motion state of the step, For candidate trajectories, plan the trajectory in the th The target motion state of the step, For channel The moving target deviation weight matrix.
[0036] S3: Dynamic allocation of control rights based on matching degree After obtaining the longitudinal and lateral driving style matching degree between the driver and the autonomous driving system, such as Figure 4 As shown, the human-machine control participation ratio in different control channels is further dynamically adjusted based on the matching results. The driving style matching degree characterizes the consistency of the driver's and the autonomous driving system's behavior in the current driving scenario. Its role is to provide a basis for behavioral preferences in control adjustment, rather than directly determining the vehicle control output. Specifically, for any control channel, the dynamic control allocation module first generates the autonomous driving-side preferred control right based on the corresponding driving style matching degree. The preferred control right represents the degree to which the autonomous driving system expects to participate in vehicle control under the current driving style consistency level.
[0037] ; in, For channel The preference for autonomous driving control, and These are the upper and lower limits of the autonomous driving control authority for that channel (determined by the driver's current control capabilities and valid intent to take over). For channel Driving style compatibility The slope of the mapping. For center matching degree.
[0038] Follow Monotonically increasing; when the behavioral characteristics of the driver and the autonomous driving system are highly consistent in a certain control channel. Increase Approaching the upper limit of this channel indicates a high degree of consistency between the two parties regarding the vehicle's motion target, allowing the system to appropriately increase the level of control intervention on the autonomous driving side. However, when there are significant differences in the behavioral characteristics of the two parties... Decrease As the system approaches its lower limit, it adaptively adjusts the level of driver involvement in autonomous driving control based on the driver's current control capabilities, vehicle safety status, and environmental risks.
[0039] Furthermore, this embodiment specifies the priority relationship between different control requirements: first, vehicle safety constraints are satisfied; second, the driver's effective mandatory takeover requirements are responded to; and finally, the level of control participation is adjusted according to the driving style matching results. Through the above priority design, it can be ensured that the vehicle always maintains a safe operating state when there is a conflict between safety requirements and personalized control requirements.
[0040] ; ; in, The feasible set determined by vehicle safety constraints. It is the control weight vector (containing two components: vertical and horizontal). For the first A security function, Current vehicle status To control the input, The contraction coefficient is the factor by which the safety function, after decaying relative to its current value, does not exceed the boundary. For the total number of safety functions, and These are the lower and upper limits of control, determined by the driver's ability to take over and their effective intent to enforce takeover. This refers to the execution control rights after projection. For those who prefer autonomous driving control, A set defined by the rate of rise or fall of control and the duration of residence. The weight matrix is the deviation term from the preference value. To suppress the weighting of control chattering, It is the execution control right of the previous control cycle.
[0041] The feasible set is defined by safety functions such as lane boundaries, collision, vehicle stability, and road surface adhesion. The obtained preferred control weight is the initial value. In the intersection of the safe feasible set and the constraints of speed and dwell time, the execution control weight with the smallest deviation from the preferred value and the smallest change relative to the previous control cycle is selected, thereby suppressing short-term chattering of the control weight.
[0042] S4: Human-Machine Shared Control Integration like Figure 5 As shown, shared control fusion is preferentially performed at the motion reference layer, rather than directly weighting steering wheel torque, acceleration request, and braking request as scalars. The longitudinal reference can be the target speed, target acceleration, or desired time distance; the lateral reference can be the target lateral position, heading angle, or path curvature.
[0043] ; in, For fusion reference, and These are vertical and horizontal execution control rights, respectively. and These are the driver's longitudinal and lateral motion references, respectively. and These are the longitudinal and lateral motion references for autonomous driving, respectively.
[0044] Fusion Reference As a tracking target for rolling optimization, the optimizer calculates actuator instructions under vehicle dynamics and safety constraints.
[0045] ; in, The control input sequence to be determined is... For the first Step vehicle output, For the first Step-by-step channel fusion reference, The control input increment is used to suppress actuator chattering. , and These are the tracking error weights, incremental weights, and terminal weights matrices, respectively. Weights of human-machine conflict terms. For the first Human-machine behavior conflict indicators.
[0046] For actuators that can be reliably linearly superimposed and have been chassis-verified, incremental fusion can also be performed at the actuator command layer, but stability, safety limiting, and conflict suppression constraints are still required. Lateral and longitudinal control can be solved independently or jointly through attachment circles, yaw stability, or acceleration / deceleration-steering coupling constraints.
[0047] S5: Closed-loop feedback optimization for identifiability gating like Figure 6 As shown, the dual-timescale closed-loop feedback optimization of identifiable gating includes a fast loop and a slow loop. The fast loop operates on a control cycle basis, updating the current matching degree, conflict index, and control authority. The slow loop updates the model parameters only after accumulating a sufficient number of identifiable interaction segments. Identifiable segments must at least satisfy the following conditions: sufficient driver contribution ratio, effective operation signal-to-noise ratio, healthy sensors, and not belonging to emergency avoidance misoperation.
[0048] ; ; in, For channel Identifiable gating, This is an indicator function (it takes a value of 1 if the condition is true, and 0 otherwise). For channel Executive control, The threshold for the proportion of contribution to the driver. The signal-to-noise ratio of driver input. The signal-to-noise ratio threshold. This is an emergency avoidance error indicator (0 indicates that it is not an emergency error). This is a valid indicator for the sensor and data (1 indicates valid). For driver style parameters, For identifiable gating, For recursive gain, These are the basic characteristics of driver behavior as currently measured. The observation matrix of the feature pairs parameters, This refers to the new information (the deviation between prediction and actual measurement).
[0049] This avoids updating the driver model with vehicle responses dominated by autonomous driving when autonomous driving has a high weight.
[0050] The slow loop can update parameters such as driver long-term style parameters, autonomous driving planning cost parameters, matching degree mapping slope, and hysteresis threshold.
[0051] ; ; in, A collection of identifiable interactive fragments. For the first Each segment weight, This is the parameter vector to be updated for the slow loop. and The first The measured features and parameter observation matrix of each segment, To fit the error weight matrix, To prevent drift, regularization weights, These are parameters from the previous version. This is a regularized weight matrix. This is the parameter field (which needs to be projected back to after updating). To allow for a deterioration tolerance in order to ensure a safe trigger rate.
[0052] All updates undergo parameter domain projection, version management, and rollback checks; if an update causes an increase in the security constraint trigger rate or a deterioration in verification metrics, it is frozen or rolled back to the previous version.
[0053] This specification provides a dynamic allocation system for shared control of vehicles and human-machine interfaces, including: The data acquisition module is used to obtain the vehicle's current driving scenario constraint vector, driver operation amount, vehicle status information, and candidate planning trajectory of the autonomous driving system in the current prediction time domain.
[0054] The style vector generation module is used to input the driver's operation amount and the vehicle state information into the vehicle dynamics model to reconstruct the counterfactual intent trajectory. Using the same behavioral feature extraction operator in the same prediction time domain, behavioral primitive features are extracted from the counterfactual intent trajectory and the candidate planning trajectory respectively, and normalized according to the mean and scale of the scene conditions corresponding to the current driving scene constraint vector to obtain the driver style vector and the autonomous driving style vector located in the same driving style space.
[0055] The driving style matching degree calculation module is used to determine the joint uncertainty based on the estimated covariance of the driver style vector and the autonomous driving style vector, and to weight the difference between the two style vectors by combining the reliability of each feature dimension to obtain the longitudinal driving style matching degree and the lateral driving style matching degree respectively; the counterfactual intent trajectory is the vehicle state trajectory corresponding to the driver's operation amount when the autonomous driving control input is not superimposed.
[0056] The control command generation module is used to generate the preferred autonomous driving control rights for the corresponding channels based on the driving style matching degree of the two channels, determine the execution control rights for the corresponding channels based on the preferred autonomous driving control rights, and fuse the driver motion reference and autonomous driving planning reference for each channel according to the execution control rights to generate control commands that satisfy vehicle dynamics and actuator constraints and output them to the vehicle actuators.
[0057] This specification provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described above.
[0058] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0059] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A method for dynamically allocating vehicle human-machine shared control rights, characterized in that, Includes the following steps: Obtain the vehicle's current driving scenario constraint vector, driver operation amount, vehicle status information, and candidate planning trajectory of the autonomous driving system in the current prediction time domain; The driver's input and the vehicle state information are input into the vehicle dynamics model to reconstruct the counterfactual intent trajectory. Using the same behavioral feature extraction operator in the same prediction time domain, behavioral primitive features are extracted from both the counterfactual intent trajectory and the candidate planning trajectory. These features are then normalized according to the mean and scale of the scene conditions corresponding to the current driving scenario constraint vector, resulting in a driver style vector and an autonomous driving style vector located in the same driving style space. The joint uncertainty is determined based on the estimated covariance of the driver style vector and the autonomous driving style vector. The difference between the two style vectors is weighted by combining the reliability of each feature dimension to obtain the longitudinal driving style matching degree and the lateral driving style matching degree, respectively. The counterfactual intent trajectory is the vehicle state trajectory corresponding to the driver's input without superimposed autonomous driving control input. Based on the driving style matching degree of the two channels, the preferred autonomous driving control rights of the corresponding channels are generated. Based on the preferred autonomous driving control rights, the execution control rights of the corresponding channels are determined. The driver motion reference and autonomous driving planning reference are fused into channels according to the execution control rights to generate control commands that satisfy vehicle dynamics and actuator constraints and output them to the vehicle actuators.
2. The method for dynamically allocating vehicle human-machine shared control rights as described in claim 1, characterized in that, The driver's input and the vehicle state information are input into the vehicle dynamics model to reconstruct the counterfactual intent trajectory. Specifically, this involves: based on at least one of the following: steering wheel torque, steering wheel angle, accelerator pedal opening, brake pedal opening, and their time series, combined with the vehicle dynamics model, solving the counterfactual vehicle motion trajectory corresponding to the driver's operation when there is no autonomous driving control input. ; ; in, Take the independent variable that minimizes the objective function. , Input operators for the vehicle inverse model. For candidate trajectories in the th The vehicle state in each predicted step. To predict the number of steps, For the first Actual measurement of driver's input. This is the weight matrix for each component of the driver's input. The trajectory smoothing coefficient, It is a second-order difference operator. For constraint identification, For vehicle dynamics model, For the first Step vehicle status quantity.
3. The method for dynamically allocating vehicle human-machine shared control rights as described in claim 2, characterized in that, The driver style vector and autonomous driving style vector within the same driving style space are obtained by normalizing the mean and scale of the scene conditions corresponding to the current driving scenario constraint vector. Specifically, the scene baseline model outputs the mean and scale matrix of the current scenario based on the current driving scenario constraint vector, and normalizes the behavioral primitive features of the driver side and the autonomous driving side respectively. This removes the interference of road curvature, forward vehicle risk, and road surface adhesion conditions on behavioral differences, allowing the driver side and autonomous driving side features to be directly compared after eliminating the combined effects. The resulting differences reflect the consistency of driving styles. The scene baseline model is determined by the conditional distribution obtained by performing conditional statistics on historical vehicle motion behavior in the same scenario. The driver style vector includes long-term driving style parameters representing stable behavioral characteristics and short-term behavioral offset parameters representing behavioral changes under the current driving conditions. The method for normalizing the behavioral primitive features of the driver side and the autonomous driving side is as follows: ; in, For the control subject In the passage At Scene-normalized style vector at any given moment For channel In the scene The conditional scaling matrix under the following conditions as the main body In the passage At The feature vector of the behavioral primitive at time step. As a driver, For autonomous driving, It is a vertical channel. It is a horizontal passage.
4. The method for dynamically allocating vehicle human-machine shared control rights as described in claim 1, characterized in that, The method of weighting the difference between the two style vectors by combining the reliability of each feature dimension to obtain the driving style matching degree of the longitudinal control channel and the lateral control channel is as follows: The joint uncertainty is constructed by adding a regularization term to the sum of the style estimation covariances of the driver side and the autonomous driving side; the reliability matrix is constructed by using the feature effectiveness of each dimension determined by sensor effectiveness, sample size, and scene coverage; the distance obtained by weighting the difference between the two style vectors by the inverse of the joint uncertainty and the reliability matrix, and then adding the difference term of the style change trend on both sides, yields the weighted matching distance; based on the weighted matching distance, the matching degree of the corresponding channel is obtained. This reduces the weight of feature dimensions with high estimation uncertainty and low reliability in the matching process; when behavioral features are unavailable due to sensor anomalies, missing data, or inapplicability to the current driving task, they are calculated based only on the feature dimensions that are valid for both parties. If the number of valid features is insufficient to support a reliable judgment, the current matching result is maintained, and the autonomous driving control of the corresponding channel is restricted according to the preset safety control strategy. ; in, It is a natural exponential function. For channel The weighted matching distance.
5. The method for dynamically allocating vehicle human-machine shared control rights as described in claim 1, characterized in that, After obtaining the driving style matching degree of the longitudinal control channel and the lateral control channel respectively, the method further includes: comparing the driver intention reference corresponding to the counterfactual intention trajectory with the autonomous driving planning reference corresponding to the candidate planning trajectory point by point in the prediction time domain. The longitudinal intention reference and the longitudinal planning reference are the longitudinal motion state quantities of the target vehicle, including the target speed, the target acceleration, and the expected headway. The lateral intention reference and the lateral planning reference are the lateral motion state quantities of the target vehicle, including the lateral position, the heading angle, and the path curvature of the target vehicle. A human-machine behavior conflict index is constructed based on the cumulative amount of the obtained motion target deviation. The larger the value of the human-machine behavior conflict index, the greater the difference between the motion targets of the two parties. The human-machine behavior conflict index serves as an auxiliary evaluation parameter for adjusting the control rights of the corresponding channel, and as a cost term for the following rolling optimization, used to suppress adversarial inputs between the driver and the autonomous driving system on the same control channel.
6. The method for dynamically allocating vehicle human-machine shared control rights as described in claim 1, characterized in that, The method for generating preferred autonomous driving control rights for corresponding channels based on the driving style matching degree of the two channels is as follows: preferred autonomous driving control rights are generated by mapping the driving style matching degree of the two channels. The higher the driving style matching degree, the closer the preferred control rights are to the upper limit of that channel; the lower the driving style matching degree, the closer they are to the lower limit. The upper limit and the lower limit are determined by the driver's current takeover ability and effective forced takeover intention, so that the autonomous driving control rights of the corresponding channel are restricted to a value range that is compatible with the takeover ability. Different control requirements are processed according to the following priority: first, vehicle safety constraints are met; second, the driver's effective forced takeover requirements are responded to; and finally, the degree of control participation is adjusted according to the driving style matching degree.
7. The method for dynamically allocating vehicle human-machine shared control rights as described in claim 1, characterized in that, After generating control commands that satisfy vehicle dynamics and actuator constraints and outputting them to the vehicle actuators, the process further includes closed-loop feedback optimization. Specifically, the closed-loop feedback includes a fast loop and a slow loop. The fast loop operates on a control cycle basis, updating the current matching degree, conflict index, and control authority. The slow loop updates model parameters only after accumulating a sufficient number of identifiable interaction segments. These identifiable segments must at least satisfy the following conditions: sufficient driver contribution ratio, effective operation signal-to-noise ratio, healthy sensors, and no emergency avoidance misoperation. This avoids updating the driver model with vehicle responses dominated by autonomous driving when autonomous driving has a high weight. The slow loop updates parameters such as long-term driver style parameters, autonomous driving planning cost parameters, matching degree mapping slope, and hysteresis threshold. All updates undergo parameter domain projection, version management, and rollback checks; if an update causes an increase in the security constraint trigger rate or a deterioration in verification metrics, it is frozen or rolled back to the previous version.
8. A dynamic allocation system for shared control rights of vehicles and human-machine interfaces, characterized in that... include: The data acquisition module is used to acquire the current driving scenario constraint vector of the vehicle, the driver's operation amount, the vehicle status information, and the candidate planning trajectory of the autonomous driving system in the current prediction time domain. The style vector generation module is used to input the driver's operation amount and the vehicle state information into the vehicle dynamics model to reconstruct the counterfactual intent trajectory; using the same behavioral feature extraction operator in the same prediction time domain, behavioral primitive features are extracted from the counterfactual intent trajectory and the candidate planning trajectory respectively, and normalized according to the mean and scale of the scene conditions corresponding to the current driving scene constraint vector to obtain the driver style vector and the autonomous driving style vector located in the same driving style space. The driving style matching degree calculation module is used to determine the joint uncertainty based on the estimated covariance of the driver style vector and the autonomous driving style vector, and to weight the difference between the two style vectors by combining the reliability of each feature dimension to obtain the longitudinal driving style matching degree and the lateral driving style matching degree respectively; the counterfactual intent trajectory is the vehicle state trajectory corresponding to the driver's operation amount when no autonomous driving control input is superimposed. The control command generation module is used to generate the preferred autonomous driving control rights for the corresponding channels based on the driving style matching degree of the two channels, determine the execution control rights for the corresponding channels based on the preferred autonomous driving control rights, and fuse the driver motion reference and autonomous driving planning reference for each channel according to the execution control rights to generate control commands that satisfy vehicle dynamics and actuator constraints and output them to the vehicle actuators.
9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1 to 7.
10. A computer device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in any one of claims 1 to 7.
