Complex system preset time collaborative optimization method
By using the linear quadratic regulator optimization algorithm, reinforcement learning strategy iteration algorithm and adaptive algorithm to solve the control gain matrix in the multi-agent system, combined with the distributed observer to estimate the leader state, the problem of unsynchronized output of the multi-agent system is solved. problem, achieving synchronous control of the system.
Patent Information
- Application Number
- CN202410603876.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-06
AI Technical Summary
In a multi-agent system, due to unknown parameters of the leader agent, inaccurate measurements, and environmental disturbances, the control input data of the follower agent has low applicability, which in turn causes the output of the multi-agent system to be out of sync.
By obtaining the follower agent system status, the feedback control gain matrix is solved based on the linear quadratic regulator optimization algorithm and the reinforcement learning strategy iterative algorithm, and the feedforward control gain matrix is solved using the adaptive algorithm, and a distributed observer is constructed to estimate the leader intelligence. The body system state determines the control input data of the follower agent to achieve synchronization of the multi-agent system.
It effectively overcomes the problem of low applicability of follower agent control input data due to the difficulty in obtaining the leader agent system state and dynamics matrix, ensures the output synchronization of the multi-agent system, and enables use within any preset time. The output of the leader agent is the same as the output of the follower agent.
Smart Images

Figure CN118605147A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent body control technology, and in particular to a method for collaborative optimization of preset time of complex systems. Background Art
[0002] In recent years, with the widespread application of multi-agent systems in the field of formation synchronization control, the problem of coordinated output regulation has become particularly important. In the problem of coordinated output regulation, the main goal is to make the output of the leader agent in the multi-agent system the same as the output of the follower agent, so as to achieve the purpose of synchronous control of the multi-agent system. In order to achieve the purpose of synchronous control of the multi-agent system, it is necessary to determine the control input data of the follower agent.
[0003] Currently, existing control input data for follower agents is usually determined based on the knowledge of the system state and dynamics matrix of the leader agent and the dynamics matrix of the follower agent.
[0004] However, in the actual control process of the multi-agent system, the system state and dynamics matrix of the leader agent are difficult to obtain due to the unknown parameters of the leader agent, inaccurate measurements, environmental disturbances and other reasons. In addition, due to the difficulty in establishing an accurate model of the physical system and the presence of a large number of unmeasurable disturbances in actual scenarios, the dynamics matrix of the follower agent is also unknown, resulting in the low applicability of the formulated follower agent control input data, which in turn leads to the output asynchrony of the multi-agent system. Summary of the invention
[0005] In view of this, the present application provides a complex system preset time collaborative optimization method, the main purpose of which is to solve the problem of low applicability of the existing follower agent control input data, which leads to the output asynchrony of the multi-agent system.
[0006] According to one aspect of the present application, a complex system preset time collaborative optimization method is provided, comprising: Get the follower agent system status; Solving a feedback control gain matrix based on a first preset algorithm, wherein the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; Solving a feedforward control gain matrix based on a second preset algorithm, wherein the second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation; Construct a distributed observer to estimate the state of the leader agent system; The sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix is determined as the follower agent control input data.
[0007] Preferably, the method further comprises: Constructing time-varying gain equation based on TBG function , in, Indicates time, represents the time base generator, represents the derivative of the time base generator, Indicates the parameters, ; based on Update the follower agent state error function to make the output of the leader agent the same as the output of the follower agent within a preset time.
[0008] Preferably, when the dynamic matrix of the follower agent is known, solving the feedback control gain matrix based on a preset algorithm specifically includes: Solving the feedback control gain matrix based on the linear quadratic regulator optimization algorithm includes: Based on the formula Solve for the feedback control gain matrix, where represents the feedback control gain matrix, represents the weighting matrix, Representing the algebraic Riccati equation The only solution is represents the weighting matrix, represents the state transfer matrix, Represents the input matrix.
[0009] Preferably, when the dynamic matrix of the follower agent is unknown, solving the feedback control gain matrix based on a preset algorithm specifically includes: Solving the feedback control gain matrix based on the reinforcement learning strategy iteration algorithm includes: Obtaining historical system states and historical control input data of the follower agent; Based on the historical system state and the historical control input data, solve the equation , in, , , represents the Sylvester matrix; When the iteration stopping criterion is reached, the feedback control gain matrix is obtained.
[0010] Preferably, when the dynamic matrix of the leader agent is unknown, solving the feedforward control gain matrix based on the second preset algorithm specifically includes: Based on adaptive algorithm Solving the regulator equation ,in, The form of the solution to the regulator equation is expressed as, Indicates the parameters, , , satisfy , satisfy ; Based on the formula Calculate the feedforward control gain matrix, where represents the feedforward control gain matrix.
[0011] Preferably, when the dynamic matrix of the leader agent is known, solving the feedforward control gain matrix based on the second preset algorithm specifically includes: Based on the output regulator equation
[0012]
[0013] Solving the regulator equation ,in, represents the state transfer matrix, represents the input matrix, represents the external disturbance input matrix, represents the leader agent dynamics matrix.
[0014] Based on the formula Compute the feedforward control gain matrix.
[0015] According to another aspect of the present application, a complex system preset time collaborative optimization device is provided, comprising: A follower agent system state acquisition module is used to obtain the follower agent system state; A feedback control gain matrix solving module, used for solving the feedback control gain matrix based on a first preset algorithm, wherein the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; A feedforward control gain matrix solving module, used for solving the feedforward control gain matrix based on a second preset algorithm, wherein the second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation; Distributed observer building module, used to build a distributed observer to estimate the state of the leader agent system; The follower agent control input data determination module is used to determine the sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix as the follower agent control input data.
[0016] Preferably, the device further comprises: Time-varying gain equation building module, used to build time-varying gain equations based on TBG functions , in, Indicates time, represents the time base generator, represents the derivative of the time base generator, Indicates the parameters, ; The follower agent state error function update module is used to update the state error function based on Update the follower agent state error function to make the output of the leader agent the same as the output of the follower agent within a preset time.
[0017] Preferably, when the dynamic matrix of the follower agent is known, the feedback control gain matrix solving module is specifically used for: Solving the feedback control gain matrix based on the linear quadratic regulator optimization algorithm includes: Based on the formula Solve for the feedback control gain matrix, where represents the feedback control gain matrix, represents the weighting matrix, Representing the algebraic Riccati equation The only solution is represents the weighting matrix, represents the state transfer matrix, Represents the input matrix.
[0018] Preferably, when the dynamics matrix of the follower agent is unknown, the feedback control gain matrix solving module is specifically used to: Solving the feedback control gain matrix based on the reinforcement learning strategy iteration algorithm includes: Obtaining historical system states and historical control input data of the follower agent; Based on the historical system state and the historical control input data, solve the equation , in, , , represents the Sylvester matrix; When the iteration stopping criterion is reached, the feedback control gain matrix is obtained.
[0019] Preferably, when the dynamic matrix of the leader agent is unknown, the feedforward control gain matrix solving module is specifically used to: Based on adaptive algorithm Solving the regulator equation ,in, The solution to the regulator equation is expressed in the form, Indicates the parameters, , , satisfy , satisfy ; Based on the formula Calculate the feedforward control gain matrix, where represents the feedforward control gain matrix.
[0020] Preferably, when the dynamic matrix of the leader agent is known, the feedforward control gain matrix solving module is specifically used for: Based on the output regulator equation
[0021]
[0022] Solving the regulator equation ,in, represents the state transfer matrix, represents the input matrix, represents the external disturbance input matrix, Represents the leader agent dynamics matrix.
[0023] Based on the formula Compute the feedforward control gain matrix.
[0024] According to another aspect of the present application, a storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned complex system preset time collaborative optimization method.
[0025] According to another aspect of the present application, a terminal is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned complex system preset time collaborative optimization method.
[0026] By means of the above technical solution, the technical solution provided by the embodiment of the present application has at least the following advantages: The present application provides a preset time collaborative optimization method for a complex system. First, the feedback control gain matrix is solved based on a preset algorithm, and the preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; secondly, the feedforward control gain matrix is solved based on an adaptive algorithm; again, a distributed observer is constructed to estimate the state of the leader intelligent agent system; and the state of the follower intelligent agent system is obtained; finally, the sum of the product of the follower intelligent agent system state and the feedback control gain matrix and the product of the leader intelligent agent system state and the feedforward control gain matrix is determined as the follower intelligent agent control input data. Compared with the prior art, the embodiment of the present application firstly estimates the system state of the leader intelligent agent by constructing a distributed observer, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent; secondly, the feedback control gain matrix is solved by the reinforcement learning strategy iteration algorithm and the feedforward control gain matrix is solved by the adaptive algorithm, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent and the unknown dynamic matrix of the follower intelligent agent, thereby ensuring the output synchronization of the multi-agent system; finally, the follower intelligent agent state error function is updated by constructing a time-varying gain equation, thereby achieving the purpose of making the output of the leader intelligent agent the same as the output of the follower intelligent agent within any preset time. The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 A flow chart of a complex system preset time collaborative optimization method provided by an embodiment of the present application is shown; Figure 2 A block diagram of a complex system preset time collaborative optimization device provided by an embodiment of the present application is shown; Figure 3 A schematic diagram of the structure of a terminal provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0029] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0030] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0031] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0032] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0033] The embodiments of the present application can be applied to computer systems / servers, which can operate with many other general or special computing system environments or configurations. Examples of well-known computing systems, environments and / or configurations suitable for use with computer systems / servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0034] Computer systems / servers may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
[0035] The present application embodiment provides a complex system preset time collaborative optimization method, such as Figure 1As shown, the method includes: 101. Get the follower agent system status.
[0036] In the embodiment of the present application, the current execution end may be the control end of the multi-agent system, and the status of the follower agent system may be directly obtained.
[0037] 102. Solve the feedback control gain matrix based on a first preset algorithm.
[0038] Among them, the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm.
[0039] It should be noted that the multi-agent system can be expressed as follows:
[0040]
[0041]
[0042] in, represents the follower agent, represents the state transfer matrix, represents the input matrix, represents the external perturbation input matrix , collectively referred to as the dynamics matrix of the follower agent, represents the follower agent system state, represents the follower agent control input data, Represents the leader agent system state; represents the leader agent, represents the leader agent dynamics matrix, Represents unknown parameters; indicates that the output of the leader agent is the same as the output of the follower agent, represents the tracking error of the follower agent, represents the output of the follower agent, Represents the output of the leader agent, i.e., the reference signal.
[0043] In the embodiment of the present application, based on the above multi-agent system, an optimal strategy for controlling the input data of the follower agent is constructed while minimizing the predetermined cost. ,in, represents the feedback control gain matrix, represents the feedforward control gain matrix, represents the follower agent control input data formulated by the present application scheme, represents the estimated value of the leader agent system state, that is, The estimated value of the feedback control gain matrix And the feedforward control gain matrix Solve it and get the follower agent control input data.
[0044] It should be noted that in the embodiment of the present application, different solution methods can be configured according to whether the dynamic matrix of the follower agent is known. Among them, when the dynamic matrix of the follower agent is known, the feedback control gain matrix can be solved based on the linear quadratic regulator optimization algorithm to reduce the computational consumption; when the dynamic matrix of the follower agent is unknown, the feedback control gain matrix can be solved based on the reinforcement learning strategy iteration algorithm to reduce the dependence on the dynamic matrix of the follower agent.
[0045] 103. Solve the feedforward control gain matrix based on the second preset algorithm.
[0046] The second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation.
[0047] It should be noted that in the embodiment of the present application, different solution methods can be configured according to whether the dynamic matrix of the leader intelligent agent is known. Among them, when the dynamic matrix of the leader intelligent agent is known, the feedforward control gain matrix can be solved based on the algorithm for constructing the output regulator equation; when the dynamic matrix of the follower intelligent agent is unknown, the feedforward control gain matrix can be solved based on the adaptive algorithm.
[0048] 104. Build a distributed observer to estimate the state of the leader agent system.
[0049] It should be noted that due to unknown parameters of the leader agent, inaccurate measurements, environmental disturbances, etc., it is difficult to obtain the system state and dynamic matrix of the leader agent. Therefore, in the embodiment of the present application, a distributed observer is constructed to estimate the system state of the leader agent. The distributed observer can be expressed as follows:
[0050]
[0051] in, Represents the leader agent system state The estimated value of Represents the leader agent dynamics matrix The estimated value of Indicates unknown parameters The estimated value of represents the follower agent With follower agents The weight of the edge, , , All > 0, indicating design parameters, represents the design matrix.
[0052] It should be noted that by increasing the design parameters as well as The value of is used to accelerate the convergence of the estimation error of the leader agent's dynamic matrix and the estimation error of the leader agent's system state. Usually, as well as It can take any value greater than 0.
[0053] 105. The sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix is determined as the follower agent control input data.
[0054] In the embodiment of the present application, the optimal strategy for controlling the input data of the follower agent is constructed while minimizing the predetermined cost. , that is, the sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix is determined as the follower agent control input data, where, represents the feedback control gain matrix, which can be solved according to step 102 of the embodiment, represents the feedforward control gain matrix, which can be solved according to step 103 of the embodiment, represents the follower agent control input data formulated by the follower agent control input data optimal strategy, Represents the leader agent system state The estimated value of can be obtained by solving according to step 104 of the embodiment.
[0055] Compared with the prior art, the embodiment of the present application firstly estimates the system state of the leader intelligent agent by constructing a distributed observer, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent; secondly, the feedback control gain matrix is solved by the reinforcement learning strategy iteration algorithm and the feedforward control gain matrix is solved by the adaptive algorithm, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent and the unknown dynamic matrix of the follower intelligent agent, thereby ensuring the output synchronization of the multi-agent system; finally, the follower intelligent agent state error function is updated by constructing a time-varying gain equation, thereby achieving the purpose of making the output of the leader intelligent agent the same as the output of the follower intelligent agent within any preset time.
[0056] In an embodiment of the present application, for further definition and explanation, the embodiment method further includes: constructing a time-varying gain equation based on the TBG function ,in, Indicates time, represents the time base generator, represents the derivative of the time base generator, Indicates the parameters, ;based on Update the follower agent state error function to make the output of the leader agent the same as the follower agent's output within a preset time.
[0057] It should be noted that, in order to achieve the purpose of making the output of the leader agent the same as the output of the follower agent within any preset time, in the embodiment of the present application, a TBG function (time-based generator) is used to make the convergence time independent of the initial value and parameters of the multi-agent system and can be arbitrarily pre-designed. Specifically, the time-varying gain equation is constructed based on the TBG function ,based on Update the follower agent state error function, that is, the state error of the follower agent is given by Updated to ,according to The tracking error of the follower agent converges quickly when it is within the preset time until it converges to zero within the preset time.
[0058] In one embodiment of the present application, for further limitation and explanation, step 102 of the embodiment solves the feedback control gain matrix based on a preset algorithm and can be solved in two cases, namely, the dynamic matrix of the follower intelligent agent is known and the dynamic matrix of the follower intelligent agent is unknown.
[0059] Among them, when the dynamic matrix of the follower agent is known, the feedback control gain matrix is solved based on the linear quadratic regulator optimization algorithm, specifically including: based on the formula Solve for the feedback control gain matrix, where represents the feedback control gain matrix, represents the weighting matrix, Representing the algebraic Riccati equation The only solution is represents the weighting matrix.
[0060] In the embodiment of the present application, the weighting matrix as well as Usually the unit diagonal matrix is chosen.
[0061] When the dynamic matrix of the follower agent is unknown, the feedback control gain matrix is solved based on the reinforcement learning strategy iteration algorithm, which includes: obtaining the historical system state and historical control input data of the follower agent; solving the equation based on the historical system state and historical control input data , in, , , represents the Sylvester matrix; when the iteration stop criterion is reached, the feedback control gain matrix is obtained.
[0062] In the embodiment of the present application, the iteration stop criterion may be a preset accuracy threshold or an iteration round, which is not specifically limited in the embodiment of the present application. , , .
[0063] In one embodiment of the present application, for further limitation and explanation, step 103 of the embodiment is based on solving the feedforward control gain matrix based on the second preset algorithm, which can be solved in two cases, namely, the dynamic matrix of the leader intelligent agent is unknown and the dynamic matrix of the leader intelligent agent is known.
[0064] Among them, when the dynamic matrix of the leader agent is unknown, the adaptive algorithm Solving the regulator equation ,in, The solution to the regulator equation is expressed in the form, Indicates the parameters, , , satisfy , satisfy ; Based on the formula Calculate the feedforward control gain matrix, where represents the feedforward control gain matrix.
[0065] In the embodiment of the present application, the solution of the regulator equation is solved by an adaptive algorithm. , and then And the above feedback control gain matrix Substitute into the formula , the feedforward control gain matrix can be calculated.
[0066] When the dynamics matrix of the leader agent is known, based on the output regulator equation
[0067]
[0068] Solving the regulator equation ,in, represents the state transfer matrix, represents the input matrix, represents the external perturbation input matrix , Represents the leader agent dynamics matrix; based on the formula Compute the feedforward control gain matrix.
[0069] The present application provides a preset time collaborative optimization method for a complex system. First, the feedback control gain matrix is solved based on a preset algorithm, and the preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; secondly, the feedforward control gain matrix is solved based on an adaptive algorithm; again, a distributed observer is constructed to estimate the state of the leader intelligent agent system; and the state of the follower intelligent agent system is obtained; finally, the sum of the product of the follower intelligent agent system state and the feedback control gain matrix and the product of the leader intelligent agent system state and the feedforward control gain matrix is determined as the follower intelligent agent control input data. Compared with the prior art, the embodiment of the present application firstly estimates the system state of the leader intelligent agent by constructing a distributed observer, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent; secondly, the feedback control gain matrix is solved by the reinforcement learning strategy iteration algorithm and the feedforward control gain matrix is solved by the adaptive algorithm, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent and the unknown dynamic matrix of the follower intelligent agent, thereby ensuring the output synchronization of the multi-agent system; finally, the follower intelligent agent state error function is updated by constructing a time-varying gain equation, thereby achieving the purpose of making the output of the leader intelligent agent the same as the output of the follower intelligent agent within any preset time.
[0070] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the embodiment of the present application provides a complex system preset time collaborative optimization device, such as Figure 2 As shown, the device comprises: Follower agent system state acquisition module 21, feedback control gain matrix solution module 22, feedforward control gain matrix solution module 23, distributed observer construction module 24, follower agent control input data determination module 25.
[0071] A follower agent system state acquisition module 21 is used to acquire the follower agent system state; A feedback control gain matrix solving module 22, used for solving the feedback control gain matrix based on a first preset algorithm, wherein the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; A feedforward control gain matrix solving module 23, used for solving the feedforward control gain matrix based on a second preset algorithm, wherein the second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation; A distributed observer construction module 24, used to construct a distributed observer to estimate the state of the leader agent system; The follower agent control input data determination module 25 is used to determine the sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix as the follower agent control input data.
[0072] In a specific application scenario, the device further includes: Time-varying gain equation building module, used to build time-varying gain equations based on TBG functions , in, Indicates time, represents the time base generator, represents the derivative of the time base generator, Indicates the parameters, ; The follower agent state error function update module is used to update the state error function based on Update the follower agent state error function to make the output of the leader agent the same as the output of the follower agent within a preset time.
[0073] In a specific application scenario, when the dynamic matrix of the follower agent is known, the feedback control gain matrix solving module is specifically used to: Solving the feedback control gain matrix based on the linear quadratic regulator optimization algorithm includes: Based on the formula Solve for the feedback control gain matrix, where represents the feedback control gain matrix, represents the weighting matrix, Representing the algebraic Riccati equation The only solution is represents the weighting matrix, represents the state transfer matrix, Represents the input matrix.
[0074] In a specific application scenario, when the dynamic matrix of the follower agent is unknown, the feedback control gain matrix solving module is specifically used to: Solving the feedback control gain matrix based on the reinforcement learning strategy iteration algorithm includes: Obtaining historical system states and historical control input data of the follower agent; Based on the historical system state and the historical control input data, solve the equation , in, , , represents the Sylvester matrix; When the iteration stopping criterion is reached, the feedback control gain matrix is obtained.
[0075] In a specific application scenario, when the dynamic matrix of the leader agent is unknown, the feedforward control gain matrix solving module is specifically used to: Based on adaptive algorithm Solving the regulator equation ,in, The solution to the regulator equation is expressed in the form, Indicates the parameters, , , satisfy , satisfy ; Based on the formula Calculate the feedforward control gain matrix, where represents the feedforward control gain matrix.
[0076] In a specific application scenario, when the dynamic matrix of the leader agent is known, the feedforward control gain matrix solving module is specifically used to: Based on the output regulator equation
[0077]
[0078] Solving the regulator equation ,in, represents the state transfer matrix, represents the input matrix, represents the external disturbance input matrix, Represents the leader agent dynamics matrix.
[0079] Based on the formula Compute the feedforward control gain matrix.
[0080] The present application provides a complex system preset time collaborative optimization device, which first solves the feedback control gain matrix based on a preset algorithm, and the preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; secondly, solves the feedforward control gain matrix based on an adaptive algorithm; again, constructs a distributed observer to estimate the leader intelligent agent system state; and obtains the follower intelligent agent system state; finally, determines the sum of the product of the follower intelligent agent system state and the feedback control gain matrix and the product of the leader intelligent agent system state and the feedforward control gain matrix as the follower intelligent agent control input data. Compared with the prior art, the embodiment of the present application firstly estimates the system state of the leader intelligent agent by constructing a distributed observer, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent; secondly, the feedback control gain matrix is solved by the reinforcement learning strategy iteration algorithm and the feedforward control gain matrix is solved by the adaptive algorithm, thereby overcoming the problem of low applicability of the formulated follower intelligent agent control input data due to the difficulty in obtaining the system state and dynamic matrix of the leader intelligent agent and the unknown dynamic matrix of the follower intelligent agent, thereby ensuring the output synchronization of the multi-agent system; finally, the follower intelligent agent state error function is updated by constructing a time-varying gain equation, thereby achieving the purpose of making the output of the leader intelligent agent the same as the output of the follower intelligent agent within any preset time.
[0081] According to one embodiment of the present application, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the complex system preset time collaborative optimization method in any of the above method embodiments.
[0082] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0083] Figure 3 A schematic diagram of the structure of a terminal provided according to an embodiment of the present application is shown, and the specific embodiment of the present application does not limit the specific implementation of the terminal.
[0084] like Figure 3 As shown, the terminal may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0085] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via the communication bus 308 .
[0086] The communication interface 304 is used to communicate with other devices such as clients or other servers.
[0087] The processor 302 is used to execute the program 310, and specifically can execute the relevant steps in the above-mentioned complex system preset time collaborative optimization method embodiment.
[0088] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0089] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0090] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0091] The program 310 may be specifically configured to enable the processor 302 to perform the following operations: Get the follower agent system status; Solving a feedback control gain matrix based on a first preset algorithm, wherein the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; Solving a feedforward control gain matrix based on a second preset algorithm, wherein the second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation; Construct a distributed observer to estimate the state of the leader agent system; The sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix is determined as the follower agent control input data.
[0092] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the physical device of the above-mentioned complex system preset time collaborative optimization method, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0093] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0094] The method and system of the present application may be implemented in many ways. For example, the method and system of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present application may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.
[0095] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0096] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A complex system preset time collaborative optimization method, characterized in that: include: Get the follower agent system status; Solving a feedback control gain matrix based on a first preset algorithm, wherein the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; Solving a feedforward control gain matrix based on a second preset algorithm, wherein the second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation; Construct a distributed observer to estimate the state of the leader agent system; The sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix is determined as the follower agent control input data.
2. The method according to claim 1, characterized in that The method further comprises: Constructing time-varying gain equation based on TBG function , in, Indicates time, represents the time base generator, represents the derivative of the time base generator, Indicates the parameters, ; based on Update the follower agent state error function to make the output of the leader agent the same as the output of the follower agent within a preset time.
3. The method according to claim 1, characterized in that When the dynamic matrix of the follower agent is known, solving the feedback control gain matrix based on the first preset algorithm specifically includes: Solving the feedback control gain matrix based on the linear quadratic regulator optimization algorithm includes: Based on the formula Solve for the feedback control gain matrix, where represents the feedback control gain matrix, represents the weighting matrix, Representing the algebraic Riccati equation The only solution is represents the weighting matrix, represents the state transfer matrix, Represents the input matrix.
4. The method according to claim 1, characterized in that: When the dynamic matrix of the follower agent is unknown, solving the feedback control gain matrix based on the first preset algorithm specifically includes: Solving the feedback control gain matrix based on the reinforcement learning strategy iteration algorithm includes: Obtaining historical system states and historical control input data of the follower agent; Based on the historical system state and the historical control input data, solve the equation , in, , , represents the Sylvester matrix; When the iteration stopping criterion is reached, the feedback control gain matrix is obtained.
5. The method according to claim 3 or 4, characterized in that: When the dynamic matrix of the leader agent is unknown, solving the feedforward control gain matrix based on the second preset algorithm specifically includes: Based on adaptive algorithm Solving the regulator equation ,in, The solution to the regulator equation is expressed in the form, Indicates the parameters, , , satisfy , satisfy ; Based on the formula Calculate the feedforward control gain matrix, where represents the feedforward control gain matrix.
6. The method according to claim 3 or 4, characterized in that: When the dynamic matrix of the leader agent is known, solving the feedforward control gain matrix based on the second preset algorithm specifically includes: Based on the output regulator equation Solving the regulator equation ,in, represents the state transfer matrix, represents the input matrix, represents the external disturbance input matrix, Represents the leader agent dynamics matrix. Based on the formula Compute the feedforward control gain matrix.
7. A complex system preset time collaborative optimization device, characterized in that: include: A follower agent system state acquisition module is used to obtain the follower agent system state; A feedback control gain matrix solving module, used for solving the feedback control gain matrix based on a first preset algorithm, wherein the first preset algorithm includes a linear quadratic regulator optimization algorithm and a reinforcement learning strategy iteration algorithm; A feedforward control gain matrix solving module, used for solving the feedforward control gain matrix based on a second preset algorithm, wherein the second preset algorithm includes an adaptive algorithm and an algorithm for constructing an output regulator equation; Distributed observer building module, used to build a distributed observer to estimate the state of the leader agent system; The follower agent control input data determination module is used to determine the sum of the product of the follower agent system state and the feedback control gain matrix and the product of the leader agent system state and the feedforward control gain matrix as the follower agent control input data.
8. The device according to claim 7, characterized in that The device also includes: Time-varying gain equation building module, used to build time-varying gain equations based on TBG functions , in, Indicates time, represents the time base generator, represents the derivative of the time base generator, Indicates the parameters, ; The follower agent state error function update module is used to update the state error function based on Update the follower agent state error function to make the output of the leader agent the same as the output of the follower agent within a preset time.
9. A storage medium, wherein at least one executable instruction is stored in the storage medium, characterized in that: The executable instructions enable the processor to execute operations corresponding to the complex system preset time collaborative optimization method according to any one of claims 1-6.
10. A terminal, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform operations corresponding to the complex system preset time collaborative optimization method according to any one of claims 1-6.
Citation Information
Cited By
Tracking control method and device for online adaptive learning of unmanned system
CN119535967A
Mechanical arm control method and device, electronic equipment and medium
CN120170755A
Uncertain nonlinear agent driving control method based on linear quadratic adjustment
CN121785123A
