Unmanned aerial vehicle cluster multi-task scene formation control method based on hybrid iterative learning
Through the hybrid iterative learning control strategy, the problem of low adaptability and efficiency of traditional UAV formation control methods in dynamic environments is solved, and the adaptive adjustment of UAV formations and the accuracy of task execution are achieved, which is suitable for complex mission scenarios. Such as emergency rescue and environmental monitoring.
Patent Information
- Application Number
- CN202410520876.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-10
Smart Images

Figure CN118625852A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle control technology, and in particular to a method, system, terminal and storage medium for controlling a multi-task scenario formation of an unmanned aerial vehicle cluster based on hybrid iterative learning. Background Art
[0002] In recent years, Unmanned Aerial Vehicle (UAV) has attracted extensive attention from many scientific and engineering researchers due to its ability to perform autonomous flight and carry payloads. Compared with a single UAV, a multi-UAV system consisting of a group of homogeneous or heterogeneous UAVs shows a high degree of collaboration and flexibility in collaborative task execution. It is widely used in complex mission scenarios such as multi-satellite systems, continuous reconnaissance, cargo transportation, target search, emergency rescue, environmental monitoring and agricultural management, and has become a hot topic in the research and engineering fields. Especially in scenarios where multiple complex tasks need to be handled, the key to the formation control technology of multi-UAV systems lies in how to effectively maintain the coordination between UAVs and efficiently execute tasks.
[0003] However, with the diversification of application requirements and the increasing complexity of the execution environment, traditional formation control methods are unable to flexibly respond to the dynamic switching of operating modes and communication topologies during multi-task execution, and are unable to adapt to changes in the dynamic model of UAVs under different mission requirements. This is because traditional formation control methods often assume a static operating environment and a single task type when designed, resulting in a lack of adaptation mechanisms and flexible adjustment strategies for dynamically changing environments, and most of them are built in the infinite time domain, which means that the formation goal can theoretically only be achieved when time tends to infinity, which leads to certain limitations when dealing with actual tasks with limited time.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The main purpose of the present invention is to provide a multi-task scenario formation control method for a drone swarm based on hybrid iterative learning, aiming to solve the problem that the prior art is unable to flexibly respond to the dynamic switching of operation modes and communication topologies during multi-task execution, and is unable to adapt to changes in the dynamic model of drones under different task requirements, resulting in low adaptability and control efficiency in complex environments.
[0006] To achieve the above object, the present invention provides a UAV swarm multi-task scenario formation control method based on hybrid iterative learning, and the UAV swarm multi-task scenario formation control method based on hybrid iterative learning comprises the following steps:
[0007] When multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output;
[0008] Inputting all the target flight data into an iterative learning controller, outputting a control parameter value corresponding to each of the UAVs, and obtaining a plurality of target control parameters according to all the target state estimation values and all the control parameter values;
[0009] All the target flight data are analyzed and processed to obtain a plurality of target state parameters, a target scenario formation strategy is obtained according to all the target state estimation values, all the target control parameters and all the target state parameters, and UAV formation switching is performed according to the target scenario formation strategy to obtain a target formation.
[0010] Optionally, the UAV swarm multi-task scenario formation control method based on hybrid iterative learning, wherein when multiple UAVs need to switch tasks in a multi-task scenario, the target flight data of each UAV is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each UAV is output, specifically including:
[0011] When multiple drones need to switch tasks in a multi-task scenario, receive corresponding switching instructions, and obtain target flight data of each drone according to the switching instructions, wherein the target flight data includes position data, speed data, attitude data and acceleration data;
[0012] The target flight data is input into an iterative learning observer, which calculates the state value of the target flight data according to a first formula to obtain a state estimation value, performs disturbance calculation on the state estimation value according to a second formula to obtain a disturbance estimation value, and updates the state estimation value according to the disturbance estimation value to obtain a target state estimation value corresponding to each of the UAVs.
[0013] Optionally, in the hybrid iterative learning-based UAV swarm multi-task scenario formation control method, the first formula is:
[0014]
[0015] The second formula is:
[0016]
[0017] Among them, t is the time variable, h is the iteration index, and j is the index number of the drone. is the estimated state of the j-th UAV at time t and iteration h, f s (t) is a nonlinear function related to the switching signal s(t), is the time derivative of the estimated state variable of the jth UAV at time t and iteration h, B s (t) is the input matrix determined by the switching signal s(t), u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and iteration h, is the gain matrix, y (j) (t, h) and are the output vectors of the jth UAV at time t and iteration h, and are the estimated output vectors of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and the next iteration h+1, is the observer gain matrix.
[0018] Optionally, the UAV swarm multi-task scenario formation control method based on hybrid iterative learning, wherein all the target flight data are input into an iterative learning controller, a control parameter value corresponding to each of the UAVs is output, and a plurality of target control parameters are obtained according to all the target state estimation values and all the control parameter values, specifically including:
[0019] Inputting all the target flight data into an iterative learning controller, the iterative learning controller performing control parameter calculation on the target flight data according to a third formula to obtain a control parameter value corresponding to each of the drones;
[0020] The control parameters of all the UAVs are obtained, and all the control parameters are adjusted according to all the target state estimation values and all the control parameter values to obtain a plurality of target control parameters.
[0021] Optionally, in the hybrid iterative learning-based UAV swarm multi-task scenario formation control method, the third formula is:
[0022]
[0023] Among them, u (j) (t, h+1) is the control input vector of the j-th UAV at time t and the next iteration h+1, u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the gain matrix of the state estimation error, and are the gain matrices of the output errors, is the gain matrix of disturbance estimation, is the difference between the estimated state of the j-th UAV at time t at iteration h+1 and iteration h, and are the derivatives of the formation tracking error of the j-th UAV at time t and iteration h steps, is the difference between the disturbance estimates of the next iteration h+1 and iteration h of the j-th UAV at time t.
[0024] Optionally, the UAV swarm multi-task scenario formation control method based on hybrid iterative learning, wherein the analyzing and processing of all the target flight data obtains a plurality of target state parameters, obtains a target scenario formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and performs UAV formation change according to the target scenario formation strategy to obtain the target formation, specifically includes:
[0025] Analyze and calculate all the target flight data according to the fourth formula and the fifth formula to obtain a plurality of target state parameters, and predict the initial state of the UAV according to all the target state parameters to obtain a plurality of target initial state information;
[0026] Formulate a target scenario formation strategy corresponding to the task after switching according to all the target state estimation values, all the target control parameters and all the target initial state information, and perform UAV formation switching according to the target scenario formation strategy to obtain a target formation;
[0027] The contents of the UAV formation include UAV operation mode, UAV communication topology and UAV dynamic model.
[0028] Optionally, in the hybrid iterative learning-based UAV swarm multi-task scenario formation control method, the fourth formula is:
[0029]
[0030] The fifth formula is:
[0031]
[0032] in, is the position component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the position component of the initial state vector of the j-th UAV at the beginning of iteration h, is the velocity component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the velocity component of the initial state vector of the jth UAV at the beginning of iteration h, B1 is the preset matrix, and are the control gain matrices corresponding to the j-th UAV, ψ (j) (0, h) and are the formation tracking errors of the j-th UAV at the beginning of iteration h.
[0033] Optionally, the UAV swarm multi-task scenario formation control method based on hybrid iterative learning, wherein the UAV swarm multi-task scenario formation control system based on hybrid iterative learning includes:
[0034] A state output module is used to obtain the target flight data of each UAV when multiple UAVs need to switch tasks in a multi-task scenario, input all the target flight data into the iterative learning observer, and output the target state estimation value corresponding to each UAV;
[0035] A parameter output module, used to input all the target flight data into the iterative learning controller, output the control parameter value corresponding to each of the UAVs, and obtain a plurality of target control parameters according to all the target state estimation values and all the control parameter values;
[0036] The UAV control module is used to analyze and process all the target flight data to obtain multiple target state parameters, obtain a target scene formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and switch the UAV formation according to the target scene formation strategy to obtain the target formation.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a program stored in the memory and executable on the processor, and when the program is executed by the processor, the steps of the drone cluster multi-task scenario formation control method based on hybrid iterative learning as described above are implemented.
[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a drone cluster multi-task scenario formation control program based on hybrid iterative learning, and when the drone cluster multi-task scenario formation control program based on hybrid iterative learning is executed by a processor, the steps of the drone cluster multi-task scenario formation control method based on hybrid iterative learning as described above are implemented.
[0039] In the present invention, when multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output; all the target flight data are input into the iterative learning controller, and the control parameter value corresponding to each drone is output, and multiple target control parameters are obtained according to all the target state estimation values and all the control parameter values; all the target flight data are analyzed and processed to obtain multiple target state parameters, and the target scene formation strategy is obtained according to all the target state estimation values, all the target control parameters and all the target state parameters, and the drone formation is switched according to the target scene formation strategy to obtain the target formation. The present invention forms a new hybrid iterative learning control strategy by combining the iterative learning observer and the improved iterative learning controller, and realizes the adaptive adjustment of the drone formation through the hybrid iterative learning control strategy. This is difficult to achieve with the traditional formation control method, and the hybrid iterative learning control strategy also realizes the real-time adjustment and optimization of the control strategy when facing the switching of the drone dynamic model, ensuring the stability of the formation structure and the accuracy of task execution. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of a multi-task scenario formation control method for a drone cluster based on hybrid iterative learning in a preferred embodiment of the present invention;
[0041] Figure 2 It is a flow chart of a preferred embodiment of the UAV cluster multi-task scenario formation control method based on hybrid iterative learning in the present invention;
[0042] Figure 3 is a schematic diagram of switching operation modes of multiple UAVs according to a preferred embodiment of the present invention;
[0043] Figure 4 This is a schematic diagram of multi-UAV communication topology switching in a preferred embodiment of the present invention;
[0044] Figure 5 It is a schematic diagram of the principle of a preferred embodiment of a UAV cluster multi-task scenario formation control system based on hybrid iterative learning in the present invention;
[0045] Figure 6 It is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0047] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0048] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0049] At present, the formation control of multi-UAV system is one of the most basic problems in multi-agent control, which requires all UAVs to perform predetermined tasks in a specific topological structure. However, considering that the dynamic model of UAV is nonlinear, strongly coupled, time-varying and under-driven, the existing ILC (Iterative Learning Controller) method is used, but the proposed formation control scheme based on iterative learning control can only be implemented in a single task scenario. Moreover, most of the existing technical solutions are constructed in the infinite time domain, which means that the formation goal can theoretically only be achieved when the time tends to infinity. Therefore, this feature also brings certain limitations when dealing with actual tasks with limited time. Therefore, in order to solve the above-mentioned problems, the present invention proposes HLIC (Hybrid Learning Iterative Control) to assist the formation control of multiple UAVs in multi-task scenarios. The hybrid iterative learning control strategy in the present invention combines ILO (Iterative Learning The hybrid iterative learning control strategy realizes real-time adjustment and optimization of the control strategy when facing the UAV model switching, ensuring the stability of the formation structure and the accuracy of task execution. At the same time, the ISILM (Initial State Iterative Learning Mechanism) is set to optimize the starting conditions of the multi-UAV system formation task. The initial state of each iterative task is accurately adjusted by analyzing the execution data of previous tasks. The purpose is to reduce the initial state error and ensure that the formation task is executed from the best state, thereby improving the efficiency and accuracy of the overall task execution. Figure 1 As shown, the data u(t, h) stored in the hth iteration process are controlled by the hybrid iterative learning control strategy. and e(t, h) to obtain the corresponding first processing results, which are ω s(t) (t, h+1), u(t, h+1) and x(0, h+1), the data x(0, h) stored in the h-th iteration process is processed by the initial state iteration learning module to obtain the corresponding second processing result, which is x(0, h+1), where u(t, h) is the control input vector of the drone at time t and iteration h, is the time derivative of the estimated state variable of the UAV at time t and iteration h, is the disturbance estimate of the UAV at time t and iteration h, e(t, h) is the initial state vector of the UAV at time t and the next iteration h, x(0, h) is the input data at iteration h, ω s(t)(t, h+1) is the disturbance estimate of the UAV at time t and the next iteration h+1, u(t, h+1) is the control input vector of the UAV at time t and the next iteration h+1, and x(0, h+1) is the input data at iteration h+1; the first processing result and the second processing result are used as the data stored in the h+1th iteration process; and a switching signal is received, which includes a switching operation mode signal and a switching communication topology signal, and the first processing result, the second processing result and the switching signal are sent to the multi-UAV system to complete the corresponding model switching, for example, switching the current model 1 to other models; then the switching result is sent to the sensor, and the sensor obtains y(t, h+1) according to the switching result, and switches the communication topology of the UAV according to y(t, h+1), and y(t, h+1) is the output vector of the UAV at time t and iteration h.
[0050] The multi-task scenario formation control method of UAV cluster based on hybrid iterative learning described in the preferred embodiment of the present invention is as follows: Figure 2 As shown, the UAV swarm multi-task scenario formation control method based on hybrid iterative learning includes the following steps:
[0051] Step S10: When multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output.
[0052] The step S10 comprises:
[0053] Step S11: When multiple drones need to switch tasks in a multi-task scenario, a corresponding switching instruction is received, and target flight data of each drone is acquired according to the switching instruction, wherein the target flight data includes position data, speed data, attitude data and acceleration data;
[0054] Step S12: input the target flight data into an iterative learning observer, the iterative learning observer calculates the state value of the target flight data according to the first formula to obtain a state estimation value, performs disturbance calculation on the state estimation value according to the second formula to obtain a disturbance estimation value, and updates the state estimation value according to the disturbance estimation value to obtain a target state estimation value corresponding to each of the UAVs.
[0055] Specifically, when multiple drones need to switch tasks in a multi-task scenario, the corresponding switching instructions are received, and the target flight data of each drone is obtained according to the switching instructions, wherein the target flight data includes position data, speed data, attitude data and acceleration data; then, the obtained target flight data is input into the iterative learning observer, and the target flight data is iteratively learned by the iterative learning observer to output an estimated value corresponding to the drone state, that is, the target state estimated value, in order to improve the accuracy of the system state estimation in each iteration process, and to estimate and compensate for the external disturbances that the system may encounter. The specific process is that after the target flight data is input into the iterative learning observer, the iterative learning observer first calculates the rate of change of the drone state position through a state equation, and the state equation is: Among them, t is the time variable, h is the iteration index, and j is the index number of the drone. is the rate of change of the estimated state position of the j-th UAV at time t and iteration h, is the time derivative of the estimated state variable of the j-th UAV at time t and iteration h. In the embodiment of the present invention, this state equation indicates that the rate of change of the estimated state position of the j-th UAV is equal to the estimated value of the speed. Then, the state value of the target flight data is calculated according to the first formula to obtain the state estimation value. The first formula is also a state equation, specifically,
[0056] in, is the estimated state of the j-th UAV at time t and iteration h, f s (t) is a nonlinear function related to the switching signal s(t), which is used to describe the nonlinear dynamics of the UAV state variables. s (t) is the input matrix determined according to the switching signal s(t), which is used to describe the influence of the control input on the state variables of the UAV, u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and iteration h, is the gain matrix, y (j) (t, h) is the output vector of the jth UAV at time t and iteration h, is the estimated output vector of the jth UAV at time t and iteration h, where Through the output matrix C s (t) is obtained from the position component of the estimated state and is used to map the state vector to the output space. The corresponding acquisition formula is: is the position component of the estimated state position of the j-th UAV at time t and iteration h; then the state estimate is perturbed according to the second formula to obtain a perturbation estimate, where the second formula is, in, is the disturbance estimate of the j-th UAV at time t and the next iteration h+1, is the output vector of the jth UAV at time t and iteration h, is the estimated output vector of the jth UAV at time t and iteration h, is an observer gain matrix, which is used to update the state estimation vector according to the output error; and the state estimation value is updated according to the disturbance estimation value to obtain the target state estimation value corresponding to each of the UAVs; the present invention uses an iterative learning observer to monitor and estimate the state corresponding to the UAV in real time, and the response to iteratively changing external interference, so that the UAV formation can more flexibly adapt to complex and changeable mission environments and operation mode switching.
[0057] Step S20: input all the target flight data into an iterative learning controller, output the control parameter value corresponding to each of the UAVs, and obtain multiple target control parameters according to all the target state estimation values and all the control parameter values.
[0058] The step S20 comprises:
[0059] Step S21, inputting all the target flight data into an iterative learning controller, and the iterative learning controller calculates the control parameters of the target flight data according to a third formula to obtain a control parameter value corresponding to each of the UAVs;
[0060] Step S22: Acquire control parameters of all the UAVs, and adjust all the control parameters according to all the target state estimation values and all the control parameter values to obtain multiple target control parameters.
[0061] Specifically, in the embodiment of the present invention, in order to improve the control input of the UAV in each task iteration to improve the accuracy of task execution, the improved control input is obtained by adding an adjustment item on the basis of the original control input, with the purpose of reducing the deviation of the UAV state in the next iteration step, so as to track the desired trajectory or perform the specified task more accurately; specifically, by inputting all the target flight data into the iterative learning controller, the iterative learning controller calculates the control parameters of the target flight data according to the third formula, and obtains the control parameter value corresponding to each UAV; wherein the third formula is,
[0062]
[0063] u(j) (t, h+1) is the control input vector of the j-th UAV at time t and the next iteration h+1, u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the gain matrix of the state estimation error, and are the gain matrices of the output errors, is the gain matrix of disturbance estimation, is the difference between the estimated state of the j-th UAV at time t at iteration h+1 and iteration h, that is, and are the derivatives of the formation tracking error of the j-th UAV at time t and iteration h steps, is the difference between the disturbance estimate of the next iteration h+1 and iteration h of the j-th UAV at time t, that is, Afterwards, it is necessary to dynamically adjust the control parameters of the UAVs. The control parameters of all the UAVs are obtained and adjusted according to all the target state estimation values and all the control parameter values to obtain multiple target control parameters. The present invention utilizes the learning results in the iterative process to dynamically adjust the control parameters of the UAVs to adapt to changes in the external environment and mission requirements, so that the coordination and stability of the UAV formation in the process of executing the mission are significantly improved, especially in the face of dynamic model changes and communication topology switching.
[0064] Step S30, analyzing and processing all the target flight data to obtain multiple target state parameters, obtaining a target scenario formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and switching the UAV formation according to the target scenario formation strategy to obtain the target formation.
[0065] The step S30 comprises:
[0066] Step S31, analyzing and calculating all the target flight data according to the fourth formula and the fifth formula to obtain a plurality of target state parameters, and predicting the initial state of the UAV according to all the target state parameters to obtain a plurality of target initial state information;
[0067] Step S32, formulate a target scenario formation strategy corresponding to the task after switching according to all the target state estimation values, all the target control parameters and all the target initial state information, and perform UAV formation switching according to the target scenario formation strategy to obtain a target formation, wherein the content of the UAV formation includes a UAV operation mode, a UAV communication topology and a UAV dynamic model.
[0068] Specifically, the present invention optimizes the starting conditions of the formation mission of multiple drones by setting an initial state iterative learning module, and accurately adjusts the initial state of each iterative mission by analyzing the execution data of previous missions, with the purpose of reducing the initial state error and ensuring that the formation mission is executed from the best state, thereby improving the efficiency and accuracy of the overall mission execution; specifically, the target flight data is collected in real time, combined with the predetermined mission requirements and environmental variables, all the target flight data are analyzed and calculated according to the fourth formula and the fifth formula to obtain multiple target state parameters, and the fourth formula is: The fifth formula is: in, is the position component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the position component of the initial state vector of the j-th UAV at the beginning of iteration h, is the velocity component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the velocity component of the initial state vector of the jth UAV at the beginning of iteration h, B1 is a preset matrix used to affect the gain term in the control update rule, and are the control gain matrices corresponding to the jth UAV. These gain matrices determine the contribution of the formation tracking error to the initial state update, ψ (j) (0, h) and are all formation tracking errors of the j-th UAV at the beginning of iteration h; and the initial state of the UAV is predicted according to all the target state parameters, and the optimal initial state of each UAV is set according to the corresponding prediction results to obtain multiple target initial state information; then, a target scenario formation strategy corresponding to the task after switching is formulated according to all the target state estimation values, all the target control parameters and all the target initial state information, and the UAV formation is switched according to the target scenario formation strategy to obtain the target formation, and the content of the UAV formation includes the UAV operation mode, the UAV communication topology and the UAV dynamic model.
[0069] If it is necessary to switch the operation mode of the drone, the operation modes of the corresponding multiple drones before switching and after switching are as follows: Figure 3 As shown, Figure 3 The four drones in the formation are drone 1, drone 2, drone 3 and drone 4. The current operation modes are all load operation modes, while the operation modes of drone 1, drone 2, drone 3 and drone 4 after switching are no-load operation modes, and they can be switched flexibly, and the stability of the formation structure is guaranteed; if the communication topology of the drone needs to be switched, the communication topology switching of the corresponding multiple drones is as follows Figure 4As shown, Figure 4 The four drones in the embodiment are drone 1, drone 2, drone 3 and drone 4. If the current communication relay is drone 1, after drone 1 receives the signal, it distributes the signal to drone 2 and drone 4 respectively, and drone 2 then sends the signal to drone 3; if the current communication relay is switched to drone 2, after drone 2 receives the signal, it distributes the signal to drone 1 and drone 3 respectively, and drone 3 then sends the signal to drone 4; if the current communication relay is switched to drone 3, after drone 3 receives the signal, it distributes the signal to drone 2 and drone 4 respectively, and drone 4 then sends the signal to drone 1; if the current communication relay is switched to drone 4, after drone 4 receives the signal, it distributes the signal to drone 1 and drone 3 respectively, and drone 3 then sends the signal to drone 2; the present invention optimizes the mode switching and dynamic topology switching of multiple drones, so that the drone formation can flexibly respond to the switching of different operation modes while maintaining efficient coordination and stability.
[0070] In summary, the present invention significantly improves the adaptability and flexibility of multi-UAV systems in multi-task scenarios by introducing a hybrid iterative learning control strategy, enables the UAV formation to effectively cope with the dynamic switching of operation modes and communication topologies, and optimizes the control effect of the UAV formation when facing model changes by adjusting control parameters and strategies in real time, thereby improving the accuracy and efficiency of the formation's task execution. Moreover, the present invention has a wide range of applications and is not only suitable for complex emergency rescue, environmental monitoring and other fields, but also can meet other scenarios that require rapid response and processing of diversified tasks, providing new ideas and tools for the development of multi-UAV formation control technology.
[0071] Furthermore, if Figure 5 As shown, based on the above-mentioned UAV cluster multi-task scenario formation control method based on hybrid iterative learning, the present invention also provides a UAV cluster multi-task scenario formation control system based on hybrid iterative learning, and the UAV cluster multi-task scenario formation control system based on hybrid iterative learning includes:
[0072] The state output module 51 is used to obtain the target flight data of each UAV when multiple UAVs need to switch tasks in a multi-task scenario, input all the target flight data into the iterative learning observer, and output the target state estimation value corresponding to each UAV;
[0073] A parameter output module 52, used to input all the target flight data into an iterative learning controller, output a control parameter value corresponding to each of the UAVs, and obtain a plurality of target control parameters according to all the target state estimation values and all the control parameter values;
[0074] The UAV control module 53 is used to analyze and process all the target flight data to obtain multiple target state parameters, obtain the target scene formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and switch the UAV formation according to the target scene formation strategy to obtain the target formation.
[0075] Furthermore, if Figure 6 As shown, based on the above-mentioned drone cluster multi-task scenario formation control method based on hybrid iterative learning, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 6 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0076] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a drone cluster multi-task scene formation control program 40 based on hybrid iterative learning is stored on the memory 20, and the drone cluster multi-task scene formation control program 40 based on hybrid iterative learning can be executed by the processor 10, thereby realizing the drone cluster multi-task scene formation control method based on hybrid iterative learning in this application.
[0077] In some embodiments, the processor 10 can be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the drone cluster multi-task scenario formation control method based on hybrid iterative learning.
[0078] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0079] In one embodiment, when the processor 10 executes the program 40 for drone cluster multi-task scenario formation control based on hybrid iterative learning in the memory 20, the following steps are implemented:
[0080] When multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output;
[0081] Inputting all the target flight data into an iterative learning controller, outputting a control parameter value corresponding to each of the UAVs, and obtaining a plurality of target control parameters according to all the target state estimation values and all the control parameter values;
[0082] All the target flight data are analyzed and processed to obtain a plurality of target state parameters, a target scenario formation strategy is obtained according to all the target state estimation values, all the target control parameters and all the target state parameters, and UAV formation switching is performed according to the target scenario formation strategy to obtain a target formation.
[0083] When multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output, which specifically includes:
[0084] When multiple drones need to switch tasks in a multi-task scenario, receive corresponding switching instructions, and obtain target flight data of each drone according to the switching instructions, wherein the target flight data includes position data, speed data, attitude data and acceleration data;
[0085] The target flight data is input into an iterative learning observer, which calculates the state value of the target flight data according to a first formula to obtain a state estimation value, performs disturbance calculation on the state estimation value according to a second formula to obtain a disturbance estimation value, and updates the state estimation value according to the disturbance estimation value to obtain a target state estimation value corresponding to each of the UAVs.
[0086] Among them, the first formula is:
[0087]
[0088] The second formula is:
[0089]
[0090] Among them, t is the time variable, h is the iteration index, and j is the index number of the drone. is the estimated state of the j-th UAV at time t and iteration h, f s (t) is a nonlinear function related to the switching signal s(t), is the time derivative of the estimated state variable of the jth UAV at time t and iteration h, B s (t) is the input matrix determined by the switching signal s(t), u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and iteration h, is the gain matrix, y (j) (t, h) and are the output vectors of the jth UAV at time t and iteration h, and are the estimated output vectors of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and the next iteration h+1, is the observer gain matrix.
[0091] The step of inputting all the target flight data into an iterative learning controller, outputting the control parameter value corresponding to each of the UAVs, and obtaining a plurality of target control parameters according to all the target state estimation values and all the control parameter values specifically includes:
[0092] Inputting all the target flight data into an iterative learning controller, the iterative learning controller performing control parameter calculation on the target flight data according to a third formula to obtain a control parameter value corresponding to each of the drones;
[0093] The control parameters of all the UAVs are obtained, and all the control parameters are adjusted according to all the target state estimation values and all the control parameter values to obtain a plurality of target control parameters.
[0094] Wherein, the third formula is:
[0095]
[0096] Among them, u (j)(t, h+1) is the control input vector of the j-th UAV at time t and the next iteration h+1, u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the gain matrix of the state estimation error, and are the gain matrices of the output errors, is the gain matrix of disturbance estimation, is the difference between the estimated state of the j-th UAV at time t at iteration h+1 and iteration h, and are the derivatives of the formation tracking error of the j-th UAV at time t and iteration h steps, is the difference between the disturbance estimates of the next iteration h+1 and iteration h of the j-th UAV at time t.
[0097] The step of analyzing and processing all the target flight data to obtain a plurality of target state parameters, obtaining a target scenario formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and switching the UAV formation according to the target scenario formation strategy to obtain the target formation specifically includes:
[0098] Analyze and calculate all the target flight data according to the fourth formula and the fifth formula to obtain a plurality of target state parameters, and predict the initial state of the UAV according to all the target state parameters to obtain a plurality of target initial state information;
[0099] Formulate a target scenario formation strategy corresponding to the task after switching according to all the target state estimation values, all the target control parameters and all the target initial state information, and perform UAV formation switching according to the target scenario formation strategy to obtain a target formation;
[0100] The contents of the UAV formation include UAV operation mode, UAV communication topology and UAV dynamic model.
[0101] Wherein, the fourth formula is:
[0102]
[0103] The fifth formula is:
[0104]
[0105] in, is the position component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the position component of the initial state vector of the j-th UAV at the beginning of iteration h, is the velocity component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the velocity component of the initial state vector of the jth UAV at the beginning of iteration h, B1 is the preset matrix, and are the control gain matrices corresponding to the j-th UAV, ψ (j) (0, h) and are the formation tracking errors of the j-th UAV at the beginning of iteration h.
[0106] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a drone cluster multi-task scenario formation control program based on hybrid iterative learning, and when the drone cluster multi-task scenario formation control program based on hybrid iterative learning is executed by a processor, the steps of the drone cluster multi-task scenario formation control method based on hybrid iterative learning as described above are implemented.
[0107] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0108] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0109] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A multi-task scenario formation control method for UAV swarm based on hybrid iterative learning, characterized in that: The UAV swarm multi-task scenario formation control method based on hybrid iterative learning includes: When multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output; Inputting all the target flight data into an iterative learning controller, outputting a control parameter value corresponding to each of the UAVs, and obtaining a plurality of target control parameters according to all the target state estimation values and all the control parameter values; All the target flight data are analyzed and processed to obtain a plurality of target state parameters, a target scenario formation strategy is obtained according to all the target state estimation values, all the target control parameters and all the target state parameters, and UAV formation switching is performed according to the target scenario formation strategy to obtain a target formation.
2. The UAV swarm multi-task scenario formation control method based on hybrid iterative learning according to claim 1 is characterized in that: When multiple drones need to switch tasks in a multi-task scenario, the target flight data of each drone is obtained, all the target flight data are input into the iterative learning observer, and the target state estimation value corresponding to each drone is output, which specifically includes: When multiple drones need to switch tasks in a multi-task scenario, receive corresponding switching instructions, and obtain target flight data of each drone according to the switching instructions, wherein the target flight data includes position data, speed data, attitude data and acceleration data; The target flight data is input into an iterative learning observer, which calculates the state value of the target flight data according to a first formula to obtain a state estimation value, performs disturbance calculation on the state estimation value according to a second formula to obtain a disturbance estimation value, and updates the state estimation value according to the disturbance estimation value to obtain a target state estimation value corresponding to each of the UAVs.
3. The UAV swarm multi-task scenario formation control method based on hybrid iterative learning according to claim 2 is characterized in that: The first formula is: The second formula is: Among them, t is the time variable, h is the iteration index, and j is the index number of the drone. is the estimated state of the j-th UAV at time t and iteration h, f s (t) is a nonlinear function related to the switching signal s(t), is the time derivative of the estimated state variable of the jth UAV at time t and iteration h, B s (t) is the input matrix determined by the switching signal s(t), u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and iteration h, is the gain matrix, y (j) (t, h) and are the output vectors of the jth UAV at time t and iteration h, and are the estimated output vectors of the j-th UAV at time t and iteration h, is the disturbance estimate of the j-th UAV at time t and the next iteration h+1, is the observer gain matrix.
4. The UAV swarm multi-task scenario formation control method based on hybrid iterative learning according to claim 3 is characterized in that: The step of inputting all the target flight data into an iterative learning controller, outputting the control parameter value corresponding to each of the UAVs, and obtaining a plurality of target control parameters according to all the target state estimation values and all the control parameter values specifically includes: Inputting all the target flight data into an iterative learning controller, the iterative learning controller performing control parameter calculation on the target flight data according to a third formula to obtain a control parameter value corresponding to each of the drones; The control parameters of all the UAVs are obtained, and all the control parameters are adjusted according to all the target state estimation values and all the control parameter values to obtain a plurality of target control parameters.
5. The UAV swarm multi-task scenario formation control method based on hybrid iterative learning according to claim 4 is characterized in that: The third formula is: Among them, u (j) (t, h+1) is the control input vector of the j-th UAV at time t and the next iteration h+1, u (j) (t, h) is the control input vector of the j-th UAV at time t and iteration h, is the gain matrix of the state estimation error, and are the gain matrices of the output errors, is the gain matrix of disturbance estimation, is the difference between the estimated state of the j-th UAV at time t at iteration h+1 and iteration h, and are the derivatives of the formation tracking error of the j-th UAV at time t and iteration h steps, is the difference between the disturbance estimates of the next iteration h+1 and iteration h of the j-th UAV at time t.
6. The UAV swarm multi-task scenario formation control method based on hybrid iterative learning according to claim 1 is characterized in that: The step of analyzing and processing all the target flight data to obtain a plurality of target state parameters, obtaining a target scenario formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and switching the UAV formation according to the target scenario formation strategy to obtain the target formation specifically includes: Analyze and calculate all the target flight data according to the fourth formula and the fifth formula to obtain a plurality of target state parameters, and predict the initial state of the UAV according to all the target state parameters to obtain a plurality of target initial state information; Formulate a target scenario formation strategy corresponding to the task after switching according to all the target state estimation values, all the target control parameters and all the target initial state information, and perform UAV formation switching according to the target scenario formation strategy to obtain a target formation; The contents of the UAV formation include UAV operation mode, UAV communication topology and UAV dynamic model.
7. The UAV swarm multi-task scenario formation control method based on hybrid iterative learning according to claim 6 is characterized in that: The fourth formula is: The fifth formula is: in, is the position component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the position component of the initial state vector of the j-th UAV at the beginning of iteration h, is the velocity component of the initial state vector of the j-th UAV at the beginning of the next iteration h+1, is the velocity component of the initial state vector of the jth UAV at the beginning of iteration h, B1 is the preset matrix, and are the control gain matrices corresponding to the j-th UAV, ψ (j) (0, h) and are the formation tracking errors of the j-th UAV at the beginning of iteration h.
8. A multi-task scenario formation control system for drone swarms based on hybrid iterative learning, characterized in that: The UAV swarm multi-task scenario formation control system based on hybrid iterative learning includes: A state output module is used to obtain the target flight data of each UAV when multiple UAVs need to switch tasks in a multi-task scenario, input all the target flight data into the iterative learning observer, and output the target state estimation value corresponding to each UAV; A parameter output module, used to input all the target flight data into the iterative learning controller, output the control parameter value corresponding to each of the UAVs, and obtain a plurality of target control parameters according to all the target state estimation values and all the control parameter values; The UAV control module is used to analyze and process all the target flight data to obtain multiple target state parameters, obtain a target scenario formation strategy according to all the target state estimation values, all the target control parameters and all the target state parameters, and form UAVs according to the target scenario formation strategy to obtain a target formation.
9. A terminal, characterized in that: The terminal includes a memory, a processor, and a program stored in the memory and executable on the processor. When the program is executed by the processor, the steps of the drone cluster multi-task scenario formation control method based on hybrid iterative learning as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer-readable storage medium stores a drone swarm multi-task scenario formation control program based on hybrid iterative learning. When the drone swarm multi-task scenario formation control program based on hybrid iterative learning is executed by a processor, the steps of the drone swarm multi-task scenario formation control method based on hybrid iterative learning are implemented as described in any one of claims 1-7.
