Vehicle control method and device based on model predictive control

By establishing a control model that includes the actual state and target state of the vehicle, optimizing the control sequence and reducing dimensionality, the problem of high computational complexity in autonomous vehicles is solved, safety and simulation test fidelity are improved, and rapid response and Precise control.

CN118192236BActive Publication Date: 2024-09-27CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410364796.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-09-27
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

Existing model predictive control methods have high computational complexity in autonomous vehicles, affecting real-time performance and safety. They fail to fully optimize the control sequence dimensions and improve the fidelity of simulation tests.

Method used

By establishing a control model including the actual vehicle state, target state and system constraints, defining optimization problems and constructing a collective optimization matrix, using online rolling optimization and dimensionality reduction processing, the optimal control sequence can respond to changes in vehicle state, improving calculation efficiency and control accuracy. .

Benefits of technology

It significantly reduces the computational complexity of model predictive control, improves the safety and efficiency of autonomous vehicles, enhances the fidelity of simulation tests, and ensures rapid response and precise control of vehicles in various driving environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118192236B
    Figure CN118192236B
Patent Text Reader

Abstract

The present application provides a vehicle control method, device and storage medium based on model predictive control. The method includes: establishing a control model of the vehicle, defining the optimization problem and the corresponding system constraints based on the control model; constructing an optimal control sequence including an aggregate optimization matrix; using a predetermined aggregate optimization strategy, by applying a transformation matrix within a preset time period, performing dimensionality reduction processing on the optimal control sequence to obtain an optimal control sequence after aggregate optimization; applying the optimal control sequence after aggregate optimization to the objective function, and calculating the objective function based on the system constraints, so as to extract the optimal control quantity from the optimal control sequence after aggregate optimization, and directly apply the optimal control quantity to the vehicle control system to execute the real-time response of the vehicle. The present application improves the computational efficiency and control accuracy of the model predictive control method, and improves the safety and efficiency of autonomous driving of smart cars.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of new energy vehicle technology, and in particular to a vehicle control method and device based on model predictive control. Background Art

[0002] In the field of autonomous driving technology, the model predictive control (MPC) method has become one of the key control strategies, which achieves precise control of the vehicle by optimizing a series of future control actions. MPC relies on the prediction of the future behavior of the vehicle and the continuous optimization of these predictions to ensure that the optimization objective function and system constraints are met within a limited time, thereby ensuring the convergence of the control system. However, despite the excellent performance of MPC in the field of autonomous driving, its computational complexity is high, especially when a large amount of prediction information needs to be processed. This computational burden significantly affects the real-time performance of the controller and the safety of the autonomous vehicle.

[0003] The deficiencies of the existing technologies are mainly reflected in the following aspects: The first existing technology accelerates the MPC calculation process through time domain decomposition. Although it reduces the complexity of prediction information and improves the efficiency of information transmission, it fails to fully consider the optimization requirements in the control time domain and ignores the potential for optimizing the control sequence dimension. The second existing technology is committed to avoiding calculation timeouts and improving the computational efficiency of MPC by optimizing the constraint set, but this method does not deeply explore how to optimize the dimension of the control sequence and may not fully utilize the feasible computing resource optimization space. The third existing technology focuses on improving the efficiency of the controller debugging process. Although the debugging process is simplified by pre-designed performance coefficients and variable weight matrices, it lacks detailed considerations for the actual test environment, which limits its breadth and depth of application in real vehicle testing.

[0004] Therefore, there is an urgent technical need to develop a new MPC method that can significantly reduce the computational complexity while ensuring control accuracy, especially by optimizing the control sequence dimension and improving the realism of simulation tests to meet the safety and reliability requirements of autonomous vehicles in various driving environments. Summary of the invention

[0005] In view of this, an embodiment of the present application provides a vehicle control method and device based on model predictive control to solve the problem that the model predictive control method in the prior art does not respond promptly or accurately to complex dynamic scenes.

[0006] In a first aspect of an embodiment of the present application, a vehicle control method based on model predictive control is provided, comprising: establishing a control model of a vehicle, wherein the control model includes an actual state, a target state and a system constraint of the vehicle; defining an optimization problem and corresponding system constraint conditions based on the control model, wherein the optimization problem is represented by an objective function, and the objective function combines the deviation between the actual state and the target state and the efficiency of the use of the control quantity; constructing an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by an online rolling optimization method to respond to real-time changes in the vehicle state; utilizing a predetermined aggregate optimization strategy, by applying a transformation matrix within a preset time period, a dimensionality reduction process is performed on the optimal control sequence to obtain an optimal control sequence after aggregate optimization; applying the optimal control sequence after aggregate optimization to the objective function, and operating the objective function based on the system constraint conditions so as to extract the optimal control quantity from the optimal control sequence after aggregate optimization, and directly applying the optimal control quantity to the vehicle control system to execute real-time response of the vehicle.

[0007] According to a second aspect of an embodiment of the present application, a vehicle control device based on model predictive control is provided, comprising: an establishment module, configured to establish a control model of the vehicle, wherein the control model includes the actual state, target state and system constraints of the vehicle; a definition module, configured to define an optimization problem and corresponding system constraints based on the control model, wherein the optimization problem is represented by an objective function, and the objective function combines the deviation between the actual state and the target state and the efficiency of the use of the control amount; a construction module, configured to construct an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by online rolling optimization to respond to real-time changes in the vehicle state; a processing module, configured to utilize a predetermined aggregate optimization strategy, by applying a transformation matrix within a preset time period, to perform dimensionality reduction processing on the optimal control sequence to obtain an optimal control sequence after aggregate optimization; an extraction module, configured to apply the optimal control sequence after aggregate optimization to the objective function, and to operate the objective function based on the system constraints so as to extract the optimal control amount from the optimal control sequence after aggregate optimization, and directly apply the optimal control amount to the vehicle control system to execute real-time response of the vehicle.

[0008] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0009] By establishing a control model of the vehicle, wherein the control model includes the actual state, target state and system constraints of the vehicle; defining the optimization problem and the corresponding system constraints based on the control model, wherein the optimization problem is represented by an objective function, which combines the deviation between the actual state and the target state and the efficiency of the use of the control quantity; constructing an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by online rolling optimization to respond to the real-time changes in the vehicle state; using a predetermined aggregate optimization strategy, by applying a transformation matrix within a preset time period, the optimal control sequence is subjected to dimensionality reduction processing to obtain an optimal control sequence after aggregate optimization; applying the optimal control sequence after aggregate optimization to the objective function, and calculating the objective function based on the system constraints, so as to extract the optimal control quantity from the optimal control sequence after aggregate optimization, and directly applying the optimal control quantity to the vehicle control system to execute the real-time response of the vehicle. This application improves the computational efficiency and control accuracy of the model predictive control method, and improves the safety and efficiency of autonomous driving of smart cars. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0011] Figure 1 It is a flow chart of a vehicle control method based on model predictive control provided in an embodiment of the present application;

