Intelligent vehicle trajectory tracking control method and system

Through the combination of long short-term memory neural network and adaptive spiral sliding mode algorithm, the problem of fine adjustment of feedback control technology in nonlinear systems is solved, and high-accuracy and robust control of smart car trajectory tracking are achieved.

CN117818641BActive Publication Date: 2024-08-30CHONGQING BURNISH TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311711404.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2024-08-30
Estimated Expiration
2043-12-13

AI Technical Summary

Technical Problem

Feedback control technology requires fine adjustments when different working conditions and vehicle dynamics change, and is based on linear control theory, making it difficult to accurately handle problems in systems with strong nonlinear characteristics.

Method used

The trajectory tracking model based on long short-term memory neural network is used to predict the yaw angular velocity and center-of-mass side slip angle. It is combined with the adaptive spiral sliding mode algorithm and the optimal longitudinal force distribution algorithm. The upper and lower layers of controllers work together to generate and distribute yaw. torque to achieve trajectory tracking.

Benefits of technology

It reduces the need for controller parameter adjustment, improves the accuracy and robustness of trajectory tracking, and enhances the adaptability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117818641B
    Figure CN117818641B
Patent Text Reader

Abstract

The present invention discloses a smart car trajectory tracking control method and system, belonging to the technical field of control systems, the method comprising: obtaining a car dynamics model; tracking the car trajectory through a trajectory tracking model based on a long short-term memory neural network, predicting the car's yaw rate and center of mass sideslip angle; determining the best additional yaw moment to maintain the car's trajectory according to the predicted yaw rate and center of mass sideslip angle through an upper controller based on an adaptive spiral sliding mode algorithm; determining the torque distribution of each wheel according to the best additional yaw moment through a lower controller based on an optimal longitudinal force distribution algorithm, and controlling the car based on the torque distribution result. In the present invention, the end-to-end learning capability of the neural network allows the system to extract complex nonlinear relationships from data without relying on manual adjustment of controller parameters, saving time and effort, improving the nonlinear characteristic processing capability, and improving the accuracy and robustness of trajectory tracking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of control systems, and in particular relates to a smart car trajectory tracking control method and system. Background Art

[0002] With the increasing maturity of control technology and the increasing requirements of drivers for safety, maneuverability and comfort, vehicle intelligence research has received widespread attention. Vehicle trajectory tracking is an important part of the intelligent driving process and is crucial for autonomously completing operations such as lane change, overtaking, automatic entry and exit ramps, etc.

[0003] Feedback control technology is an effective method widely used in trajectory tracking. It measures the output of the system and compares it with the expected output, then adjusts the input of the system to reduce the output error, so that the system can better track the expected trajectory.

[0004] However, the performance of feedback control technology is highly dependent on the parameter tuning of the controller. Fine tuning is required for different operating conditions and vehicle dynamics changes, which may require experienced engineers and be time-consuming. Furthermore, feedback control is usually designed based on linear control theory. For systems with strong nonlinear characteristics, linearization methods may need to be used, which may not be accurate enough in some cases. Summary of the invention

[0005] In order to solve the technical problem that the performance of the current feedback control technology is highly dependent on the parameter adjustment of the controller. When the working conditions and vehicle dynamics change, fine adjustments need to be made, which may require experienced engineers and be time-consuming. Furthermore, feedback control is usually designed based on linear control theory. For systems with strong nonlinear characteristics, a linearization method may need to be adopted, which may not be accurate enough in some cases. The present invention provides a smart car trajectory tracking control method and system.

[0006] First aspect

[0007] The present invention provides a smart car trajectory tracking control method, comprising:

[0008] S1: obtain vehicle dynamics model;

[0009] S2: Track the vehicle trajectory through the trajectory tracking model based on the long short-term memory neural network to predict the vehicle's yaw rate and center of mass sideslip angle;

[0010] S3: The upper controller based on the adaptive spiral sliding mode algorithm determines the optimal additional yaw moment to maintain the vehicle trajectory according to the predicted yaw rate and sideslip angle of the center of mass;

[0011] S4: The lower controller based on the optimal longitudinal force distribution algorithm determines the torque distribution of each wheel according to the optimal additional yaw moment to maintain the vehicle trajectory, and controls the vehicle based on the torque distribution result.

[0012] Second aspect

[0013] The present invention provides an intelligent vehicle trajectory tracking control system, comprising a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the intelligent vehicle trajectory tracking control method in the first aspect.

[0014] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0015] (1) In the present invention, the vehicle trajectory is tracked by a trajectory tracking model based on a long short-term memory neural network. The end-to-end learning capability of the neural network allows the system to extract complex nonlinear relationships from the data, thereby reducing the need for fine parameter adjustment. There is no need to rely on manual adjustment of controller parameters, saving time and effort. The long short-term memory neural network can directly learn the mapping between input and output, improve the ability to process nonlinear characteristics, and improve the accuracy and robustness of trajectory tracking.

