A model-free optimal synchronization control method for multi-vehicle systems
Through the model-free optimal synchronization control method and the two-stage value iterative evaluation network of Gaussian core, the problem of unknown models and structural heterogeneity in multi-vehicle systems is solved, and the optimal control of multi-vehicle systems is realized, which is suitable for complex scenarios such as multi-vehicle systems. Vehicle formation and drone formation.
Patent Information
- Application Number
- CN202210986503.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-17
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-08-17
AI Technical Summary
The prior art is difficult to deal with unknown models and structural heterogeneity problems in multi-vehicle collaborative control, and fails to effectively consider the optimal control performance and the impact of random disturbances.
Using model-free optimal synchronization control method, through the distributed control protocol and the two-stage value iterative evaluation network design method based on Gaussian core, model-independent distributed observers and reconstruction of augmented states are constructed, and distributed control protocols are trained to implement Optimal control of multi-vehicle systems.
It realizes optimal synchronous control of multi-vehicle systems under unknown models and structural heterogeneous conditions, with high scalability and practical value, and is suitable for multi-vehicle formation driving, drone formation and other scenarios, and can effectively tolerate production and manufacturing process. The deterioration.
Smart Images

Figure CN115327908B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of multi-vehicle system control, and in particular to a model-free optimal synchronization control method for a multi-vehicle system. Background Art
[0002] In actual multi-vehicle cooperative control problems, the dynamics of individual vehicles are often complex, so it is often difficult to accurately obtain the precise dynamic model of the system, such as platoon drones, driverless cars, and collaborative multi-manipulators. In addition, since it is impossible to ensure that every part is completely consistent during the actual production and assembly process, heterogeneity problems are inevitable between individual vehicles.
[0003] Most current control theory technologies are based on accurate models to design controllers, and require that the entire system state be measurable, which is often difficult to achieve in actual complex systems. In addition, the optimal control performance of the control system is not considered in the existing technology. Finally, the current technology mainly considers pure environments and ignores the inevitable random disturbance effects in actual engineering applications.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a model-free optimal synchronization control method for a multi-vehicle system, comprising:
[0006] S1: Obtain a multi-vehicle system, which includes 1 leader and N followers, and obtain a distributed control protocol;
[0007] S2: Construct a model-independent distributed observer based on the multi-vehicle system and obtain the state of the current leader through the model-independent distributed observer;
[0008] S3: Construct the reconstructed augmented state of the current follower through the historical input and output data, and obtain the tracking error indicator according to the state of the current leader and the reconstructed augmented state of the current follower;
[0009] S4: Train the distributed control protocol through a two-stage value iteration evaluation network design method based on Gaussian kernel; if the error index is less than the threshold, output the current distributed control protocol and enter step S5; otherwise, obtain new time-lapse input and output data and return to step S2;
[0010] S5: Take the current distributed control protocol as the optimal control protocol and control the operation of the multi-vehicle system through the optimal control protocol.
[0011] Preferably, in step S2, the calculation formula of the current leader's state is expressed as:
[0012]
[0013] in, is an estimate of the leader dynamics F, c is a positive constant, K is a design matrix, is the estimate of the leader state r0(k) by the follower vehicle i, is the number of neighboring agents, j is the number of neighboring agents, d i represents the degree matrix element, a ij >0 means follower i and follower j are connected, otherwise a ij =0,s i ≥0 means fixed gain, when s i >0 means that the follower vehicle i is connected to the leader, otherwise s i =0, and its gain matrix form is recorded as
[0014] Preferably, step S3 specifically comprises:
[0015] S31: In order to optimally solve the distributed tracking control problem of the distributed control protocol, the augmented system dynamics equation is defined;
[0016] S32: Obtain the reconstruction status of historical input and output data pass Reconstruct the dynamic equations of the augmented system into the reconstructed augmented state of the current follower;
[0017] S33: The limit of the difference equation between the current leader's state and the reconstructed augmented state of the current follower is used as the tracking error indicator.
[0018] Preferably, the expression of the augmented system dynamics equation of follower i is:
[0019]
[0020] Among them, I p is the unit matrix, for follower i, we have: x i (k) is the system status, e i (k) is the tracking error with the leader, X i (k) is the augmented state, u i (k) is the control input, A i , B i , C i are the drift matrix, input matrix and output matrix of follower i respectively, and the augmented drift matrix Augmented Input Matrix Augmented input matrix C 1i =[C i -Ip ].
[0021] Preferably, S i The expression of the reconstructed augmented state of the current follower obtained by the historical input and output data is:
[0022]
[0023]
[0024] in, is the estimate of the augmented drift matrix, To estimate the augmented input matrix, is an estimate of the augmented input matrix;
[0025] is the reconstructed augmented state at time k+1, is the reconstructed augmented state at time k, u i (k) is the control input, e i (k) is the tracking error.
[0026] Preferably, the expression of the tracking error indicator is:
[0027]
[0028] in, y i (k) represents the output of follower i, represents the follower i’s estimate of the leader’s state, e i (k) is the tracking error.
[0029] Preferably, step S4 is specifically:
[0030] S41: Train N followers simultaneously and start the initialization phase;
[0031] Get the hyperparameters of the Gaussian kernel function t is the number of training times and has no maximum value, i is the number of followers and its maximum value is N; Get the Gaussian regression sample set L is the number of samples in the sample set, To reconstruct the augmented state, u i (k) is the control input, and the initial value of the control strategy of the distributed control protocol is set to
[0032] S42: start of training phase;
[0033] Control strategies of distributed control protocols It is expressed as: The reward value of the control strategy is expressed as: Q 1i and R i Are all positive definite matrices, obtain the reconstructed augmented state of the follower at the next moment
[0034] S43: Pass c i (k) and the first update formula to update the control strategy The value of Update the hyperparameters through the second update formula The value of
[0035] S44: Define the evaluation network as:
[0036]
[0037] If all followers' evaluation networks satisfy Then stop learning and outputting the current distributed control protocol, otherwise set t=t+1 and return to step S2.
[0038] Preferably, the expression of the first update formula is:
[0039]
[0040] Among them, θ i =f(α i )=[f1(α i )f2(α i )…f D (α i )] T is a continuously differentiable function;
[0041] The expression of the second update formula is:
[0042]
[0043] in satisfy The Gaussian regression sample set is expressed as is the learning step size.
[0044] Preferably, the expression of the optimal control protocol is:
[0045]
[0046] in, represents the optimal control protocol, To reconstruct the augmented state, u i (k) is the control input.
[0047] The present invention has the following beneficial effects:
[0048] 1. The present invention considers the optimal synchronization control problem of a class of discrete-time heterogeneous multi-intelligent systems under an unknown model, and has practical application value and high scalability;
[0049] 2. The successful implementation of the present invention can provide an effective solution for a series of application scenarios such as multi-vehicle formation driving, multi-UAV formation performance, multi-underwater vehicle formation search, etc.;
[0050] 3. Since the present invention does not require the acquisition of the dynamic model information of the controlled system and allows structural heterogeneity between agents, it can effectively tolerate the variation of agents in the actual multi-agent system during the production process and can allow agents of different structures to form a multi-agent system, which has high practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is a flow chart of a method according to an embodiment of the present invention;
[0052] Figure 2 It is a schematic diagram of a multi-vehicle system;
[0053] Figure 3 It is the topological structure diagram of the multi-vehicle system;
[0054] Figure 4 Schematic diagram of distributed observation error;
[0055] Figure 5 Output trajectories for leader and follower vehicles;
[0056] Figure 6 is the Q function evolution trajectory of the follower;
[0057] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0058] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0059] Reference Figure 1 The present invention provides a model-free optimal synchronization control method for a multi-vehicle system, comprising:
[0060] S1: Obtain a multi-vehicle system, which includes 1 leader and N followers, and obtain a distributed control protocol;
[0061] Specifically, a multi-vehicle system such as Figure 2As shown, vehicle 0 is the leader vehicle, and the remaining vehicles i (i = 1, 2, ..., N) are followers. The dynamics of the followers can be described as:
[0062] x i (k+1)=A i x i (k)+B i u i (k)
[0063] y i (k) = C i x i (k),i=1,2,…,N (1)
[0064] in and represents the system state, control input and output of follower i; the dynamics of the leader are as follows:
[0065] r0(k+1)=Fr0(k) (2)
[0066] Where r0(k)∈R P represents the state of the leader, and F represents the leader system parameters.
[0067] S2: Construct a model-independent distributed observer based on the multi-vehicle system and obtain the state of the current leader through the model-independent distributed observer;
[0068] S3: Construct the reconstructed augmented state of the current follower through the historical input and output data, and obtain the tracking error indicator according to the state of the current leader and the reconstructed augmented state of the current follower;
[0069] S4: Train the distributed control protocol through a two-stage value iteration evaluation network design method based on Gaussian kernel; if the error index is less than the threshold, output the current distributed control protocol and enter step S5; otherwise, obtain new time-lapse input and output data and return to step S2;
[0070] S5: Take the current distributed control protocol as the optimal control protocol and control the operation of the multi-vehicle system through the optimal control protocol.
[0071] In this embodiment, in step S2, only the input u of the system is considered. i (k), output y i (k) and r0(k) are measurable variables, and the internal state of the system x i (k) is unmeasurable, and the system matrix A i , B i , C iis unknown. Assumption 2: Each vehicle is controllable and observable, and the leader is observable. Assumption 3: The order of each vehicle system and the upper bound of its observable exponent are known. Assumption 4: All poles of the leader are on the unit circle and are not repeated;
[0072] In a multi-vehicle system, only the leader's neighbors can access the leader; to achieve output consistency control and eliminate the influence of heterogeneous characteristics between vehicles; the calculation formula of the current leader's state in the present invention is expressed as:
[0073]
[0074] in, is an estimate of the leader dynamics F, c is a positive constant, K is a design matrix, is the estimate of the leader state r0(k) by the follower vehicle i, is the number of neighboring agents, j is the number of neighboring agents, d i represents the degree matrix element, a ij >0 means follower i and follower j are connected, otherwise a ij =0,s i ≥0 means fixed gain, when s i >0 means that the follower vehicle i is connected to the leader, otherwise s i =0, and its gain matrix form is recorded as
[0075] Specifically, the observation estimation error of formula (3) is Converges to zero via the following update rule:
[0076]
[0077] Where F = F0 + ΔF, all poles of F0 are on the unit circle, ||ΔF||<ξ, σ max (F0) represents the maximum value of the singular value of F0, λ i express The characteristic value of
[0078] After the observation estimation error converges to zero, we can obtain from (3):
[0079]
[0080] If the tracking error also converges to zero at the same time, the output consistency goal can be achieved.
[0081] In this embodiment, step S3 is specifically as follows:
[0082] S31: In order to optimally solve the distributed tracking control problem of the distributed control protocol, the augmented system dynamics equation is defined;
[0083] S32: Obtain the reconstruction status of historical input and output data pass Reconstruct the dynamic equations of the augmented system into the reconstructed augmented state of the current follower;
[0084] S33: The limit of the difference equation between the current leader's state and the reconstructed augmented state of the current follower is used as the tracking error indicator.
[0085] In this embodiment, the augmented system dynamics equation of follower i is expressed as:
[0086]
[0087] Among them, I p is the unit matrix, for follower i, we have: x i (k) is the system status, e i (k) is the tracking error with the leader, X i (k) is the augmented state, u i (k) is the control input, A i , B i , C i are the drift matrix, input matrix and output matrix of follower i respectively, and the augmented drift matrix Augmented Input Matrix Augmented input matrix C 1i =[C i -I p ].
[0088] Specifically, after defining the augmented system dynamics equation, the performance index function to be minimized of follower i is defined as:
[0089]
[0090] in is the utility function, 0<γ i ≤1 indicates a discount factor, Q ei and R i is a constant matrix and satisfies Q ei >0, R i >0,Q 1i =[C i -I p ] T Q ei [C i -I p]. For the optimal tracking control problem, the designed control strategy needs to stabilize the control system and ensure that the performance index function is finite, that is, the control strategy must be admissible. Under admissible control, the Q function of each follower i can be expressed as:
[0091]
[0092] The Hamiltonian function can then be defined as:
[0093]
[0094] According to the first necessary condition of optimality, we have
[0095]
[0096] The optimal control protocol is obtained as:
[0097]
[0098] Get u i There are two problems with the analytical solution of (k). First, the Q function V i (X i (k)) contains the internal state X i (k), which is to obtain u i (k) is required. However, x i (k) is not measurable in this method. i The solution of (k) contains the partial derivatives and the system matrix B 1i , which is difficult or impossible to obtain in practical applications. To overcome these difficulties, we use a state representation X based on historical input / output data i (k) to solve the first problem. Then, a Q-function-based ADP method is proposed, using X i (k) Approximation u i The solution of (k) is used to achieve model-free output consistency control.
[0099] In this embodiment, the reconstructed augmented state of the current follower is obtained using historical input and output data:
[0100] First, it is proved that the internal state of the system is a function of the historical output and control input. Under the conditions of satisfying assumptions 2 and 3, the state of the augmented system is given according to the input / output sequence of historical measurements, as shown below:
[0101]
[0102] in Indicates that vehicle i is between k-1 and kS iThe output tracking error of the time step can be expressed as:
[0103]
[0104] Indicates that vehicle i is between k-1 and kS i The output sequence of time steps can be expressed as:
[0105]
[0106] and,
[0107] V i =U i -W i D i ,
[0108]
[0109] Due to Assumptions 2 and 4, every augmented system has an observability index K i , when S i <K i , satisfying the inequality Rank(Φ i ) <n i +p; when S i ≥K i , satisfying the inequality Rank(Φ i )=n i +p. Therefore, in order to satisfy Φ i There is a full rank column, we only need to ensure that S i ≥K i .
[0110] Based on this, we can get:
[0111]
[0112] Because W i and V i is a constant, defining the reconstruction state represents the input and output data set, then the unmeasurable system internal state X i (k) Can output data through measurable input Reconstruction; The following theorem shows that the reconstructed state can be defined To reconstruct the augmented system;
[0113] Therefore, using S i The expression of the reconstructed augmented state of the current follower obtained by the historical input and output data is:
[0114]
[0115]
[0116] in, is the estimate of the augmented drift matrix, To estimate the augmented input matrix, is an estimate of the augmented input matrix;
[0117] is the reconstructed augmented state at time k+1, is the reconstructed augmented state at time k, u i (k) is the control input, e i (k) is the tracking error.
[0118] Specifically,
[0119] r1=(S i -1),r2=pS i ,
[0120]
[0121]
[0122] V i =U i -W i D i ,
[0123]
[0124] Where O represents the zero matrix, the subscript represents the matrix dimension, I represents the identity matrix, the subscript represents the matrix dimension, p and S i are design constants, m i represents the system input dimension, C 1i =[C i -I p ].
[0125] In this embodiment, the expression of the tracking error indicator is:
[0126]
[0127] in, y i (k) represents the output of follower i, represents the follower i’s estimate of the leader’s state, e i (k) is the tracking error.
[0128] Specifically, the tracking error dynamics can be derived:
[0129]
[0130] In this embodiment, the two-stage value iteration algorithm based on GK-ACD
[0131] The two-phase value iteration process consists of two parts: first, i Under the condition of fixed sample Q function, iterative approximation of sample Q function is performed; secondly, under the condition of fixed sample Q function, the maximum likelihood estimation is used to update θ i . Note that θ i The accuracy of the estimation is affected by the correctness of the current sample Q function. An incorrect sample Q function may cause the calculation of the next value function to fail due to incorrect credit assignment. Therefore, in order to achieve simultaneous iteration of the value function and hyperparameters, a parallel two-stage random iterative algorithm is used to implement GK-ACD. For any θ i , if K Li is a continuous differential, α i =0, K Li Corresponding to θ i The Jacobian matrix of is non-singular. Define a continuously differentiable function:
[0132] θ i =f(α i )=[f1(α i )f2(α i )…f D (α i )] T (20)
[0133] Step S4 is specifically as follows:
[0134] S41: Train N followers simultaneously and start the initialization phase;
[0135] Get the hyperparameters of the Gaussian kernel function t is the number of training times and has no maximum value, i is the number of followers and its maximum value is N; Get the Gaussian regression sample set L is the number of samples in the sample set, To reconstruct the augmented state, u i (k) is the control input, and the initial value of the control strategy of the distributed control protocol is set to
[0136] S42: start the training phase;
[0137] Control Strategies of Distributed Control Protocols It is expressed as: The reward value obtained by this control strategy is expressed as: Q 1i and R i Are all positive definite matrices, obtain the reconstructed augmented state of the follower at the next moment
[0138] S43: Pass c i (k) and the first update formula to update the control strategy The value of Update the hyperparameters through the second update formula The value of
[0139] S44: Define the evaluation network as:
[0140]
[0141] If all followers' evaluation networks satisfy Then stop learning and outputting the current distributed control protocol, otherwise set t=t+1 and return to step S2.
[0142] Specifically, step S4 updates the evaluation network by simultaneously approximating the Q function value and optimizing the hyperparameters; converting the iteration of the Q function into α i Update of the Gaussian kernel θ i The update can adjust the evaluation network model in real time; where N is an interval, α i Every N updates θ i This asynchronous iteration helps reduce the amount of computation during hyperparameter learning.
[0143] In this embodiment, the expression of the first update formula is:
[0144]
[0145] Among them, θ i =f(α i )=[f1(α i )f2(α i )…f D (α i )] T is a continuously differentiable function.
[0146] The expression of the second update formula is:
[0147]
[0148] in satisfy The Gaussian regression sample set is expressed as is the learning step size.
[0149] In this embodiment, the two-stage value iteration output consistency control based on Gaussian kernel
[0150] The value function only considers learning in the state space, while the Q function considers both the state space and the action space. Since the Q function contains information about the control action in each state, it provides a more comprehensive description of the system characteristics. With the help of the Q function, ADP can learn directly from the data of the system trajectory without the need for knowledge of the system dynamics. This section proposes a two-stage value iteration evaluation network design method based on Gaussian kernels, referred to as GK-ACD, which converges the tracking error to zero without the need for model information.
[0151] set up is an arbitrary control strategy. For the reconfiguration system, define a state containing the reconfiguration state and control input u i The Q function of (k) is:
[0152]
[0153] Through the Q function Sum value function The definition of can be obtained:
[0154]
[0155] Combining (24) and (25), we can obtain:
[0156]
[0157] Since the Q function evaluates all possible control inputs for each state, we can directly obtain a better control policy by minimizing the Q function; therefore, we have:
[0158] The expression of the optimal control protocol is:
[0159]
[0160] in, represents the optimal control protocol, To reconstruct the augmented state, u i (k) is the control input.
[0161] Specifically, Gaussian Processes (GPs) can be used to construct an evaluation network to evaluate the optimal control protocol, and a GPs is specified using the mean function m(x) and the covariance function k(ω,ω′). The covariance function uses the square exponential covariance function:
[0162]
[0163] Where v1 represents the variance of the vector function, and the dimension of ω is n ω express, is the length scale parameter.
[0164] This patent represents the sampled data of vehicle dynamics as in Represents the state-action pair matrix ω i1 ,ω i2 ,…,ω iL ,], Y i represents the corresponding Q function vector, v 0i is the noise variance. Then the hyperparameters of GPs can be expressed as For any state-action pair of vehicle i Q i (ω i ) conforms to the Gaussian distribution of variance and mean, which can be described as:
[0165]
[0166]
[0167] Where K i =[K mn ] is the kernel matrix, K Li =K i +v 0i I is the covariance matrix.
[0168] Since the evaluation network is constructed based on GPs, the sample value Y in (14) i is the sample Q function relative to the predetermined sample set. Therefore, an accurate sample value Y i and a well-designed sample set will affect the performance of the critic network. Here, an iterative algorithm will be used to estimate Y i .Y i (k) represents Y at time k i The estimate, Let t be the number of iterations, the Q function of each sample can be approximated as:
[0169]
[0170] in η i represents the learning rate, represents the reward function, γ represents the discount factor, In order to overcome the problem of obtaining accurate sample value Yi The difficulty is that in (23), using any state-action pair ω i Replace ω il The sample Q function is calculated by the Gaussian regression function of (21), which can be expressed as:
[0171]
[0172] To simplify the expression, Combining (30) and (31), we can obtain:
[0173]
[0174] From (32), we can see that As the hyperparameters are fixed, The iteration of corresponds to the update of the Q function. Therefore, the learning of the Q function can be achieved through Obviously, different hyperparameters will affect the performance of Gaussian process regression. The maximum likelihood method is used to optimize the hyperparameters so that the Gaussian regression model can more accurately approximate the dynamics of the reconstructed system. i The maximum likelihood estimate of can be written as:
[0175]
[0176] According to the sample and its corresponding Q function Y i , the hyperparameters are updated and optimized by maximizing the evidence, and the logarithmic evidence is defined as:
[0177]
[0178] where tr[·] represents the trajectory, d=1,···,D i In the sample set, the sample state-action value function Y of all state-action pairs is known i Obviously, θ i It is based on the iterative update of the sample Q function, but θ i It also affects the approximation accuracy of the sample Q function. Therefore, alternate calculation of θ i And Q function is an effective solution.
[0179] The effect of this method:
[0180] Consider a simple system consisting of a leader and three heterogeneous tracking vehicles. The interaction topology is as follows Figure 3 As shown; fixed gain s1=1,s2=s3=0;
[0181] The dynamics of the leader are:
[0182] r0(k+1)=-r0(k) (35)
[0183] The three tracked vehicle dynamics are:
[0184]
[0185] The observer indicators of each augmented system are K1=K3=3 and K2=4. Therefore, S1=S3=3 and S2=4 are selected to construct the reconstruction state of the augmented system:
[0186]
[0187]
[0188]
[0189] The weighting matrix in the utility function is: Q1 = Q2 = Q3 = 10, R1 = R2 = R3 = 1. For i = 1, 2, 3, the discount factor for all followers is set to γ i =0.9. The learning rate in the GK-ACD algorithm is: The distributed observation error obtained from the experimental results is as follows Figure 4 As shown;
[0190] The trajectories of leaders and followers are Figure 5 As shown. It can be seen that the follower starts from a random initial position and quickly approaches the state of the follower as the control strategy is adjusted. For high-order dynamics, although the trajectory fluctuates greatly during the adjustment process, relatively fast convergence can still be achieved. The results show that the proposed method has the ability to handle heterogeneous problems. It should be noted that although the leader's trajectory changes rapidly, the optimal control strategy can still enable all followers to effectively follow the leader's trajectory. Simulation results show that the proposed model-free output consistency strategy is effective. With the implementation of the developed GK-ACD-based two-stage value iteration method, the trajectory of the Q function relative to the initial system state-action pair is shown in Figure 6 As shown. The values of the state-action pairs of the three followers are (u1, y1) = (0.3404, 0.0901), (u2, y2) = (0.5853, 0.6198), and (u3, y3) = (0.2238, 0.4390). The trajectory of the Q function not only proves that the three Q functions are convergent, but also proves that the Q function is a non-decreasing sequence, thereby verifying the correctness of Theorem 2. From the evolution trajectory of the Q value, it can be seen that the dynamic process of learning stops changing after ten iteration cycles. It means that the evaluation network has reached the termination condition and its weights have stopped updating. Due to the high efficiency of the Q value iteration method, the learning time of the proposed method is very short.
[0191] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0192] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as identifiers.
[0193] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A model-free optimal synchronization control method for a multi-vehicle system, characterized in that: include: S1: Obtain a multi-vehicle system, which includes 1 leader and N followers, and obtain a distributed control protocol; S2: Construct a model-independent distributed observer based on the multi-vehicle system and obtain the state of the current leader through the model-independent distributed observer; S3: Construct the reconstructed augmented state of the current follower through the historical input and output data, and obtain the tracking error indicator according to the state of the current leader and the reconstructed augmented state of the current follower; S4: Train the distributed control protocol through a two-stage value iteration evaluation network design method based on Gaussian kernel; if the error index is less than the threshold, output the current distributed control protocol and enter step S5; Otherwise, new time-dependent input and output data are obtained, and the process returns to step S2; S5: Taking the current distributed control protocol as the optimal control protocol, the operation of the multi-vehicle system is controlled by the optimal control protocol; Step S4 is specifically as follows: S41: Train N followers simultaneously and start the initialization phase; Get the hyperparameters of the Gaussian kernel function t is the number of training times and has no maximum value, i is the number of followers and its maximum value is N; Get the Gaussian regression sample set L is the number of samples in the sample set, To reconstruct the augmented state, u i (k) is the control input, and the initial value of the control strategy of the distributed control protocol is set to S42: start the training phase; Control strategies of distributed control protocols It is expressed as: The reward value obtained by this control strategy is expressed as: Q 1i and R i Are all positive definite matrices, obtain the reconstructed augmented state of the follower at the next moment S43: Pass c i (k) and the first update formula to update the control strategy The value of Update the hyperparameters through the second update formula The value of S44: Define the evaluation network as: If all followers' evaluation networks satisfy Then stop learning and outputting the current distributed control protocol, otherwise set t=t+1 and return to step S2; The expression of the optimal control protocol is: in, represents the optimal control protocol, To reconstruct the augmented state, u i (k) is the control input.
2. The model-free optimal synchronization control method for a multi-vehicle system according to claim 1, characterized in that: In step S2, the calculation formula of the current leader's state is expressed as: in, is an estimate of the leader dynamics F, c is a positive constant, K is a design matrix, is the estimate of the leader state r0(k) by the follower vehicle i, is the number of neighboring agents, j is the number of neighboring agents, d i represents the degree matrix element, a ij >0 means follower i and follower j are connected, otherwise a ij =0,s i ≥0 means fixed gain, when s i >0 means the follower vehicle i is connected to the leader, otherwise s i =0, and its gain matrix form is recorded as 3. The model-free optimal synchronization control method for a multi-vehicle system according to claim 1, characterized in that: Step S3 is specifically as follows: S31: In order to optimally solve the distributed tracking control problem of the distributed control protocol, the augmented system dynamics equation is defined; S32: Obtain the reconstruction status of historical input and output data pass Reconstruct the dynamic equations of the augmented system into the reconstructed augmented state of the current follower; S33: The limit of the difference equation between the current leader's state and the reconstructed augmented state of the current follower is used as the tracking error indicator.
4. The model-free optimal synchronization control method for a multi-vehicle system according to claim 3, characterized in that: The expression of the augmented system dynamics equation of follower i is: Among them, I p is the unit matrix, for follower i, we have: x i (k) is the system status, e i (k) is the tracking error with the leader, X i (k) is the augmented state, u i (k) is the control input, A i , B i , C i are the drift matrix, input matrix and output matrix of follower i respectively, and the augmented drift matrix Augmented Input Matrix Augmented input matrix C 1i =[C i -I p ].
5. The model-free optimal synchronization control method for a multi-vehicle system according to claim 3, characterized in that: Using S i The expression of the reconstructed augmented state of the current follower obtained by the historical input and output data is: in, is the estimate of the augmented drift matrix, To estimate the augmented input matrix, is an estimate of the augmented input matrix; is the reconstructed augmented state at time k+1, is the reconstructed augmented state at time k, u i (k) is the control input, e i (k) is the tracking error.
6. The model-free optimal synchronization control method for a multi-vehicle system according to claim 3, characterized in that: The expression of the tracking error indicator is: in, y i (k) represents the output of follower i, represents the follower i’s estimate of the leader’s state, e i (k) is the tracking error.
7. The model-free optimal synchronization control method for a multi-vehicle system according to claim 1, characterized in that: The expression of the first update formula is: Among them, θ i =f(α i )=[f1(α i ) f2(α i ) … f D (α i )] T is a continuously differentiable function; The expression of the second update formula is: in satisfy The Gaussian regression sample set is expressed as is the learning step size.