[0012] Figure 2 It is a schematic diagram of a joint simulation test based on Carsim and Matlab platforms provided in an embodiment of the present application;

[0013] Figure 3 is a schematic diagram of lateral error comparison provided in an embodiment of the present application;

[0014] Figure 4 is a schematic diagram for comparing the computing efficiencies provided in the embodiments of the present application;

[0015] Figure 5 is a schematic diagram of longitudinal speed comparison provided by an embodiment of the present application;

[0016] Figure 6 is a schematic diagram of the structure of a vehicle control device based on model predictive control provided in an embodiment of the present application;

[0017] Figure 7 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0019] In recent years, Model Predictive Control (MPC) has been widely used in the field of autonomous driving. It is actually to find a set of control sequences that meet the optimization objective function and system constraints within a limited time. As long as reasonable objective functions and system constraints are selected, the convergence of the system can be guaranteed. The characteristic of MPC is that it considers a large amount of prediction information based on its own model characteristics, which will greatly affect the calculation efficiency of the controller and thus affect the safety of autonomous driving vehicles. Therefore, improving the calculation efficiency of MPC will effectively ensure the accuracy and safety of vehicle control. At the same time, simulation test verification of MPC calculation efficiency will effectively avoid the safety problem of MPC directly deployed on the vehicle.

[0020] Prior art 1 discloses a time domain decomposition acceleration method for a model predictive controller, which reduces the complexity of prediction information by optimizing the state quantity within the prediction time domain, and improves the information transmission efficiency of online rolling optimization by transmitting information across time nodes. However, this method does not optimize MPC from the perspective of the control time domain.

[0021] Prior art 2 discloses a fast model predictive control method, which considers that the calculation timeout of MPC occurs when the control quantity, output, etc. exceed the constraint range. Therefore, an optimized constraint set is designed to improve the calculation efficiency of MPC. However, no in-depth discussion is made on the optimization of the control sequence dimension.

[0022] Prior art 3 discloses a debugging method and system for a model predictive controller, which selects a performance coefficient from the pre-designed performance coefficients for each control variable as the target performance coefficient; determines the variable weight matrix corresponding to the target performance coefficient as the target variable weight matrix; inputs the prediction model parameters and the target variable weight matrix as model predictive control parameters into the model predictive controller, and debugs the MPC, thereby improving the debugging efficiency of the controller. However, it does not provide a specific test environment.

[0023] Although existing technologies have made some progress in improving the efficiency and responsiveness of model predictive control, they still have limitations. These technologies fail to fully consider the dynamic and changing environment in autonomous driving, especially in optimizing the control time domain, deeply exploring the optimization of the control sequence dimension, and lacking specific test environment descriptions. In order to further improve the safety and efficiency of autonomous driving of smart cars, it is urgent to study more comprehensive and efficient MPC lateral control methods and their simulation test technologies.

[0024] In view of the problems existing in the prior art, the present application provides a method for predicting lateral control of an intelligent vehicle with a rapid response model. The method for predicting lateral control of an intelligent vehicle with a rapid response model may include the following contents:

[0025] First, an optimization problem is defined, which will be quantified by an objective function. This function calculates the difference between the actual state and the target state, as well as the square of the control quantity, and then combines these values ​​with weights. The goal is to minimize while satisfying a series of constraints, such as constraints on the state and control quantity, system dynamics, etc. These constraints ensure the consistency of the predicted model with the actual vehicle model.

[0026] Next, in the process of online rolling prediction, in order to reduce the computational complexity of MPC, a specially designed aggregation optimization matrix is ​​used to operate with the control sequence. This matrix performs a Kronecker product operation with the unit matrix of the same dimension in the control time domain to obtain the optimized control sequence. This step is the core of the entire MPC optimization, which transforms the optimization problem of the control sequence to make it easier to calculate.

[0027] Then, the design of the aggregation optimization matrix is ​​based on the optimization of the control sequence dimension. For example, based on the size of the control time domain and the number of control quantities, different aggregation optimization matrices can be designed, which can effectively reduce the dimension of the control sequence and thus reduce the amount of calculation. At the same time, the use of a design principle similar to a geometric progression can make the short-term control more precise and the long-term control more scalable, thus improving the calculation efficiency while ensuring the control accuracy.

[0028] Finally, the optimized control sequence is converted into the actual control quantity, which will directly act on the vehicle control system to guide the driving of the smart car. The actual control quantity here is the optimal control quantity that has been optimized and meets the constraints. Its structure and dimensions are carefully designed to ensure fast response and precise control of the smart car.

[0029] Through the intelligent optimization of the control sequence and calculation method of MPC in the embodiments of the present application, the technical proposal of the present application aims to reduce the computational complexity of MPC, improve the calculation speed, and ensure the control accuracy, so as to enhance the autonomous driving performance of smart cars.

[0030] The contents of the technical solution of the present application are described in detail below with reference to the accompanying drawings and specific embodiments.

[0031] Figure 1 It is a flow chart of a vehicle control method based on model predictive control provided in an embodiment of the present application. Figure 1 The vehicle control method based on model predictive control can be executed by the vehicle control system. Figure 1 As shown, the vehicle control method based on model predictive control may specifically include:

[0032] S101, establishing a control model of the vehicle, wherein the control model includes the actual state, target state and system constraints of the vehicle;

[0033] S102, defining an optimization problem and corresponding system constraints based on the control model, wherein the optimization problem is represented by an objective function, and the objective function combines the deviation between the actual state and the target state and the efficiency of the use of the control amount;

[0034] S103, constructing an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by an online rolling optimization method to respond to real-time changes in vehicle status;

[0035] S104, using a predetermined aggregation optimization strategy, by applying a transformation matrix within a preset time period, performing dimensionality reduction processing on the optimal control sequence to obtain an optimal control sequence after aggregation optimization;