[0016] (2) In the present invention, the use of an adaptive spiral sliding mode algorithm can effectively handle system uncertainties and external disturbances, help achieve adaptive control of the yaw rate and the sideslip angle of the center of mass, and improve the robustness and performance of the system.

[0017] (3) In the present invention, the use of the optimal longitudinal force distribution algorithm helps to achieve intelligent distribution of wheel torque to achieve the optimal yaw moment, which helps to improve the accuracy and stability of trajectory tracking.

[0018] (4) In the present invention, comprehensive trajectory tracking control is achieved through the collaborative work of the upper and lower controllers. The upper controller is responsible for generating the yaw moment, while the lower controller realizes intelligent control of the wheel torque through optimal longitudinal force distribution, making the entire system more robust and adaptable. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0020] Figure 1 It is a flow chart of a smart car trajectory tracking control method provided by the present invention.

[0021] Figure 2 It is a structural schematic diagram of an intelligent vehicle trajectory tracking control method provided by the present invention.

[0022] Figure 3 It is a schematic diagram of an automobile dynamics model provided by the present invention.

[0023] Figure 4 It is a structural schematic diagram of an intelligent vehicle trajectory tracking control system provided by the present invention. DETAILED DESCRIPTION

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0025] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0026] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0027] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0028] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0029] Example 1

[0030] In one embodiment, the reference specification Figure 1 , which shows a flow chart of a smart car trajectory tracking control method provided by the present invention. Figure 2 , showing a structural schematic diagram of an intelligent vehicle trajectory tracking control method provided by the present invention.

[0031] The present invention provides a smart car trajectory tracking control method, wherein the smart door lock of the smart wooden house serves as an Internet of Things device and establishes a communication connection with a resource server through a verification server.

[0032] The present invention provides a smart car trajectory tracking control method, comprising:

[0033] S1: Obtain vehicle dynamics model.

[0034] Among them, the dynamic model is a mathematical model that describes the laws of motion of an object and is used to predict and analyze the motion behavior of a system under external influences. In automotive engineering, the vehicle dynamics model is used to describe the motion characteristics of a vehicle under different conditions, including longitudinal, lateral and yaw motion. These models are usually based on the basic principles of Newtonian mechanics and rotational dynamics, taking into account factors such as the vehicle's mass distribution, inertia, and tire characteristics.

[0035] Reference Manual Attached Figure 3 , showing a schematic diagram of an automobile dynamics model provided by the present invention.

[0036] In a possible implementation, the vehicle dynamics model specifically includes:

[0037] Longitudinal motion equation:

[0038] Lateral motion equation:

[0039] The equation of yaw direction operation:

[0040] Among them, m represents the vehicle mass, v x represents the longitudinal velocity, v y represents the lateral velocity, γ represents the yaw angular velocity, F xfl represents the longitudinal tire force of the left front wheel, F xfr represents the longitudinal tire force of the right front wheel, F yfl represents the lateral tire force on the left front wheel, F yfr represents the lateral tire force on the right front wheel, F xrl represents the longitudinal tire force of the left rear wheel, F xrr represents the longitudinal tire force of the right rear wheel, F yrl represents the lateral tire force on the left rear wheel, F yrr represents the lateral tire force of the right rear wheel, δ represents the front wheel turning angle, I z represents the moment of inertia in the yaw direction, B is the distance between the left and right wheels, a represents the distance from the center of mass to the front axle, b represents the distance from the center of mass to the rear axle, M z represents the additional yaw moment.

[0041] In the present invention, by acquiring the vehicle dynamics model, the motion characteristics of the vehicle can be more deeply understood, the performance of the control algorithm can be improved, and the reliability and safety of the system can be enhanced.

[0042] S2: The vehicle trajectory is tracked through a trajectory tracking model based on a long short-term memory neural network to predict the vehicle's yaw rate and sideslip angle.

[0043] Among them, the Long Short-Term Memory (LSTM) neural network is a variant of the Recurrent Neural Network (RNN), which is specially designed to solve the problems of gradient vanishing and gradient exploding in traditional RNN. By inputting the historical trajectory sequence, the model can effectively learn and capture the temporal dependencies in the trajectory data, so that the model can better understand the evolution of vehicle motion.

[0044] The yaw rate refers to the speed at which the vehicle rotates around the vertical axis. When the vehicle moves laterally, the entire vehicle rotates around the vertical axis, and the speed of this rotation is the yaw rate.

[0045] The center of mass slip angle refers to the deviation angle of the vehicle's center of mass relative to the vehicle's direction of travel. When the vehicle moves in a straight line, the center of mass slip angle is zero; when the vehicle moves laterally, the center of mass slip angle will change.

[0046] Furthermore, yaw rate and sideslip angle are important indicators for measuring the lateral motion characteristics of a vehicle, and are of great significance for vehicle dynamics research, control system design, and the development of driver assistance systems.

[0047] It should be noted that the trajectory tracking model based on the long short-term memory neural network can not only predict the yaw rate and the sideslip angle of the center of mass, but also some other parameters such as trajectory point coordinates, center of mass position coordinates, yaw angle, longitudinal velocity, lateral velocity, etc.

