Vehicle trajectory tracking control method and system, electronic equipment and storage medium
By constructing a plane and dynamic model of the center of mass side slip angle and yaw angular velocity, and evaluating the stability control weight, the problem of insufficient vehicle trajectory tracking accuracy and yaw stability is solved, and more efficient trajectory tracking and improved handling performance are achieved.
Patent Information
- Application Number
- CN202410754703.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-12
AI Technical Summary
In the existing vehicle trajectory tracking technology, the vehicle trajectory tracking accuracy is low and the maneuverability is poor. Especially under complex working conditions, insufficient attention is paid to yaw stability, resulting in poor control effects.
By constructing a plane between the center of mass side slip angle and the yaw angular velocity, using a preset neural network model for area identification, obtaining stability area division information, evaluating the vehicle stability margin, determining the stability control weight, and constructing a trajectory combined with the vehicle dynamics model Track the multi-objective cooperative control model and optimize the control sequence to improve trajectory tracking accuracy and yaw stability.
It effectively improves the vehicle trajectory tracking accuracy, takes into account the yaw stability margin, improves the vehicle's handling performance, and can achieve more stable trajectory tracking control under complex working conditions.
Smart Images

Figure CN118732683A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle trajectory tracking control method, system, electronic device and storage medium. Background Art
[0002] At present, with the rapid development of unmanned driving technology, trajectory tracking technology, as a core component of autonomous driving, has also been rapidly developed. The purpose of trajectory tracking control is to make the vehicle stably track the reference trajectory of the last planning layer decision at the desired speed under the condition of satisfying dynamic constraints. However, in related technologies, the accuracy of vehicle trajectory tracking is low and the handling performance is poor.
[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a vehicle trajectory tracking control method, system, electronic device and storage medium, which can effectively improve the vehicle trajectory tracking accuracy while taking into account the yaw stability margin, thereby effectively improving the vehicle's handling performance.
[0005] To achieve the above object, an embodiment of the present application provides a vehicle trajectory tracking control method, the method comprising the following steps:
[0006] Construct the phase plane between the sideslip angle and the yaw rate;
[0007] Performing regional identification on the mass center sideslip angle and yaw rate phase plane by using a preset neural network model to obtain stability region division information;
[0008] Performing a stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, so as to determine a corresponding stability control weight through the vehicle stability margin data;
[0009] Building a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to build a trajectory tracking multi-objective cooperative control model through the vehicle dynamics model;
[0010] An optimization objective function is constructed to solve the control sequence according to the stability control weight in combination with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data.
[0011] In some embodiments, the performing of region identification on the mass center sideslip angle and yaw rate phase plane by using a preset neural network model to obtain stability region division information includes:
[0012] The stable domain boundary is identified on the phase plane of the center of mass sideslip angle and the yaw rate by using a particle swarm optimization back propagation neural network model to obtain a stable domain boundary value;
[0013] The phase plane of the sideslip angle and the yaw rate is divided into regions according to the boundary value of the stability region to obtain the stability region division information; wherein the stability region division information includes a preset stability region, a critical stability region and an unstable region.
[0014] In some embodiments, before performing the method of identifying the stability domain boundary of the center of mass sideslip angle and the yaw rate phase plane by using the particle swarm optimization back propagation neural network model to obtain the stability domain boundary value, the method further includes:
[0015] Build a preset back-propagation neural network model;
[0016] Initialize the particle swarm parameters and calculate the particle fitness value based on the training error sum data;
[0017] Compare and analyze the particle fitness value with the historical best fitness value and the global best fitness value respectively, so as to update the global best particle information; wherein the global best particle information includes the global best particle position;
[0018] The global optimal particle position is mapped to the preset parameters of the preset back-propagation neural network model to construct the particle swarm optimization back-propagation neural network model; wherein the preset parameters include preset weight coefficients and preset thresholds.
[0019] In some embodiments, the step of performing stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, and determining a corresponding stability control weight through the vehicle stability margin data, includes:
[0020] Determine an instability factor according to the stability region division information and the vehicle state point, so as to calculate an instability coefficient according to the instability factor through a preset instability function;
[0021] Determine a trend factor according to the stability region division information and the vehicle state point, so as to calculate a trend coefficient according to the trend factor through a preset trend function;
[0022] The stability control weight is calculated according to the instability coefficient and the trend coefficient through a stability control adaptive weight function.
[0023] In some embodiments, the step of building a vehicle dynamics model based on the vehicle lateral motion information and the vehicle yaw motion information, and building a trajectory tracking multi-target collaborative control model through the vehicle dynamics model, includes:
[0024] Constructing a vehicle tracking error function based on the lateral position tracking error and the heading angle tracking error;
[0025] Constructing a linear two-degree-of-freedom dynamic model of the vehicle according to the lateral motion information of the vehicle and the yaw motion information of the vehicle;
[0026] Constructing a tracking error state equation according to the vehicle linear two-degree-of-freedom dynamics model and the vehicle tracking error function;
[0027] Perform steady-state analysis based on the vehicle linear two-degree-of-freedom dynamics model and construct a yaw stability parameter tracking state equation;
[0028] Constructing a control system state space equation according to the tracking error state equation and the yaw stability parameter tracking state equation;
[0029] The control system state space equation is optimized according to a preset system function to construct the trajectory tracking multi-objective collaborative control model; wherein the preset system function includes a steering system function and a first-order linear discrete system function of a hub motor.
[0030] In some embodiments, after optimizing the control system state space equation according to the preset system function and constructing the trajectory tracking multi-objective collaborative control model, the method further includes:
[0031] The trajectory tracking multi-objective cooperative control model is discretized by a forward Euler method to obtain a discrete control model;
[0032] The discrete control model is optimized by controlling the incremental parameters to obtain the trajectory tracking multi-objective collaborative control state space equation.
[0033] In some embodiments, the constructing of the optimization objective function to solve the control sequence according to the stability control weight in combination with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data includes:
[0034] Constructing a preset prediction time domain function; wherein the preset prediction time domain function includes a state quantity function and an observation quantity function;
[0035] Constructing a system prediction model according to the state quantity function, the observation quantity function and the trajectory tracking multi-objective collaborative control state space equation;
[0036] The control increment parameter is used as a state quantity and combined with a relaxation factor and the stability control weight to construct the optimization objective function;
[0037] Substitute the system prediction model into the optimization objective function to perform quadratic programming solution to obtain the target control quantity data.
[0038] To achieve the above object, another aspect of the embodiment of the present application provides a vehicle trajectory tracking control system, the system comprising:
[0039] The first module is used to construct the phase plane between the sideslip angle of the center of mass and the yaw rate;
[0040] The second module is used to perform regional identification on the phase plane of the center of mass sideslip angle and yaw rate through a preset neural network model to obtain stability region division information;
[0041] a third module, configured to perform stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, so as to determine a corresponding stability control weight through the vehicle stability margin data;
[0042] A fourth module is used to construct a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-objective collaborative control model through the vehicle dynamics model;
[0043] The fifth module is used to construct an optimization objective function to solve the control sequence according to the stability control weight in combination with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data.
[0044] To achieve the above objective, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising:
[0045] at least one processor;
[0046] at least one memory for storing at least one program;
[0047] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0048] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0049] The embodiments of the present application include at least the following beneficial effects: The present application provides a vehicle trajectory tracking control method, system, electronic device and storage medium. The scheme constructs a phase plane of the center of mass sideslip angle and yaw rate, and identifies the region of the center of mass sideslip angle and yaw rate phase plane through a preset neural network model to obtain stability region division information. Then, the embodiment of the present invention performs stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, and then determines the corresponding stability control weight through the vehicle stability margin data. Then, the embodiment of the present invention constructs a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information to construct a trajectory tracking multi-objective collaborative control model through the vehicle dynamics model. Then, the embodiment of the present invention constructs an optimization objective function to solve the control sequence according to the stability control weight combined with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data, thereby realizing vehicle trajectory tracking control. It is easy to understand that the embodiment of the present invention can effectively improve the accuracy of vehicle stability region division by using a preset neural network model to identify the region of the center of mass sideslip angle and yaw rate phase plane, so as to determine the corresponding stability control weight. At the same time, the embodiment of the present invention combines the vehicle lateral motion information and the vehicle yaw motion information to construct a vehicle dynamics model to construct a corresponding trajectory tracking multi-objective collaborative control model, so that it can analyze the corresponding yaw stability change trend according to the real-time driving state parameters of the vehicle, and combine the weight proportions of different control objectives, that is, the stability control weight, to solve and obtain the target control quantity data, which can effectively improve the vehicle trajectory tracking accuracy, take into account the yaw stability margin, and effectively improve the vehicle's handling performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a flow chart of a vehicle trajectory tracking control method provided by an embodiment of the present application;
[0051] Figure 2 It is a schematic diagram of the division of the stable domain of the β-ω phase plane based on the multi-constraint method provided in an embodiment of the present application;
[0052] Figure 3 It is a schematic diagram of the PSO-BP neural network solution process provided in the embodiment of the present application;
[0053] Figure 4 is a schematic diagram of the control target weight calculation provided in an embodiment of the present application;
[0054] Figure 5 is a schematic diagram of a two-degree-of-freedom dynamics model of a vehicle provided in an embodiment of the present application;
[0055] Figure 6 is a schematic diagram of a stability control weight function provided in an embodiment of the present application;
[0056] Figure 7 It is a structural schematic diagram of a vehicle trajectory tracking control system provided in an embodiment of the present application;
[0057] Figure 8 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0059] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0061] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0062] PSO-BP neural network: is a neural network model that combines the particle swarm optimization (PSO) algorithm and the back propagation (BP) algorithm. In this neural network model, the particle swarm optimization (PSO) algorithm is used to optimize the weights and thresholds of the neural network to improve the performance and convergence speed of the neural network. The particle swarm optimization (PSO) algorithm enables the neural network to learn and adapt to the data set faster by continuously adjusting the weights and thresholds. Accordingly, the PSO-BP neural network constructed by combining the particle swarm optimization (PSO) algorithm and the back propagation (BP) algorithm has a faster convergence speed and better generalization ability.
[0063] At present, with the rapid development of unmanned driving technology, trajectory tracking technology, as a core component of autonomous driving, has also developed rapidly. Trajectory tracking enables vehicles to travel along a predetermined path, which is of great significance for improving the driving safety, comfort and efficiency of vehicles. The purpose of trajectory tracking control is to make the vehicle stably track the reference trajectory of the upper planning layer decision at the desired speed under the condition of satisfying dynamic constraints, including longitudinal speed tracking and lateral path tracking. The longitudinal and lateral centralized control fully considers the strong coupling characteristics of the longitudinal and lateral motion of the vehicle. Although it improves the problem of vehicle tracking performance degradation under extreme working conditions to a certain extent, it significantly increases the system dimension and complexity, limiting its application in embedded systems with high real-time requirements. Therefore, the current trajectory tracking widely adopts the control strategy of longitudinal and lateral decoupling, among which lateral path tracking has received a lot of attention as a control difficulty. In related technologies, the accuracy of vehicle trajectory tracking is low and the handling performance is poor. For example, current research on trajectory tracking control focuses on achieving rapid convergence of lateral tracking errors, with less attention paid to the yaw stability of the vehicle under complex working conditions. In addition, some trajectory tracking controllers that consider yaw stability ignore the constraints between control objectives and use direct yaw moment control (DYC) as an additional control input, which limits the vehicle's handling performance under extreme conditions.
[0064] In view of this, a vehicle trajectory tracking control method, system, electronic device and storage medium are provided in the embodiment of the present application. The scheme constructs a phase plane of the center of mass sideslip angle and yaw rate, so as to identify the region of the center of mass sideslip angle and yaw rate phase plane through a preset neural network model, and obtain stability region division information. Then, the embodiment of the present invention performs stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, and then determines the corresponding stability control weight through the vehicle stability margin data. Then, the embodiment of the present invention constructs a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-objective collaborative control model through the vehicle dynamics model. Then, the embodiment of the present invention constructs an optimization objective function, so as to solve the control sequence according to the stability control weight combined with the trajectory tracking multi-objective collaborative control model and the optimization objective function, and obtain the target control quantity data, so as to realize vehicle trajectory tracking control, effectively improve the vehicle trajectory tracking accuracy, and take into account the yaw stability margin, and effectively improve the vehicle's handling performance.
[0065] The vehicle trajectory tracking control method provided in the embodiment of the present application relates to the field of vehicle control technology. The vehicle trajectory tracking control method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms and other basic cloud computing services. The cloud server, the server can also be a node server in the blockchain network; the software can be an application that implements the vehicle trajectory tracking control method, etc., but is not limited to the above forms.
[0066] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0067] Figure 1 is an optional flow chart of the vehicle trajectory tracking control method provided in an embodiment of the present application, Figure 1 The method may include but is not limited to steps S110 to S150.
[0068] Step S110, constructing a phase plane of the center of mass sideslip angle and the yaw angular velocity.
[0069] Step S120, performing region identification on the phase plane of the center of mass sideslip angle and the yaw rate through a preset neural network model to obtain stability region division information.
[0070] Step S130 , performing stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, so as to determine a corresponding stability control weight through the vehicle stability margin data.
[0071] Step S140, constructing a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-target collaborative control model through the vehicle dynamics model.
[0072] Step S150, constructing an optimization objective function to solve the control sequence according to the stability control weight combined with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data.
[0073] During the working process of this specific embodiment, the embodiment of the present invention first constructs the phase plane of the center of mass sideslip angle and yaw rate. Specifically, in the embodiment of the present invention, dividing the accurate stability domain boundary is the premise for judging the stability state of the vehicle, and dividing the vehicle instability boundary according to the convergence or divergence trend of the phase trajectory line. Correspondingly, the phase plane of the center of mass sideslip angle and yaw rate in the embodiment of the present invention, that is, the β-ω phase plane, is a phase plane obtained by drawing based on the center of mass sideslip angle β and the yaw rate ω. Then, the embodiment of the present invention performs regional identification on the constructed β-ω (center of mass sideslip angle and yaw rate) phase plane through a preset neural network model to obtain stability region division information. Specifically, the preset neural network model in the embodiment of the present invention includes a hybrid algorithm neural network model, such as a PSO-BP (particle swarm optimization-back propagation) neural network model, a GA-BP (genetic-back propagation) neural network model, and a DE-BP (differential evolution-back propagation) neural network model. The embodiment of the present invention identifies the stable region parameters in the β-ω (center of mass sideslip angle and yaw rate) phase plane through a preset neural network model, thereby obtaining corresponding stability region division information. Among them, the stability region division information includes the boundary value of the stability domain divided in the β-ω phase plane. Then, the embodiment of the present invention performs stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, and then determines the corresponding stability control weight through the vehicle stability margin data. Specifically, after identifying the boundary of the stability domain through a preset neural network model, the embodiment of the present invention performs real-time evaluation of the stability margin of the vehicle during driving according to the vehicle state parameters to obtain vehicle stability margin data. At the same time, the embodiment of the present invention analyzes the movement trend of the vehicle stability according to the evaluated vehicle stability margin data, thereby adaptively adjusting the weight proportion of the vehicle stability control to obtain the corresponding stability control weight. Further, the embodiment of the present invention constructs a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-objective collaborative control model through the vehicle dynamics model, and at the same time construct an optimization objective function, and then solve the control sequence according to the stability control weight combined with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control amount data. Specifically, the embodiment of the present invention considers the lateral and yaw motions of the vehicle, constructs the vehicle dynamics model, and combines the tracking error between the actual vehicle driving trajectory and the expected trajectory line to construct a trajectory tracking multi-objective collaborative control model. Accordingly, the solution of the vehicle control sequence depends on a suitable optimization objective function. Therefore, the embodiment of the present invention constructs an objective optimization function to solve the control sequence of the target vehicle in combination with the trajectory tracking multi-objective collaborative control model and the stability control weight, and obtains the target control quantity data, thereby controlling the vehicle according to the target control quantity data to achieve vehicle trajectory tracking control, effectively improving the vehicle trajectory tracking accuracy, and being able to take into account the yaw stability margin, thereby improving the vehicle's handling performance.
[0074] In some embodiments of the present invention, a region recognition is performed on a phase plane of the center of mass sideslip angle and the yaw rate by using a preset neural network model to obtain stability region division information, including but not limited to the following steps:
[0075] The particle swarm optimization back propagation neural network model is used to identify the stable domain boundary of the center of mass sideslip angle and yaw rate phase plane, and the stable domain boundary value is obtained.
[0076] The phase plane of the center of mass sideslip angle and the yaw rate is divided into regions according to the boundary value of the stability region to obtain stability region division information, wherein the stability region division information includes a preset stability region, a critical stability region and an unstable region.
[0077] In this specific embodiment, the preset neural network model includes a particle swarm optimization back propagation neural network model. The embodiment of the present invention first identifies the stable domain boundary of the center of mass sideslip angle and yaw rate phase plane through the particle swarm optimization back propagation neural network model to obtain the stable domain boundary value, and then divides the center of mass sideslip angle and yaw rate phase plane into regions according to the stable domain boundary value to obtain stability region division information. Specifically, based on the data set composed of simulation data in the embodiment of the present invention, the model input is defined as the longitudinal vehicle speed, the road adhesion coefficient and the front wheel turning angle, and the model output is the slope and intercept of the boundary line and the center of mass sideslip angle and yaw rate of the equilibrium point. Based on the PSO-BP (particle swarm optimization back propagation) neural network model, the parameters of the stable domain boundary line and the equilibrium point are identified to obtain the stable domain boundary value. Accordingly, according to the identified parameter values of the stable domain boundary line and the equilibrium point, the embodiment of the present invention divides the β-ω (center of mass sideslip angle and yaw rate) phase plane into a preset stable region, a critical stable region and an unstable region, such as Figure 2 As shown. Among them, Figure 2 The middle transition region refers to the critical stable region, the stable region refers to the preset stable region, and the region outside the transition region is the unstable region.
[0078] In some embodiments of the present invention, before performing stable domain boundary identification on the phase plane of the center of mass sideslip angle and yaw rate through a particle swarm optimization back propagation neural network model to obtain a stable domain boundary value, the method further includes:
[0079] Build a preset back-propagation neural network model.
[0080] Initialize the particle swarm parameters and calculate the particle fitness value based on the training error sum data.
[0081] The particle fitness value is compared and analyzed with the historical best fitness value and the global best fitness value to update the global best particle information, wherein the global best particle information includes the global best particle position.
[0082] The global optimal particle position is mapped to the preset parameters of the preset back propagation neural network model to construct a particle swarm optimization back propagation neural network model, wherein the preset parameters include a preset weight coefficient and a preset threshold.
[0083] In this specific embodiment, the embodiment of the present invention first constructs a preset back propagation neural network model. Specifically, the embodiment of the present invention performs data normalization processing on the corresponding data set data, as shown in the following formula (1):
[0084]
[0085] Among them, x is the original value of the data set, x max 、x min Respectively represent the maximum and minimum values, x * Represents the normalized value.
[0086] Accordingly, refer to Figure 3 , the embodiment of the present invention determines the neural network input, output and number of hidden layer unit nodes according to the training data set, and constructs a preset back propagation neural network model. Among them, the embodiment of the present invention searches for the optimal number of nodes through the particle swarm optimization algorithm (PSO) to maximize the performance of the BP neural network on a specific task to determine the number of hidden layer unit nodes. Then, the embodiment of the present invention initializes the particle swarm parameters and calculates the particle fitness value based on the training error sum data. Specifically, the dimension n of a single particle in the embodiment of the present invention satisfies the following formula (2):
[0087] n=N*(N in +1)+(N+N out ) (2)
[0088] Among them, N is the number of hidden layer nodes, N in is the number of input layer nodes, N out is the number of nodes in the output layer. For example, in the embodiment of the present invention, 20 particles are initially randomly generated, and the position states of all particles are X i =(x 1 ,x 2 ,…x n ) contains n elements, each element is initialized to a random number in [-1,1], the velocity vector V i =(v 1 ,v 2 ,…v n ) is initialized to one-tenth of the position vector.
[0089] At the same time, the embodiment of the present invention defines the fitness function of the particles in the population as the following formula (3):
[0090]
[0091] Among them, E total is the sum of BP neural network training errors for each group of samples in the data set, E total The calculation formula is shown in the following formula (4):
[0092]
[0093] Among them, m is the number of training set samples of the known data set.
[0094] Next, the embodiment of the present invention compares and analyzes the particle fitness value with the historical best fitness value and the global best fitness value to update the global best particle information. Specifically, the global best particle information in the embodiment of the present invention includes the global best particle position. Accordingly, the embodiment of the present invention compares the historical best fitness value, the global best fitness value and the current fitness value of the particle, that is, the particle fitness value, to update it to a better value of the particle information, and iterates the position and velocity vector of the particle, as shown in the following equations (5) and (6):
[0095]
[0096] Among them, ω is the inertia weight, k represents the number of iterations, c 1 、c 2 are learning factors, rand() is a random number that makes the particle speed disordered, P i is the position vector corresponding to the best historical fitness value of the i-th particle, P g is the position vector corresponding to the global optimal fitness value of the entire particle swarm.
[0097] Next, the embodiment of the present invention maps the global optimal particle position to the preset parameters of the preset back propagation neural network model to construct a particle swarm optimization back propagation neural network model. Specifically, the embodiment of the present invention continuously loops the above process until the preset goal is reached, that is, the termination condition is met, and the global optimal particle position is mapped to the preset weight coefficient and the preset threshold, that is, the global optimal particle position is set as the weight coefficient and threshold of the unit node, the BP neural network training is completed, and the particle swarm optimization back propagation neural network model is constructed. Accordingly, the embodiment of the present invention inputs a test set to test the generalization ability of the network.
[0098] In some embodiments of the present invention, the stability margin evaluation is performed according to the stability region division information to obtain vehicle stability margin data, so as to determine the corresponding stability control weight through the vehicle stability margin data, including but not limited to the following steps:
[0099] Determine an instability factor according to the stability region division information and the vehicle state point, so as to calculate an instability coefficient according to the instability factor through a preset instability function;
[0100] Determine a trend factor according to the stability region division information and the vehicle state point, so as to calculate a trend coefficient according to the trend factor through a preset trend function;
[0101] The stability control weight is calculated according to the instability coefficient and the trend coefficient through the stability control adaptive weight function.
[0102] In this specific embodiment, the embodiment of the present invention first determines the instability factor according to the stability region division information and the vehicle state point, and calculates the instability coefficient according to the instability factor through a preset instability function, and at the same time determines the trend factor according to the stability region division information and the vehicle state point, and calculates the trend coefficient according to the trend factor through a preset trend function, and then calculates the stability control weight according to the calculated instability coefficient and trend coefficient through a stability control adaptive weight function. Specifically, Figure 4 As shown, the embodiment of the present invention uses a preset neural network model to perform region recognition on the phase plane of the center of mass sideslip angle and the yaw rate, thereby dividing the phase plane of the vehicle into a stable region, a critically stable region, and an unstable region. Accordingly, the state parameters of the vehicle are represented on the phase plane as the vehicle state point c(β c ,ω c ), that is, the current position of the vehicle phase plane coordinate system, and the equilibrium point is represented by o(β o ,ω o). At this time, the stability state of the vehicle can be quantitatively characterized by two aspects, one is the range of the area where the vehicle state point is located, and the other is the movement trend of the vehicle state point. For example, when the vehicle state point is in the stable area, the vehicle yaw stability margin is high, and stability micro-control can be performed; when the vehicle state point is in the critical stability area, the vehicle may be unstable, and the control weight needs to be increased according to the distance between the state point and the boundary line of the stable area; when the vehicle state point is in the unstable area, strong stability control must be applied. In addition, the movement trend of the vehicle state point can predict the change trend of its stable state. For example, when the vehicle state point has a movement trend toward the balance point, it means that the vehicle tends to be stable, and the weight of the stability control can be appropriately reduced. On the contrary, if the vehicle state point is far away from the balance point, it means that the intervention intensity of the stability control is insufficient and needs to be adjusted in time. Therefore, the embodiment of the present invention defines the instability factor κ and the trend factor ξ to characterize the probability of instability and the trend of stable state change, so as to comprehensively evaluate and determine the stability margin of the vehicle trajectory tracking process.
[0103] Accordingly, if Figure 4 As shown, in order to calculate the instability factor, the embodiment of the present invention constructs a straight line k parallel to the mass center sideslip angle boundary line through the equilibrium point on the phase plane. 1 and a straight line k parallel to the yaw rate boundary line 2 , point i is the distance from the straight line k on the boundary line of stable region I 1 , k 2 The farthest point from k 1 , k 2 The distances are d Ⅰwmax and d Ⅰhmax , point j is the distance from the straight line k on the boundary line of critical stability region II 1 , k 2 The farthest point from k 1 , k 2 The distances are d Ⅱwmax and d Ⅱhmax , point c is the state point of the vehicle at this time, and its 1 , k 2 The distances are d w and d h , then the instability factor κ can be expressed by the following formula (7):
[0104]
[0105] The calculation formulas of various parameters are shown in the following formula (8):
[0106]
[0107] Among them, β o ,ω ois the coordinate value of the equilibrium point on the phase plane. For the zero-angle condition, β o =0,ω o =0, and the vehicle is more likely to become unstable under steering conditions, so the effect of the balance point offset on the instability coefficient must be considered. c ,ω c is the coordinate value of the vehicle state point on the phase plane at the current moment, M and N are the slope and intercept of the sideslip angle boundary line of the critical stability zone close to the vehicle state point.
[0108] Correspondingly, the value of the instability factor κ in the stable region Ⅰ is (0,1], at this time, the priority of stability control is reduced to the lowest; in the critical stability region Ⅱ, the instability factor κ∈(-1,0], considering gradually increasing the weight of stability control; in the unstable region Ⅲ, the instability factor κ∈(-∞,-1], but considering that the vehicle will not be infinitely unstable after the intervention of stability control, only κ∈(-2,-1] is considered, and the priority of stability control is increased to the maximum. At the same time, the embodiment of the present invention constructs the proportional coefficient f based on the Sigmoid function 1 (κ), that is, the preset instability function, is used to express the influence of the instability coefficient κ on the stability control, and the corresponding instability coefficient is calculated as shown in the following formula (9):
[0109]
[0110] In addition, in the embodiment of the present invention, the trend factor ξ is expressed by the angle between the state point movement direction of the vehicle state point and the state point convergence direction. The vector composed represents the movement direction of the vehicle state point, as shown in the following formula (10):
[0111]
[0112] At the same time, the vehicle state point (β c ,ω c ) and the equilibrium point (β o ,ω o ) represents the convergence direction of the state point, as shown in the following formula (11):
[0113]
[0114] Accordingly, the trend factor ξ in the embodiment of the present invention is defined as shown in the following formula (12):
[0115]
[0116] Among them, the above formula The vectors are The model of Figure 4 It can be seen that when ξ∈[0,π / 2), the vehicle state point has a tendency to converge to the equilibrium point, the vehicle tends to be stable, and the smaller ξ is, the faster the convergence speed is; when ξ∈[π / 2,π), the vehicle state point has a tendency to diverge to the equilibrium point, the vehicle tends to be unstable, and the larger ξ is, the faster the instability speed is. Therefore, the embodiment of the present invention constructs the trend coefficient f 2 (ξ), that is, the preset instability function, is used to express the influence of the trend factor ξ on the stability control, so as to calculate the corresponding trend coefficient, as shown in the following formula (13):
[0117]
[0118] Furthermore, the embodiment of the present invention comprehensively considers the real-time stable state of the vehicle and the motion trend of the stable state, adaptively adjusts the weight ratio of stability control in the vehicle trajectory tracking process, and constructs a stability control adaptive weight function f(κ,ξ) as shown in the following formula (14), so as to calculate the corresponding stability control weight:
[0119] f(κ,ξ)=f 1 (κ)·f 2 (ξ) (14)
[0120] In some embodiments of the present invention, a vehicle dynamics model is constructed according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-objective cooperative control model through the vehicle dynamics model, including but not limited to the following steps:
[0121] The vehicle tracking error function is constructed based on the lateral position tracking error and the heading angle tracking error.
[0122] A linear two-degree-of-freedom dynamic model of the vehicle is constructed based on the vehicle's lateral motion information and the vehicle's yaw motion information.
[0123] The tracking error state equation is constructed based on the vehicle linear two-degree-of-freedom dynamic model and the vehicle tracking error function.
[0124] Steady-state analysis is performed based on the vehicle's linear two-degree-of-freedom dynamics model, and the yaw stability parameter tracking state equation is constructed.
[0125] The control system state space equation is constructed based on the tracking error state equation and the yaw stability parameter tracking state equation.
[0126] The state space equation of the control system is optimized according to the preset system function, and a trajectory tracking multi-objective collaborative control model is constructed. The preset system function includes the steering system function and the first-order linear discrete system function of the hub motor.
[0127] In this specific embodiment, the embodiment of the present invention first constructs a vehicle tracking error function based on the lateral position tracking error and the heading angle tracking error. Specifically, the tracking error between the actual driving trajectory and the expected trajectory of the vehicle in the embodiment of the present invention is shown in the following formula (15):
[0128]
[0129] Among them, e d is the lateral position tracking error, is the heading angle tracking error, and They represent the position vector formed by the vehicle's center of mass, its projection point and the starting point O, is the unit vector of the d-axis of the Frenet coordinate system, θ x ,θ r Indicates the actual heading angle and target heading angle during driving.
[0130] Accordingly, during the actual driving process of the vehicle, the heading angle Considering that the center of mass slip angle is generally about 0, it can be considered that Further deriving the above formula (15) yields the following formula (16):
[0131]
[0132] Next, the embodiment of the present invention constructs a linear two-degree-of-freedom dynamic model of the vehicle based on the lateral motion information and the yaw motion information of the vehicle. Specifically, in order to facilitate the description of the steering characteristics of the vehicle during the trajectory tracking process, the embodiment of the present invention only considers the lateral and yaw motions of the vehicle, and constructs a linear two-degree-of-freedom dynamic model of the vehicle, such as Figure 5 As shown. In the embodiment of the present invention, the lateral and yaw motions of the two-degree-of-freedom vehicle model can be expressed as the following formula (17):
[0133]
[0134] Accordingly, since the front wheel steering angle and wheel slip angle are generally small, cosδ≈1 and tanα≈α are taken as approximations, and the vehicle linear two-degree-of-freedom dynamic model is obtained as shown in the following equation (18):
[0135]
[0136] Furthermore, the embodiment of the present invention constructs a tracking error state equation based on the vehicle linear two-degree-of-freedom dynamics model and the vehicle tracking error function. Specifically, the embodiment of the present invention substitutes the above equation (16) into the vehicle linear two-degree-of-freedom dynamics model, that is, the above equation (18), thereby constructing a tracking error state equation, as shown in the following equation (19):
[0137]
[0138] Next, the embodiment of the present invention performs steady-state analysis based on the linear two-degree-of-freedom dynamic model of the vehicle to construct a yaw stability parameter tracking state equation. Specifically, the vehicle trajectory tracking control objectives include tracking accuracy and yaw stability. The above equation (19) represents the tracking accuracy part in the trajectory tracking multi-objective collaborative control model, while stability control is often based on differential torque control, which adjusts the vehicle body posture by adding yaw torque so that the ω and β responses tend to steady-state expected values. Therefore, the steady-state expected values of the yaw angular velocity and the sideslip angle of the center of mass must be determined first. Among them, in the embodiment of the present invention, when the vehicle is in a steady-state response, the yaw angular velocity remains unchanged, that is, Substituting into the vehicle linear two-degree-of-freedom dynamic model, that is, equation (18), the yaw rate and center of mass sideslip angle values under steady-state response are obtained as shown in equations (20) and (21) respectively:
[0139]
[0140]
[0141] At the same time, during the actual driving process of the vehicle, its steering characteristics will be constrained by the road adhesion coefficient, which will affect the wheel lateral force limit, resulting in insufficient vehicle lateral force and failure to achieve the expected yaw rate and center of mass sideslip angle. Therefore, the embodiment of the present invention limits the expected values of yaw rate and center of mass sideslip angle to a certain range, as shown in the following equations (22) and (23):
[0142]
[0143] |β lim |≤arctan(0.02μg) (23)
[0144] Accordingly, for convenience of representation, the embodiment of the present invention is Then the expected yaw rate and sideslip angle under steady-state response are shown in equations (24) and (25) respectively:
[0145]
[0146] Next, in order to achieve tracking control of the expected values of the yaw stability related parameters in the above equations (24) and (25), the embodiment of the present invention uses the yaw angular velocity ω and the center of mass sideslip angle β as the system state quantities, transforms equation (18), and obtains the yaw stability parameter tracking state equation expression as shown in the following equation (26):
[0147]
[0148] Furthermore, the embodiment of the present invention constructs the control system state space equation according to the tracking error state equation and the yaw stability parameter tracking state equation, and optimizes the control system state space equation according to the preset system function to construct a trajectory tracking multi-objective collaborative control model. Specifically, in the embodiment of the present invention, the above equations (19) and (26) respectively construct the state equations of the tracking error model and the stability control model. In order to realize the construction of the trajectory tracking multi-objective collaborative control strategy, the embodiment of the present invention couples the two to achieve is the system state quantity, u=[δ f M z ] T is the system control variable. Combining the two equations, we can obtain the state space equation of the trajectory tracking multi-objective collaborative control model, that is, the control system state space equation, as shown in equation (27):
[0149]
[0150] Among them, the system matrix, control matrix and output matrix are shown in equations (28) to (31) respectively:
[0151]
[0152] Among them, the system state space equation is the interference amount, and its size is related to the curvature of the projection point of the vehicle's center of mass on the desired trajectory. The definition of curvature gives the following formula (32):
[0153]
[0154] Correspondingly, for the Frenet coordinate system, So we can get w = k r v x is the disturbance quantity related to curvature.
[0155] At the same time, the above state space equations are obtained under an ideal delay-free state. f The control of the wheel hub motor on the additional yaw torque ΔM z The response of the steering system and the wheel hub motor inevitably has output lag caused by mechanical clearance or communication, which has a great impact on the trajectory tracking accuracy and stability margin of the vehicle under medium and high speed and low adhesion coefficient conditions. Therefore, the embodiment of the present invention describes the front wheel steering angle and the wheel hub motor torque response as a first-order inertia link, and optimizes the control system state space equation. Among them, the first-order linear discrete systems of the steering system and the wheel hub motor in the embodiment of the present invention are respectively shown in the following equations (33) and (34):
[0156]
[0157] Among them, τ 1 , τ 2 are the response time constants of the steer-by-wire system and the wheel hub motor, δ r is the actual turning angle of the front wheel, ΔM r The actual additional yaw moment for the vehicle.
[0158] Accordingly, the state space equations of the control system considering the response lag in the embodiment of the present invention are shown in the following equations (35) and (36):
[0159]
[0160] Accordingly, in the embodiment of the present invention, by reconstructing the system state quantity Control quantity u=[δ f ΔM z ] T , observation quantity The vehicle trajectory tracking multi-objective collaborative control model is obtained as shown in the following equation (37):
[0161]
[0162] Among them, A r , B r , C r , D r They are shown in the following equations (38) to (41) respectively:
[0163]
[0164] C r =[C 0 0] (40)
[0165]
[0166] In some embodiments of the present invention, after optimizing the control system state space equation according to the preset system function and constructing the trajectory tracking multi-objective collaborative control model, the vehicle trajectory tracking control method provided by the embodiment of the present invention further includes but is not limited to the following steps:
[0167] The trajectory tracking multi-objective cooperative control model is discretized by the forward Euler method to obtain a discrete control model.
[0168] The discrete control model is optimized by controlling the incremental parameters, and the state space equation of trajectory tracking multi-objective collaborative control is obtained.
[0169] In this specific embodiment, the embodiment of the present invention first discretizes the trajectory tracking multi-objective collaborative control model by the forward Euler method to obtain a discrete control model, and then optimizes the discrete control model by controlling the incremental parameters to obtain the trajectory tracking multi-objective collaborative control state space equation. Specifically, the embodiment of this method is based on the constructed vehicle trajectory tracking multi-objective collaborative control model, and discretizes it by the forward Euler method, as shown in the following formula (42):
[0170]
[0171] Among them, k represents the current moment, and the matrix They are shown in the following formula (43):
[0172]
[0173] Where I is the 8-dimensional unit matrix and ΔT is the sampling time step.
[0174] Next, in order to improve the stability of the control system and reduce the oscillation of its actuator, the embodiment of the present invention constrains the increment of the control amount in the subsequent quadratic programming solution. Therefore, the embodiment of the present invention replaces the control amount u(k) in equation (42) with the control increment Δu(k) to reconstruct the system state variable matrix, as shown in equation (44):
[0175]
[0176] Accordingly, the embodiment of the present invention transforms the above equation (42) into a new state space equation by introducing a reconstruction vector, namely, the trajectory tracking multi-target collaborative control state space equation, as shown in the following equation (45):
[0177]
[0178] Wherein, Δu(k)=u(k)-u(k-1), the new system matrix and observation matrix are shown in equation (46):
[0179]
[0180] In some embodiments of the present invention, an optimization objective function is constructed to solve the control sequence according to the stability control weight combined with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data, including but not limited to the following steps:
[0181] Construct a preset prediction time domain function, wherein the preset prediction time domain function includes a state quantity function and an observation quantity function.
[0182] The system prediction model is constructed based on the state quantity function, observation quantity function and trajectory tracking multi-target collaborative control state space equation.
[0183] The control increment parameters are used as state quantities and combined with relaxation factors and stability control weights to construct the optimization objective function.
[0184] Substitute the system prediction model into the optimization objective function to solve the quadratic programming and obtain the target control quantity data.
[0185] In this specific embodiment, the embodiment of the present invention first constructs a preset prediction time domain coefficient. Specifically, the preset prediction time domain function in the embodiment of the present invention includes a state quantity function and an observation quantity function. Among them, the embodiment of the present invention defines the prediction time domain of the control system as N p , the control time domain is N c , and there are N p >N c , then the state quantity and observation quantity in the prediction time domain can be expressed as the following equations (47) and (48) respectively:
[0186]
[0187] Next, the embodiment of the present invention constructs a system prediction model based on the state quantity function, the observation quantity function and the trajectory tracking multi-target cooperative control state space equation. Specifically, the embodiment of the present invention constructs a system prediction model by arranging the state quantity and observation quantity iterative equations in the prediction time domain into the form of state space equations, as shown in the following formula (49):
[0188] Y(k)=ψξ(k)+ΘΔN(k)+SW(k) (49)
[0189] Among them, Y(k) is the output sequence, ΔU(k) is the control quantity increment sequence, W(k) is the disturbance quantity sequence, and the specific matrix expressions are shown in the following equations (50) to (55):
[0190]
[0191]
[0192] Accordingly, the solution of the vehicle control sequence depends on a suitable optimization objective function. Although the objective function with the control quantity as the state quantity can minimize the control cost of the actuator, it cannot limit the jump of the control quantity, resulting in an uneven tracking trajectory or even vehicle oscillation. In addition, compared with the traditional pure trajectory tracking model, the prediction model of the embodiment of the present invention additionally introduces a stability control part, which increases the complexity of the model. Therefore, in order to increase the scope of the feasible domain for solution, the embodiment of the present invention adds a relaxation factor ε to the optimization objective function, and constructs the optimization objective function with the control quantity increment Δu(k) as the state quantity, as shown in the following formula (56):
[0193]
[0194] Where η(k+i) represents the model prediction output vector of vehicle tracking error and yaw stability parameters in the prediction time domain, η ref (k+i)=[0 0 0 0 β d (k+i)ω d (k+i)] T The first term in the objective function optimizes the vehicle's tracking effect on the desired trajectory and improves the vehicle's stability margin. The second term is the limit requirement for the fluctuation of the control amount. The weights of these two terms are Q=diag(q 1 q 2 q 3 q 4 q 5 q 6 )、R=diag(r 1 r 2 ), where q 1 ,q 2 ,q 3 ,q 4 is the optimization ratio of trajectory tracking accuracy, q 5 ,q 6 is the weight ratio of yaw stability control, ε is the relaxation factor, and ρ is the corresponding weight coefficient.
[0195] Correspondingly, there is a constraint relationship between vehicle trajectory tracking accuracy and yaw stability control. Among them, when the vehicle is tracking a high-adhesion, small-curvature road trajectory at a low speed, the probability of side slip instability is extremely low. If high-intensity stability control is continuously involved, that is, q 1 ,q 2 ,q 3 ,q 4 and q 5 ,q 6If the relative proportion of is a constant value, the actual driving trajectory of the vehicle will deviate from the expected trajectory. Therefore, in order to fully release the vehicle's handling performance, the embodiment of the present invention comprehensively considers the real-time stable state of the vehicle and the movement trend of the stable state, and constructs Figure 6 The stability control adaptive weight function f(κ,ξ) is shown to redistribute the vehicle trajectory tracking accuracy and yaw stability optimization proportion based on f(κ,ξ).
[0196] In this embodiment of the present invention, the stability control weight function f(κ,ξ) is normalized as shown in the following formula (57):
[0197]
[0198] At the same time, the embodiment of the present invention optimizes the trajectory tracking accuracy weight coefficient q in the objective function i (i=1,2,3,4) and stability control weight coefficient q j (j=5,6) are defined as shown in the following formula (58):
[0199]
[0200] Among them, q imax ,q jmax They are the preset maximum values of the tracking accuracy and yaw stability weight coefficients respectively.
[0201] Finally, the embodiment of the present invention substitutes the system prediction model into the optimization objective function to perform quadratic programming solution to obtain the target control quantity data. Specifically, in the embodiment of the present invention, each time step of MPC is essentially solving a quadratic programming problem under multiple constraints. Therefore, the embodiment of the present invention substitutes formula (49), that is, the system prediction model, into the optimization objective function (56) to convert it into a general solution form of quadratic programming, as shown in the following formula (59):
[0202]
[0203] Among them, f=[2E T QΘ 0], E = ψξ(k) + SW(k) - Y ref (k), ΔU min , ΔU max are the control quantity increment constraint values, U min , U max are the control quantity constraints respectively. The front wheel angle constraint and additional yaw moment constraint are obtained from the external characteristics of the steering mechanism and the hub motor respectively. min and max is the vehicle dynamics constraint, and its value is shown in Table 1 below:
[0204] Table 1
[0205]
[0206] It should be noted that the embodiment of the present invention solves the quadratic programming problem of equation (59) by the interior point method, thereby calculating the control quantity increment acting on the target vehicle in the control time domain, that is, the target control quantity data, such as ΔU(k)=[Δu(k)Δu(k+1) … Δu(k+Nc)]. In which, the embodiment of the present invention takes the first element in the increment sequence as the actual control quantity increment to obtain the vehicle optimal control input u(k)=u(k-1)+Δu(k).
[0207] It is easy to understand that the embodiment of the present invention defines the vehicle driving stability domain based on the β-ω phase plane and identifies the vehicle stability domain based on the PSO-BP neural network, and constructs a function that adaptively adjusts the weight ratio of stability control in the vehicle trajectory tracking process, and constructs a multi-objective coordinated optimization trajectory tracking control strategy based on the function, which can realize the multi-objective coordinated optimization trajectory tracking control of the vehicle under complex working conditions. Accordingly, the embodiment of the present invention analyzes the yaw stability change trend of the vehicle according to the real-time driving state parameters, coordinates the weight ratios of different control objectives, and integrates the advantages of different control algorithms, which can realize the coordinated optimization motion control that takes into account the vehicle trajectory tracking accuracy and yaw stability margin, effectively improves the vehicle trajectory tracking accuracy, and takes into account the yaw stability margin, effectively improving the vehicle's handling performance.
[0208] See also Figure 7 The embodiment of the present application also provides a vehicle trajectory tracking control system, which can implement the above-mentioned vehicle trajectory tracking control method, and the system includes:
[0209] The first module 210 is used to construct a phase plane between the center of mass sideslip angle and the yaw rate.
[0210] The second module 220 is used to perform regional identification on the phase plane of the center of mass sideslip angle and the yaw rate through a preset neural network model to obtain stability region division information.
[0211] The third module 230 is used to perform stability margin evaluation according to the stability area division information to obtain vehicle stability margin data, so as to determine a corresponding stability control weight through the vehicle stability margin data.
[0212] The fourth module 240 is used to construct a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-target collaborative control model through the vehicle dynamics model.
[0213] The fifth module 250 is used to construct an optimization objective function to solve the control sequence according to the stability control weight combined with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data.
[0214] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0215] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned vehicle trajectory tracking control method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0216] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0217] See also Figure 8 , Figure 8 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0218] The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0219] The memory 320 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 320 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 320, and the processor 310 calls and executes the vehicle trajectory tracking control method of the embodiment of this application;
[0220] Input / output interface 330, used to implement information input and output;
[0221] Communication interface 340, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0222] bus 350 , which transmits information between the various components of the device (e.g., processor 310 , memory 320 , input / output interface 330 , and communication interface 340 );
[0223] The processor 310 , the memory 320 , the input / output interface 330 and the communication interface 340 are connected to each other in communication within the device via the bus 350 .
[0224] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned vehicle trajectory tracking control method is implemented.
[0225] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0226] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0227] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0228] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0229] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0230] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A vehicle trajectory tracking control method, characterized in that: The method comprises the following steps: Construct the phase plane between the sideslip angle and the yaw rate; Performing regional identification on the mass center sideslip angle and yaw rate phase plane by using a preset neural network model to obtain stability region division information; Performing a stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, so as to determine a corresponding stability control weight through the vehicle stability margin data; Building a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to build a trajectory tracking multi-objective cooperative control model through the vehicle dynamics model; An optimization objective function is constructed to solve the control sequence according to the stability control weight in combination with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data.
2. The method according to claim 1, characterized in that The method of performing regional identification on the phase plane of the center of mass sideslip angle and the yaw rate by using a preset neural network model to obtain stability region division information includes: The stable domain boundary is identified on the phase plane of the center of mass sideslip angle and the yaw rate by using a particle swarm optimization back propagation neural network model to obtain a stable domain boundary value; The phase plane of the sideslip angle and the yaw rate is divided into regions according to the boundary value of the stability region to obtain the stability region division information; wherein the stability region division information includes a preset stability region, a critical stability region and an unstable region.
3. The method according to claim 2, characterized in that Before performing the stable domain boundary identification on the phase plane of the center of mass sideslip angle and yaw rate through the particle swarm optimization back propagation neural network model to obtain the stable domain boundary value, the method further includes: Build a preset back-propagation neural network model; Initialize the particle swarm parameters and calculate the particle fitness value based on the training error sum data; Compare and analyze the particle fitness value with the historical best fitness value and the global best fitness value respectively, so as to update the global best particle information; wherein the global best particle information includes the global best particle position; The global optimal particle position is mapped to the preset parameters of the preset back-propagation neural network model to construct the particle swarm optimization back-propagation neural network model; wherein the preset parameters include preset weight coefficients and preset thresholds.
4. The method according to claim 1, characterized in that The step of performing stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, and determining a corresponding stability control weight through the vehicle stability margin data, includes: Determine an instability factor according to the stability region division information and the vehicle state point, so as to calculate an instability coefficient according to the instability factor through a preset instability function; Determine a trend factor according to the stability region division information and the vehicle state point, so as to calculate a trend coefficient according to the trend factor through a preset trend function; The stability control weight is calculated according to the instability coefficient and the trend coefficient through a stability control adaptive weight function.
5. The method according to claim 1, characterized in that The vehicle dynamics model is constructed according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-objective cooperative control model through the vehicle dynamics model, including: Constructing a vehicle tracking error function based on the lateral position tracking error and the heading angle tracking error; Constructing a linear two-degree-of-freedom dynamic model of the vehicle according to the lateral motion information of the vehicle and the yaw motion information of the vehicle; Constructing a tracking error state equation according to the vehicle linear two-degree-of-freedom dynamics model and the vehicle tracking error function; Perform steady-state analysis based on the vehicle linear two-degree-of-freedom dynamics model and construct a yaw stability parameter tracking state equation; Constructing a control system state space equation according to the tracking error state equation and the yaw stability parameter tracking state equation; The control system state space equation is optimized according to a preset system function to construct the trajectory tracking multi-objective collaborative control model; wherein the preset system function includes a steering system function and a first-order linear discrete system function of a hub motor.
6. The method according to claim 5, characterized in that After optimizing the control system state space equation according to the preset system function and constructing the trajectory tracking multi-objective collaborative control model, the method further includes: The trajectory tracking multi-objective cooperative control model is discretized by a forward Euler method to obtain a discrete control model; The discrete control model is optimized by controlling the incremental parameters to obtain the trajectory tracking multi-objective collaborative control state space equation.
7. The method according to claim 6, characterized in that The constructing of the optimization objective function to solve the control sequence according to the stability control weight in combination with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data includes: Constructing a preset prediction time domain function; wherein the preset prediction time domain function includes a state quantity function and an observation quantity function; Constructing a system prediction model according to the state quantity function, the observation quantity function and the trajectory tracking multi-objective collaborative control state space equation; The control increment parameter is used as a state quantity and combined with a relaxation factor and the stability control weight to construct the optimization objective function; Substitute the system prediction model into the optimization objective function to perform quadratic programming solution to obtain the target control quantity data.
8. A vehicle trajectory tracking control system, characterized in that: The system comprises: The first module is used to construct the phase plane between the sideslip angle of the center of mass and the yaw rate; The second module is used to perform regional identification on the phase plane of the center of mass sideslip angle and yaw rate through a preset neural network model to obtain stability region division information; a third module, configured to perform stability margin evaluation according to the stability region division information to obtain vehicle stability margin data, so as to determine a corresponding stability control weight through the vehicle stability margin data; A fourth module is used to construct a vehicle dynamics model according to the vehicle lateral motion information and the vehicle yaw motion information, so as to construct a trajectory tracking multi-objective collaborative control model through the vehicle dynamics model; The fifth module is used to construct an optimization objective function to solve the control sequence according to the stability control weight in combination with the trajectory tracking multi-objective collaborative control model and the optimization objective function to obtain the target control quantity data.
9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Unmanned vehicle safety and operation stability control method based on torque vector control
CN112793560A
Vehicle trajectory tracking and stability cooperative control method and device
CN115871641A
Vehicle path following control method, system and device and storage medium
CN116691669A
Cooperative control method of modular layered architecture
CN116819972A
Active front wheel steering and direct yawing moment cooperative control method based on vehicle-road state
CN117141461A
Cited By
Electric vehicle path tracking and stability cooperative control method
CN119189988A
Virtual rail train trajectory tracking method and device and train
CN120030798A
Virtual track train trajectory tracking method, device and train
CN120030798B
Vehicle path tracking control method and device, medium and product
CN120370944A
Automatic equipment control method, computing equipment and computer readable storage medium
CN121209358A