[0036] S105, applying the optimal control sequence after the aggregation and optimization to the objective function, and calculating the objective function based on the system constraints, so as to extract the optimal control quantity from the optimal control sequence after the aggregation and optimization, and directly applying the optimal control quantity to the vehicle control system to execute the real-time response of the vehicle.

[0037] In some embodiments, defining an optimization problem and corresponding system constraints based on a control model includes:

[0038] The optimization problem is defined by constructing an objective function, wherein the objective function includes the weighted sum of squares of the differences between the actual state and the target state in the prediction time domain, and the weighted sum of squares of the control quantity in the control time domain; in the process of minimizing the objective function, the system constraints are satisfied, wherein the system constraints include state quantity constraints, control quantity constraints and system dynamic constraints.

[0039] Specifically, in the implementation steps of the optimization problem and system constraints of intelligent vehicle control, first, an optimization problem needs to be defined, which is to determine the optimal control behavior to drive the intelligent vehicle. The goal of this optimization problem is to minimize the difference between the actual driving state and the target driving state and control the energy consumption of the vehicle under the premise of ensuring the safety of the vehicle. The following is the function expression of the optimization problem and system constraints of intelligent vehicle control provided in the embodiment of the present application:

[0040]

[0041] x(i)∈X,u(i)∈U i=0,…N p -1

[0042] st.x(i+1)=Ax(i)+Bu(i) i=0,…N p -1

[0043] U * =[u0,…,u Nc -1] T

[0044] Among them, x represents the actual state of the smart car, x d represents the target state, u represents the control amount of the system, w1 and w2 are adjustment coefficients, N p represents the prediction time domain, N c represents the control time domain, x(i)∈X,u(i)∈U represent the constraints of the system state and control quantity respectively, x(i+1)=Ax(i)+Bu(i) represents the constraints of the system, U * represents the optimal control sequence of the system.

[0045] The online optimization of MPC needs to consider all state variables in the prediction time domain and all control variables in the control time domain, which will result in complex calculations, thus affecting the computational efficiency of MPC. Therefore, in the process of online rolling optimization of MPC, an optimal control sequence of aggregate optimization is constructed.

[0046] Furthermore, according to the above function expression, it can be seen that the objective function J quantifies the difference between the current state of the smart car and the target state, as well as the control amount used. The objective function consists of the following two parts:

[0047] Part I It is the actual state x and the target state x in the prediction time domain d The weighted sum of squares of the differences between them, w1 is the weight coefficient of the state difference.

[0048] Part 2 It is the weighted square sum of the control quantity u in the control time domain, and w2 is the weight coefficient used by the control quantity.

[0049] The goal of this embodiment is to minimize the objective function, that is, to find a control strategy that allows the vehicle to be as close to the target state as possible while using as little control as possible.

[0050] Furthermore, in the process of minimizing the objective function, the embodiment of the present application will also define the following system constraints:

[0051] The state constraint x(i)∈X and the control constraint u(i)∈U are used to ensure that the state and control of the car are within safety and physical limits.

[0052] The system dynamic constraint x(i+1)=Ax(i)+Bu(i) describes how the car changes to the next state based on the current state and control quantity, where A and B are parameters of the system dynamic model.

[0053] Optimal Control Sequence It is a collection of control quantities that defines how to control the vehicle in the control domain.

[0054] Based on the above objective function and system constraints, the overall implementation process of the model predictive control method provided in the embodiment of the present application includes the following steps:

[0055] Setting objectives and constraints: First, according to the physical model of the vehicle and the expected driving state, set the objective function and corresponding system constraints.

[0056] Parameter initialization: Initialize the starting values ​​of state variables and control variables, as well as weight coefficients w1 and w2.

[0057] Predictive model building: Building a predictive model of the evolution of the vehicle state over time, usually through linear or nonlinear system equations.

[0058] Rolling Optimization: At each moment, an optimization algorithm is run to calculate the optimal control sequence based on the current state, system dynamics, and predefined constraints.

[0059] Update states and control variables: Apply the first set of control variables of the calculated optimal control sequence to the vehicle model and update the vehicle state.

[0060] Repeat operation: At the next moment, use the updated vehicle state as a new starting point and repeat the rolling optimization process.

[0061] Through the above implementation steps of the model predictive control method, the vehicle control system can gradually approach and maintain the target state as much as possible while ensuring that the vehicle state always meets the constraints. This process is called model predictive control (MPC), which is a dynamic optimization process that is continuously updated as each control moment progresses. By implementing only the first action of the calculated optimal control sequence at each moment and then recalculating the new optimal control sequence, the system can adapt to the changing driving environment and vehicle state.

[0062] In some embodiments, constructing an optimal control sequence including an aggregate optimization matrix includes:

[0063] In the online rolling prediction process, an aggregate optimization matrix is ​​created and a unit matrix with the same dimension as the control time domain is selected. The aggregate optimization matrix and the unit matrix are combined using the Kronecker product to obtain a transformation matrix of the new control sequence. The transformation matrix is ​​used to convert the original optimal control sequence into the optimal control sequence after aggregate optimization. The aggregate optimization matrix is ​​used to reduce the number of control variables in the control time domain to reduce the calculation amount of the optimal control sequence.

[0064] Specifically, in order to simplify the online optimization problem of model predictive control (MPC), the technical solution of this application introduces an innovative concept, namely "aggregate optimization optimal control sequence". This concept improves the computational efficiency of MPC by reducing the dimension of calculation while maintaining the control accuracy as much as possible. The following will be combined with specific embodiments to describe in detail the process and principle of constructing the optimal control sequence including aggregate optimization in this embodiment, which may specifically include the following contents:

[0065]

[0066] Among them, T agr represents the aggregation optimization matrix, represents the Kronecker product, I m represents a matrix with the same dimensions as the control time domain, is the optimal control sequence after aggregate optimization. From this, we can get the optimization problem and constraints after aggregate optimization.

[0067]

[0068] x(i)∈X,u(i)∈U i=0,…N p -1

[0069] st.x(i+1)=Ax(i)+Bu(i) i=0,…N p -1

[0070]

[0071] Therefore, the complexity of MPC online optimization can be simplified. In order to take into account the control accuracy at the same time, it is necessary to aggregate the optimization matrix T agr Perform further optimization.

[0072] T agr Aggregate Optimization Matrix: This is a specially designed matrix used to reduce the complexity of the optimal control sequence calculation. The aggregate optimization matrix achieves optimization by reducing the number of control variables in the control domain, that is, by combining some control steps to reduce the total amount of calculation.