[0048] In the present invention, the vehicle trajectory is tracked by a trajectory tracking model based on a long short-term memory neural network. The end-to-end learning capability of the neural network allows the system to extract complex nonlinear relationships from the data, thereby reducing the need for fine parameter adjustment. There is no need to rely on manual adjustment of the controller parameters, saving time and effort. The long short-term memory neural network can directly learn the mapping between input and output, improve the ability to process nonlinear characteristics, and improve the accuracy and robustness of trajectory tracking.

[0049] In a possible implementation, S2 specifically includes sub-steps S201 to S207:

[0050] S201: Inputting a historical trajectory sequence X into a trajectory tracking model based on a long short-term memory neural network, the historical trajectory sequence including a plurality of trajectory data points x, each trajectory data point x including: a yaw angular velocity γ and a sideslip angle β of the center of mass.

[0051] S202: In the forget gate, determine the information to be forgotten, and obtain the output vector of the forget gate through the following formula:

[0052] F t =σ(W F ·[H t-1 ,X t ]+b F )

[0053] Among them, F t represents the output vector of the forget gate at time t, σ() represents the activation function, and W F represents the weight matrix of the forget gate, H t-1 represents the hidden state of the previous moment, X t represents the trajectory feature matrix input at time t, b F Represents the bias parameter of the forget gate.

[0054] It should be noted that the design of the forget gate allows the model to selectively forget some historical information, so as to better adapt to the long-term dependencies between different time steps. This is very important for trajectory tracking tasks because vehicle motion is often affected by a longer time range.

[0055] S203: In the input gate, the information stored in the cell storage unit is determined, and the output vector of the input gate is obtained by the following formula:

[0056] I t =σ(W I ·[H t-1 ,X t ]+b I )

[0057] Among them, I t represents the output vector of the input gate at time t, W I represents the weight matrix of the input gate, b I Represents the bias parameter of the input gate.

[0058] It should be noted that the design of the input gate allows the LSTM network to dynamically and selectively store the input information at the current moment, which helps to improve the model's ability to model time series data, especially when it is necessary to consider the changes and importance of different features in the input sequence.

[0059] S204: In the cell storage unit, the temporary cell state at the current moment is calculated by the following formula:

[0060]

[0061] in, represents the temporary cell state at time t, tanh() represents the tanh activation function, W C represents the weight matrix of the cell storage unit, b C Represents the bias parameter of the cell storage unit.

[0062] S205: In the cell storage unit, the cell state at the current moment is calculated by the following formula:

[0063]

[0064] Among them, C t represents the cell state at time t, C t-1 Indicates the cell state at the previous moment.

[0065] In the present invention, by effectively managing and updating the cell state, the model's modeling ability for time series data is enhanced, making the trajectory tracking model more suitable for processing sequence data with long-term dependencies. This is of great significance for tasks such as trajectory tracking that need to consider the long-term dependencies of vehicle motion.

[0066] S206: In the output gate, the output vector of the output gate is obtained by the following formula, and the output vector of the output gate is stored as a hidden state:

[0067] O t =σ(W O ·[H t-1 ,X t ]+b O )

[0068] H t =O t tanh(C t )

[0069] Among them, O t represents the output vector of the output gate at time t, W o represents the weight matrix of the output gate, b o represents the bias parameter of the output gate, H t represents the hidden state at time t.

[0070] In the present invention, the design of the output gate allows the network to dynamically adjust which information in the hidden state at the current moment will be passed to the output of the network. The existence of the output gate helps to slow down the information loss of the cell state in a long time series. By selectively outputting a part of the hidden state, especially those parts that are considered important for the current task after being screened by the gating mechanism, the model can better maintain and utilize long-term memory.

[0071] S207: In the output layer, the yaw rate and the sideslip angle of the vehicle are predicted by the following formula:

[0072]

[0073] Among them, y t Represents the trajectory prediction value at time t, which includes the yaw rate γ t and the center of mass sideslip angle β t , b y represents the bias parameter of the output layer, represents the weight matrix between the nth cell storage unit and the output layer, Represents the hidden state stored in the nth cell storage unit at time t, n = 1, 2, ..., N, N represents the total number of cell storage units.

[0074] In the present invention, the hidden state of the cell storage unit is used, and the information of multiple cell storage units in the LSTM network is comprehensively considered through the linear combination of the weight matrix, which helps the network to more comprehensively utilize the learned long-term dependencies and comprehensively consider the past state and behavior of the vehicle. Improve the accuracy of the prediction of the vehicle's yaw rate and center of mass sideslip angle.

[0075] In a possible implementation, a training method for a trajectory tracking model based on a long short-term memory neural network includes:

[0076] Construct the objective function of the trajectory tracking model based on the long short-term memory neural network.

[0077] The trajectory tracking model is trained with the goal of minimizing the function value of the objective function of the trajectory tracking model.

[0078] Specifically, the goal is to minimize the function value of the objective function of the trajectory tracking model, and the optimal model parameters of the trajectory tracking model are determined through genetic algorithms, particle swarm optimization algorithms, etc., so as to train the trajectory tracking model.

