Multi-agent cooperative control method based on high-order dynamic inhibition controller
By using high-order dynamic suppression controllers and dynamic adaptive hierarchical architecture in multi-agent systems, combined with forward and reverse feedback control, the stability problem under dynamic changes in output constraints and multi-layer external interference in high-order systems is solved, achieving It realizes collaborative control and global optimization of intelligent agents.
Patent Information
- Application Number
- CN202411000727.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-25
Smart Images

Figure CN118534761B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of multi-agent collaborative control, and specifically relates to a multi-agent collaborative control method based on a high-order dynamic inhibition controller. Background Art
[0002] Multi-agent collaborative control refers to the technology of completing complex tasks through coordination and cooperation among multiple agents. It uses information sharing and distributed decision-making to achieve efficient collaboration and task allocation among agents. This technology is widely used in search and rescue, environmental monitoring, logistics and other fields to improve the overall performance and robustness of the system. In order to optimize the collaborative control technology of Multi-Agent Systems (MAS), some new technical solutions have been proposed.
[0003] For example, in existing studies, Guo and Ren proposed an event-driven distributed optimal H ∞ Controller, this method converts through a one-to-one nonlinear mapping technology to reduce the impact of external disturbances. Shi and Chen designed an online cooperation algorithm and used model prediction as the controller of the intelligent agent. This method effectively improved the cooperation mechanism of dynamic design. Amirkhani used adaptive control of the consensus algorithm to solve the distributed control problem in MAS. Khan and Wang proposed a MAS-based architecture that introduced real-time control technology through distributed optimization to ensure the collaborative work of multiple intelligent agents. Sakurama used the gradient flow method to design the controller. This method encodes the control task based on the objective function and potential function to solve the coordination task of multiple agents.
[0004] It is worth noting that the above studies are designed under the condition of stable output constraints, which usually depends on the initial conditions. However, in high-order systems, when the output constraints change dynamically and the external disturbances are superimposed in multiple layers, it is difficult to realize the application of cooperative control in these studies. Therefore, it is imperative to study the cooperative control of high-order dynamic systems under multiple external disturbances and dynamically changing output constraints. Summary of the invention
[0005] In view of the above deficiencies in the prior art, the present invention provides a multi-agent collaborative control method based on a high-order dynamic suppression controller, which can maintain the stability and output convergence of the multi-agent system under different initial conditions and multiple interferences, and solves the problems of external interference and output constraints in MAS.
[0006] To achieve the above objectives, the present invention provides a multi-agent cooperative control method based on a high-order dynamic inhibition controller, comprising the following steps:
[0007] S1. For a multi-agent system MAS consisting of N agents, a high-order dynamic inhibition controller is constructed. The steps are:
[0008] S11. Represent the dynamic behavior of each agent as a high-order stochastic nonlinear system;
[0009] S12. setting assumptions about nonlinear functions and external disturbances to describe the high-order random nonlinear characteristics of MAS;
[0010] S13, defining the global state vector of MAS and establishing a dynamic system about MAS;
[0011] S14. Define the control target of MAS and set the high-order dynamic inhibition control theorem based on the control target;
[0012] S15. Introduce high-order arbitrary dynamics into the high-order dynamic suppression control theorem, obtain the high-order arbitrary dynamic weighted control law, and complete the construction of the high-order dynamic suppression controller;
[0013] S2. Based on the high-order dynamic suppression controller, a dynamic adaptive hierarchical architecture is constructed to meet the control incentive conditions under dynamic behavior. The construction steps are as follows:
[0014] S21. In multi-agent collaborative control, EEG and brain-computer interface BCI are introduced (in brain-computer interface, EEG is equivalent to a channel between the human body and the external environment, and the requirements of multi-machine collaborative control are further met through EEG signals), and positive and negative feedback control functions are established;
[0015] S22, for N agents including BCI, dynamically adjusting the interference of multiple initial inputs received by the agents;
[0016] S23. Establish update rules for positive and negative feedback control to complete the construction of a dynamic adaptive hierarchical architecture;
[0017] S3. Based on high-order dynamic inhibition controller and dynamic adaptive hierarchical architecture, collaborative control of multiple agents in MAS is realized.
[0018] In S11, for the i-th agent, the high-order random nonlinear system of its dynamic behavior at time t is It is expressed as:
[0019] (1);
[0020] In the formula, is the state vector of the ith agent at time t, is the set of state vectors of the agent, That is, the state vector of the jth agent at time t; and are the nonlinear functions of the i-th agent and the j-th agent respectively; is the external interference of the ith agent at time t; is the control input of the ith agent at time t; a ij is the element of the adjacency matrix, representing the connection weight between the i-th agent and the j-th agent; t represents the time.
[0021] In the above S12, the assumption about the nonlinear function is:
[0022] and About and A smooth function that satisfies and ;
[0023] The assumptions about external disturbances are:
[0024] is bounded, that is, there is a constant , so that .
[0025] In S13, the global state vector of the MAS is defined as for:
[0026] (2);
[0027] Then the dynamic system of MAS is expressed as:
[0028] (3);
[0029] (4);
[0030] (5);
[0031] (6);
[0032] (7);
[0033] Where A is the adjacency matrix; is the external disturbance at time t; is the control input at time t (T stands for transpose).
[0034] In the above S14, the control target of MAS is:
[0035] Global stability makes MAS Converge to the desired trajectory ;
[0036] Output constraints: During the control process, the output of each agent (the output is the state vector of the agent) satisfies the predefined constraints, that is, ,in is the set of output constraints of the ith agent;
[0037] Collaborative working performance, ensuring that all agents can work together and achieve global optimization while satisfying constraints;
[0038] Therefore, the high-order dynamic inhibition control theorem is set, specifically, considering The dynamic behavior of The design of satisfies formula (8), then MAS It is globally asymptotically stable under bounded conditions and satisfies the output constraints , formula (8) is:
[0039] (8);
[0040] In the formula, is the error vector at time t, is the expected vector of the ith agent at time t; k i is a positive definite gain matrix; is a nonlinear feedback function; is the compensation term at time t and satisfies:
[0041] (9);
[0042] In the formula, is the state of the j-th agent at time t.
[0043] In the above S15, the process of introducing high-order arbitrary dynamics into the high-order dynamic suppression control theorem, obtaining the high-order arbitrary dynamics weighted control law, and completing the construction of the high-order dynamic suppression controller is as follows:
[0044] S151, Consider The nth derivative of (That is, a high-order random nonlinear system ), the control law after introducing high-order arbitrary dynamics is expressed as:
[0045] (10);
[0046] Where m is a constant, yes The m-th order derivative of , m≤n; is the weighting coefficient of the higher-order derivative terms;
[0047] S152, further expand the high-order derivative terms, assuming It is expressed as:
[0048] (11);
[0049] In the formula, is the coefficient of the m-th order derivative, which is used to represent the weight of each agent; That is, t raised to the power of order m; then It is expressed as:
[0050] (12);
[0051] It is a form of writing about higher-order differentials in mathematics; mm is equal to 0, 0! is the factorial of 0, 0! = 1;
[0052] S153, integrating equations (10), (11) and (12), the final high-order arbitrary dynamic weighted control law is obtained, which is expressed as:
[0053] (13).
[0054] In the above S21, the process of establishing the positive and negative feedback control function is as follows:
[0055] S211, for the pre-processed EEG signal matrix , there exists an optimization strategy so that The error in task identification and execution of MAS at time t within the time interval satisfy:
[0056] (14);
[0057] Where, t 0 Indicates the starting time; t f Indicates the end time; is the task label vector at time t; is the task allocation matrix at time t; is the desired task label; Assign matrices to the desired tasks;
[0058] The preprocessing method is to use a bandpass filter to remove noise and artifacts in the EEG signal to obtain , expressed as:
[0059] (15);
[0060] In the formula, is the original EEG signal matrix, is the filter matrix;
[0061] S212, using wavelet transform, Perform time-frequency domain conversion to obtain the time-frequency matrix , where CWT represents wavelet transform;
[0062] S213, using principal component analysis PCA to reduce dimension, eigenvector ,in is the PCA transformation matrix;
[0063] S214, separate the mixed signal by independent component analysis ICA to obtain the independent component matrix ,in is the ICA transformation matrix;
[0064] S215. In positive feedback, the error function of the kth agent at time t Adjust the task label vector and task assignment matrix in real time to minimize the error, that is, , according to formula (14), we get the optimal feedback control at time t :
[0065] (16);
[0066] Where f is the positive and negative feedback control function, set f 1 is the positive feedback control function, f 2 is a reverse feedback control function, then there exists and , so that the positive feedback is expressed as:
[0067] (17);
[0068] Where α is the learning rate, β is the discount factor; t+1 is the time t+1, the same below;
[0069] The reverse feedback is expressed as:
[0070] (18);
[0071] In the formula, , , They are the filter matrix, PCA transformation matrix and ICA transformation matrix at time t respectively; , and Represent the motivational error functions of Agent 1, Agent 2, and Agent 3 at time t, respectively. , and ; , and are the interference error functions of the kth agent on three different types of comprehensive agents;
[0072] Among them, the external environment is equivalent to agent 1, the controlled agent is equivalent to agent 2, and BCI is equivalent to agent 3. The three different types of comprehensive agents are the agent categories represented by agent 1, agent 2 and agent 3.
[0073] In the above S22, the process of dynamically adjusting the interference of multiple initial inputs to the agent is as follows:
[0074] S221, for N agents including BCI, agent state It is expressed as:
[0075] (19);
[0076] The elements in represent the states of each agent at time t;
[0077] Action selection of the agent It is expressed as:
[0078] (20);
[0079] The elements in represent the action choices of each agent at time t;
[0080] S222, Settings represents the state and action value function of the kth agent, represent The elements in represent The elements in , under the premise of satisfying the high-order dynamic inhibition control theorem:
[0081] (twenty one);
[0082] In the formula, Represents the iterated , Represents the iterated ; r i is the reward function; expressed as:
[0083] (twenty two); That is, it represents a well-known reward function;
[0084] S223, the interference of multiple initial inputs to the kth agent is expressed as ,according to Dynamic Adjustment , expressed as:
[0085] (twenty three);
[0086] In the formula, is the adjustment step size; About The gradient of Represents the interference of multiple initial inputs received by the kth agent at time t.
[0087] In the S223, adjust The specific steps are:
[0088] S2231, initialize each agent and ;
[0089] S2232. For each time step, each agent first observes the state at the current moment (the current moment is time t) , and then choose the action according to the greedy strategy (Here is also time t), and finally execute And observe and the state at the next moment , update this and ; is the reward function at time t.
[0090] In the above S23, the process of establishing the update rules of the positive and negative feedback control is as follows:
[0091] S231, define the gain matrix x 1 and x 2 ,make:
[0092] (twenty four);
[0093] S232. Define the control strategy at time t for:
[0094] (25);
[0095] In the formula, and are the control gain matrices of BCI and external disturbance respectively;
[0096] S233. Combining equation (17) and equation (18), set the rule:
[0097] (26);
[0098] (27);
[0099] Here Also represents a well-known reward function;
[0100] The rule composed of equation (26) and equation (27) is the bidirectional control theory;
[0101] S234. For each moment t:
[0102] (28);
[0103] S235, Agent Execution And observe and the state at the next moment , x 1 and x 2 Adjusted to:
[0104] (29);
[0105] (30);
[0106] At this point, the dynamic adaptive hierarchical architecture based on the high-order dynamic suppression controller is completed.
[0107] The algorithm involved in the present invention can be executed by an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The algorithm is implemented by executing software through the processor.
[0108] The beneficial effects of the present invention are:
[0109] The present invention aims to solve the problems of external interference and output constraints in multi-agent systems (MAS). By designing a weighted control law with high-order arbitrary dynamics, the global stability of the multi-agent system is ensured. The dynamic adaptive hierarchical architecture (DALA) is adopted, combined with the forward and reverse asynchronous feedback mechanism, to achieve the collaborative work and global optimization of the agents.
[0110] The high-order dynamic controller of the present invention can maintain the stability and output convergence of the multi-agent system under different initial conditions and multiple disturbances, which is significantly better than the traditional control method. Specifically, under spike pulse interference, the control law of the present invention enables the agent state to converge quickly to the desired trajectory and remain stable in multiple spike interferences. This collaborative control method provides a new solution for the application of brain-computer interfaces in multi-agent environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0111] Figure 1 It is a schematic diagram of the process of the present invention;
[0112] Figure 2 It is a test diagram of the incentive effect on the error function of agent 1, agent 2 and agent 3 under the dynamic weighted control law in the verification process of the embodiment of the present invention; Figure 2 (a) is the incentive effect test diagram of the error function of agent 1; Figure 2 (b) is the incentive effect test diagram of the error function of agent 2; Figure 2 (c) is the incentive effect test diagram of the error function of agent 3;
[0113] Figure 3 The present invention is verified in the process of three spike pulse interference. and Output effect diagram; Figure 3 (a) is the first experiment and Output effect diagram; Figure 3 (b) is the second experiment and Output effect diagram; Figure 3 (c) is the third experiment and Output effect diagram; Figure 3 (d) is the fourth experiment and Output effect diagram;
[0114] Figure 4 This is an output effect diagram of the stability of the control law under triple spike pulse interference during the verification process of the embodiment of the present invention; Figure 4 (a) is the output effect diagram of the control law stability in the first experiment; Figure 4 (b) is the output effect diagram of the control law stability in the second experiment; Figure 4 (c) is the output effect diagram of the control law stability in the third experiment; Figure 4 (d) in the figure is the output effect diagram of the control law stability in the fourth experiment. DETAILED DESCRIPTION
[0115] The embodiments of the present invention are further described below in conjunction with the accompanying drawings:
[0116] like Figure 1 As shown, the multi-agent cooperative control method based on the high-order dynamic inhibition controller includes the following steps:
[0117] S1. For a multi-agent system MAS consisting of N agents, a high-order dynamic inhibition controller is constructed. The steps are:
[0118] S11. Represent the dynamic behavior of each agent as a high-order stochastic nonlinear system;
[0119] S12. setting assumptions about nonlinear functions and external disturbances to describe the high-order random nonlinear characteristics of MAS;
[0120] S13, defining the global state vector of MAS and establishing a dynamic system about MAS;
[0121] S14. Define the control target of MAS and set the high-order dynamic inhibition control theorem based on the control target;
[0122] S15. Introduce high-order arbitrary dynamics into the high-order dynamic suppression control theorem, obtain the high-order arbitrary dynamic weighted control law, and complete the construction of the high-order dynamic suppression controller;
[0123] S2. Based on the high-order dynamic suppression controller, a dynamic adaptive hierarchical architecture is constructed to meet the control incentive conditions under dynamic behavior. The construction steps are as follows:
[0124] S21. In multi-agent collaborative control, EEG and brain-computer interface (BCI) are introduced to establish positive and negative feedback control functions.
[0125] S22, for N agents including BCI, dynamically adjusting the interference of multiple initial inputs received by the agents;
[0126] S23. Establish update rules for positive and negative feedback control to complete the construction of a dynamic adaptive hierarchical architecture;
[0127] S3. Based on high-order dynamic inhibition controller and dynamic adaptive hierarchical architecture, collaborative control of multiple agents in MAS is realized.
[0128] In S11, for the i-th agent, its dynamic behavior at time t is a high-order random nonlinear system It is expressed as:
[0129] (1);
[0130] In the formula, is the state vector of the ith agent at time t, is the set of state vectors of the agent, That is, the state vector of the jth agent at time t; and are the nonlinear functions of the i-th agent and the j-th agent respectively; is the external interference of the ith agent at time t; is the control input of the ith agent at time t; aij is the element of the adjacency matrix, representing the connection weight between the i-th agent and the j-th agent; t represents the time.
[0131] In S12, the assumption about nonlinear functions is:
[0132] and About and A smooth function that satisfies and ;
[0133] The assumptions about external disturbances are:
[0134] is bounded, that is, there is a constant , so that .
[0135] In S13, the global state vector of MAS is defined for:
[0136] (2);
[0137] Then the dynamic system of MAS is expressed as:
[0138] (3);
[0139] (4);
[0140] (5);
[0141] (6);
[0142] (7);
[0143] Where A is the adjacency matrix; is the external disturbance at time t; is the control input at time t.
[0144] In S14, the control objectives of MAS are:
[0145] Global stability makes MAS Converge to the desired trajectory ;
[0146] Output constraints, during the control process, the output of each agent satisfies the pre-defined constraints, which is ,in is the set of output constraints of the ith agent;
[0147] Collaborative working performance, ensuring that all agents can work together and achieve global optimization while satisfying constraints;
[0148] Therefore, the high-order dynamic inhibition control theorem is set, specifically, considering The dynamic behavior of The design of satisfies formula (8), then MAS It is globally asymptotically stable under bounded conditions and satisfies the output constraints , formula (8) is:
[0149] (8);
[0150] In the formula, is the error vector at time t, is the expected vector of the ith agent at time t; k i is a positive definite gain matrix; is a nonlinear feedback function; is the compensation term at time t and satisfies:
[0151] (9);
[0152] In the formula, is the state of the j-th agent at time t.
[0153] In S15, the process of introducing high-order arbitrary dynamics into the high-order dynamic suppression control theorem, obtaining the high-order arbitrary dynamic weighted control law, and completing the construction of the high-order dynamic suppression controller is:
[0154] S151, Consider The nth derivative of , the control law after introducing high-order arbitrary dynamics is expressed as:
[0155] (10);
[0156] Where m is a constant, yes The m-th order derivative of , m≤n; is the weighting coefficient of the higher-order derivative terms;
[0157] S152, further expand the high-order derivative terms, assuming It is expressed as:
[0158] (11);
[0159] In the formula, is the coefficient of the m-th order derivative, which is used to represent the weight of each agent; That is, t raised to the power of order m; then It is expressed as:
[0160] (12);
[0161] S153, integrating equations (10), (11) and (12), the final high-order arbitrary dynamic weighted control law is obtained, which is expressed as:
[0162] (13).
[0163] In S21, the process of establishing the positive and negative feedback control function is:
[0164] S211, for the pre-processed EEG signal matrix , there exists an optimization strategy so that The error in task identification and execution of MAS at time t within the time interval satisfy:
[0165] (14);
[0166] Where, t 0 Indicates the starting time; t f Indicates the end time; is the task label vector at time t; is the task allocation matrix at time t; is the desired task label; Assign matrices to the desired tasks;
[0167] The preprocessing method is to use a bandpass filter to remove noise and artifacts in the EEG signal to obtain , expressed as:
[0168] (15);
[0169] In the formula, is the original EEG signal matrix, is the filter matrix;
[0170] S212, using wavelet transform, Perform time-frequency domain conversion to obtain the time-frequency matrix , where CWT represents wavelet transform;
[0171] S213, using principal component analysis PCA to reduce dimension, eigenvector ,in is the PCA transformation matrix;
[0172] S214, separate the mixed signal by independent component analysis ICA to obtain the independent component matrix ,in is the ICA transformation matrix;
[0173] S215. In positive feedback, the error function of the kth agent at time t Adjust the task label vector and task assignment matrix in real time to minimize the error, that is, , according to formula (14), we get the optimal feedback control at time t :
[0174] (16);
[0175] Where f is the positive and negative feedback control function, set f 1 is the positive feedback control function, f 2 is a reverse feedback control function, then there exists and , so that the positive feedback is expressed as:
[0176] (17);
[0177] Where α is the learning rate, β is the discount factor;
[0178] The reverse feedback is expressed as:
[0179] (18);
[0180] In the formula, , , They are the filter matrix, PCA transformation matrix and ICA transformation matrix at time t respectively; , and Represent the motivational error functions of Agent 1, Agent 2, and Agent 3 at time t, respectively. , and ; , and are the interference error functions of the kth agent on three different types of comprehensive agents;
[0181] Among them, the external environment is equivalent to agent 1, the controlled agent is equivalent to agent 2, and BCI is equivalent to agent 3. The three different types of comprehensive agents are the agent categories represented by agent 1, agent 2 and agent 3.
[0182] In S22, the process of dynamically adjusting the interference of multiple initial inputs to the agent is:
[0183] S221, for N agents including BCI, agent state It is expressed as:
[0184] (19);
[0185] The elements in represent the states of each agent at time t;
[0186] Action selection of the agent It is expressed as:
[0187] (20);
[0188] The elements in represent the action choices of each agent at time t;
[0189] S222, Settings represents the state and action value function of the kth agent, represent The elements in represent The elements in , under the premise of satisfying the high-order dynamic inhibition control theorem:
[0190] (twenty one);
[0191] In the formula, Represents the iterated , Represents the iterated ; r i is the reward function; expressed as:
[0192] (twenty two);
[0193] S223, the interference of multiple initial inputs to the kth agent is expressed as ,according to Dynamic Adjustment , expressed as:
[0194] (twenty three);
[0195] In the formula, is the adjustment step size; About The gradient of Represents the interference of multiple initial inputs received by the kth agent at time t.
[0196] In S223, adjust The specific steps are:
[0197] S2231, initialize each agent and ;
[0198] S2232. For each time step, each agent first observes the state at the current moment , and then choose the action according to the greedy strategy , and finally execute And observe and the state at the next moment , update this and ; is the reward function at time t.
[0199] In S23, the process of establishing the update rules of the positive and negative feedback control is:
[0200] S231, define the gain matrix x 1 and x 2 ,make:
[0201] (twenty four);
[0202] S232. Define the control strategy at time t for:
[0203] (25);
[0204] In the formula, and are the control gain matrices of BCI and external disturbance respectively;
[0205] S233. Combining equation (17) and equation (18), set the rule:
[0206] (26);
[0207] (27);
[0208] The rule composed of equation (26) and equation (27) is the bidirectional control theory;
[0209] S234. For each moment t:
[0210] (28);
[0211] S235, Agent Execution And observe and the state at the next moment , x 1 and x 2Adjusted to:
[0212] (29);
[0213] (30);
[0214] At this point, the dynamic adaptive hierarchical architecture based on the high-order dynamic suppression controller is completed.
[0215] The verification process is as follows: first, for the high-order arbitrary dynamic weighted control law finally obtained, based on , and , perform convergence test, when the execution operation is close to the expected operation, , and ;on the contrary , and The positive and negative here represent the positive and negative directions of the stimulus. The test results are as follows Figure 2 As shown, it can be seen that , and As time changes, convergence occurs, that is, this method can effectively overcome the non-convergence phenomenon.
[0216] Secondly, BCI is equivalent to a special intelligent agent with perception, decision-making and execution. and Under the premise of Multiple highlights in a specific time interval (i.e. multiple interferences) satisfy:
[0217] (31);
[0218] In the formula, is the Dirac function at time t. , and is the pulse amplitude (the pulse is the interference). 0 ,t 1 and t 2 They are the time points when the pulses occur (corresponding to time 0 and pulse 1 and pulse 2 in the figure, a total of three pulse interferences); is the output constraint boundary. Four experimental tests were performed with different initial conditions:
[0219] When the execution is close to the expected operation, , and ; ;
[0220] When the execution does not match the expected operation, , and . ;
[0221] Known ,like Figure 3 As shown, when three spike pulse interferences occur, and can still maintain mutual convergence; such as Figure 4 As shown in Figure 2, under the condition of three spike pulse disturbances, the stability of the control law gradually stabilizes. However, the convergence effect can still be achieved, which verifies that the present invention can effectively cope with multiple spike pulse interferences and maintain stability.
Claims
1. A multi-agent cooperative control method based on a high-order dynamic inhibition controller, characterized in that The following steps are involved: S1. For a multi-agent system MAS consisting of N agents, a high-order dynamic inhibition controller is constructed. The steps are: S11. Represent the dynamic behavior of each agent as a high-order stochastic nonlinear system; S12. setting assumptions about nonlinear functions and external disturbances to describe the high-order random nonlinear characteristics of MAS; S13, defining the global state vector of MAS and establishing a dynamic system about MAS; S14, define the control target of MAS, and set the high-order dynamic inhibition control theorem based on the control target; S15. Introduce high-order arbitrary dynamics into the high-order dynamic suppression control theorem, obtain the high-order arbitrary dynamic weighted control law, and complete the construction of the high-order dynamic suppression controller; S2. Based on the high-order dynamic suppression controller, a dynamic adaptive hierarchical architecture is constructed to meet the control incentive conditions under dynamic behavior. The construction steps are as follows: S21. In multi-agent collaborative control, EEG and brain-computer interface (BCI) are introduced to establish positive and negative feedback control functions. S22, for N intelligent agents including BCI, dynamically adjust the interference of multiple initial inputs to the intelligent agents; S23. Establish update rules for positive and negative feedback control to complete the construction of a dynamic adaptive hierarchical architecture; S3, based on high-order dynamic inhibition controller and dynamic adaptive hierarchical architecture, realize the coordinated control of multiple agents in MAS; In S11, for the i-th agent, the high-order random nonlinear system of its dynamic behavior at time t is It is expressed as: (1); In the formula, is the state vector of the ith agent at time t, is the set of state vectors of the agent, That is, the state vector of the jth agent at time t; and are the nonlinear functions of the i-th agent and the j-th agent respectively; is the external interference of the ith agent at time t; is the control input of the ith agent at time t; a ij is an element of the adjacency matrix, representing the connection weight between the i-th agent and the j-th agent; t represents time; In S13, the global state vector of MAS is defined for: (2); Then the dynamic system of MAS is expressed as: (3); (4); (5); (6); (7); Where A is the adjacency matrix; is the external disturbance at time t; is the control input at time t; In the above S14, the control target of MAS is: Global stability makes MAS Converge to the desired trajectory ; Output constraints, during the control process, the output of each agent satisfies the pre-defined constraints, which is ,in is the set of output constraints of the ith agent; Collaborative working performance, ensuring that all agents can work together and achieve global optimization while satisfying constraints; Therefore, the high-order dynamic inhibition control theorem is set, specifically, considering The dynamic behavior of The design of satisfies formula (8), then MAS It is globally asymptotically stable under bounded conditions and satisfies the output constraints , formula (8) is: (8); In the formula, is the error vector at time t, is the expected vector of the ith agent at time t; k i is a positive definite gain matrix; is a nonlinear feedback function; is the compensation term at time t and satisfies: (9); In the formula, is the state of the jth agent at time t; In the above S15, the process of introducing high-order arbitrary dynamics into the high-order dynamic suppression control theorem, obtaining the high-order arbitrary dynamics weighted control law, and completing the construction of the high-order dynamic suppression controller is as follows: S151, Consider The nth derivative of , the control law after introducing high-order arbitrary dynamics is expressed as: (10); Where m is a constant, yes The m-th order derivative of , m≤n; is the weighting coefficient of the higher-order derivative terms; S152, further expand the high-order derivative terms, assuming It is expressed as: (11); In the formula, is the coefficient of the m-th order derivative, which is used to represent the weight of each agent; That is, t raised to the power of order m; then It is expressed as: (12); S153, integrating equations (10), (11) and (12), the final high-order arbitrary dynamic weighted control law is obtained, which is expressed as: (13); In the above S21, the process of establishing the positive and negative feedback control function is as follows: S211, for the pre-processed EEG signal matrix , there is an optimization strategy so that The error in task identification and execution of MAS at time t within the time interval satisfy: (14); In the formula, t0 represents the starting time; t f Indicates the end time; is the task label vector at time t; is the task allocation matrix at time t; is the desired task label; Assign matrices to the desired tasks; The preprocessing method is to use a bandpass filter to remove noise and artifacts in the EEG signal to obtain , expressed as: (15); In the formula, is the original EEG signal matrix, is the filter matrix; S212, using wavelet transform, Perform time-frequency domain conversion to obtain the time-frequency matrix , where CWT represents wavelet transform; S213, using principal component analysis PCA to reduce dimension, eigenvector ,in is the PCA transformation matrix; S214, separate the mixed signal by independent component analysis ICA to obtain the independent component matrix ,in is the ICA transformation matrix; S215. In positive feedback, the error function of the kth agent at time t Adjust the task label vector and task assignment matrix in real time to minimize the error, that is, , according to formula (14), we get the optimal feedback control at time t : (16); Where f is the positive and negative feedback control function. If f1 is the positive feedback control function and f2 is the negative feedback control function, then there exists and , so that the positive feedback is expressed as: (17); Where α is the learning rate, β is the discount factor; The reverse feedback is expressed as: (18); In the formula, , , They are the filter matrix, PCA transformation matrix and ICA transformation matrix at time t respectively; , and Represent the motivational error functions of Agent 1, Agent 2, and Agent 3 at time t, respectively. , and ; , and are the interference error functions of the kth agent on three different types of comprehensive agents; Among them, the external environment is equivalent to agent 1, the controlled agent is equivalent to agent 2, and the BCI is equivalent to agent 3. The three different types of comprehensive agents are the agent categories represented by agent 1, agent 2 and agent 3; In the above S22, the process of dynamically adjusting the interference of multiple initial inputs to the agent is as follows: S221, for N agents including BCI, agent state It is expressed as: (19); The elements in represent the states of each agent at time t; Action selection of the agent It is expressed as: (20); The elements in represent the action choices of each agent at time t; S222, Settings represents the state and action value function of the kth agent, represent The elements in represent The elements in , under the premise of satisfying the high-order dynamic inhibition control theorem: (21); In the formula, Represents the iterated , Represents the iterated ; r i is the reward function; expressed as: (22); S223, the interference of multiple initial inputs to the kth agent is expressed as ,according to Dynamic Adjustment , expressed as: (23); In the formula, is the adjustment step size; About The gradient of represents the interference of multiple initial inputs to the kth agent at time t; In the above S23, the process of establishing the update rules of the positive and negative feedback control is as follows: S231, define gain matrices x1 and x2, let: (24); S232. Define the control strategy at time t for: (25); In the formula, and are the control gain matrices of BCI and external disturbance respectively; S233. Combining equation (17) and equation (18), set the rule: (26); (27); The rule composed of equation (26) and equation (27) is the bidirectional control theory; S234. For each moment t: (28); S235, Agent Execution And observe and the state at the next moment , x1 and x2 are adjusted to: (29); (30); At this point, the dynamic adaptive hierarchical architecture based on the high-order dynamic suppression controller is completed.
2. The multi-agent cooperative control method based on a high-order dynamic inhibition controller according to claim 1 is characterized in that: In the above S12, the assumption about the nonlinear function is: and About and A smooth function that satisfies and ; The assumptions about external disturbances are: is bounded, that is, there is a constant , so that .
3. The multi-agent cooperative control method based on a high-order dynamic inhibition controller according to claim 1 is characterized in that: In the S223, adjust The specific steps are: S2231, initialize each agent and ; S2232. For each time step, each agent first observes the state at the current moment. , and then choose the action according to the greedy strategy , and finally execute And observe and the state at the next moment , update this and ; is the reward function at time t.
Citation Information
Patent Citations
Design method of novel event-triggered dynamic compensator control protocol
CN115220340A
Nonlinear active suspension constraint interference suppression method with preset attenuation performance
CN115958931A
Multi-agent power system distributed control method and system
CN117055360A
Novel time-varying gain multi-agent cooperative control method
CN117389152A
Multi-agent fractional order linear system PD alpha-type iterative learning control method
CN117420753A