[0073] U * (Optimal Control Sequence): This is the sequence of control variables that we wish to compute, which will minimize the objective function J and control the smart car while satisfying the system constraints.

[0074] (Optimal control sequence after cluster optimization): This is achieved by applying the cluster optimization matrix T agr The control sequence obtained by conversion. This sequence is compared with the original optimal control sequence U * Easier to calculate, but still provides good control performance.

[0075] (Kronecker Product): This is a mathematical operation used to create a new matrix between two matrices that combines the properties of both matrices in some way. In this application, the Kronecker product is used to aggregate the optimization matrix T agr With the identity matrix I m Combined to fit the dimensionality of the control sequence.

[0076] Furthermore, the calculation process of the optimal control sequence is described in detail below in conjunction with a specific embodiment, which may specifically include the following steps:

[0077] 1. Design the aggregation optimization matrix T agr :Design a suitable T according to the control requirements of smart cars agr Matrix. This matrix should be able to reduce the dimensionality when calculating the control sequence while still maintaining effective control of the vehicle.

[0078] 2. Select the identity matrix I m : Choose an identity matrix I with the same dimensions as the control time domain m This ensures that the new control sequence remains consistent with the original control problem.

[0079] 3. Calculate the Kronecker product: Calculate T agr Matrix and Identity Matrix I m The Kronecker product of is used to obtain the transformation matrix of the new control sequence.

[0080] 4. Apply transformation matrix: Use the transformation matrix to transform the original optimal control sequence U * Converted into the optimal control sequence after aggregation optimization This new sequence will simplify the calculations but still maintain good control over the vehicle's behavior.

[0081] 5. Reconstruction optimization problem: optimal control sequence after new aggregation optimization Based on this, the optimization problem and constraints are restructured, thereby simplifying the online optimization problem of MPC.

[0082] 6. Optimize control sequence: Solve new optimization problems and calculate new optimal control sequences through applicable algorithms

[0083] The above calculation process of this embodiment is essentially to find a balance between complexity and efficiency so as to control the smart car in real time without sacrificing too much control accuracy. In this way, MPC can respond to changes in the driving environment more quickly and improve the overall performance of the autonomous driving system.

[0084] In some embodiments, a cluster optimization matrix is ​​created, including:

[0085] Determine the size of the control time domain and the number of control quantities, and set multiple candidate aggregation optimization matrices according to the control strategy, each candidate aggregation optimization matrix having a different information transmission mode;

[0086] Specifying the elements of the aggregate optimization matrix based on the geometric progression principle, wherein the geometric progression principle is used to determine the control weights for each time step in the optimal control sequence;

[0087] According to the size of the control time domain, the number of controlled variables and the elements, the final aggregate optimization matrix is ​​created, in which the first term in the geometric progression is used to adjust the control accuracy and the common ratio is used to adjust the calculation efficiency.

[0088] Specifically, the aggregation optimization matrix design is to create a more efficient control sequence so that model predictive control (MPC) can be performed at a lower computational cost. In essence, this process is intended to simplify the calculation of the control quantity while still being able to produce an effective control strategy to operate the smart car. The following will describe in detail the process and principle of creating the aggregation optimization matrix in this embodiment in conjunction with specific embodiments, which may include the following:

[0089] Normally, T agr is an N c *N u Matrix, assuming N c =4,N u =2, then Tagr Can be Therefore, the dimension 4 of the optimal control sequence can be optimized to 2, and the design of the aggregation optimization matrix is ​​T agr,1 , T agr,2 , T agr,3 The optimal value is selected to simplify the complexity of rolling optimization and improve the accuracy of lateral control. Considering the prediction process of MPC, the closer the prediction distance, the greater the impact on the system, and the farther the distance, the greater the impact on the system. The principle of geometric progression can be used to design the aggregation optimization matrix.

[0090] a(n)=a(1)p n-1

[0091] Where a(n) is the bth term of the geometric sequence, a(1) is the first term of the geometric sequence, and p is the common ratio. The control accuracy is adjusted by defining a(1), and the calculation efficiency is adjusted by defining p.

[0092] Furthermore, the aggregation optimization matrix can be expressed as follows:

[0093]

[0094] Among them, T agr represents the cluster optimization matrix, a(n) represents the nth term of the geometric sequence, N c represents the control time domain, N u Indicates the control amount.

[0095] T agr The matrix is ​​designed to reduce the amount of data that MPC needs to process when calculating the optimal control sequence. This is achieved by reducing the time step of the control sequence (or the dimension of the control time domain). agr The design of the matrix allows the control sequence that may have required more time steps to be expressed in fewer time steps, thus reducing the amount of calculation. agr The use of matrices reduces the amount of computation, but it still requires careful design to ensure that the effectiveness of the control strategy is not compromised due to the reduction in dimensionality.

[0096] Furthermore, the implementation process of constructing the aggregation optimization matrix is ​​described in detail below in conjunction with a specific embodiment, which may specifically include the following steps:

[0097] 1. Determine the dimension: Determine the control time domain N c and the number of control quantities N u In this embodiment, N c =4 (indicates that there are 4 time steps in the control sequence), N u =2 (indicating that there are 2 control quantities in each time step).

[0098] 2. Design T agr Matrix candidates: Design several candidate T matrixes according to the needs of the control strategy. agr matrices, each of which has a different way of conveying information. For example, the candidate matrices may include T agr,1 , T agr,2 , T agr,3 , they reduce the number of required control quantities by delivering different control quantity information at different time steps.

[0099] 3. Apply the principle of geometric progression: Use the principle of geometric progression to specify T agr Elements of the matrix. In a geometric sequence, each term is the previous term multiplied by a constant (i.e., the common ratio p). Here, the geometric sequence is used to determine the control weight at each time step in the control sequence, which reflects the changing trend of the control amount over time.

[0100] 4. Construction T agr Moment Matrix: Using the above formulas and principles, create the final aggregation optimization matrix T agr The row size of this matrix is ​​N c , the size of the column is N u , where the elements are defined by a geometric progression to ensure sufficient control while reducing computational complexity.

[0101] 5. Optimize matrix elements: a(1), as the first term of the geometric progression, can be used to adjust the control accuracy; the common ratio p can be adjusted to optimize the computational efficiency. These parameters need to be determined through experiments or optimization algorithms to balance the control accuracy and computational efficiency.