[0079] In the present invention, by optimizing the objective function, the training process aims to enable the model to learn an effective trajectory tracking strategy. After the training is completed, the model should be able to more accurately predict the yaw rate and the sideslip angle of the center of mass in the actual scene, thereby improving the performance of trajectory tracking.

[0080] In a possible implementation, the objective function of the trajectory tracking model based on the long short-term memory neural network is specifically:

[0081]

[0082] Among them, F() represents the objective function of the trajectory tracking model, Θ represents the model parameter set, and Y * Indicates the predicted value of the centroid position ordinate, Y ref represents the reference value of the ordinate on the reference trajectory, λ1 represents the weight coefficient of the center of mass offset, represents the predicted yaw angle, represents the yaw angle reference value on the reference trajectory, λ2 represents the weight coefficient of the yaw deviation, δ * represents the predicted value of the front wheel steering angle, λ3 represents the weight coefficient of the front wheel steering angle, represents the additional yaw moment prediction value, and λ4 represents the weight coefficient of the yaw moment.

[0083] It should be noted that the model parameter set Θ can include W I 、b I , W C 、b C , W o 、b o , b y etc. model parameters.

[0084] Among them, those skilled in the art can set the weight coefficient λ1 of the center of mass offset, the weight coefficient λ2 of the yaw offset, the weight coefficient λ3 of the front wheel turning angle, and the weight coefficient λ4 of the yaw moment according to actual conditions, and the present invention does not limit them.

[0085] It should be noted that the first term in the objective function (Y * -Y ref ) 2 It can reduce the center of mass position deviation and improve the overall trajectory tracking performance. The second term in the objective function The yaw angle deviation can be reduced, and the driving direction of the vehicle should be controlled to be consistent with the tangent direction of the reference trajectory as much as possible. The third term δ in the objective function * The front wheel turning angle can be reduced, the sharpness of the steering can be reduced, and the car can drive comfortably and stably. The fourth term in the objective function The additional yaw moment can be reduced, the uncontrolled yaw situation can be reduced, and the lateral stability of the vehicle can be improved.

[0086] In the present invention, the objective function comprehensively considers the tracking objectives of multiple aspects, such as the center of mass position, yaw angle, front wheel angle, and additional yaw moment. By weighing and optimizing these objectives, the model can achieve better performance in multiple aspects and improve the accuracy and stability of the overall trajectory tracking.

[0087] S3: The optimal additional yaw moment to maintain the vehicle trajectory is determined by the upper controller based on the adaptive spiral sliding mode algorithm according to the predicted yaw rate and sideslip angle of the center of mass.

[0088] Among them, sliding mode control (SMC) is a powerful nonlinear control technology used to design stable control systems. Its basic idea is to introduce a sliding mode (sliding surface) so that the system state slides quickly and stably to the desired state along this sliding mode. Sliding mode control is often used to deal with systems with uncertainties and external disturbances. The adaptive spiral sliding mode algorithm is an improved method in sliding mode control, which combines the sliding mode idea of ​​sliding mode control and the ability of adaptive control to deal with system uncertainties and external disturbances. The goal of this algorithm is to enable the system to achieve fast and stable sliding on the sliding mode, while being able to adaptively adjust the parameters of the sliding mode to adapt to the uncertain dynamic characteristics.

[0089] In the present invention, the use of an adaptive spiral sliding mode algorithm can effectively handle system uncertainties and external disturbances, help achieve adaptive control of the yaw rate and the sideslip angle of the center of mass, and improve the robustness and performance of the system.

[0090] In a possible implementation, S3 specifically includes sub-steps S301 to S304:

[0091] S301: Construct the sliding surface of the upper controller:

[0092]

[0093] Where s represents the sliding surface, γ represents the predicted yaw rate, and γ d represents the ideal value of yaw rate, β represents the predicted value of sideslip angle, and β d represents the ideal value of the sideslip angle at the center of mass, and Δs represents the sliding surface adjustment item.

[0094] In a possible implementation manner, the sliding surface adjustment item is specifically:

[0095]

[0096]

[0097] Among them, Δs represents the sliding surface adjustment term, k β Represents the sliding mode adjustment coefficient, Δs max represents the maximum value of the sliding surface allowed to be adjusted, β represents the predicted value of the center of mass slip angle, and β maxIndicates the maximum mass center slip angle allowed by the system. The die surface adjustment item adopts a nonlinear adjustment method, and adopts different adjustment strategies according to different mass center slip angles. When the mass center slip angle is small, k is used. β · Linear adjustment of β, and when the sideslip angle of the center of mass is large, a fixed maximum adjustment value Δs is used max This nonlinear adaptability helps to better cope with the nonlinear characteristics of the system.

[0098] It should be noted that the sliding surface adjustment term is obtained by introducing the sliding adjustment coefficient k β , the sliding surface is adjusted according to the predicted value β of the sideslip angle of the center of mass, so that the system is more robust to the changes of the sideslip angle of the center of mass and can adapt to different driving scenarios and vehicle motion states.

