Non-affine multi-agent dynamic event-triggered tracking control method in an asynchronous framework
Through the asynchronous framework and dynamic event triggering control method, the challenges of communication delay and controller life of non-affine multi-agent systems are solved, multi-agent collaborative tracking control and resource saving are achieved, and control efficiency and accuracy are improved. .
Patent Information
- Application Number
- CN202210937157.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-08-05
AI Technical Summary
It is difficult to effectively control non-affine multi-agent systems with existing technologies, especially in terms of communication latency and controller life, and it is difficult to simultaneously optimize performance and resource conservation.
Adopt the non-affine multi-agent dynamic event trigger tracking control method under the asynchronous framework, and achieve optimal control by designing cost functions, model identifiers, asynchronous communication transmission triggers and dynamic event trigger controllers, combined with reinforcement learning and event trigger ideas device design.
It realizes collaborative tracking control of multi-agent systems, reduces communication resource consumption and microprocessor triggering frequency, extends the service life of the controller, adapts to input amplitude constraints, and improves control efficiency and accuracy.
Smart Images

Figure CN115327901B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of robot control and relates to a non-affine multi-agent dynamic event triggering tracking control method under an asynchronous framework. Background Art
[0002] In recent years, various intelligent control technologies have flourished. Among them, reinforcement learning, as a branch of machine learning, has attracted the attention of more scientific researchers, especially after the application of AlphaGo. Its technical ideas have gradually penetrated into the control problems of many complex robot systems. For example, the foreign literature "A novel actor-critic-identifier architecture for approximate optimal control of uncertain nonlinear systems" uses AC networks to solve the control problems of uncertain nonlinear systems. The domestic literature "Two-wheeled robot posture balance control based on fuzzy reinforcement learning" proposes a method based on fuzzy reinforcement learning (Fuzzy-Q) to solve the inherent static instability problem of two-wheeled robots in stationary conditions.
[0003] In real life, many robot system models are non-affine structures, such as vibration systems, biochemical systems, mechanical systems, aircraft systems, etc. In addition, communication delay is an inevitable phenomenon in distributed multi-robot control. The non-affine models established by these systems cannot directly apply the control methods used by affine models to control the system. Therefore, the controller design of non-affine systems is very challenging. The existing non-affine control methods include: ①Taylor series expansion to convert non-affine functions into affine functions; ②Processing non-affine systems based on the mean value theorem and implicit function theorem; ③Using direct or indirect adaptive control strategies; ④Using neural network approximation technology, etc.
[0004] On the other hand, for specific microprocessor controllers, in order to save communication resources and increase the life of the controller, the idea of event triggering has now penetrated into the controller design. For example: the foreign literature "Event-triggered control for input constrained non-affine nonlinear systems based on neuro-dynamic programming" proposed a controller design for non-affine systems using event triggering. "Event-triggered adaptive critic control design for discrete-time constrained nonlinear systems" combines the idea of reinforcement learning event triggering to design controllers for discrete nonlinear systems. The patent "An event-triggered multi-robot distributed collaborative control method" proposes to effectively reduce the interaction frequency between robots and the number of controller executions, saving communication overhead while realizing a distributed collaborative control method for multiple robots.
[0005] In the real scenarios faced by robots in actual control, various problems such as non-affine structure, controller life, input amplitude limitation, model nonlinear characteristics, performance optimization, communication transmission delay, etc. are all constraints on controller design. Therefore, it is very challenging to solve a controller for these problems at the same time. Summary of the invention
[0006] In view of this, the purpose of the present invention is to provide a non-affine multi-agent dynamic event-triggered tracking control method under an asynchronous framework. A cost function is designed for each agent so that each agent can achieve the minimum cost in the tracking control process, thereby calculating the optimal controller. At the same time, in order to avoid dependence on the model, a model identifier is designed. Considering the communication burden between agents and the service life of the controller, an asynchronous communication transmission trigger and an asynchronous dynamic event-triggered controller are designed, thereby saving communication resources and the triggering frequency of the microprocessor. Combined with the method of reinforcement learning and dynamic event-triggered control and considering the constraints on the input amplitude, the final approximate optimal controller is obtained, thereby realizing the collaborative tracking control of the multi-robot system.
[0007] In order to achieve the above object, the present invention provides the following technical solutions:
[0008] A non-affine multi-agent dynamic event-triggered tracking control method under an asynchronous framework, the method comprising the following steps:
[0009] S1: Establish identification system model;
[0010] S2: Analysis of asynchronous communication framework and controller framework;
[0011] S3: Solve asynchronous dynamic event-triggered controllers based on reinforcement learning.
[0012] Optionally, the S1 is specifically:
[0013] First, abstract the model for the non-affine system:
[0014]
[0015] Where i represents the i-th agent in the multi-agent system, Indicates the system status. represents the control input, Represents the non-affine mapping relationship of the i-th agent;
[0016] The augmented system is constructed using a low-pass filter:
[0017]
[0018] Combined with formula (2), the augmented system model is obtained:
[0019]
[0020] where s i =[x i ,z i ] T , u i (t) is the control input before filtering, x iτ is the state delayed by time τ, is the upper bound of delay;
[0021] Adopt neural network NN to approximate the nonlinear function of the system;
[0022]
[0023] Using the gradient descent algorithm, design the weight update rate:
[0024]
[0025]
[0026]
[0027] in: l i is the filtering constant, l 1i and a 1i is the constant to be designed;
[0028] It is concluded that the system model after identification is as follows:
[0029]
[0030] in: is the weight error, ε 1i To identify the error.
[0031] Optionally, S2 is specifically:
[0032] According to the actual multiple intelligent agents with state delay, a communication topology is established, with 1, 2, 3, and 4 representing the actual intelligent agents, and 0 node representing the tracking trajectory; The control size of the last triggering moment stored; a 10 , a 21 , a 43 , a 41 is the communication coefficient between nodes; each agent stores the neighbor node information at the previous communication triggering moment for subsequent control calculations, τ represents the delay time in the transmission process, Represents the trigger time sequence. If the communication trigger is triggered, then γ p =1, that is, the switch is closed, and communication transmission is carried out;
[0033] The agent transmits information to its neighbor nodes and caches the received information; the agent does not communicate with other neighbors during non-triggering moments, and the agent itself processes its own algorithm calculations or control implementations;
[0034] A dynamic event trigger function is designed for each agent. The update of agent i's controller is not affected by the triggering of other agent controllers. Agent i uses its own cached information for calculation. If the triggering conditions of the dynamic event trigger control are met, the controller takes corresponding control to make the actuator interact with the environment.
[0035] Optionally, S3 is specifically:
[0036] A node represents agent i, and the local neighbor consensus error δ of each agent is obtained i (t);
[0037]
[0038] Where: N i is the neighbor set of agent j, a ij is the communication coefficient between connected neighbor agents, a i0 is the communication coefficient with the leader;
[0039] The following event trigger error is defined for agent i:
[0040]
[0041] in: Represented as agent i at the time of event triggering Neighbor consensus error at the time of triggering e i,k will be reset to 0, i.e. k∈N;
[0042] Design a value function for each agent:
[0043]
[0044] in: Q ii and R ii are all positive definite diagonal matrices of matching dimensions, It is the control input at the triggering moment;
[0045] Design the following dynamic event trigger function:
[0046]
[0047]
[0048] Where: i (t) will decay over time, θ i , β, κ are constants to be designed; when funcEvent(t)>0, the trigger controller will be updated; is the optimal control input and satisfies the Lipschitz continuity condition The corresponding event-triggered controller is designed as follows:
[0049]
[0050] The relevant parameters are defined as follows: i is the limited amplitude of the controller, that is, |u i |<λ i ,λ i is a constant greater than 0, is the calculated value at the time of triggering, l ii is the diagonal element of the Laplace matrix, b ii are the diagonal elements of the diagonal matrix B, b ii =a i0 ;
[0051] The optimal value function is approximated using a reinforcement learning critic network;
[0052]
[0053] The value function for the error δ i Taking the partial derivative gives: The weight W 2i Continuously learn to solve for the optimal controller, making the following Hamiltonian function approach the minimum value;
[0054]
[0055] Formula (15) uses the Bellman optimality principle to obtain an approximate optimal controller Based on the gradient descent principle, W 2i The weights continuously learn to approximate the designed value function; the weight update rate is as follows:
[0056]
[0057]
[0058]
[0059] Where
[0060] For the non - affine system model formula (1), combined with the low - pass filtering method, construct an augmented system, through the communication trigger and the control law based on dynamic event triggering and the corresponding adaptive update rate formulas (5) and (17), to achieve approximate optimal consensus tracking control for multiple non - affine agents with state delays.
[0061] Optionally, the approximate optimal consensus tracking control method for multiple non - affine agents with state delays is as follows:
[0062] Initialization:
[0063] ① Initialize the initial parameters x i (0), z i (0), u i (0);
[0064] ② Fix the communication topology relationship and weight coefficient a between robots ij ;
[0065] For t < T, where T is a pre - set time;
[0066] ③ Use equation (8) to identify and calculate the model of agent i through a neural network;
[0067] ④ If the communication trigger is triggered at time p, i.e., γ p = 1;
[0068] Then save the state s of agent i and its neighbors at the current moment i ,s j ;
[0069] ⑤If funcEvent(t)>0,
[0070] Then calculate the controller formula (14) for the next moment and save it;
[0071] Produce control effects and interact with the environment;
[0072] Otherwise, the control action at the current moment is used to act on the actuator;
[0073] ⑥If δ i (t)<ε, the non-affine multi-robot collaborative tracking control is completed and the loop ends.
[0074] The beneficial effects of the present invention are:
[0075] (1) Combined with a low-pass filter, the actual non-affine system is converted into an affine system by constructing a new augmented state, which facilitates the design of the subsequent controller.
[0076] (2) In reality, the robot system model has strong nonlinear characteristics, making it difficult to establish an accurate model of the system. By using system identification, we can cleverly avoid the reliance on accurate models and approximate the nonlinear characteristics through neural networks, thus reducing the difficulty of controller design.
[0077] (3) Considering the existence of state information transmission delay in the actual distributed robot collaborative operation process, the state delay is incorporated into the system model when establishing the system model, and then the subsequent controller design is carried out, which provides a reference solution for the controller design of non-affine systems with state delay.
[0078] (4) In multi-agent collaboration, a communication trigger is designed. Only when the communication trigger is triggered, the agent will exchange information with neighboring nodes and cache the information after interaction for subsequent calculations. This control method greatly saves communication resources.
[0079] (5) Considering the service life of the controller, the dynamic trigger function is designed by using the idea of event triggering. Only when the trigger error reaches the designed condition, the controller will trigger the robot to take effect. This patent is an asynchronous dynamic trigger control, that is, when robot i implements the trigger control, other robots do not generate trigger control. That is, each robot in the communication topology system only needs to use the cache information calculation to update the control input at its own event triggering time, without considering the event triggering control time of its neighboring nodes, thereby reducing the control signal update frequency of the microprocessor.
[0080] (6) Design a dynamic event trigger function. Compared with a fixed event trigger function, its trigger adjustable range is larger and can better guarantee the actual life of the microprocessor.
[0081] (7) In practice, the input action of the robot actuator is limited in amplitude. Taking this feature into consideration, the controller is designed with the input constraint in mind, which can be better applied in the actual control of the robot.
[0082] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:
[0084] Figure 1 The communication topology when not triggered;
[0085] Figure 2 It is a schematic diagram of the delay transmission of the communication trigger state;
[0086] Figure 3 Trigger control block diagram for asynchronous dynamic events;
[0087] Figure 4 It is a schematic diagram of algorithm control;
[0088] Figure 5 This is a flow chart for this method. DETAILED DESCRIPTION
[0089] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.
[0090] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0091] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0092] In order to achieve the above object, the present invention provides the following technical solutions:
[0093] Key technology 1: Identification system model.
[0094] First, abstract the model for the non-affine system:
[0095]
[0096] Where i represents the i-th agent in the multi-agent system, Indicates the system status. represents the control input, Represents the non-affine mapping relationship of the i-th agent.
[0097] The augmented system is constructed using a low-pass filter:
[0098]
[0099] Combined with formula (2), the augmented system model is obtained:
[0100]
[0101] where s i =[x i ,z i ] T , u i (t) is the control input before filtering, x iτ is the state delayed by time τ, is the upper bound of the delay.
[0102] Neural network NN is used to approximate the nonlinear function of the system.
[0103]
[0104] Using the gradient descent algorithm, design the weight update rate:
[0105]
[0106]
[0107]
[0108] in: l i is the filtering constant, l 1i and a 1i is the constant to be designed.
[0109] It can be further concluded that the identified system model is as follows:
[0110]
[0111] in: is the weight error, ε 1i To identify the error.
[0112] Key Technology 2: Analysis of Asynchronous Communication Framework and Controller Framework
[0113] According to the actual communication topology between multiple intelligent agents with state delay, Figure 1 As shown in the figure: 1, 2, 3, 4 represent actual intelligent agents (such as robots), and node 0 represents the tracking trajectory. The control size at the last triggering moment is stored. 10 , a 21 , a 43 , a 41 is the communication coefficient between nodes. Each agent stores the neighbor node information at the previous communication triggering moment for subsequent control calculations. τ represents the delay time during the transmission process. Represents the trigger time sequence. Once the communication trigger is triggered, γ p =1, that is, the switch is closed, and communication transmission can be carried out.
[0114] The schematic diagram of the state delay communication trigger structure is as follows Figure 2 As shown, the agent can transmit information with its neighbor nodes and cache the received information. During the non-triggering moment, the agent does not communicate with other neighbors, and the agent itself processes its own algorithm calculation or control implementation.
[0115] Asynchronous dynamic event trigger control block diagram Figure 3 As shown in the figure, a dynamic event trigger function is designed for each agent, and the update of agent i's controller is not affected by the triggering of other agent controllers. Agent i uses its own cached information for calculation. If the triggering conditions of dynamic event trigger control are met, the controller takes corresponding control to make the actuator interact with the environment. This reduces the control signal update frequency of the system and prolongs the service life of the controller.
[0116] Key Technology 3: Solving Asynchronous Dynamic Event Triggering Controller Based on Reinforcement Learning
[0117] One of the nodes represents robot i, and the local neighbor consensus error δ of each agent can be obtained i (t).
[0118]
[0119] Where: N i is the neighbor set of agent j, a ij is the communication coefficient between connected neighbor agents, a i0 is the communication coefficient with the leader (i.e., the tracking trajectory).
[0120] The following event trigger error is defined for agent i:
[0121]
[0122] in: Represented as agent i at the time of event triggering Neighbor consensus error at the time. At the trigger time e i,k will be reset to 0, i.e.
[0123] Design a value function for each agent:
[0124]
[0125] in: Q ii and R ii are all positive definite diagonal matrices of matching dimensions, It is the control input of the triggering moment.
[0126] This patent designs the following dynamic event trigger function:
[0127]
[0128]
[0129] Where:i (t) will decay over time, θ i , β, κ are constants to be designed. When funcEvent(t)>0, the trigger controller will be updated. is the optimal control input and satisfies the Lipschitz continuity condition The corresponding event-triggered controller is designed as follows:
[0130]
[0131] The relevant parameters are defined as follows: i is the limited amplitude of the controller, that is, |u i |<λ i ,λ i is a constant greater than 0, is the calculated value at the time of triggering, l ii is the diagonal element of the Laplace matrix, b ii are the diagonal elements of the diagonal matrix B, b ii =a i0 .
[0132] The optimal value function is approximated by a reinforcement learning critic network.
[0133]
[0134] Value function for error δ i Taking partial derivatives we get: Weight W 2i Continuously learn and solve the optimal controller to make the following Hamiltonian function approach the minimum value.
[0135]
[0136] (15) uses the Bellman optimality principle to obtain an approximate optimal controller Based on the gradient descent principle, W 2i The weights are constantly learning to approach the designed value function. The weight update rate is as follows:
[0137]
[0138]
[0139]
[0140] in
[0141] Therefore, the non-affine system model (1) is combined with the low-pass filtering method to construct a new augmented system, through the communication trigger designed as above ( Figure 2) and control rate based on dynamic event triggering and the corresponding adaptive update rate (5)(17), it is possible to achieve near-optimal consensus tracking control for multiple non-affine agents with state delays.
[0142] The algorithm pseudo code is as follows:
[0143]
[0144] The algorithm control diagram is as follows: Figure 4 shown.
[0145] Figure 5 This is a flow chart for this method.
[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A non-affine multi-agent dynamic event-triggered tracking control method in an asynchronous framework, characterized by: The method includes the following steps: S1: Establish an identification system model; S2: Analyze the asynchronous communication framework and the controller framework; S3: Solve the asynchronous dynamic event-triggered controller based on reinforcement learning; The specific content of S1 is as follows: First, abstract its model for the non-affine system: Where i represents the i-th agent in the multi-agent system, Indicates the system status. represents the control input, Represents the non-affine mapping relationship of the i-th agent; Construct an augmented system by using a low-pass filter method: Combine with Equation (2) to obtain the augmented system model: where s i =[x i ,z i ] T , u i (t) is the control input before filtering, x iτ is the state delayed by time τ, is the upper bound of delay; Use the neural network NN to approximate the system non-linear function; Apply the gradient descent algorithm to design the weight update rate: in: l i is the filtering constant, l 1i and a 1i is the constant to be designed; It is obtained that the identified system model is as follows: in: is the weight error, ε 1i To identify the error; The specific content of S2 is as follows: According to the actual multiple intelligent agents with state delay, a communication topology is established, with 1, 2, 3, and 4 representing the actual intelligent agents, and 0 node representing the tracking trajectory; The control size of the last trigger moment stored; a 10 , a 21 , a 43 , a 41 is the communication coefficient between nodes; each agent stores the neighbor node information at the previous communication triggering moment for subsequent control calculations, τ represents the delay time in the transmission process, Represents the trigger time sequence. If the communication trigger is triggered, then γ p =1, that is, the switch is closed, and communication transmission is carried out; The agent transmits information with its neighbor nodes and caches the received information; at non-triggering moments, the agent does not communicate with other neighbors, and the agent itself processes its own algorithm calculation or control implementation; Design a dynamic event-triggering function for each agent, and the update of the controller of agent i is not affected by the triggering of the controllers of other agents; agent i uses the information cached by itself for calculation. If the triggering condition of the dynamic event-triggered control is satisfied, the controller takes corresponding control to make the actuator interact with the environment; The specific content of S3 is as follows: A node represents agent i, and the local neighbor consensus error δ of each agent is obtained i (t); Where: N i is the neighbor set of agent j, a ij is the communication coefficient between connected neighbor agents, a i0 is the communication coefficient with the leader; Define the following event-triggering error for agent i: in: Represented as agent i at the time of event triggering Neighbor consensus error at the time of triggering e i,k will be reset to 0, that is, e i,k =0, k∈N; Design a value function for each agent: in: Q ii and R ii are all positive definite diagonal matrices of matching dimensions, It is the control input at the triggering moment; Design the following dynamic event-triggering function: Where: i (t) will decay over time, θ i , β, κ are constants to be designed; when funcEvent(t)>0, the trigger controller will be updated; is the optimal control input and satisfies the Lipschitz continuity condition The corresponding event-triggered controller is designed as follows: The relevant parameters are defined as follows: i is the limited amplitude of the controller, that is, |u i |<λ i ,λ i is a constant greater than 0, is the calculated value at the time of triggering, l ii is the diagonal element of the Laplace matrix, b ii are the diagonal elements of the diagonal matrix B, b ii =a i0 ; The optimal value function is approximately approximated by using the reinforcement learning Critic network; Value function for error δ i Taking partial derivatives we get: Weight W 2i Continuously learn and solve the optimal controller to make the following Hamiltonian function approach the minimum value; Formula (15) uses the Bellman optimality principle to obtain the approximate optimal controller Based on the gradient descent principle, W 2i The weights are constantly learning to approximate the designed value function; the weight update rate is as follows: in The non-affine system model formula (1) is combined with the low-pass filtering method to construct an augmented system, through communication triggers and control rates based on dynamic event triggers And the corresponding adaptive update rate formula (5) and formula (17) are used to realize the approximate optimal consistency tracking control of multiple non-affine agents with state delay.
2. The non-affine multi-agent dynamic event triggered tracking control method under an asynchronous framework according to claim 1, characterized in that: The approximate optimal consensus tracking control method for multiple non-affine agents with state time delay is as follows: Initialization: ① Initialize the initial parameters x of each robot i (0),z i (0),u i (0); ② Solidify the communication topology relationship and weight coefficient a between robots ij ; For t < T, where T is a preset time; ③ Apply Equation (8) to identify and calculate the model of agent i through the neural network; ④ If the communication trigger is triggered at time p, that is, γ p =1; Then save the state s of agent i and its neighbors at the current moment i ,s j ; ⑤ If funcEvent(t) > 0, then calculate the controller formula (14) for the next moment and save it; Generate a control action to interact with the environment; Otherwise, use the control action at the current moment for the actuator; ⑥If δ i (t)<ε, the non-affine multi-robot collaborative tracking control is completed and the loop ends.