[0102] Through the design process of the aggregation optimization matrix of the above embodiment, an optimal control sequence can be created that reduces the computational requirements and maintains the control accuracy, thereby achieving efficient and accurate control of the intelligent vehicle. The design of the aggregation optimization matrix allows the MPC method to be implemented in a more efficient manner in autonomous driving applications while ensuring the safety and stability of vehicle operation.

[0103] In some embodiments, a predetermined aggregation optimization strategy is used to reduce the dimension of the optimal control sequence by applying a transformation matrix within a preset time period to obtain an optimal control sequence after aggregation optimization, including:

[0104] According to the requirements of the vehicle control system on response time and accuracy, the required control sequence dimensionality reduction ratio is determined; a transformation matrix is ​​designed and constructed, and the transformation matrix is ​​used to map the original control sequence to the reduced-dimensional control sequence according to the dimensionality reduction ratio; matrix operations are performed using the transformation matrix and a predetermined aggregation optimization matrix to obtain the optimal control sequence after aggregation optimization.

[0105] Specifically, at this stage, the specific requirements of the vehicle control system for response time and control accuracy are first evaluated. For example, if the vehicle needs to respond quickly when driving at high speed, the dimensionality reduction ratio of the control sequence will be set lower to maintain high control accuracy; on the contrary, if it is driving at low speed or in a less complex driving environment, a higher dimensionality reduction ratio can be accepted to improve computational efficiency.

[0106] Further, based on the determined dimensionality reduction ratio, a transformation matrix is ​​designed. The construction of the transformation matrix relies on the principle of linear algebra and is used to linearly map the original control sequence to a low-dimensional space. For example, if the original control sequence has 100 dimensions and the goal is to reduce it to 50 dimensions, the transformation matrix will map from the 100-dimensional space to the 50-dimensional space.

[0107] Furthermore, a matrix operation is performed using the designed transformation matrix and a predetermined aggregation optimization matrix (such as the previously determined aggregation optimization matrix designed based on the geometric progression principle). This operation not only reduces the dimension, but also maintains the core information of the control sequence, thereby ensuring that the control sequence after dimensionality reduction can still effectively guide vehicle control.

[0108] Furthermore, the calculated optimal control sequence after dimensionality reduction is applied to the vehicle control system. At this point, it is necessary to verify the effectiveness of the dimensionality reduction control sequence through simulation or real vehicle testing to ensure that it can achieve the expected control effect in actual application, including response speed and accuracy.

[0109] Furthermore, the control effect is evaluated. If the control effect does not meet expectations, it can be optimized by adjusting the dimension to reduce the ratio or redesigning the transformation matrix and the aggregation optimization matrix. Through this iterative process, the control strategy can be further fine-tuned to meet the performance requirements under different driving conditions.

[0110] Through the steps of the above embodiments, the embodiments of the present application provide a vehicle control method that takes into account computing efficiency without sacrificing control accuracy. It is suitable for driving environments of various complexities, and is particularly suitable for automatic driving systems with limited computing resources but strict requirements on control response.

[0111] In some embodiments, extracting an optimal control amount from the optimal control sequence after the aggregation optimization, and applying the optimal control amount to the vehicle control system to execute the real-time response of the vehicle includes:

[0112] The optimal control sequence after the aggregation optimization is multiplied by the screening vector so as to extract the first group of control quantities from the optimal control sequence after the aggregation optimization, take the first group of control quantities as the optimal control quantities, and apply the optimal control quantities to the vehicle control system so that the vehicle control system performs real-time control of the vehicle according to the optimal control quantities.

[0113] Specifically, the embodiment of the present application improves the calculation process of model predictive control (MPC) by using an aggregate optimization method. Aggregate optimization means simplifying the dimensions of the control sequence through specific matrix operations to improve calculation efficiency. The purpose of this step is to extract the control quantity that will eventually be implemented on the vehicle from the control sequence after aggregation optimization.

[0114] In one example, the optimal control amount is obtained by gathering the optimized control sequence and acting on the vehicle system. The optimal control amount can be determined by the following function expression:

[0115]

[0116] Among them, u * is the optimal control quantity that ultimately acts on the vehicle system, N u is the optimized control sequence dimension.

[0117] According to the above calculation formula of the optimal control quantity, u * is the final control quantity to be applied to the vehicle. It is a simplified version of the optimized control sequence to control the car efficiently. is the aggregated optimized matrix T agr The optimal control sequence obtained after simplification.

[0118] is a filter vector used to select Extract the control quantity u that will actually be applied to the vehicle system * Usually, The first group of elements extracted from the is taken as the optimal control quantity, because in MPC, only the control quantity of the current time step is implemented, and the control quantity of the next step will be re-optimized in the new calculation cycle.

[0119] Furthermore, the implementation process of calculating the optimal control amount and applying it to the vehicle control system is described in detail below in conjunction with a specific embodiment, which may specifically include the following steps:

[0120] 1. Application of the aggregation optimization matrix: In the above embodiment, the aggregation optimization matrix T agr The simplified optimal control sequence is calculated

[0121] 2. Extract the optimal control quantity: by filtering vector The multiplication operation is optimized from the control sequence of the assembly This usually involves taking the first control variable in the sequence, since this is the next control action to be implemented.

[0122] 3. Implement control: extract the optimal control quantity u * Applied to the control system of intelligent vehicles. In real vehicles or simulation environments, this will directly affect the driving state of the vehicle.

[0123] 4. Evaluate control effect: Evaluate vehicle performance after implementing the optimal control amount to ensure that the control effect meets the expected goals and is safe under the constraints.

[0124] 5. Feedback adjustment: Based on the results of the control implementation, make necessary adjustments to the MPC, which may include updating the vehicle status, target status or control strategy.

[0125] 6. Iterative optimization: Repeat the above process at the next time step, perform cluster optimization again according to the new vehicle state, and calculate the new optimal control amount.

[0126] Through the method of the above embodiment, the embodiment of the present application can efficiently calculate and apply the optimal control amount at each time step while maintaining the responsiveness and accuracy of MPC. In this way, the smart car can achieve navigation and control in the best way while optimizing the use of computing resources. The aggregate optimization method not only improves the computing efficiency, but also ensures the feasibility of real-time control, which is crucial for realizing advanced autonomous driving functions.

[0127] In some embodiments, the method further comprises:

[0128] A vehicle dynamics model is configured on a predetermined simulation platform, wherein the vehicle dynamics model includes vehicle dynamics-related parameters so that the simulation environment is consistent with the actual vehicle dynamics;