[0099] Furthermore, the introduction of the sliding surface adjustment term can limit the range of the center of mass slip angle. By setting the maximum center of mass slip angle β allowed by the system max , which helps to prevent the vehicle from excessive side deviation during operation and improves driving stability and controllability.

[0100] Furthermore, by setting the maximum value Δs that the sliding surface allows to adjust max , which allows the system to make a wider range of adjustments to the sliding surface when needed. This may provide greater freedom for the system's response and adjustment in some special situations, such as emergency avoidance or special driving conditions.

[0101] In the present invention, the introduction of the sliding surface adjustment item can increase the flexibility and adaptability of the system to the sideslip angle of the center of mass.

[0102] S302: Take the first-order derivative of the sliding surface of the upper controller and substitute it into the yaw direction operation equation to obtain:

[0103]

[0104] in, represents the first-order derivative of the sliding surface, and d represents the total disturbance.

[0105] S303: Take the second-order derivative of the sliding surface of the upper controller and substitute it into the yaw direction operation equation to obtain:

[0106]

[0107] S304: Determine the optimal additional yaw moment to maintain the vehicle trajectory according to the sliding surface of the upper controller:

[0108] M z =M1+M2

[0109]

[0110]

[0111] Among them, M z represents the optimal additional yaw moment, M1 represents the upper control output, α represents the adaptive helical sliding mode control gain, sgn() represents the sign function, and M2 represents the trajectory tracking output.

[0112] In the present invention, by integrating the upper control output and the trajectory tracking output, determining the optimal additional yaw moment, and integrating different control strategies, the system can be controlled more comprehensively and at multiple levels. This enables the vehicle to achieve stable, robust, and accurate trajectory tracking under various complex conditions. This helps to improve the safety and performance of the vehicle during movement.

[0113] In a possible implementation manner, the adaptive spiral sliding mode control gain is specifically:

[0114]

[0115]

[0116] in, represents the first-order derivative of the spiral sliding mode control gain, ω represents the amplitude parameter, θ represents the scaling parameter, represents the deviation between the predicted state and the ideal state, k represents the deviation sensitivity parameter, ρ represents the deviation threshold, α t represents the gain threshold, and α0 represents the gain constant.

[0117] Among them, those skilled in the art can set the gain threshold α according to actual conditions. t The present invention does not limit the size.

[0118] Among them, the amplitude parameter ω affects the adjustment rate of the adaptive gain, that is, the speed of the control gain adjustment. The scaling parameter θ affects the scaling scale of the adaptive gain. The deviation sensitivity parameter k is used to make the control compensation amount and compensation rate smaller when the system deviates from the ideal state less. The deviation threshold ρ is used to control the adjustment of the adaptive control gain. Its function is to limit the change rate of the control gain during the control gain change process.

[0119] It should be noted that the design of the adaptive spiral sliding mode control gain aims to make the sliding mode surface and its derivative converge to zero within a finite time, which helps the system to reach the desired trajectory tracking state within a finite time and improves the response speed and performance of the system.

[0120] When the system state deviates slightly from the ideal state, the adjustment range of the control gain is small, which effectively reduces the jitter of the system when approaching or reaching a steady state; when the system state deviates greatly, the adjustment range of the control gain is large, which helps the system quickly reach a steady state or approach a steady state.

[0121] Furthermore, the introduction of adaptive spiral sliding mode control gain is achieved by properly designing an exponential function It is used to measure the deviation between the system state and the ideal state. When the system state deviates slightly, the control compensation amount and compensation rate are small, which effectively suppresses the jitter of the system when it is close to the steady state.

[0122] S4: The lower controller based on the optimal longitudinal force distribution algorithm determines the torque distribution of each wheel according to the optimal additional yaw moment to maintain the vehicle trajectory, and controls the vehicle based on the torque distribution result.

[0123] Among them, the optimal longitudinal force distribution algorithm is a control algorithm used to determine the torque distribution on each wheel of the vehicle to achieve optimal performance.

[0124] In the present invention, the use of the optimal longitudinal force distribution algorithm helps to achieve intelligent distribution of wheel torque to achieve the optimal yaw moment, which helps to improve the accuracy and stability of trajectory tracking.

[0125] Furthermore, comprehensive trajectory tracking control is achieved through the collaborative work of the upper and lower controllers. The upper controller is responsible for generating the yaw moment, while the lower controller realizes intelligent control of the wheel torque through optimal longitudinal force distribution, making the entire system more robust and adaptable.

[0126] In a possible implementation, S4 specifically includes sub-steps S401 to S405:

[0127] S401: Construct the objective function of the lower controller based on the optimal longitudinal force distribution algorithm:

[0128]

[0129] Among them, J() represents the objective function of the lower controller, M represents the torque, and F x Denotes the longitudinal force, F z Indicates vertical load, M ij represents the torque of the ijth tire, F xij represents the longitudinal force of the ijth tire, F zijrepresents the vertical load of the ijth tire, ij = {fl, fr, rl, rr}, fl represents the left front wheel, fr represents the right front wheel, rl represents the left rear wheel, rr represents the right rear wheel, μ represents the friction coefficient, β represents the predicted value of the sideslip angle at the center of mass, β* represents the threshold value of the sideslip angle at the center of mass, max() represents the maximum value function, and min() represents the minimum value function.

