Cooperative control method for multi-agent system of automatic driving vehicle chassis based on Co-DMPC, controller and storage medium
Through the collaborative distributed model predictive control architecture of the multi-agent system, the control problems of the chassis system under complex working conditions are solved, the vehicle handling stability and control accuracy are improved, and the shortcomings of centralized and decentralized control methods are overcome. .
Patent Information
- Application Number
- CN202410846940.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-29
AI Technical Summary
When existing technologies deal with complex chassis systems, centralized control methods lead to difficulty in solving problems and high computing power costs, while decentralized methods lack the means to process coupling state information, making it difficult to achieve global optimal control under strongly coupled conditions.
The collaborative distributed model predictive control (Co-DMPC) architecture based on multi-agent systems is used to iteratively solve the predicted state trajectory and predictive control trajectory of each agent, and exchange each other's prediction information to build distributed state space equations and collaborative control framework to achieve the global optimal solution.
It improves the control accuracy of the controller, reduces the calculation time, enhances the scalability and risk resistance of the system, and achieves vehicle control stability under complex working conditions.
Smart Images

Figure CN118859705A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chassis distributed control of an autonomous driving vehicle, and in particular to a chassis distributed control architecture design and control algorithm research based on multi-agent theory. Background Art
[0002] With the development trend of vehicle intelligence, electrification and wire control, higher requirements are also put forward for the comfort, safety and functionality of the chassis system. More and more active / passive safety technologies have been applied, such as active front steering (AFS), active rear steering (ARS), direct yaw moment control (DYC) and other technologies. The development of more safety functions will inevitably lead to conflicts between different control objectives, such as the impact of DYC on longitudinal speed, the coordination of ARS and front wheel steering direction, etc. Therefore, current researchers mainly use centralized control methods and decentralized control methods to coordinate the performance objectives of different systems.
[0003] For the centralized control method, the output of the entire system will finally be fed back to the central controller, so the optimal control input of the entire system can be obtained. This method is relatively mature. Although it can coordinate the complex coupling problems between multiple subsystems, with the complexity of chassis functions, the centralized control method is bound to lead to the difficulty of solving, the computational burden and the increase of high computing power controller costs. In addition, the scalability of the centralized method is poor. When the controller fails, the entire system will not work properly. Unlike the centralized control method, the decentralized control method divides the entire system into several subsystems, each with a separate controller. Although there is a coupling relationship between the subsystems, the controllers are independent of each other and there is no information exchange. By ignoring the interaction between the controllers, the complexity and computational burden of the system are reduced. In addition, the decentralized method will not cause the paralysis of the entire system when a single controller fails, and still retains a certain controllability. Therefore, it has good scalability and strong risk resistance, but under strong coupling conditions, it lacks the means to process coupling state information.
[0004] As a powerful tool for handling complex large systems, distributed control methods have been rapidly developed in recent years in the fields of power grids, drone formations, etc. Compared with centralized and decentralized methods, they allow communication and information sharing between controllers, so that the coupling and coordination between subsystems can be fully considered to achieve the goal of global optimization. In addition, its advantages such as strong scalability and high reliability meet the control requirements of multi-agents, so it is a powerful means to solve coupled collaborative control.
[0005] Therefore, in response to the above-mentioned contradictions and shortcomings, the present invention proposes a collaborative distributed model predictive control (Co-DMPC) architecture based on a multi-agent system (MAS), which iteratively solves the predicted state trajectory and predicted control trajectory of each agent, and exchanges each other's prediction information, thereby improving the control accuracy of the controller and reducing the calculation time of the controller. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a vehicle chassis collaborative control method, controller and storage device based on MAS for an autonomous driving vehicle with four-wheel drive and four-wheel steering functions, which achieves vehicle handling stability under complex working conditions and solves the shortcomings of the prior art.
[0007] S1: Establish a two-degree-of-freedom vehicle model with four-wheel steering + DYC. The role of the suspension is ignored in the modeling process. This model assumes that the vehicle body only moves in a plane parallel to the ground, assumes that the left and right wheels on the same axis have the same turning angle, and regards the longitudinal speed of the vehicle as constant. Figure 1 The simplified model is shown below:
[0008]
[0009] In the formula, v x is the longitudinal velocity, v y is the lateral velocity, γ is the yaw angular velocity, m s is the vehicle mass, C αf and C αr are the front and rear wheel cornering stiffness, l f and l r are the distances from the center of mass to the center of the front and rear wheels, δ f and δ r are the front and rear wheel turning angles, I z is the moment of inertia of the vehicle rotating around the z-axis, M z is the direct yaw moment.
[0010] Combined with the path tracking model, the following dynamic equations under the centralized control strategy can be obtained:
[0011]
[0012] Where Y is the lateral displacement of the vehicle, is the yaw angle.
[0013] S2: Establish distributed state space equations. According to the different control quantities, the centralized state space equations of the vehicle are divided into two agents, namely the steering agent and the DYC agent. For the steering agent, the control quantity is δ f and δ r , the state quantity is vy and Y. Its state space equation is:
[0014]
[0015] In the formula,
[0016]
[0017] For the DYC agent, the control amount is M z , the state quantity it tracks is γ and Its state space equation is:
[0018]
[0019] In the formula,
[0020]
[0021] S3: Build a collaborative control framework, such as Figure 2 In the input layer, the vehicle model calculates the reference yaw rate γ based on the deviation between the vehicle’s current state and the target path. ref and the reference lateral velocity v yref . The collaborative control layer decomposes the traditional chassis centralized control method into a distributed control system composed of multiple controllers, which respectively realize the tracking of their respective desired targets. Through the state coupling space equation established by S2, the Co-DMPC algorithm is adopted to select the cost function with global performance objectives. Within the unit sampling time, the iterative update method is adopted so that each intelligent agent can independently calculate its own local optimization problem and exchange each other's calculation results many times. By reasonably setting the iteration termination conditions, the entire system can eventually obtain the global optimal solution. The torque distribution layer optimizes the distribution of the driving / braking torque of the four wheels based on the total driving force calculated by the PID speed controller and the direct yaw torque calculated by the collaborative control layer as constraints. Finally, the control amount is applied to the four wheels through the steering actuator and the hub motor to achieve precise control of the vehicle.
[0022] S4: Establish information transmission protocol. In all agents, the same prediction time domain N is used. p With control time domain N c For the ith agent, in the control domain [t, t+N c ], the control quantity predicted at time t+k is recorded as u i (k|t). At the same time, the following three sets of control trajectories are defined:
[0023] (1) Predictive control trajectory;
[0024] (2) Optimal control trajectory;
[0025] (3) Assume control trajectory.
[0026] in, The representative controller predicts the control amount at the future moment based on the current state and the control amount at the previous moment. Represents the optimal solution obtained by the controller after solving the local optimal problem. Represents the hypothetical control amount transmitted by agent i to the adjacent agent, which is obtained by shifting the phase of the predicted control amount by one sampling period.
[0027] In the prediction time domain [t,t+N p ], the state quantity predicted at time t+k is recorded as x i (k|t). The following three sets of state trajectories are defined at the same time, and their meanings are similar to those of the control trajectories:
[0028] (1) Predict state trajectories;
[0029] (2) Optimal state trajectory;
[0030] (3) Assume state trajectory.
[0031] The relationship between the predicted trajectory, the optimal trajectory and the hypothesized trajectory is as follows: Figure 3 shown.
[0032] Agent i uses the predicted state of the future at time t and the hypothesized states from neighboring agents With the assumption of control Solve the distributed optimization problem. When k = 0, Among them, x i (t) and x j (t) is the state that can be directly measured by the vehicle at the current moment. and optimal solution control After that, the first Act on actual control. Perform single-step recursion on the optimal state trajectory and the optimal control trajectory to obtain the hypothetical trajectory. That is, let:
[0033]
[0034] At this time, it should be noted that the length of the control trajectory is N c -1, to complete the last item, let The vehicle is in a state without control at the next moment.
[0035] S5: Derivation of local agent state equation. According to the characteristics of multi-agent system state coupling, the local continuous linear state equation can be written as:
[0036]
[0037] In the formula, m is the number of agents. Discretize the above formula into:
[0038]
[0039] Where:
[0040]
[0041] By recursion, we can get 1~N p In the time domain The expression is:
[0042]
[0043] The above recursive process is written in the form of the following augmented matrix:
[0044]
[0045] Where:
[0046]
[0047] S6: Solving local optimization problems. The Co-DMPC algorithm is proposed to solve the problem of parallel computing between subsystems with strong coupling characteristics. It is also applicable to the coordination and cooperation between sub-agents in a multi-agent system. By exchanging state information and control sequences, the optimization solution of the global goal can be achieved. This makes the system have good scalability, facilitates the realization of the "plug and play" function of the vehicle chassis system, and reduces the cost of matching software and hardware between different functional models.
[0048] For agent i, without considering the global performance index, that is, non-cooperative distribution, its local optimization problem can be designed as follows:
[0049]
[0050] The equations are constrained as follows:
[0051]
[0052] In the formula, w i (t+k) is the state reference value of agent i, W i Because of w i (t+k) is a reference state sequence. i With Ri are the state weight coefficient and the control weight coefficient respectively, and Specifically: Q i is the penalty for the deviation between the actual trajectory and the expected trajectory, reflecting the vehicle's desire to adhere to its expected trajectory; R i is a penalty on the control input, reflecting the vehicle's desire to travel with lower control energy. Constraint (17) reflects the vehicle's dynamic constraints. Constraints (18)-(19) require that the initial state of the vehicle in the predicted time domain must be equal to the vehicle's actual state. Constraint (20) is the input constraint of the agent, ensuring that the optimization result does not exceed the actuator's action range.
[0053] For the Co-DMPC algorithm, the difference between it and the non-cooperative distributed model predictive control algorithm is mainly whether there is a global performance indicator. Each agent has a strong dependence on the state or control input of the neighboring agent, so Co-DMPC requires strong communication capabilities. In addition, when describing the optimization problem, there is a cost coupling between the agent using the Co-DMPC algorithm and the neighboring agent. The optimization problem considering the global performance indicator can be expressed as:
[0054]
[0055] In the formula, λ i is the coupling coefficient of the cost function between different agents, and The constraints are the same as those in equations (17)-(20). In addition, in order to improve the computational efficiency of the controller, the optimization problem is transformed into a quadratic programming form:
[0056]
[0057] In the formula, const is a constant term that does not affect the optimization result, and
[0058]
[0059] After completing a single optimization calculation, the local agent only obtains the local optimal solution and cannot achieve precise control of the vehicle. In order to reduce the optimization error, the present invention adopts a cyclic iterative update method, and exchanges the optimized optimal control sequence and the optimal state sequence multiple times within a single control cycle, thereby achieving the global optimal solution. At the same time, it should be noted that the use of iterative update methods actually increases the computational burden of the controller and the occupancy rate of the communication network. Therefore, the reasonable setting of the iteration termination condition is an important factor in ensuring the real-time performance of the controller.
[0060] The present invention designs two termination conditions for the above requirements. First, the error between two adjacent iterative optimization results is It represents the optimization result of agent i in the nth iteration. i Less than the threshold ε i When , the controller optimization result is considered to have converged to the global optimal solution, the iteration is terminated and the next step is performed. i , you need to set a maximum number of iterations p max , to prevent the controller from performing invalid calculations.
[0061] S7: Direct yaw moment distribution. After the DYC agent calculates the direct yaw moment of the vehicle, it needs to be reasonably distributed to the four wheels according to the vehicle's state to avoid tire force saturation. At the same time, the distributed torque must also meet the requirements of the vehicle driving forward and tracking the target speed. First, according to the PID algorithm, the total driving force equation of the whole vehicle is constructed:
[0062]
[0063] Where, e(t) = v x -v xref . Secondly, consider the following optimization problem
[0064]
[0065] Since the steering agent has calculated the turning angles of the four wheels, that is, the tire lateral force F yij ,i=fl,fr,rl,rr are constants, which have no effect on the solution of the above optimization problem. Therefore, formula (25) can be written as
[0066]
[0067] The above formula is subject to the constraints:
[0068]
[0069] Wherein, constraint (27) represents that the total driving force distributed to the four wheels must meet the requirements of the speed controller. Constraint (28) represents that the yaw moment formed by the longitudinal tire force must meet the calculation results of the DYC agent. Constraint (29) represents that the magnitude of the driving force should be within the range of the actuator. Where T min is the minimum driving torque (i.e. braking torque), T max is the maximum driving torque, and T max =-T min The four-wheel drive / braking torque can be obtained by solving equation (26) using the fmincon command in MATLAB.
[0070] S8: Send the calculation results of the steering agent and the DYC agent to the actuator.
[0071] Beneficial effects of the present invention:
[0072] 1. This invention establishes a distributed state space equation with state coupling and control input coupling characteristics, and explains the mutual coupling mechanism among multiple agents. It comprehensively considers the influence of the state and control input of neighboring agents, and improves the accuracy of local agents' prediction of future state sequences;
[0073] 2. The present invention designs the meaning and conversion method of the predicted trajectory, hypothetical trajectory and optimal trajectory of the state and control input, providing a communication basis for information interaction between intelligent agents. In order to coordinate the global performance indicators of the vehicle, a local intelligent agent optimization problem considering cost coupling is established, and the influence of the collaborative relationship on the control effect is quantitatively analyzed through the adaptive weight coefficient.
[0074] 3. The present invention adopts a method of multiple iterative solutions within a unit sampling time, and uses iterative errors to enable the controller to achieve a balance between solution accuracy and solution efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 It is a two-degree-of-freedom model diagram of the vehicle considering rear wheel steering and direct yaw moment.
[0076] Figure 2 This is a diagram of the control architecture of a multi-agent system.
[0077] Figure 3 It is an interactive information conversion architecture diagram. DETAILED DESCRIPTION
[0078] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings. The contents mentioned in the implementation modes are not intended to limit the present invention.
[0079] Step 1: Establish a two-degree-of-freedom vehicle model with four-wheel steering + DYC. The role of the suspension is ignored in the modeling process. This model assumes that the vehicle body only moves in a plane parallel to the ground, assumes that the left and right wheels on the same axis have the same turning angle, and regards the longitudinal speed of the vehicle as constant. Figure 1 The simplified model is shown below:
[0080]
[0081] In the formula, v x is the longitudinal velocity, v y is the lateral velocity, γ is the yaw angular velocity, m s is the vehicle mass, C αf and C αr are the front and rear wheel cornering stiffness, l f and l rare the distances from the center of mass to the center of the front and rear wheels, δ f and δ r are the front and rear wheel turning angles, I z is the moment of inertia of the vehicle rotating around the z-axis, M z is the direct yaw moment.
[0082] Combined with the path tracking model, the following dynamic equations under the centralized control strategy can be obtained:
[0083]
[0084] Where Y is the lateral displacement of the vehicle, is the yaw angle.
[0085] Step 2: Establish a distributed state space equation. According to the different control quantities, the centralized state space equation of the vehicle is divided into two agents, namely the steering agent and the DYC agent. For the steering agent, the control quantity is δ f and δ r , the state quantity is v y and Y. Its state space equation is:
[0086]
[0087] In the formula
[0088]
[0089] For the DYC agent, the control amount is M z , the state quantity it tracks is γ and Its state space equation is:
[0090]
[0091] In the formula
[0092]
[0093] Step 3: Build a collaborative control framework, such as Figure 2 As shown in Figure 1, it consists of four layers: (1) In the input layer, the vehicle model calculates the reference yaw rate γ based on the deviation between the vehicle’s current state and the target path. ref and the reference lateral velocity v yref. (2) Collaborative control layer, which decomposes the traditional chassis centralized control method into a distributed control system composed of multiple controllers, each of which realizes the tracking of their respective desired goals. Through the state coupling space equation established by S2, the Co-DMPC algorithm is adopted to select the cost function with global performance goals. Within the unit sampling time, the iterative update method is adopted to enable each intelligent agent to independently calculate its own optimization problem and exchange each other's calculation results multiple times. By reasonably setting the iteration termination conditions, the entire system can eventually obtain the global optimal solution. (3) Torque distribution layer, based on the total driving force calculated by the PID speed controller and the direct yaw torque calculated by the upper layer as constraints, optimize the distribution of the driving / braking torque of the four wheels. (4) Execution layer, the control amount is applied to the four wheels through the steering actuator and the hub motor to achieve precise control of the vehicle.
[0094] Step 4: Establish an information transmission protocol. In all agents, the same prediction time domain N is used. p With control time domain N c For the ith agent, in the control domain [t, t+N c ], the control quantity predicted at time t+k is recorded as ui(k|t). At the same time, the following three sets of control trajectories are defined:
[0095] (1) Predictive control trajectory;
[0096] (2) Optimal control trajectory;
[0097] (3) Assume control trajectory.
[0098] in, The representative controller predicts the control amount at the future moment based on the current state and the control amount at the previous moment. Represents the optimal solution obtained by the controller after solving the local optimal problem. represents the hypothetical control amount that agent i transmits to neighboring agents, which is composed of the predicted control amount It is obtained by shifting a sampling period T, that is, moving the entire trajectory toward the future time, so that the element originally at time t=0 becomes at time t=1.
[0099] In the prediction time domain [t,t+N p ], the state quantity predicted at time t+k is recorded as x i (k|t). The following three sets of state trajectories are defined at the same time, and their meanings are similar to those of the control trajectories:
[0100] (1) Predict state trajectories;
[0101] (2) Optimal state trajectory;
[0102] (3) Assume state trajectory.
[0103] The relationship between the predicted trajectory, the optimal trajectory and the hypothesized trajectory is as follows: Figure 3 shown.
[0104] Agent i uses the predicted state of the future at time t and the hypothetical state from neighbor agent j With the assumption of control Solve the distributed optimization problem. When k = 0, Among them, x i (t) and x j (t) is the state that can be directly measured by the vehicle at the current moment. and optimal solution control After that, the first Act on actual control. Perform single-step recursion on the optimal state trajectory and the optimal control trajectory to obtain the hypothetical trajectory. That is, let:
[0105]
[0106] At this time, it should be noted that the length of the control trajectory is N c -1, to complete the last item, let The vehicle is in a state without control at the next moment. A ii is the state matrix of agent i.
[0107] Step 5: Derivation of local agent state equation. According to the characteristics of multi-agent system state coupling, the local continuous linear state equation can be written as:
[0108]
[0109] In the formula, m is the number of agents. Discretize the above formula into:
[0110]
[0111] Where:
[0112]
[0113] By recursion, we can get 1~N p In the time domain The expression is:
[0114]
[0115] The above recursive process is written in the form of the following augmented matrix:
[0116]
[0117] In the formula
[0118]
[0119] Step 6: Solving the local optimization problem. For agent i, without considering the global performance index, that is, non-cooperative distribution, its local optimization problem can be designed as follows:
[0120]
[0121] represents the cost function that only considers local control performance.
[0122] The equations are constrained as follows:
[0123]
[0124] In the formula, is the set of constraints controlling the input, w i (t+k) is the state reference value of agent i, W i Because of w i (t+k) is a reference state sequence. i With R i are the state weight coefficient and the control weight coefficient respectively, and Specifically: Q i is the penalty for the deviation between the actual trajectory and the expected trajectory, reflecting the vehicle's desire to adhere to its expected trajectory; R i is a penalty for the control input, reflecting the vehicle's desire to travel with lower control energy. Constraint (46) reflects the vehicle's dynamic constraints. Constraints (47)-(48) require that the initial state of the vehicle in the predicted time domain must be equal to the vehicle's actual state. Constraint (49) is the input constraint of the agent, ensuring that the optimization result does not exceed the actuator's action range.
[0125] For the Co-DMPC algorithm, the difference between it and the non-cooperative distributed model predictive control algorithm is mainly whether there is a global performance indicator. Each agent has a strong dependence on the state or control input of the neighboring agent, so Co-DMPC requires strong communication capabilities. In addition, when describing the optimization problem, there is a cost coupling between the agent using the Co-DMPC algorithm and the neighboring agent. The optimization problem considering the global performance indicator can be expressed as:
[0126]
[0127] In the formula, represents the cost function considering global performance, λ i , j is the coupling coefficient of the cost function between different agents, and The constraints are the same as those in equations (46)-(49). In addition, in order to improve the computational efficiency of the controller, the optimization problem is transformed into a quadratic programming form:
[0128]
[0129] In the formula, const is a constant term that does not affect the optimization result, and
[0130]
[0131] After completing a single optimization calculation, the local agent only obtains the local optimal solution and cannot achieve precise control of the vehicle. In order to reduce the optimization error, the present invention adopts a cyclic iterative update method, and exchanges the optimized optimal control sequence and the optimal state sequence multiple times within a single control cycle, thereby achieving the global optimal solution. At the same time, it should be noted that the use of iterative update methods actually increases the computational burden of the controller and the occupancy rate of the communication network. Therefore, the reasonable setting of the iteration termination condition is an important factor in ensuring the real-time performance of the controller.
[0132] The present invention designs two termination conditions for the above requirements. First, the error between two adjacent iterative optimization results is It represents the optimization result of agent i in the nth iteration. i Less than the threshold ε i When (i=1 represents the iterative error of the steering agent, i=2 represents the iterative error of the DYC agent), it is considered that the controller optimization result has converged to the global optimal solution, and the iteration is terminated at this time to proceed to the next step. If the controller iterative error cannot converge to ε i , you need to set a maximum number of iterations p max , to prevent the controller from performing invalid calculations.
[0133] Step 7: Direct yaw moment distribution. After the DYC agent calculates the direct yaw moment of the vehicle, it needs to be reasonably distributed to the four wheels according to the vehicle's state to avoid tire force saturation. At the same time, the distributed torque must also meet the requirements of the vehicle driving forward and tracking the target speed.
[0134] First, according to the PID algorithm, the total driving force equation of the whole vehicle is constructed:
[0135]
[0136] In the formula, K p Represents the proportionality coefficient, K i Represents the integral coefficient, K d represents the differential coefficient, e(t)=v x -v xref .
[0137] Next, consider the following optimization problem:
[0138]
[0139] Where J is the abbreviation of the tire force distribution optimization problem, F xij represents the longitudinal force of the left front wheel, right front wheel, left rear wheel and right rear wheel, F zij Represents the vertical force of the left front wheel, right front wheel, left rear wheel and right rear wheel, F yij represents the lateral forces of the four tires, ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, μ is the adhesion coefficient, since the steering agent has calculated the turning angles of the four wheels, that is, the lateral force F of the tire yij is a constant, which has no effect on the solution of the above optimization problem. Therefore, formula (54) can be written as:
[0140]
[0141] The above formula is subject to the constraints:
[0142]
[0143] In the formula, R w represents the wheel radius, d represents the wheelbase, and F x represents the total longitudinal force, and constraint (27) represents that the total driving force distributed to the four wheels must meet the requirements of the speed controller. Constraint (28) represents that the yaw moment formed by the longitudinal tire force must meet the calculation results of the DYC agent. Constraint (29) represents that the magnitude of the driving force should be within the range of the actuator. Where T min is the minimum driving torque (i.e. braking torque), T max is the maximum driving torque, and T max =-T min The four-wheel drive / braking torque can be obtained by solving equation (26) using the fmincon command in MATLAB.
[0144] Step 8: Send the calculation results of the steering agent and the DYC agent to the actuator.
[0145] Based on the above control method, the embodiment of the present invention further proposes:
[0146] An autonomous driving vehicle controller capable of executing the contents of the above control method.
[0147] A storage medium stores the program code of the control method.
[0148] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. All equivalent methods or changes that do not deviate from the technical creation of the present invention should be included in the scope of protection of the present invention.
Claims
1. A Co-DMPC-based cooperative control method for a multi-agent system of an autonomous driving vehicle chassis, characterized in that: These include: S1: Establish a two-degree-of-freedom vehicle model with four-wheel steering and direct yaw moment control DYC; S2: Establish a distributed state space equation; according to the different control quantities, the centralized state space equation of the vehicle is divided into two agents, namely the steering agent and the DYC agent. For the steering agent, the control quantity of the state space equation is the front wheel steering angle δ f and rear wheel turning angle δ r , the state quantity is the lateral velocity v y and the lateral displacement Y of the vehicle; for the DYC agent, the control quantity of the state space equation is the direct yaw moment M z The state quantities tracked are the yaw rate γ and the yaw angle S3: Build a collaborative control framework; including: The input layer uses the vehicle model to calculate the reference yaw rate γ based on the deviation between the vehicle’s current state and the target path. ref and the reference lateral velocity v yref ; The collaborative control layer decomposes the chassis centralized control system into a distributed control system composed of multiple controllers to achieve the tracking of each desired target; through the state space equation established by S2, the Co-DMPC algorithm is adopted to select the cost function with global performance target. Within the unit sampling time, each intelligent agent independently calculates its own local optimization and exchanges the calculation results with each other for many times, so that the whole system finally obtains the global optimal solution; The torque distribution layer optimizes the distribution of driving or braking torque of the four wheels based on the total driving force calculated by the PID speed controller and the direct yaw torque calculated by the collaborative control layer as constraints; The execution layer applies control to the four wheels through the steering actuator and wheel hub motor to achieve precise control of the vehicle; S4: Establish information transmission protocol; use the same prediction horizon N in all agents p With control time domain N c , for the ith agent, in the control domain [t,t+N c ], the control quantity predicted at time t+k is recorded as u i (k|t), define the following three sets of control trajectories: Predictive control trajectory; Optimal control trajectory; Assume control trajectory; in, It means predicting the control amount at the future moment based on the current state and the control amount at the previous moment; represents the optimal solution obtained after solving the local optimal problem; represents the hypothetical control amount transmitted by agent i to the adjacent agents, which is obtained by shifting the predicted control amount by one sampling period phase; In the prediction time domain [t,t+N p ], the state quantity predicted at time t+k is recorded as x i (k|t), define the following three sets of state trajectories: Predict state trajectories; Optimal state trajectory; Assume state trajectory; Agent i uses the predicted state of the future at time t and the hypothesized states from neighboring agents With the assumption of control Solve the distributed optimization problem. When k = 0, Among them, x i (t) and x j (t) is the state that can be directly measured by the vehicle at the current moment. and optimal solution control After that, the first Acting on the actual control, the optimal state trajectory and the optimal control trajectory are recursively deduced in a single step to obtain the hypothetical trajectory, that is, At this time, the length of the control trajectory is N c -1, to complete the last item, let The vehicle is in a state without control at the next moment.
2. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 1, characterized in that: The two-degree-of-freedom model of the S1 vehicle is as follows: In the formula, v x is the longitudinal velocity, v y is the lateral velocity, γ is the yaw angular velocity, m s is the vehicle mass, C αf and C αr are the front and rear wheel cornering stiffness, l f and l r are the distances from the center of mass to the center of the front and rear wheels, δ f and δ r are the front and rear wheel turning angles, I z is the moment of inertia of the vehicle rotating around the z-axis, M z is the direct yaw moment; Combined with path tracking, the following dynamic equation can be obtained: Where Y is the lateral displacement of the vehicle, is the yaw angle.
3. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 2, characterized in that: In S2, the state space equation of the steering agent is: In the formula, 4. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 3, characterized in that: In S2, the state space equation of the DYC agent is: The state space equation is: In the formula, 5. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 4, characterized in that: In the collaborative control layer, the Co-DMPC algorithm includes: S5: Establish the local agent state equation; including: S5.1 Establish the local continuous linear state equation of the multi-agent as: In the formula, m is the number of agents; S5.2 Discretize the above equation into: Where: T represents the sampling period; S5.3 Get 1~N by recursion p In the time domain The expression is: S5.4 The above recursive process is written in the form of the following augmented matrix: Where:
6. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 5, characterized in that: In the collaborative control layer, the Co-DMPC algorithm further includes: S6: Solve local optimization; specifically including: S6.1 The local optimization problem considering the global performance index is expressed as: The equations are constrained as follows: In the formula, is the set of constraints controlling the input, λ i , j is the coupling coefficient of the cost function between different agents, and w i (t+k) is the state reference value of agent i, W i Because of w i (t+k) composed of the reference state sequence, Q i With R i are the state weight coefficient and the control weight coefficient respectively, and Specifically: Q i is the penalty for the deviation between the actual trajectory and the expected trajectory, reflecting the vehicle's desire to adhere to its expected trajectory; R i is a penalty for the control input, reflecting the vehicle's desire to travel with lower control energy. Constraint (17) reflects the vehicle's dynamic constraints. Constraints (18)-(19) require that the initial state of the vehicle in the predicted time domain must be equal to the vehicle's actual state. Constraint (20) is the input constraint of the agent, ensuring that the optimization result does not exceed the actuator's action range. S6.2 In order to improve the computing efficiency of the controller, the optimization problem is transformed into a quadratic programming form: In the formula, const is a constant term that does not affect the optimization result, and S6.3 completes a single optimization calculation, and the local agent obtains the local optimal solution.
7. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 6, characterized in that: In the collaborative control layer, the Co-DMPC algorithm further includes: By adopting the cyclic iterative update method, each agent exchanges the optimal control sequence and optimal state sequence of local optimization multiple times within the unit sampling time to achieve the global optimal solution; two termination conditions are designed for iterative updates, including: First, the error between two adjacent iterative optimization results is represents the optimization result of agent i in the nth iteration. When the iteration error Err i Less than the threshold ε i When , i = 1 represents the iterative error of the steering agent, i = 2 represents the iterative error of the DYC agent, and it is considered that the controller optimization result has converged to the global optimal solution, and the iteration is terminated at this time; if the iterative error cannot converge to ε i , then set the maximum number of iterations p max , when the number of iterations is greater than p max , terminate the calculation.
8. A method for cooperative control of a multi-agent system of an autonomous driving vehicle chassis based on Co-DMPC according to claim 7, characterized in that: The specific implementation of the torque distribution layer includes the following: First, the total driving force equation of the vehicle is constructed according to the PID algorithm: In the formula, K p Represents the proportionality coefficient, K i Represents the integral coefficient, K d represents the differential coefficient, e(t)=v x -v xref ; Secondly, consider the following optimization problem J represents the abbreviation of tire force distribution optimization problem, F xij represents the longitudinal force of the left front wheel, right front wheel, left rear wheel and right rear wheel, F zij Represents the vertical force of the left front wheel, right front wheel, left rear wheel and right rear wheel, F yij represents the lateral forces of the four tires, ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively. The steering agent has calculated the turning angles of the four wheels, which means that the lateral forces F yij is a constant, which has no effect on the solution of the above optimization problem. Therefore, formula (25) can be simplified as The above formula is subject to the constraints: In the formula, R w represents the wheel radius, constraint (27) represents that the total driving force distributed to the four wheels must meet the requirements of the speed controller, constraint (28) represents that the yaw moment formed by the longitudinal tire force must meet the calculation results of the DYC agent, and constraint (29) represents that the magnitude of the driving force should be within the range of the actuator; where T min is the minimum driving torque, i.e. braking torque, T max is the maximum driving torque, and T max =-T min , by solving formula (26), we can get the four-wheel drive / braking torque.
9. An automatic driving vehicle controller, characterized in that: The controller can execute any one of claims 1-8.
10. A storage medium, characterized in that: The storage medium stores the program code of any one of the control methods of claims 1-8.
Citation Information
Cited By
Intelligent control method based on Internet of Things
CN119758837A
Co-DMPC-based chassis multi-agent system (MAS) cooperative control method for autonomous vehicles, controller, and storage medium
US12509115B1
Co-DMPC-based cooperative control method for autonomous vehicle chassis multi-agent system, controller, and storage medium
WO2026000457A1