[0129] According to the predetermined maneuvering strategy and road environment information, simulation scenarios are set to simulate different driving conditions;

[0130] Obtain and set the initial state variables required for simulation from the data provided by the simulation platform;

[0131] Apply the constructed control algorithm in the preset simulation environment to adjust and optimize various test scenarios, where the control algorithm adopts a modular design;

[0132] Start the joint simulation function to test the control strategy to verify the effectiveness of the control algorithm in various simulated driving scenarios;

[0133] Collect and analyze data during simulation to evaluate the impact of control strategies on vehicle performance in order to optimize the control algorithm.

[0134] Specifically, in order to improve the calculation efficiency of MPC, which may cause the loss of control accuracy and affect driving safety, this application verifies the effectiveness and safety of the proposed method based on the joint simulation of Carsim and Matlab platforms. Carsim can provide the body system, power system, braking system, steering system, suspension, tires, etc. in a virtual environment for joint testing; lateral and longitudinal strategies, road environment information, etc.; aerodynamics, braking, reference trajectory, environment, power system, steering system, tire related variables. Matlab can provide a platform for the construction of control algorithms and online and offline data analysis for joint simulation testing. The working condition is set as double lane change, and the speed is 54km / h. Through the data analysis after the simulation test, it can be obtained that the intelligent vehicle rapid response model predictive control method can improve the accuracy of lateral control and improve the calculation efficiency of MPC.

[0135] The simulation test and data analysis process are described in detail below with reference to the accompanying drawings and specific embodiments. Figure 2 It is a schematic diagram of a joint simulation test based on Carsim and Matlab platforms provided in an embodiment of the present application;

[0136] Figure 3 is a schematic diagram of lateral error comparison provided in an embodiment of the present application; Figure 4 is a schematic diagram for comparing the computing efficiencies provided in the embodiments of the present application; Figure 5 is a schematic diagram of longitudinal speed comparison provided by the embodiment of the present application. Figures 2 to 5 As shown, the joint simulation test and data analysis method based on the Carsim and Matlab platforms of the embodiment of the present application may include the following contents:

[0137] First, in the process of verifying the fast response model predictive control method, the simulated vehicle parameters, including the body, power system, braking system, steering system, suspension, tires, etc., are obtained based on the Carsim simulation platform; fixed lateral and longitudinal control strategies and road environment information are deployed; and state variables that meet the use of the control method are provided. The control method is implemented through the modularization and scripting language of Matlab / Simulink, and the effectiveness of the control method can be finally verified through joint simulation, effectively avoiding the safety issues of directly deploying MPC on the vehicle.

[0138] Furthermore, the simulation test and data analysis provided in the embodiment of the present application may include the following steps:

[0139] 1. Prepare the simulation environment: Use the Carsim simulation platform to prepare and configure the various vehicle parameters required for simulation testing. This includes detailed information on vehicle components such as the body system, power system, braking system, steering system, suspension, tires, etc. The Carsim platform provides these parameters through its high-precision dynamics model to ensure the authenticity and accuracy of the simulation test.

[0140] 2. Deploy lateral and longitudinal control strategies and road environment: Set fixed lateral and longitudinal control strategies in Carsim, which will be adjusted according to different road environment information. For example, road environment information can include road type, road conditions, traffic flow, etc. All of this information is to ensure that the simulation environment is as close to the actual driving situation as possible.

[0141] 3. Provide state variables: Carsim also needs to provide state variables that meet the needs of the control method. For example, these variables may include but are not limited to aerodynamic parameters, braking force, reference trajectory, environmental conditions, power system status, steering system status, and tire status. These state variables are crucial to the effectiveness of the control method.

[0142] 4. Implementation of control methods: The control algorithm is implemented in a modular form in Matlab / Simulink. Matlab provides powerful scripting language support, allowing complex control algorithms to be implemented through simulation modules. These modules can be flexibly applied to different test scenarios to ensure the reliability and accuracy of the control method.

[0143] 5. Joint simulation test: Carsim and Matlab / Simulink are jointly simulated to verify the effectiveness of the control method. In this way, the control method can be tested in a virtual environment without the need for high-risk testing on the actual vehicle, thus ensuring safety.

[0144] 6. Data analysis: After the test is completed, data analysis is performed using Matlab. The purpose of the analysis is to evaluate whether the proposed intelligent vehicle rapid response model predictive control method has indeed improved the accuracy of lateral control and whether it has improved the computational efficiency of MPC. The test condition is set to double lane change and the speed is 54km / h to verify the performance of the method under specific driving conditions.

[0145] Through the steps of the above embodiment, the performance of the control method proposed in this application can be comprehensively evaluated, and its potential advantages in improving control accuracy and computing efficiency can be verified. Such a simulation test process can effectively simulate actual driving conditions and provide important preliminary verification and data support for the final real vehicle deployment of the control method.

[0146] According to the technical solution provided in the embodiments of the present application, the technical solution of the present application has at least the following advantages:

[0147] This application proposes a fast-response model predictive control method for intelligent vehicles. By constructing an optimal control sequence including aggregate optimization, an improved control optimization problem and system constraints are obtained, thereby simplifying the complexity of MPC online optimization, and designing an aggregate optimization matrix based on the principles of geometric progression and MPC rolling optimization, thereby ensuring the accuracy of MPC control, and finally achieving an efficient and high-precision MPC control method for intelligent vehicles.

[0148] In the process of verifying the fast response model predictive control method, this application obtains simulated vehicle parameters based on the Carsim simulation platform, including body, power system, braking system, steering system, suspension, tires, etc.; deploys fixed lateral and longitudinal control strategies and road environment information; and provides state variables that meet the use of the control method. The control method is implemented through the modularization and scripting language of Matlab / Simulink, and the effectiveness of the control method can be finally verified through joint simulation, effectively avoiding the safety issues of MPC directly deployed on the vehicle.

[0149] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0150] Figure 6 Schematic diagram of the structure of a vehicle control device based on model predictive control provided in an embodiment of the present application. Figure 6 As shown, the vehicle control device based on model predictive control includes:

[0151] Establishing module 601, configured to establish a control model of the vehicle, wherein the control model includes an actual state, a target state and system constraints of the vehicle;

[0152] A definition module 602 is configured to define an optimization problem and corresponding system constraints based on the control model, wherein the optimization problem is represented by an objective function, and the objective function combines the deviation between the actual state and the target state and the efficiency of the use of the control amount;