[0130] Among them, the friction coefficient μ is used to regulate the magnitude of the longitudinal force, taking into account the influence of friction.

[0131] It should be noted that when β<β*, the tire works in the linear region, and the goal is to maximize the lateral force provided by the tire to ensure sufficient lateral force to keep the vehicle stable. When β≥β*, the tire works in the nonlinear region, and the goal is to minimize the longitudinal force distribution of the tire to ensure that the tire can provide sufficient lateral force to prevent the axle from sliding and reduce the risk of lateral instability. By setting the objective function in two different situations, the controller is more flexible and adaptable, and can make reasonable adjustments under different driving conditions, thereby achieving better overall performance.

[0132] In the present invention, the vehicle control is optimized by setting an objective function, and under different predicted values ​​of the center of mass sideslip angle, the longitudinal force distribution of the wheel is adjusted according to the objective function to achieve better handling and stability.

[0133] S402: According to the optimal additional yaw moment to maintain the vehicle trajectory, set constraints for the lower controller based on the optimal longitudinal force distribution algorithm:

[0134] F xij ≤μF zij

[0135]

[0136] Among them, M z represents the optimal additional yaw moment.

[0137] It should be noted that the constraint F xij ≤μF zij Ensure that the longitudinal force of the tire does not exceed the product of the friction coefficient and the vertical load. This is because the longitudinal force of the tire is mainly determined by the friction coefficient and the vertical load. Exceeding this range may cause the tire to slip or fail to provide sufficient longitudinal force, affecting the vehicle's traction and braking performance.

[0138] Furthermore, another constraint describes how the additional yaw moment is calculated, which involves the longitudinal force distribution of the front and rear wheels. This constraint ensures that the yaw moment calculation meets the vehicle dynamics and control requirements, helping to maintain vehicle stability when turning.

[0139] In the present invention, the design of constraint conditions helps to ensure that the lower-level controller based on the optimal longitudinal force distribution algorithm meets the physical and performance requirements of vehicle control in practical applications, thereby improving the vehicle's handling, stability and safety.

[0140] S403: Under the constraints of the constraints, the longitudinal force is distributed according to the objective function to determine the optimal longitudinal force of each wheel.

[0141] Specifically, the longitudinal force distribution scheme of each wheel can be optimized by genetic algorithm, particle swarm optimization algorithm, etc. to determine the best longitudinal force distribution scheme.

[0142] In the present invention, by distributing the longitudinal force under the constraint conditions, the optimal longitudinal force of each wheel is determined, which helps to maximize the use of tire adhesion and improve the utilization efficiency of traction and braking force.

[0143] S404: Calculate the torque of each wheel according to the optimal longitudinal force of each wheel through the vehicle dynamics model.

[0144] In the present invention, the torque of each wheel is calculated by the vehicle dynamics model, which helps to optimize the dynamic response of the vehicle. By considering the dynamic characteristics of the vehicle, the desired longitudinal movement can be achieved more accurately.

[0145] S405: Control the vehicle according to the calculated torque of each wheel.

[0146] In the present invention, the lateral and longitudinal dynamic characteristics are comprehensively considered, and the overall vehicle handling performance is improved by optimizing the synergy of lateral and longitudinal control, making it more adaptable to different driving scenarios and driving tasks.

[0147] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0148] (1) In the present invention, the vehicle trajectory is tracked by a trajectory tracking model based on a long short-term memory neural network. The end-to-end learning capability of the neural network allows the system to extract complex nonlinear relationships from the data, thereby reducing the need for fine parameter adjustment. There is no need to rely on manual adjustment of controller parameters, saving time and effort. The long short-term memory neural network can directly learn the mapping between input and output, improve the ability to process nonlinear characteristics, and improve the accuracy and robustness of trajectory tracking.

[0149] (2) In the present invention, the use of an adaptive spiral sliding mode algorithm can effectively handle system uncertainties and external disturbances, help achieve adaptive control of the yaw rate and the sideslip angle of the center of mass, and improve the robustness and performance of the system.

[0150] (3) In the present invention, the use of the optimal longitudinal force distribution algorithm helps to achieve intelligent distribution of wheel torque to achieve the optimal yaw moment, which helps to improve the accuracy and stability of trajectory tracking.

[0151] (4) In the present invention, comprehensive trajectory tracking control is achieved through the collaborative work of the upper and lower controllers. The upper controller is responsible for generating the yaw moment, while the lower controller realizes intelligent control of the wheel torque through optimal longitudinal force distribution, making the entire system more robust and adaptable.

[0152] Example 2

[0153] In one embodiment, the reference specification Figure 4 , showing a structural schematic diagram of an intelligent vehicle trajectory tracking control system provided by the present invention.

