Multi-agent cooperative active-disturbance-rejection control method and device based on control barrier function
Through the multi-agent collaborative self-immunity control method based on control obstacle function, the expanded state observer and gradient descent strategy are used to solve the safety and robustness of the multi-agent system in the disturbed environment, and the uncertainty is achieved System stable control under conditions.
Patent Information
- Application Number
- CN202410939892.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-05
AI Technical Summary
The existing multi-agent security control algorithms are seriously affected when facing disturbances, rely too much on the model, and are difficult to apply, making it difficult to effectively realize system security and constraint satisfaction in practice.
The self-immunity control method of multi-agents based on control obstacle function is adopted, and the self-immunity control standard model is constructed through the dynamic model of the second-order agent system, and a coordinated control strategy of expanded state observers and gradient descent is introduced to reduce the impact of disturbance. Improve robustness.
When the system model is unknown or partially known, the system state is estimated in real time and disturbances are suppressed, the dependence of the control obstacle function on the model is reduced, ensuring that the agent operates within a safe range, and improving the robustness and system stability of multiple agents. sex.
Smart Images

Figure CN118897463A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of multi-agent control, and more specifically, to a multi-agent collaborative self-disturbance rejection control method, medium and equipment based on a control obstacle function. Background Art
[0002] With the development of complex system theory, multi-agent system has become one of the frontier disciplines in the field of complex systems. Multi-agent system involves the interaction and collaboration of multiple agents in a shared environment. Multi-agent safety is the prerequisite for the multi-agent system to function. Controlling the multi-agent system to complete the set goals under the premise of ensuring the safety of the agents can ensure the stability and reliability of the system, enhance the fault tolerance, and promote the widespread application of multi-agent systems. Therefore, it is very meaningful to study a multi-agent safety control method.
[0003] The Control Barrier Function (CBF) method is a technology used to ensure the safety and constraint satisfaction of control systems. It has been widely used in the fields of automatic control, robotics, and autonomous driving. In the actual operation of multi-agents, they face various disturbances and uncertainties from the external environment or changes in the system. These disturbances may include factors such as sensor noise, communication delays, dynamic environmental changes, failures, and attacks, which will have an adverse effect on the perception, decision-making, and execution capabilities of the agent. Most of the existing methods for using CBF strategies to achieve multi-agent safety are completed under ideal conditions where the model is known and the impact of disturbances is not considered. In practice, it is difficult to achieve or cannot achieve the expected results. In short, the multi-agent safety control algorithm in the existing technology has problems such as being severely affected by disturbances, over-reliance on models, and difficulty in application. Summary of the invention
[0004] The purpose of the present invention is to provide a multi-agent collaborative self-disturbance rejection control method, medium and equipment based on a control obstacle function, which can reduce the impact of disturbances on the system and improve the robustness of the multi-agent.
[0005] The present invention provides a multi-agent collaborative auto-disturbance rejection control method based on a control obstacle function, comprising the following steps: S1: obtaining a standard auto-disturbance rejection control model of a second-order intelligent agent system according to a dynamic model of the second-order intelligent agent system; S2: obtaining model 1 according to the standard auto-disturbance rejection control model of the second-order intelligent agent system; constructing a linear extended state observer and a control law according to model 1; S3: constructing model 2 using a control obstacle function method based on an extended state observer; obtaining an estimated system and an estimated state according to model 2 using the extended state observer; S4: constructing a collaborative controller according to a control obstacle function and an expected error using a collaborative control strategy based on gradient descent; S5: obtaining a new collaborative controller according to the collaborative controller using a flexible term; S6: performing collaborative control on multiple agents according to model 1, the linear extended state observer, the control law, model 2, the estimated system, the estimated state and the new collaborative controller.
[0006] Furthermore, step S1 of the multi-agent cooperative active disturbance rejection control method based on the control obstacle function specifically includes: according to the dynamic model of the second-order agent system, a standard model of the active disturbance rejection control of the second-order agent system is obtained, such as formula:
[0007]
[0008] in, is the second-order derivative of the state matrix of the system, is the first-order derivative of the state matrix of the system, x is the state matrix of the system, M and C are the parameter matrices of the system, B is the output matrix, u is the input matrix of the system, d is the disturbance and noise of the system, and x i is the state of the ith agent, is the derivative of the state 1 of the ith agent, x 2,i is the state 2 of the i-th agent, is the derivative of the state 2 of the ith agent, x 3,i is the expansion state of the ith agent, is the derivative of the expanded state of the ith agent, is the rate of change of the total disturbance of the ith agent, f(x i ,d) is the total disturbance of the ith agent, x 1,i is the state 1 of the i-th agent.
[0009] Furthermore, step S2 of the multi-agent cooperative ADRC method based on the control obstacle function specifically includes: according to the standard model of the ADRC of the second-order agent system, using the second-order ADRC method, model 1 is obtained, and model 1 is a model without safety constraints; according to model 1, a linear extended state observer and control law are constructed, such as formula:
[0010]
[0011] β 01 ,β 02 ,β 03 >0
[0012]
[0013] in, is the rate of change matrix of the state of model 1, A is the state transfer matrix, x(t) is the system state matrix, B is the input matrix, u 1 (t) is the system input of model 1, E is the disturbance observation matrix, f(t,x i ,d) is the total disturbance of model 1 at time t, y(t) is the output of model 1 at time t, C is the output matrix, e(t) is the output observation error of model 1, Output estimates for model 1 at time t, is the system state observation, L is the observer gain matrix, is the observed value of state 1, is the observed value of state 2, is the observed value of the expansion state, β 01 , β 02 , β 03 is the observer coefficient, u 0 (t) is the output of the negative feedback controller, k 1 , k 2 is the controller parameter, r(t) is the desired setting value, b 1 Output parameters for the Model 1 system.
[0014] Furthermore, step S3 of the multi-agent cooperative anti-disturbance control method based on the control obstacle function specifically includes: using the control obstacle function method based on the extended state observer to construct model 2, where model 2 is a safety constraint model; according to model 2, using the extended state observer, an estimated system and an estimated state are obtained, such as the formula:
[0015]
[0016]
[0017] β 1 ,β 2 >0
[0018]
[0019] u * =arg min||uu 2 || 2
[0020]
[0021] in, is the rate of change of the state of model 2, g(t,q,w) is the total disturbance of the system, including the external disturbance w and internal disturbance of the agent, u 2 is the system input of model 2 and the output of the ADRC, b 2 Output parameters of the model 2 system, e 1 is the system output observation error of model 2, q 1 is the state of model 2, is the system state observation of model 2, is the rate of change of the observed state of model 2, β 1 , β 2 is the observer coefficient, is the rate of change of the model uncertainty estimate for Model 2, is the rate of change of the transformed affine model state estimate, is the uncertain part of model 2, is the uncertainty part of the output of model 2, C is the safety constraint definition of model 2, h(q) is the control obstacle function, u * is the optimal value of the control output of model 2, arg is the complex angle, min is the minimum value, ||·|| is the norm, u is the control input, st means it is constrained by, L f , L g is the Lie derivative, is the control obstacle function under the estimated state, α is an increasing function, k is the controller parameter, is the system state observation of model 2, r 1 (t) is the expected output of model 2.
[0022] Furthermore, step S4 of the multi-agent cooperative anti-disturbance control method based on the control obstacle function specifically includes: constructing a cooperative controller according to the control obstacle function and the expected error by using a cooperative control strategy based on gradient descent, such as formula:
[0023]
[0024] Among them, k 3 is the synergistic optimization factor, To control the gradient of the barrier function, It is a collaborative robust optimization item, which reduces the impact of the safety-constrained system on the adjacent system and determines the degree of system coordination; u * is the optimal value of the improved model control output, γ is the influencing factor, which is used to minimize the error between the system without safety constraints and the expected value. Observe state 1 for model 1.
[0025] Furthermore, step S5 of the multi-agent cooperative anti-disturbance control method based on the control obstacle function specifically includes: according to the cooperative controller, using the flexible term, a new cooperative controller is obtained, such as formula:
[0026]
[0027] in, is the flexible term, k 4 is the flexibility parameter, is the observed state change rate of model 2.
[0028] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned multi-agent collaborative self-disturbance rejection control method based on the control obstacle function.
[0029] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the multi-agent collaborative self-disturbance rejection control method based on the control obstacle function are implemented.
[0030] The multi-agent cooperative anti-disturbance control method, medium and device based on the control obstacle function provided by the present invention have the following beneficial effects:
[0031] The present invention draws on the core idea of self-disturbance rejection control, introduces an extended state observer, and proposes a control barrier function method based on the extended state observer. The method can estimate the system state and the total disturbance of the system when the system model is unknown or partially known, and eliminate and suppress it in real time, thereby reducing the dependence of the control barrier function method on the system model. The present invention proposes a collaborative control framework based on the gradient descent method, which collaboratively controls multiple agents with safety constraints and agents without safety constraints, thereby solving the system safety problem caused by strong coupling of the system, so that the agents with safety constraints are always kept within the safety range, and the control target is as close to the set value as possible. The present invention can overcome the problems of multi-agent safety control algorithms in the prior art, such as being seriously affected by disturbances, over-reliance on models, and difficulty in application, and can reduce the impact of disturbances on the system and improve the robustness of multi-agents. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0033] Figure 1 It is a flow chart of the multi-agent cooperative anti-disturbance control method based on the control obstacle function provided by the present invention;
[0034] Figure 2It is an algorithm flow chart of the collaborative active disturbance rejection control method based on the control obstacle function provided by the present invention;
[0035] Figure 3 It is a schematic diagram of the exhaust main pipe and compressor model provided by the present invention;
[0036] Figure 4 It is a comparison between the results of the separate control provided by the present invention and the collaborative control with the addition of safety constraints;
[0037] Figure 5 It is a comparison diagram of the control effects of the invention algorithm with and without flexible terms provided by the present invention;
[0038] Figure 6 It is a structural block diagram of the computer device provided by the present invention. DETAILED DESCRIPTION
[0039] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0040] Figure 1 A schematic diagram of a multi-agent collaborative anti-disturbance control method based on a control obstacle function of this embodiment is shown. In this embodiment, the multi-agent collaborative anti-disturbance control method based on a control obstacle function comprises the following steps:
[0041] S1: Based on the dynamic model of the second-order intelligent agent system, the standard model of the active disturbance rejection control of the second-order intelligent agent system is obtained;
[0042] Specifically, step S1 of the multi-agent cooperative automatic disturbance rejection control method based on the control obstacle function includes: according to the dynamic model of the second-order agent system, a standard automatic disturbance rejection control model of the second-order agent system is obtained, such as formula:
[0043]
[0044] in, is the second-order derivative of the state matrix of the system, is the first-order derivative of the state matrix of the system, x is the state matrix of the system, M and C are the parameter matrices of the system, B is the output matrix, u is the input matrix of the system, d is the disturbance and noise of the system, and x i is the state of the ith agent, is the derivative of the state 1 of the ith agent, x 2,i is the state 2 of the i-th agent, is the derivative of the state 2 of the ith agent, x 3,i is the expansion state of the ith agent, is the derivative of the expanded state of the ith agent, is the rate of change of the total disturbance of the ith agent, f(x i ,d) is the total disturbance of the ith agent, x 1,i is the state 1 of the i-th agent;
[0045] S2: Based on the standard model of the second-order intelligent system's active disturbance rejection control, we get Model 1. Based on Model 1, we construct a linear extended state observer and control law.
[0046] Specifically, step S2 of the multi-agent cooperative automatic disturbance rejection control method based on the control obstacle function includes: according to the standard automatic disturbance rejection control model of the second-order agent system, using the second-order automatic disturbance rejection control method, obtaining model 1, which is a model without safety constraints; according to model 1, constructing a linear extended state observer and control law, such as formula:
[0047]
[0048]
[0049] β 01 ,β 02 ,β 03 >0
[0050]
[0051] in, is the rate of change matrix of the state of model 1, A is the state transfer matrix, x(t) is the system state matrix, B is the input matrix, u 1 (t) is the system input of model 1, E is the disturbance observation matrix, f(t,x i ,d) is the total disturbance of model 1 at time t, y(t) is the output of model 1 at time t, C is the output matrix, e(t) is the output observation error of model 1, Output estimate for model 1 at time t, is the system state observation, L is the observer gain matrix, is the observed value of state 1, is the observed value of state 2, is the observed value of the expansion state, β 01 , β 02 , β 03 is the observer coefficient, u 0 (t) is the output of the negative feedback controller, k 1 , k 2 is the controller parameter, r(t) is the desired setting value, b 1 Output parameters for model 1 system;
[0052] S3: Using the control barrier function method based on the extended state observer, construct model 2; according to model 2, using the extended state observer, obtain the estimated system and estimated state;
[0053] Specifically, step S3 of the multi-agent cooperative anti-disturbance control method based on the control obstacle function includes: using the control obstacle function method based on the extended state observer to construct model 2, where model 2 is a safety constraint model; according to model 2, using the extended state observer, an estimated system and an estimated state are obtained, as shown in the formula:
[0054]
[0055] β 1 ,β 2 >0
[0056]
[0057] u * =arg min||uu 2 || 2
[0058]
[0059] in, is the rate of change of the state of model 2, g(t,q,w) is the total disturbance of the system, including the external disturbance w and internal disturbance of the agent, u 2 is the system input of model 2 and the output of the ADRC, b 2 Output parameters of model 2 system, e 1 is the system output observation error of model 2, q 1 is the state of model 2, is the system state observation of model 2, is the rate of change of the observed state of model 2, β 1 , β 2 is the observer coefficient, is the rate of change of the model uncertainty estimate for Model 2, is the rate of change of the transformed affine model state estimate, is the uncertain part of model 2, is the uncertainty part of the output of model 2, C is the safety constraint definition of model 2, h(q) is the control obstacle function, u * is the optimal value of the control output of model 2, arg is the complex angle, min is the minimum value, ||·|| is the norm, u is the control input, st means it is constrained by, L f , L g is the Lie derivative, is the control obstacle function under the estimated state, α is an increasing function, k is the controller parameter, is the system state observation of model 2, r 1 (t) is the expected output of model 2;
[0060] S4: According to the control obstacle function and the expected error, a collaborative controller is constructed using a collaborative control strategy based on gradient descent;
[0061] Specifically, step S4 of the multi-agent cooperative anti-disturbance control method based on the control obstacle function includes: constructing a cooperative controller according to the control obstacle function and the expected error by using a cooperative control strategy based on gradient descent, such as formula:
[0062]
[0063] Among them, k 3 is the synergistic optimization factor, To control the gradient of the barrier function, It is a collaborative robust optimization item, which reduces the impact of the safety-constrained system on the adjacent system and determines the degree of system coordination; u * The optimal value of the improved control output of model 2, γ is the influencing factor, which is used to minimize the error between the system without safety constraints and the expected value. Observe state 1 for model 1;
[0064] S5: Based on the collaborative controller, a new collaborative controller is obtained by using the flexible term;
[0065] Specifically, step S5 of the multi-agent cooperative anti-disturbance control method based on the control obstacle function includes: according to the cooperative controller, using the flexible term, a new cooperative controller is obtained, such as formula:
[0066]
[0067] in, is the flexible term, k 4 is the flexibility parameter, is the rate of change of the observed state of model 2;
[0068] S6: Coordinated control of multiple agents based on model 1, linear extended state observer, control law, model 2, estimated system, estimated state and new cooperative controller.
[0069] In some embodiments, the above-mentioned multi-agent collaborative anti-disturbance control method based on control obstacle function can also be implemented in the following way.
[0070] In this embodiment, the multi-agent collaborative anti-disturbance control method based on the control obstacle function includes the following steps:
[0071] Step 1) For a general second-order agent system, it can be written as follows:
[0072]
[0073] Among them, x is the state matrix of the system, u is the input matrix of the system, B is the output matrix, M and C are the parameter matrices of the system, and d is the disturbance and noise of the system; then rewrite the above dynamic model into the standard form of active disturbance rejection control:
[0074]
[0075] Among them, x i is the state of the ith agent, f(x i ,d) is the total disturbance of the ith agent;
[0076] Step 2) Take one model as a model without safety constraints and the other as a model with safety constraints. Assume that model 1 has no safety constraints and model 2 has safety constraints. Model 1 is controlled by the second-order active disturbance rejection control method, and model 2 is controlled by the control barrier function method based on the extended state observer. Due to the coupling relationship between the models, the control of the two methods alone is not enough to meet the expected requirements. The gradient descent method is used to design a collaborative control strategy to improve the controller. The specific algorithm flow is as follows: Figure 2 As shown;
[0077] Step 3) Design an ADRC for model 1 as follows:
[0078] Model 1 The system can be expressed in the form of a state equation:
[0079]
[0080] Design a linear extended state observer for it:
[0081]
[0082] Therefore, its control law is designed as:
[0083]
[0084] Among them, r(t) is the expected setting value, u 1 is the system input of model 1, k 1 , k 2 is the controller parameter, b 1 Output parameters for the model 1 system, is the system state observation, β 01 , β 02 , β 03 is the observer coefficient, β01 ,β 02 ,β 03 >0;
[0085] Step 4) Design a control barrier function controller for model 2. Assume that the model 2 system is unknown. Infer the model order based on the known model information. Assume that model 2 is an unknown first-order model. Design the controller as follows:
[0086] Suppose the system model of model 2 is estimated, and the estimated model is obtained. Assume that the system model is:
[0087]
[0088] Among them, g(t,q,w) is the total disturbance of the system, including the external disturbance w and internal disturbance of the agent, u 2 is the system input of model 2, that is, the output of the ADRC, b 2 Output parameters for model 2;
[0089] Design an extended state observer to obtain the estimated system and estimated state:
[0090]
[0091] Therefore, the estimated system is:
[0092]
[0093] in, is the state observation of the model 2 system, β 1 , β 2 is the observer coefficient, β 1 ,β 2 >0;
[0094] Systematize the estimate as an affine system:
[0095]
[0096] Define the security domain according to the security constraints of Model 2: According to the control barrier function, when h(q)≥0, the system is in the safe set;
[0097] Therefore, when the system satisfies , the system is always in the safe range; where h(q) is the control obstacle function, α is an increasing function, and L f ,L g is the Lie derivative. This inequality indicates that the control input u should make the system state not leave the safe area;
[0098] In order to solve the control input that satisfies the control barrier function constraint, it can be transformed into a constrained optimization problem; the goal is to minimize a certain performance indicator while satisfying the control barrier function constraint; the problem is transformed into a quadratic programming problem:
[0099] u * =arg min||uu 2 || 2
[0100]
[0101] Among them, u 2 is the system input of model 2, that is, the output of the ADRC, k is the controller parameter, r 1 (t) is the expected output of model 2;
[0102] Step 5) Due to system coupling, the system without safety constraints will affect the control of the system with safety constraints, causing the system to be in an unsafe situation; therefore, a collaborative control strategy based on gradient descent is designed to eliminate the coupling effect between adjacent agents; according to the control obstacle function and the expected error, a collaborative control strategy is designed, and the collaborative controller is as follows:
[0103] Model 1:
[0104]
[0105] in, is a collaborative robust optimization term, which reduces the impact of the safety constraint system on the adjacent system. 3 is the collaborative optimization factor, which determines the degree of system collaboration. is the gradient of the control barrier function;
[0106] Model 2:
[0107]
[0108] Among them, γ is the influence factor, which is used to ensure that the error between the system without safety constraints and the expected value is minimized;
[0109] Step 6) To solve the problems of large controller output jitter, overshoot and jitter of the control quantity, a flexible term is added to the controller to reduce the large impact caused by large deviation of the set value. The design is as follows:
[0110]
[0111] in, is the flexible term, k 4 is a flexible parameter.
[0112] In some embodiments, the above-mentioned multi-agent cooperative self-disturbance rejection control method based on the control obstacle function can also be implemented in the following way. This embodiment takes the compressor exhaust as an example, and its model can be divided into two parts: the exhaust main pipe and the compressor model; the numerous valves in the system are regarded as agents to construct a multi-agent system; the control goal is to minimize the deviation between the main pipe pressure and the set pressure while ensuring that the compressor pressure ratio is within a safe range; its model is as follows Figure 3 As shown;
[0113] Model 1 can be described as:
[0114]
[0115] Among them, a 1 ,a 2 is the model parameter; b is the controller input gain; w is the external disturbance caused by the inlet valve and compressor after the exhaust main pipe to the system, k a ,k b ,k Q ,ω n is the system time-varying parameter;
[0116] Model 2 adopts the estimation method, and Model 2 can be described as:
[0117]
[0118] The model is rewritten into the standard form of the aforementioned method; the main pipe pressure setting value is set to 20Kp, which is reduced to 15Kp at 350s and increased to 30Kp at 480s. It is required that the compressor pressure ratio is always within the safe pressure ratio range during this process, and the safe pressure ratio range is set to 4.0-6.0;
[0119] Adjust the controller parameters, and the simulation results are as follows: Without adding the flexible term, the simulation results of the exhaust main pressure, compressor pressure ratio, inlet valve opening, and air supply valve opening are compared without considering the safety constraints and considering the safety constraints, adding cooperative control and control obstacle function. Figure 4 As shown in the figure, the control effect of the proposed multi-agent cooperative anti-disturbance control method based on the control obstacle function is compared with that without adding the flexible term. The simulation results are shown in Figure 5 As shown;
[0120] The simulation results show that although the single control can achieve the expected goal, it ignores the safety factor. The invented method can be as close to the expected set value as possible under the premise of meeting the system safety, which is more in line with the actual application needs. After adding the flexible term, the control fluctuation is significantly reduced, and the effect is remarkable.
[0121] This embodiment verifies the effectiveness and superiority of the multi-agent collaborative self-disturbance rejection control method based on the control obstacle function designed in this embodiment through theoretical analysis and simulation verification, combined with simulation comparison.
[0122] This embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the multi-agent cooperative anti-disturbance control method based on the control obstacle function are implemented. The storage medium may be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memory.
[0123] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the above-mentioned multi-agent collaborative self-disturbance rejection control method based on the control obstacle function are implemented.
[0124] like Figure 6As shown, the computer device may include: at least one processor 121, such as a CPU (Central Processing Unit), at least one communication interface 123, a memory 124, and at least one communication bus 122. Among them, the communication bus 122 is used to realize the connection and communication between these components. Among them, the communication interface 123 may include a display screen (Display), a keyboard (Keyboard), and the optional communication interface 123 may also include a standard wired interface and a wireless interface. The memory 124 may be a high-speed RAM memory (Random Access Memory, volatile random access memory) or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 124 may also be at least one storage device located away from the aforementioned processor 121. Among them, the memory 124 stores an application program, and the processor 121 calls the program code stored in the memory 124 to perform any of the above method steps. Among them, the communication bus 122 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus 122 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6Only one line is used to represent it, but it does not mean that there is only one bus or one type of bus. Among them, the memory 124 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 124 may also include a combination of the above-mentioned types of memory. Among them, the processor 121 may be a central processing unit (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of CPU and NP. Among them, the processor 121 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (English: application-specific integrated circuit, abbreviated: ASIC), a programmable logic device (English: programmable logic device, abbreviated: PLD) or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. Optionally, the memory 124 is also used to store program instructions. The processor 121 can call program instructions to implement the multi-agent collaborative self-disturbance rejection control method based on the control obstacle function of the present embodiment.
[0125] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A multi-agent cooperative active disturbance rejection control method based on control obstacle function, characterized in that: The following steps are involved: S1: Based on the dynamic model of the second-order intelligent agent system, the standard model of the active disturbance rejection control of the second-order intelligent agent system is obtained; S2: Based on the standard model of the second-order intelligent system's active disturbance rejection control, we get Model 1. Based on Model 1, we construct a linear extended state observer and control law. S3: constructing model 2 by using a control barrier function method based on an extended state observer; obtaining an estimated system and an estimated state by using the extended state observer according to the model 2; S4: According to the control obstacle function and the expected error, a collaborative controller is constructed using a collaborative control strategy based on gradient descent; S5: According to the collaborative controller, a new collaborative controller is obtained by using the flexible item; S6: Based on the model 1, the linear extended state observer, the control law, the model 2, the estimated system, the estimated state and the new collaborative controller, the multi-agent is collaboratively controlled.
2. The multi-agent cooperative active disturbance rejection control method based on control obstacle function according to claim 1 is characterized in that: Step S1 specifically includes: according to the dynamic model of the second-order intelligent agent system, obtaining the standard model of the automatic disturbance rejection control of the second-order intelligent agent system, such as the formula: in, is the second-order derivative of the state matrix of the system, is the first-order derivative of the state matrix of the system, x is the state matrix of the system, M and C are the parameter matrices of the system, B is the output matrix, u is the input matrix of the system, d is the disturbance and noise of the system, and x i is the state of the ith agent, is the derivative of the state 1 of the ith agent, x 2,i is the state 2 of the ith agent, is the derivative of the state 2 of the ith agent, x 3,i is the expansion state of the ith agent, is the derivative of the expanded state of the ith agent, is the rate of change of the total disturbance of the ith agent, f(x i ,d) is the total disturbance of the ith agent, x 1,i is the state 1 of the i-th agent.
3. The multi-agent cooperative active disturbance rejection control method based on control obstacle function according to claim 1 is characterized in that: Step S2 specifically includes: according to the standard model of the second-order agent system's active disturbance rejection control, using the second-order active disturbance rejection control method, obtaining model 1, wherein model 1 is a model without safety constraints; according to model 1, constructing a linear extended state observer and control law, such as formula: β 01 ,β 02 ,β 03 >0 in, is the rate of change matrix of the state of model 1, A is the state transfer matrix, x(t) is the system state matrix, B is the input matrix, u1(t) is the system input of model 1, E is the disturbance observation matrix, f(t,x i ,d) is the total disturbance of model 1 at time t, y(t) is the output of model 1 at time t, C is the output matrix, e(t) is the output observation error of model 1, Output estimates for model 1 at time t, is the system state observation, L is the observer gain matrix, is the observed value of state 1, is the observed value of state 2, is the observed value of the expansion state, β 01 , β 02 , β 03 is the observer coefficient, u0(t) is the negative feedback controller output, k1 and k2 are controller parameters, r(t) is the expected setting value, and b1 is the output parameter of the model 1 system.
4. The multi-agent cooperative active disturbance rejection control method based on control obstacle function according to claim 1 is characterized in that: Step S3 specifically includes: constructing model 2 using a control barrier function method based on an extended state observer, wherein model 2 is a safety-constrained model; and obtaining an estimated system and an estimated state using an extended state observer according to model 2, as shown in formula: β1,β2>0 in, is the rate of change of the state of model 2, g(t,q,w) is the total disturbance of the system, including the external disturbance w and internal disturbance of the agent, u2 is the system input of model 2 and the output of the anti-disturbance controller, b2 is the output parameter of the system of model 2, e1 is the observation error of the system output of model 2, q1 is the state of model 2, is the system state observation of model 2, is the rate of change of the observed state of model 2, β1 and β2 are the observer coefficients, is the rate of change of the model uncertainty estimate for Model 2, is the rate of change of the transformed affine model state estimate, is the uncertain part of model 2, is the uncertainty part of the output of model 2, C is the safety constraint definition of model 2, h(q) is the control obstacle function, u * is the optimal value of the control output of model 2, arg is the complex angle, min is the minimum value, ||·|| is the norm, u is the control input, st means it is constrained by, L f , L g is the Lie derivative, is the control obstacle function under the estimated state, α is an increasing function, k is the controller parameter, is the system state observation of model 2, and r1(t) is the expected output of model 2.
5. The multi-agent cooperative active disturbance rejection control method based on control obstacle function according to claim 1 is characterized in that: Step S4 specifically includes: constructing a collaborative controller according to the control obstacle function and the expected error using a collaborative control strategy based on gradient descent, such as formula: Among them, k3 is the collaborative optimization factor, To control the gradient of the barrier function, It is a collaborative robust optimization item, which reduces the impact of the safety-constrained system on the adjacent system and determines the degree of system coordination; u * is the optimal value of the improved model control output, γ is the influencing factor, which is used to minimize the error between the system without safety constraints and the expected value. Observe state 1 for model 1.
6. The multi-agent cooperative active disturbance rejection control method based on control obstacle function according to claim 1 is characterized in that: Step S5 specifically includes: according to the collaborative controller, using the flexible term, a new collaborative controller is obtained, such as formula: in, is the flexible term, k4 is the flexible parameter, is the observed state change rate of model 2.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multi-agent collaborative anti-disturbance control method based on the control obstacle function as claimed in any one of claims 1 to 6 are implemented.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the steps of the multi-agent collaborative self-disturbance rejection control method based on the control obstacle function as described in any one of claims 1-6.