[0153] A construction module 603 is configured to construct an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by an online rolling optimization method to respond to real-time changes in vehicle status;

[0154] The processing module 604 is configured to use a predetermined aggregation optimization strategy to perform dimension reduction processing on the optimal control sequence by applying a transformation matrix within a preset time period to obtain an optimal control sequence after aggregation optimization;

[0155] The extraction module 605 is configured to apply the optimal control sequence after the aggregation and optimization to the objective function, and to operate the objective function based on the system constraints so as to extract the optimal control quantity from the optimal control sequence after the aggregation and optimization, and to directly apply the optimal control quantity to the vehicle control system to execute the real-time response of the vehicle.

[0156] In some embodiments, Figure 6 The definition module 602 defines the optimization problem by constructing an objective function, wherein the objective function includes the weighted sum of squares of the differences between the actual state and the target state in the prediction time domain, and the weighted sum of squares of the control quantities in the control time domain; in the process of minimizing the objective function, the system constraints are satisfied, wherein the system constraints include state quantity constraints, control quantity constraints and system dynamic constraints.

[0157] In some embodiments, Figure 6 In the process of online rolling prediction, the construction module 603 creates an aggregate optimization matrix and selects a unit matrix with the same dimension as the control time domain. The aggregate optimization matrix and the unit matrix are combined by using the Kronecker product to obtain a transformation matrix of a new control sequence. The transformation matrix is ​​used to convert the original optimal control sequence into an optimal control sequence after aggregate optimization. The aggregate optimization matrix is ​​used to reduce the number of control variables in the control time domain to reduce the amount of calculation of the optimal control sequence.

[0158] In some embodiments, Figure 6 The construction module 603 determines the size of the control time domain and the number of control quantities, and sets multiple candidate aggregation optimization matrices according to the control strategy, each candidate aggregation optimization matrix has a different information transmission method; the elements of the aggregation optimization matrix are specified based on the geometric progression principle, wherein the geometric progression principle is used to determine the control weight of each time step in the optimal control sequence; according to the size of the control time domain, the number of control quantities and the elements, a final aggregation optimization matrix is ​​created, wherein the first item in the geometric progression is used to adjust the control accuracy, and the common ratio is used to adjust the calculation efficiency.

[0159] In some embodiments, the aggregation optimization matrix is ​​expressed as follows:

[0160]

[0161] Among them, T agr represents the cluster optimization matrix, a(n) represents the nth term of the geometric sequence, N c represents the control time domain, N u Indicates the control amount.

[0162] In some embodiments, Figure 6The processing module 604 determines the required control sequence dimension reduction ratio according to the vehicle control system's requirements for response time and accuracy; designs and constructs a transformation matrix, which is used to map the original control sequence to a control sequence after dimensionality reduction according to the dimensionality reduction ratio; and uses the transformation matrix and a predetermined aggregation optimization matrix to perform matrix operations to obtain an optimal control sequence after aggregation optimization.

[0163] In some embodiments, the optimal control sequence is expressed as follows:

[0164]

[0165] Among them, T agr represents the aggregation optimization matrix, represents the Kronecker product, I m represents the identity matrix, U * represents the initial optimal control sequence, represents the optimal control sequence after aggregation optimization.

[0166] In some embodiments, Figure 6 The extraction module 605 multiplies the optimal control sequence after the aggregation optimization with the screening vector to extract the first group of control quantities from the optimal control sequence after the aggregation optimization, takes the first group of control quantities as the optimal control quantities, and applies the optimal control quantities to the vehicle control system so that the vehicle control system performs real-time control of the vehicle according to the optimal control quantities.

[0167] In some embodiments, Figure 6 The test module 606 configures a vehicle dynamics model on a predetermined simulation platform, wherein the vehicle dynamics model includes vehicle dynamics-related parameters so that the simulation environment is consistent with the actual vehicle dynamics; sets simulation scenarios according to predetermined maneuvering strategies and road environment information to simulate different driving conditions; obtains and sets initial state variables required for the simulation from data provided by the simulation platform; applies the constructed control algorithm in a preset simulation environment to adjust and optimize various test scenarios, wherein the control algorithm adopts a modular design; starts a joint simulation function to test the control strategy to verify the effectiveness of the control algorithm in various simulated driving scenarios; collects and analyzes data during the simulation process to evaluate the impact of the control strategy on vehicle performance in order to optimize the control algorithm.

[0168] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0169] Figure 7 Schematic diagram of the structure of the electronic device 7 provided in the embodiment of the present application. Figure 7As shown, the electronic device 7 of this embodiment includes: a processor 701, a memory 702, and a computer program 703 stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program 703, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 701 executes the computer program 703, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0170] Exemplarily, the computer program 703 may be divided into one or more modules / units, which are stored in the memory 702 and executed by the processor 701 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 703 in the electronic device 7.

[0171] The electronic device 7 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 7 may include, but is not limited to, a processor 701 and a memory 702. Those skilled in the art will appreciate that Figure 7 It is only an example of the electronic device 7 and does not constitute a limitation of the electronic device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0172] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0173] The memory 702 may be an internal storage unit of the electronic device 7, for example, a hard disk or memory of the electronic device 7. The memory 702 may also be an external storage device of the electronic device 7, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 7. Further, the memory 702 may also include both an internal storage unit of the electronic device 7 and an external storage device. The memory 702 is used to store computer programs and other programs and data required by the electronic device. The memory 702 may also be used to temporarily store data that has been output or is to be output.