[0154] The present invention provides an intelligent vehicle trajectory tracking control system 20, comprising a processor 201 and a memory 202 for storing executable instructions of the processor 201. The processor 201 is configured to call the instructions stored in the memory 202 to execute the intelligent vehicle trajectory tracking control method in Example 1.

[0155] The intelligent vehicle trajectory tracking control system provided by the present invention can implement the steps and effects of the intelligent vehicle trajectory tracking control method in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.

[0156] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0157] (1) In the present invention, the vehicle trajectory is tracked by a trajectory tracking model based on a long short-term memory neural network. The end-to-end learning capability of the neural network allows the system to extract complex nonlinear relationships from the data, thereby reducing the need for fine parameter adjustment. There is no need to rely on manual adjustment of controller parameters, saving time and effort. The long short-term memory neural network can directly learn the mapping between input and output, improve the ability to process nonlinear characteristics, and improve the accuracy and robustness of trajectory tracking.

[0158] (2) In the present invention, the use of an adaptive spiral sliding mode algorithm can effectively handle system uncertainties and external disturbances, help achieve adaptive control of the yaw rate and the sideslip angle of the center of mass, and improve the robustness and performance of the system.

[0159] (3) In the present invention, the use of the optimal longitudinal force distribution algorithm helps to achieve intelligent distribution of wheel torque to achieve the optimal yaw moment, which helps to improve the accuracy and stability of trajectory tracking.

[0160] (4) In the present invention, comprehensive trajectory tracking control is achieved through the collaborative work of the upper and lower controllers. The upper controller is responsible for generating the yaw moment, while the lower controller realizes intelligent control of the wheel torque through optimal longitudinal force distribution, making the entire system more robust and adaptable.

[0161] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0162] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A smart car trajectory tracking control method, characterized in that: include: S1: obtain vehicle dynamics model; S2: Track the vehicle trajectory through the trajectory tracking model based on the long short-term memory neural network to predict the vehicle's yaw rate and center of mass sideslip angle; S3: The upper controller based on the adaptive spiral sliding mode algorithm determines the optimal additional yaw moment to maintain the vehicle trajectory according to the predicted yaw rate and sideslip angle of the center of mass; S4: determining torque distribution of each wheel according to the optimal additional yaw moment for maintaining the vehicle trajectory through a lower controller based on the optimal longitudinal force distribution algorithm, and controlling the vehicle based on the torque distribution result; Wherein, the vehicle dynamics model specifically includes: Longitudinal motion equation: Lateral motion equation: The equation of yaw direction operation: Among them, m represents the vehicle mass, v x represents the longitudinal velocity, v y represents the lateral velocity, γ represents the yaw angular velocity, F xfl represents the longitudinal tire force of the left front wheel, F xfr represents the longitudinal tire force of the right front wheel, F yfl represents the lateral tire force on the left front wheel, F yfr represents the lateral tire force on the right front wheel, F xrl represents the longitudinal tire force of the left rear wheel, F xrr represents the longitudinal tire force of the right rear wheel, F yrl represents the lateral tire force on the left rear wheel, F yrr represents the lateral tire force of the right rear wheel, δ represents the front wheel turning angle, I z represents the moment of inertia in the yaw direction, B is the distance between the left and right wheels, a represents the distance from the center of mass to the front axle, b represents the distance from the center of mass to the rear axle, M z represents the additional yaw moment; Wherein, the S3 specifically includes: S301: Constructing the sliding surface of the upper controller: Where s represents the sliding surface, γ represents the predicted yaw rate, and γ d represents the ideal value of yaw rate, β represents the predicted value of sideslip angle, and β d represents the ideal value of the sideslip angle at the center of mass, and Δs represents the adjustment item of the sliding surface; S302: Taking the first-order derivative of the sliding surface of the upper controller and substituting it into the yaw direction operation equation, the following is obtained: in, represents the first-order derivative of the sliding surface, and d represents the total disturbance; S303: Take the second-order derivative of the sliding surface of the upper controller and substitute it into the yaw direction operation equation to obtain: S304: Determine the optimal additional yaw moment to maintain the vehicle trajectory according to the sliding surface of the upper controller: M z =M1+M2 Among them, M z represents the optimal additional yaw moment, M1 represents the upper control output, α represents the adaptive helical sliding mode control gain, sgn() represents the sign function, and M2 represents the trajectory tracking output; The sliding surface adjustment items are specifically: Among them, Δs represents the sliding surface adjustment term, k β Represents the sliding mode adjustment coefficient, Δs max represents the maximum value of the sliding surface allowed to be adjusted, β represents the predicted value of the center of mass slip angle, and β max Indicates the maximum center of mass sideslip angle allowed by the system; The adaptive spiral sliding mode control gain is specifically: in, represents the first-order derivative of the spiral sliding mode control gain, ω represents the amplitude parameter, θ represents the scaling parameter, represents the deviation between the predicted state and the ideal state, k represents the deviation sensitivity parameter, ρ represents the deviation threshold, α t represents the gain threshold, α0 represents the gain constant; Wherein, the S4 specifically includes: S401: Construct the objective function of the lower controller based on the optimal longitudinal force distribution algorithm: Among them, J() represents the objective function of the lower-level controller, F xij represents the longitudinal force of the ijth tire, F zij represents the vertical load of the ijth tire, ij = {fl, fr, rl, rr}, fl represents the left front wheel, fr represents the right front wheel, rl represents the left rear wheel, rr represents the right rear wheel, μ represents the friction coefficient, β represents the predicted value of the center of mass sideslip angle, β* represents the center of mass sideslip angle threshold, max() represents the maximum value function, and min() represents the minimum value function; S402: According to the optimal additional yaw moment to maintain the vehicle trajectory, set constraints for the lower controller based on the optimal longitudinal force distribution algorithm: F xij ≤μF zij Among them, M z represents the optimal additional yaw moment; S403: Under the constraint of the constraint condition, the longitudinal force is distributed according to the objective function to determine the optimal longitudinal force of each wheel; S404: Calculating the torque of each wheel according to the optimal longitudinal force of each wheel through the vehicle dynamics model; S405: Control the vehicle according to the calculated torque of each wheel.

2. The intelligent vehicle trajectory tracking control method according to claim 1, characterized in that: The S2 specifically includes: S201: inputting a historical trajectory sequence X into a trajectory tracking model based on a long short-term memory neural network, wherein the historical trajectory sequence includes a plurality of trajectory data points x, each trajectory data point x including: a yaw angular velocity γ and a sideslip angle β of the center of mass; S202: In the forget gate, determine the information to be forgotten, and obtain the output vector of the forget gate through the following formula: F t =σ(W F ·[H t-1 ,X t ]+b F ) Among them, F t represents the output vector of the forget gate at time t, σ() represents the activation function, and W F represents the weight matrix of the forget gate, H t-1 represents the hidden state of the previous moment, X t represents the trajectory feature matrix input at time t, b F Represents the bias parameter of the forget gate; S203: In the input gate, the information stored in the cell storage unit is determined, and the output vector of the input gate is obtained by the following formula: I t =σ(W I ·[H t-1 ,X t ]+b I ) Among them, I t represents the output vector of the input gate at time t, W I represents the weight matrix of the input gate, b I Represents the bias parameter of the input gate; S204: In the cell storage unit, the temporary cell state at the current moment is calculated by the following formula: in, represents the temporary cell state at time t, tanh() represents the tanh activation function, W C represents the weight matrix of the cell storage unit, b C represents the bias parameter of the cell storage unit; S205: In the cell storage unit, the cell state at the current moment is calculated by the following formula: Among them, C t represents the cell state at time t, C t-1 Indicates the cell state at the previous moment; S206: In the output gate, the output vector of the output gate is obtained by the following formula, and the output vector of the output gate is stored as a hidden state: The t =σ(W O ·[H t-1 ,X t ]+b O ) H t =O t ·tanh(C t ) Among them, O t represents the output vector of the output gate at time t, W o represents the weight matrix of the output gate, b o represents the bias parameter of the output gate, H t represents the hidden state at time t; S207: In the output layer, the yaw rate and the sideslip angle of the vehicle are predicted by the following formula: Among them, y t Represents the trajectory prediction value at time t, which includes the yaw rate γ t and the center of mass sideslip angle β t , b y represents the bias parameter of the output layer, represents the weight matrix between the nth cell storage unit and the output layer, Represents the hidden state stored in the nth cell storage unit at time t, n = 1, 2, ..., N, N represents the total number of cell storage units.

3. The intelligent vehicle trajectory tracking control method according to claim 2, characterized in that: The training method of the trajectory tracking model based on the long short-term memory neural network includes: Construct the objective function of the trajectory tracking model based on the long short-term memory neural network; The trajectory tracking model is trained with the goal of minimizing the function value of the objective function of the trajectory tracking model.

4. The intelligent vehicle trajectory tracking control method according to claim 3 is characterized in that: The objective function of the trajectory tracking model based on the long short-term memory neural network is specifically: Among them, F() represents the objective function of the trajectory tracking model, Θ represents the model parameter set, and Y * Indicates the predicted value of the vertical coordinate of the centroid position, Y ref represents the reference value of the ordinate on the reference trajectory, λ1 represents the weight coefficient of the center of mass offset, represents the predicted yaw angle, represents the yaw angle reference value on the reference trajectory, λ2 represents the weight coefficient of the yaw deviation, δ * represents the predicted value of the front wheel steering angle, λ3 represents the weight coefficient of the front wheel steering angle, represents the additional yaw moment prediction value, and λ4 represents the weight coefficient of the yaw moment.

5. An intelligent vehicle trajectory tracking control system, characterized in that: It comprises a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the intelligent vehicle trajectory tracking control method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Distributed driven electric automobile transversal-stability control method based on ATSM

    CN107215329A

  • Electric vehicle yaw stability coordination control method and system

    CN111497826A

  • Integrated following control method, system and device, and computer readable storage medium

    CN111762158A

  • Vehicle longitudinal and transverse stability control method and device, electronic equipment and storage medium

    CN116901932A