[0174] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0175] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0176] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0177] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0178] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0179] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0180] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0181] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A vehicle control method based on model predictive control, characterized in that: include: Establishing a control model of the vehicle, wherein the control model includes an actual state, a target state, and system constraints of the vehicle; Based on the control model, an optimization problem and corresponding system constraints are defined, wherein the optimization problem is represented by an objective function, and the objective function combines the deviation between the actual state and the target state and the efficiency of the use of the control amount; constructing an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by an online rolling optimization method to respond to the real-time change of the vehicle state; Using a predetermined aggregation optimization strategy, by applying a transformation matrix within a preset time period, the optimal control sequence is subjected to dimensionality reduction processing to obtain an optimal control sequence after aggregation optimization; Applying the optimal control sequence after the aggregation and optimization to the objective function, operating the objective function based on the system constraint condition so as to extract the optimal control amount from the optimal control sequence after the aggregation and optimization, and applying the optimal control amount to the vehicle control system to execute the real-time response of the vehicle; The construction includes an optimal control sequence of an aggregation optimization matrix, including: In the online rolling prediction process, an aggregate optimization matrix is ​​created, and a unit matrix with the same dimension as the control time domain is selected. The aggregate optimization matrix and the unit matrix are combined by using the Kronecker product to obtain a transformation matrix of a new control sequence. The transformation matrix is ​​used to convert the original optimal control sequence into an optimal control sequence after aggregate optimization. The aggregate optimization matrix is ​​used to reduce the number of control variables in the control time domain to reduce the amount of calculation of the optimal control sequence. The step of creating a cluster optimization matrix includes: Determine the size of the control time domain and the number of control quantities, and set a plurality of candidate aggregation optimization matrices according to the control strategy, each of the candidate aggregation optimization matrices having a different information transmission mode; Specifying elements of the aggregate optimization matrix based on a geometric progression principle, wherein the geometric progression principle is used to determine a control weight for each time step in an optimal control sequence; According to the size of the control time domain, the number of the control quantities and the elements, a final aggregate optimization matrix is ​​created, wherein the first term in the geometric progression is used to adjust the control accuracy, and the common ratio is used to adjust the calculation efficiency; The aggregation optimization matrix adopts the following expression: Among them, T agr represents the cluster optimization matrix, a(n) represents the nth term of the geometric sequence, N c represents the control time domain, N u Indicates the control amount.

2. The method according to claim 1, characterized in that Defining the optimization problem and corresponding system constraints based on the control model includes: The optimization problem is defined by constructing the objective function, wherein the objective function includes the weighted sum of squares of the differences between the actual state and the target state in the prediction time domain, and the weighted sum of squares of the control quantities in the control time domain; in the process of minimizing the objective function, the system constraints are satisfied, wherein the system constraints include state quantity constraints, control quantity constraints and system dynamic constraints.

3. The method according to claim 1, characterized in that The method of using a predetermined aggregation optimization strategy to perform dimensionality reduction processing on the optimal control sequence by applying a transformation matrix within a preset time period to obtain an optimal control sequence after aggregation optimization includes: According to the requirements of the vehicle control system on response time and accuracy, the required control sequence dimensionality reduction ratio is determined; a transformation matrix is ​​designed and constructed, and the transformation matrix is ​​used to map the original control sequence to a control sequence after dimensionality reduction according to the dimensionality reduction ratio; matrix operations are performed using the transformation matrix and a predetermined aggregation optimization matrix to obtain the optimal control sequence after the aggregation optimization.

4. The method according to claim 3, characterized in that The optimal control sequence is expressed as follows: Among them, T agr represents the aggregation optimization matrix, represents the Kronecker product, I m represents the identity matrix, U * represents the initial optimal control sequence, represents the optimal control sequence after aggregation optimization.

5. The method according to claim 1, characterized in that The step of extracting an optimal control amount from the optimal control sequence after the aggregation optimization, and applying the optimal control amount to a vehicle control system to execute a real-time response of the vehicle includes: The optimal control sequence after the aggregation optimization is multiplied by the screening vector to extract a first group of control quantities from the optimal control sequence after the aggregation optimization, the first group of control quantities is used as the optimal control quantities, and the optimal control quantities are applied to the vehicle control system so that the vehicle control system performs real-time control of the vehicle according to the optimal control quantities.

6. The method according to claim 1, characterized in that The method further comprises: Configuring a vehicle dynamics model on a predetermined simulation platform, wherein the vehicle dynamics model includes vehicle dynamics-related parameters so that the simulation environment is consistent with actual vehicle dynamics; According to the predetermined maneuvering strategy and road environment information, simulation scenarios are set to simulate different driving conditions; Acquire and set initial state variables required for simulation from data provided by the simulation platform; Apply the constructed control algorithm in a preset simulation environment to adjust and optimize various test scenarios, wherein the control algorithm adopts a modular design; Start the joint simulation function to test the control strategy to verify the effectiveness of the control algorithm in various simulated driving scenarios; Collect and analyze data from the simulation process to evaluate the impact of the control strategy on vehicle performance in order to optimize the control algorithm.

7. A vehicle control device based on model predictive control, characterized in that: include: A building module configured to build a control model of the vehicle, wherein the control model includes an actual state, a target state, and system constraints of the vehicle; A definition module is configured to define an optimization problem and corresponding system constraints based on the control model, wherein the optimization problem is represented by an objective function, and the objective function combines the deviation between the actual state and the target state and the efficiency of the use of the control amount; A construction module is configured to construct an optimal control sequence including an aggregate optimization matrix, wherein the optimal control sequence is updated at each time step by an online rolling optimization method to respond to real-time changes in vehicle states; A processing module is configured to use a predetermined aggregation optimization strategy to perform dimension reduction processing on the optimal control sequence by applying a transformation matrix within a preset time period to obtain an optimal control sequence after aggregation optimization; an extraction module, configured to apply the optimal control sequence after the aggregation and optimization to the objective function, and to operate the objective function based on the system constraint condition so as to extract the optimal control amount from the optimal control sequence after the aggregation and optimization, and to directly apply the optimal control amount to the vehicle control system to execute the real-time response of the vehicle; The construction module is used in the online rolling prediction process to create an aggregate optimization matrix and select a unit matrix with the same dimension as the control time domain, and use the Kronecker product to combine the aggregate optimization matrix with the unit matrix to obtain a transformation matrix of a new control sequence, and use the transformation matrix to convert the original optimal control sequence into an optimal control sequence after aggregate optimization; wherein the aggregate optimization matrix is ​​used to reduce the number of control variables in the control time domain to reduce the amount of calculation of the optimal control sequence; The construction module is used to determine the size of the control time domain and the number of control quantities, and according to the control strategy, a plurality of candidate aggregation optimization matrices are set, each of which has a different information transmission mode; the elements of the aggregation optimization matrix are specified based on the geometric progression principle, wherein the geometric progression principle is used to determine the control weight of each time step in the optimal control sequence; according to the size of the control time domain, the number of control quantities and the elements, a final aggregation optimization matrix is ​​created, wherein the first term in the geometric progression is used to adjust the control accuracy, and the common ratio is used to adjust the calculation efficiency; The aggregation optimization matrix adopts the following expression: Among them, T agr represents the cluster optimization matrix, a(n) represents the nth term of the geometric sequence, N c represents the control time domain, N u Indicates the control amount.