A multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication
By introducing event-triggered communication mechanism and radial basis neural network compression compensation technology into unmanned ship formation control, the problem of limited inter-ship communication bandwidth and external interference is solved, efficient unmanned ship formation control is achieved, and communication resources are reduced load and improves system stability.
Patent Information
- Application Number
- CN202210700626.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-06-20
AI Technical Summary
Existing unmanned ship formation control methods do not consider the problem of limited inter-ship communication bandwidth, resulting in excessive occupancy of communication channels. In marine practice, unknown external interference and model uncertainty may cause the control system to diverge.
A multi-ship distributed fault-tolerant control method that considers inter-ship event-triggered communication is adopted. By constructing an under-actuated ship mathematical model and a driver failure model, an inter-ship event-triggered communication mechanism is designed, and a radial basis neural network is used to compress and compensate uncertain items. The position and heading angle of the unmanned ship are adjusted through distributed virtual controllers and adaptive laws to reduce the number of communications and improve system stability.
It effectively reduces the number of times the inter-ship communication channel is occupied, improves the formation control performance, reduces the load on communication resources, and maintains the stability and efficient operation of the system in the presence of external interference and faults.
Smart Images

Figure CN115016277B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ship motion control, and in particular to a multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication. Background Art
[0002] In order to meet the needs of the development of intelligent ships, unmanned ship control technology and its engineering applications have developed rapidly. In recent years, with the emergence of the concept of unmanned ships, a large number of theoretical studies and engineering applications have been developed and achieved certain results. In particular, the control of unmanned ship formations has received more and more attention from the marine control community. This is mainly because multi-ship formations have huge advantages in both civil and military fields. Compared with a single ship, an unmanned ship formation has the characteristics of high efficiency, unmanned, high autonomy, and the ability to complete complex tasks in a limited time. Therefore, the formation control of multiple unmanned ships has received widespread attention from the marine control community. The more mature formation control methods include the pilot-follower method, the graph theory-based method, the virtual structure method, the behavior-based method, and so on. Among them, the pilot-follower method is widely used because of its simple formation and scalability. However, one of the drawbacks of the pilot-follower method is that it is too dependent on the pilot ship. Once the pilot ship has an accident such as an execution equipment failure that causes work ineffectiveness, the entire formation system will not be able to continue to maintain the desired formation. In order to solve this problem, some scholars at home and abroad have introduced graph theory methods into the field of formation control, that is, graph theory-based methods. At present, the ship formations based on graph theory mainly include distributed, decentralized and centralized methods, among which the distributed method is the most popular. However, this method rarely considers the situation where the bandwidth of inter-ship communication is limited. In a directed topology, each ship needs to broadcast its status information to neighboring ships under the topological connection in real time to ensure the maintenance of the formation. However, continuous signal transmission may cause the communication channel to occupy too much load, high occupancy frequency, and even unnecessary waste of communication resources.
[0003] With the development of unmanned ship research, the research on multi-ship distributed control has received unprecedented attention. Many researchers at home and abroad have achieved relatively mature research results. However, the current research on unmanned ship formation control still has the following problems:
[0004] 1) The existing unmanned ship formation control method does not consider the problem of limited bandwidth of inter-ship communication. Although the existing multi-ship distributed control method has achieved certain results, it requires each ship in the communication topology to send its status information in real time for use by its connected neighboring ships, which requires continuous occupation of communication channels. Therefore, how to design a distributed control method that can reduce the number of times the inter-ship communication channel is occupied while ensuring effective formation control performance is a problem that needs to be solved urgently;
[0005] 2) In marine practice, the existence of uncertainties such as unknown external interference, model uncertainty and driver failure endangers the control performance of the closed-loop control system and can even cause the entire system to diverge. Summary of the invention
[0006] The present invention provides a multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication to overcome the above technical problems.
[0007] A multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication, comprising:
[0008] S1: constructing a mathematical model of an under-actuated ship and a driver failure model, creating N unmanned ships based on the mathematical model of the under-actuated unmanned ship and the driver failure model, forming a fleet of ships with the N unmanned ships, constructing a mathematical model of a virtual ship, and creating a virtual ship based on the mathematical model of the virtual ship;
[0009] S2: Design an inter-ship event-triggered communication mechanism to update the status information of all neighboring ships of each unmanned ship, including the horizontal coordinate, vertical coordinate, and heading angle of the unmanned ship;
[0010] S3: designing a local synchronization error according to the state information of the unmanned ship and the virtual ship, designing a distributed virtual controller and a first adaptive law according to the local synchronization error, and the distributed virtual controller and the first adaptive law are used to adjust the horizontal and vertical coordinate position errors and the heading angle error of the unmanned ship;
[0011] S4: using a radial basis function neural network to compress and compensate for the uncertainties of the mathematical model of the under-actuated ship and the external interference, wherein the uncertainties include an unknown structural function of the desired forward speed and an unknown structural function of the desired bow angular velocity, and the external interference includes a time-varying environmental interference of the desired forward speed, a time-varying environmental interference of the desired transverse drift speed, and a time-varying environmental interference of the desired bow angular velocity;
[0012] S5: Construct a controller and a second adaptive law, and construct a driver based on the controller and the second adaptive law. The controller sends control commands to the driver in real time, and the driver drives the unmanned boat to sail autonomously.
[0013] Preferably, S1 comprises constructing a mathematical model of an underactuated ship according to formulas (1), (2) and (3),
[0014]
[0015] Mv=-F(v)+τ F +d w (2)
[0016]
[0017]
[0018] Where η = [x, y, ψ] T is the position vector of the ship in the geographic coordinate system, x and y are the horizontal and vertical coordinates of the ship, ψ is the heading angle of the ship, and v = [u, v, r] T is the ship velocity vector, m u is the uncertain parameter of the ship model related to the expected forward speed, m v is the uncertain parameter of the ship model related to the expected drift speed, m r is the uncertain parameter of the ship model related to the expected bow angular velocity, f u (v) is the unknown structure function related to the expected forward speed, f v (v) is the unknown structure function of the desired drift velocity, f r (v) is the unknown structure function of the desired bow angular velocity, f v (v), f v (v), f r The function of (v) is shown in formula (4), d u1 is the first hydrodynamic parameter related to the expected forward speed, d v1 is the first hydrodynamic parameter related to the desired drift speed, d r1 is the first hydrodynamic parameter related to the desired bow angular velocity, d u2 is the second hydrodynamic parameter related to the expected forward speed, d v2 is the second hydrodynamic parameter related to the desired drift speed, d r2 is the second hydrodynamic parameter related to the desired bow angular velocity, d u3 is the third hydrodynamic parameter related to the expected forward speed, d v3 is the third hydrodynamic parameter related to the desired drift speed, d r3 is the third hydrodynamic parameter related to the desired bow angular velocity, d wu is the time-varying environmental disturbance with respect to the desired forward speed, d wv is the time-varying environmental disturbance with respect to the desired drift velocity, d wr is the time-varying environmental disturbance related to the desired bow angular velocity, T u (·) is the unknown gain function related to the desired forward speed, F r (·) is the unknown gain function related to the desired bow angular velocity, N F , δ F is the ship's propeller speed and rudder angle;
[0019] According to formula (5), a driver failure model is constructed. According to the mathematical model of under-actuated unmanned ship and the driver failure model, N unmanned ships are created. The fleet is composed of N unmanned ships.
[0020]
[0021] Among them, N i (t), δ i (t) is the propeller speed and rudder angle of the ship input before the driver fails, ρ ki (t) is the stall fault parameter, ρ ki (t)∈(0,1], k=N, δ is the ship stall fault parameter, is the bias fault parameter,
[0022] According to formula (6), a virtual ship mathematical model is constructed, and a virtual ship is created according to the virtual ship mathematical model.
[0023]
[0024] Among them, ψ d is the heading angle of the virtual ship, x d ,y d is the horizontal and vertical position coordinates of the virtual ship, u d is the expected forward speed of the virtual ship, r d is the expected bow angular velocity of the virtual ship.
[0025] Preferably, S2 includes designing an inter-ship event triggered communication mechanism according to formula (7), obtaining a triggering time according to formula (7),
[0026]
[0027] Among them, m j,x , m j,y , m j,ψ is a positive constant, t is the time period, represents the event triggering time of the unmanned ship with sequence j, j is the serial number of the unmanned ship, is the horizontal coordinate of the position of the jth unmanned ship in time period t, is the ordinate of the position of the jth unmanned ship in time period t, is the heading angle of the jth unmanned ship in time period t,
[0028] definition represents the state information of the unmanned ship with sequence j. The state information of the neighboring ships of the unmanned ship remains unchanged in the time period t. The state information of the neighboring ships is updated at the triggering time according to formula (8), that is,
[0029]
[0030] in, The jth unmanned ship is The horizontal coordinate of the position at the time, The jth unmanned ship is The vertical coordinate of the position at the time, The jth unmanned ship is The heading angle at the moment.
[0031] Preferably, S3 includes designing a local synchronization error according to formula (9), and the local synchronization error includes a horizontal coordinate synchronization error, a vertical coordinate synchronization error, and a heading angle synchronization error.
[0032]
[0033] In the formula, is the horizontal coordinate synchronization error of the i-th unmanned ship, is the ordinate synchronization error of the i-th unmanned ship, The heading angle synchronization error of the i-th unmanned ship, is the adjacency matrix Internal elements, when When , it means that the i-th unmanned ship and the j-th unmanned ship are neighboring ships. When , it means that the i-th unmanned ship and the j-th unmanned ship are not neighboring ships, b i The symmetric matrix B = diag{b1, ..., b N}Inner element, b i >0 means that the unmanned ship i can obtain the information of the virtual ship, b i =0 means that the i-th unmanned ship cannot obtain the information of the virtual ship, N is the number of unmanned ships, [Δx i , Δy i , Δψ i ] represents the expected formation parameters of the fleet, x i (t) is the horizontal coordinate of the position of the i-th unmanned ship at time t, y i (t) is the ordinate of the position of the i-th unmanned ship at time t, ψ i (t) is the heading angle of the i-th unmanned ship at time t, represents the reference signal of the virtual ship,
[0034] The distributed virtual controller is designed according to formula (10), and the first adaptive law is designed according to formula (11). The distributed virtual controller and the first adaptive law are used to adjust the horizontal and vertical coordinate position errors and the heading angle error of the unmanned ship.
[0035]
[0036] In the formula, k xi is the horizontal axis control parameter, k yi is the vertical coordinate control parameter, k ψiis the heading angle control parameter, u doi is an indirect reference to the forward speed, which is specifically expressed as When d is the expected forward speed of the virtual ship, when When doi =u d ,u d is the expected forward speed of the virtual ship, is the adaptive law about the horizontal axis, is the adaptive law about the ordinate, is the adaptive law about the heading angle, The specific expression of is shown in formula (11), α ui is the forward speed controller of the i-th unmanned ship, α ψi is the heading angle controller of the i-th unmanned ship, α ri is the bow angular velocity controller of the i-th unmanned ship, v i is the ship velocity vector of the i-th unmanned ship, ψ ei is the orientation error, is the first-order derivative of the azimuth of the i-th unmanned ship,
[0037]
[0038] in, Adaptive Law The initial value of is the control parameter of the i-th unmanned ship about the horizontal coordinate, is the control parameter of the i-th unmanned ship about the ordinate, is the control parameter of the heading angle of the i-th unmanned ship, is a positive constant, x ei is the horizontal coordinate position error, y ei is the ordinate position error, ψ ei is the heading angle error. According to formula (12), the horizontal and vertical coordinate position errors and the heading angle error are calculated.
[0039]
[0040]
[0041] Among them, ψ r is the azimuth, ψ d is the heading angle of the virtual ship, x d ,y d is the horizontal and vertical position coordinates of the virtual ship, [Δx i , Δy i , Δψ i] represents the expected formation parameters of the fleet, x i ,y i is the horizontal and vertical coordinates of the i-th unmanned ship, ψ i is the heading angle of the i-th unmanned ship.
[0042] Preferably, S4 comprises compressing and compensating the uncertainties of the mathematical model of the underdriven ship according to formula (14), wherein the uncertainties comprise an unknown structural function of the desired forward speed and an unknown structural function of the desired bow angular velocity.
[0043]
[0044] Among them, S ui (v) S ri (v) is a known function with Gaussian form, A ui , A ri is the neural network weight matrix, f ui (v) is the unknown structure function of the i-th unmanned ship with respect to the expected forward speed, f ri (v) is the unknown structure function of the i-th unmanned ship with respect to the expected forward speed, ε ui (v), ε ri (v) is the approximation error, β vi =[β ui , v i , β ri ] T , v ei =[u ei ,0,r ei ] T ,u ei is the speed error, r ei is the bow angular velocity error, u ei =β ui -u i , r ei =β ri -r i , β ui , β ri is a first-order low-pass filter, u i is the expected forward speed, r i is the desired bow angular velocity, b ui =||A ui || F , b ri =||A ri || F ,
[0045] The neural damping term is constructed to compress the external disturbance of the mathematical model of the underactuated ship again, wherein the external disturbance includes the time-varying environmental disturbance about the expected forward speed and the time-varying environmental disturbance about the expected bow angular velocity.
[0046]
[0047] in, ε ui (v), ε ri (v) is the approximation error, are the approximation errors ε ui (v), ε ri The upper bound of (v), d wui , d wri are the time-varying environmental disturbance of the i-th unmanned ship with respect to the expected forward speed and the time-varying environmental disturbance of the i-th unmanned ship with respect to the expected bow angular velocity, respectively. wui , ,d wui M is d wui , d wri The upper bound value of φ ui (v)=1+||S ui (v)||||β vi ||,φ ri (v)=1+||S ri (v)||||β vi ||.
[0048] Preferably, S5 includes constructing a controller according to formula (16), constructing a second adaptive law according to formula (17), and constructing a driver according to formula (18), wherein the controller sends a control command to the driver in real time, and the driver drives the unmanned boat to sail autonomously.
[0049]
[0050]
[0051]
[0052] Among them, αN i is the propeller speed controller, α δi is the rudder angle controller, ε ui (v) is the forward speed approximation error, ε ri (v) is the drift velocity approximation error, is the adaptive law of the unknown gain function about the desired forward speed, is the adaptive law of the unknown gain function about the desired bow angular velocity, is the adaptive law about the desired forward speed, is the adaptive law about the desired bow angular velocity, is the first-order derivative of the adaptive law of the unknown gain function with respect to the desired forward speed, is the first-order derivative of the adaptive law of the unknown gain function with respect to the desired bow angular velocity, is the first-order derivative of the adaptive law with respect to the desired forward speed, is the first-order derivative of the adaptive law with respect to the desired bow angular velocity, N i is the propeller speed control input of the drive, δ i is the rudder angle control input of the driver, u ei is the speed error, r ei is the bow angular velocity error, u ei =β ui -u i , r ei =β ri -r i , β ui , β ri is a first-order low-pass filter, u i is the expected forward speed, r i is the desired bow angular velocity, β ui , β ri The first derivative of k ui is the control parameter of the expected forward speed of the i-th unmanned ship, k ri is the desired bow angular velocity control parameter of the i-th unmanned ship, k uni , k rni are the control parameters, is a constant, is a constant that determines the convergence speed, They are The initial value of .
[0053] The present invention provides a distributed multi-ship fault-tolerant control method considering inter-ship event-triggered communication, which enables ships to avoid real-time monitoring of the status of their neighboring ships and realize autonomous ship formation navigation tasks without the need for global topology information. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0055] Figure 1 is a flow chart of the method of the present invention;
[0056] Figure 2 is a schematic diagram of an unmanned ship model of the present invention;
[0057] Figure 3 is a schematic diagram of the inter-ship event triggered communication mechanism of the present invention;
[0058] Figure 4 is a flow chart of a multi-ship distributed fault-tolerant control algorithm considering inter-ship event-triggered communication of the present invention;
[0059] Figure 5a It is a slow time-varying wind speed and direction diagram of the present invention under the interference of the marine environment;
[0060] Figure 5b It is the spectrum diagram of the interference of the present invention in the marine environment;
[0061] Figure 5c It is a three-dimensional view of the irregular waves disturbed by the present invention in the marine environment;
[0062] Figure 6 It is a plane diagram of the tracking trajectory of the unmanned ship formation of the present invention;
[0063] Figure 7 This is a simulation diagram of the tracking error variation curve of the unmanned ship formation of the present invention;
[0064] Figure 8 It is a simulation diagram of the speed time variation curve of the present invention;
[0065] Fig. 9 It is a simulation diagram of the control command change curve of the present invention;
[0066] Fig.10 It is a histogram simulation diagram of the trigger interval and the trigger time of the present invention;
[0067] Fig.11 It is a scatter diagram of the event triggering moment of the present invention. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0069] Figure 1 It is a flow chart of the method of the present invention, such as Figure 1 As shown, the method of this embodiment may include:
[0070] S1: Construct the mathematical model of under-actuated ship and the drive failure model. The mathematical model of under-actuated ship is as follows: Figure 2 As shown, O-X0Y0Z0 is the inertial coordinate system (Earth-fixed frame), O is usually selected as the position of the ship's center of gravity when t=0, OX0 points to the north on the still water surface, OY0 points to the east on the still water surface, and OZ0 is perpendicular to the still water surface and points to the center of the earth; o-xyz is the body coordinate system (Body-fixed frame), o is usually selected as the position of the ship's center of gravity, ox points to the bow along the centerline of the ship, oy points to the starboard, oz points to the keel of the ship's bottom, and δ is the rudder angle (Rudder angle). According to the mathematical model of under-actuated unmanned ships and the driver failure model, N unmanned ships are created, and a ship formation is composed of N unmanned ships. A virtual ship mathematical model is constructed, and a virtual ship is created according to the virtual ship mathematical model;
[0071] S1 includes constructing a mathematical model of an under-actuated ship according to formulas (1), (2) and (3),
[0072]
[0073] Mv=-F(v)+τ F +d w (2)
[0074]
[0075]
[0076] Where η = [x, y, ψ] T is the position vector of the ship in the geographic coordinate system, x and y are the horizontal and vertical coordinates of the ship, ψ is the heading angle of the ship, and v = [u, v, r] T is the ship velocity vector, m u is the uncertain parameter of the ship model related to the expected forward speed, m v is the uncertain parameter of the ship model related to the expected drift speed, m r is the uncertain parameter of the ship model related to the expected bow angular velocity, f u (v) is the unknown structure function related to the expected forward speed, f v (v) is the unknown structure function related to the desired drift velocity, f r (v) is the unknown structure function related to the desired bow angular velocity, f u (v), f v (v), f r The function of (v) is shown in formula (4), d u1 is the first hydrodynamic parameter related to the expected forward speed, dv1 is the first hydrodynamic parameter related to the desired drift speed, d r1 is the first hydrodynamic parameter related to the desired bow angular velocity, d u2 is the second hydrodynamic parameter related to the expected forward speed, d v2 is the second hydrodynamic parameter related to the desired drift speed, d r2 is the second hydrodynamic parameter related to the desired bow angular velocity, d u3 is the third hydrodynamic parameter related to the expected forward speed, d v3 is the third hydrodynamic parameter related to the desired drift speed, d r3 is the third hydrodynamic parameter related to the desired bow angular velocity, d wu is the time-varying environmental disturbance with respect to the desired forward speed, d wv is the time-varying environmental disturbance with respect to the desired drift velocity, d wr is the time-varying environmental disturbance related to the desired bow angular velocity, T u (·) is the unknown gain function related to the desired forward speed, F r (·) is the unknown gain function related to the desired bow angular velocity, N F , δ F is the ship's propeller speed and rudder angle;
[0077] According to formula (5), a driver failure model is constructed. According to the mathematical model of under-actuated unmanned ship and the driver failure model, N unmanned ships are created. The fleet is composed of N unmanned ships.
[0078]
[0079] Among them, N i (t), δ i (t) is the propeller speed and rudder angle of the ship input before the driver fails, ρ ki (t) is the stall fault parameter, ρ ki (t)∈(0,1], k=N, δ is the ship stall fault parameter, is the bias fault parameter,
[0080] According to formula (6), a virtual ship mathematical model is constructed, and a virtual ship is created according to the virtual ship mathematical model.
[0081]
[0082] Among them, ψ d is the heading angle of the virtual ship, x d ,y d is the horizontal and vertical position coordinates of the virtual ship, u d is the expected forward speed of the virtual ship, r d is the expected bow angular velocity of the virtual ship.
[0083] S2: Design an inter-ship event-triggered communication mechanism to update the status information of all neighboring ships of each unmanned ship, including the horizontal coordinate, vertical coordinate, and heading angle of the unmanned ship;
[0084] S2 includes designing an inter-ship event trigger communication mechanism according to formula (7), obtaining a triggering time according to formula (7),
[0085]
[0086] Among them, m j,x , m j,y , m j,ψ is a positive constant, t is the time period, represents the event triggering time of the unmanned ship with sequence j, j is the serial number of the unmanned ship, is the horizontal coordinate of the position of the jth unmanned ship in time period t, is the ordinate of the position of the jth unmanned ship in time period t, is the heading angle of the jth unmanned ship in time period t,
[0087] definition represents the state information of the unmanned ship with sequence j. The state information of the neighboring ships of the unmanned ship remains unchanged in the time period t. The state information of the neighboring ships is updated at the triggering time according to formula (8), that is,
[0088]
[0089] in, The jth unmanned ship is The horizontal coordinate of the position at the time, The jth unmanned ship is The vertical coordinate of the position at the time, The jth unmanned ship is By introducing the above event trigger mechanism, for each unmanned ship with sequence i, the status information of each neighbor ship can be obtained only at the triggering time Transmitted to the ship, thus avoiding continuous monitoring of the status information of neighboring ships, thereby reducing the number of information transmissions and the load of communication bandwidth, such as Figure 3 As shown, the unmanned ships in sequence i, i-1, and i+1 communicate through the communication topology at the triggering moment through the event trigger.
[0090] S3: designing a local synchronization error according to the state information of the unmanned ship and the virtual ship, designing a distributed virtual controller and a first adaptive law according to the local synchronization error, and the distributed virtual controller and the first adaptive law are used to adjust the horizontal and vertical coordinate position errors and the heading angle error of the unmanned ship;
[0091] S3 includes designing a local synchronization error according to formula (9), wherein the local synchronization error includes a horizontal coordinate synchronization error, a vertical coordinate synchronization error, and a heading angle synchronization error.
[0092]
[0093] In the formula, is the horizontal coordinate synchronization error of the i-th unmanned ship, is the ordinate synchronization error of the i-th unmanned ship, The heading angle synchronization error of the i-th unmanned ship, is the adjacency matrix Internal elements, when When , it means that the i-th unmanned ship and the j-th unmanned ship are neighboring ships. When , it means that the i-th unmanned ship and the j-th unmanned ship are not neighboring ships, b i The symmetric matrix B = diag{b1, ..., b N ) inner element, b i >0 means that the unmanned ship i can obtain the information of the virtual ship, b i =0 means that the i-th unmanned ship cannot obtain the information of the virtual ship, N is the number of unmanned ships, [Δx i , Δy i , Δψ i ] represents the expected formation parameters of the fleet, x i (t) is the horizontal coordinate of the position of the i-th unmanned ship at time t, y i (t) is the ordinate of the position of the i-th unmanned ship at time t, ψ i (t) is the heading angle of the i-th unmanned ship at time t, represents the reference signal of the virtual ship,
[0094] The distributed virtual controller is designed according to formula (10), and the first adaptive law is designed according to formula (11). The distributed virtual controller and the first adaptive law are used to adjust the position error and heading error of the unmanned ship.
[0095]
[0096] In the formula, k xi is the horizontal axis control parameter, k yi is the vertical coordinate control parameter, k ψi is the heading angle control parameter, u doiis an indirect reference to the forward speed, which is specifically expressed as When d is the expected forward speed of the virtual ship, when When doi =u d ,u d is the expected forward speed of the virtual ship, is the adaptive law about the horizontal axis, is the adaptive law about the ordinate, is the adaptive law about the heading angle, The specific expression of is shown in formula (11), α ui is the forward speed controller of the i-th unmanned ship, α ψi is the heading angle controller of the i-th unmanned ship, α ri is the bow angular velocity controller of the i-th unmanned ship, v i is the ship velocity vector of the i-th unmanned ship, ψ ei is the orientation error, is the first-order derivative of the azimuth of the i-th unmanned ship,
[0097]
[0098] in, Adaptive Law The initial value of is the control parameter of the i-th unmanned ship about the horizontal coordinate, is the control parameter of the i-th unmanned ship about the ordinate, is the control parameter of the heading angle of the i-th unmanned ship, is a positive constant, x ei is the horizontal coordinate position error, y ei is the ordinate position error, ψ ei is the heading angle error. According to formula (12), the horizontal and vertical coordinate position errors and the heading angle error are calculated.
[0099]
[0100]
[0101] Among them, ψ r is the azimuth, ψ d is the heading angle of the virtual ship, x d ,y d is the horizontal and vertical position coordinates of the virtual ship, [Δx i , Δy i , Δψ i ] represents the expected formation parameters of the fleet, xi ,y i is the horizontal and vertical coordinates of the i-th unmanned ship, ψ i is the heading angle of the i-th unmanned ship.
[0102] S4: using a radial basis function neural network to compress and compensate for uncertainties and external disturbances in the mathematical model of the under-actuated ship, wherein the uncertainties include unknown structural functions about the expected forward speed and unknown structural functions about the expected bow angular velocity, and the external disturbances include time-varying environmental disturbances about the expected forward speed, time-varying environmental disturbances about the expected transverse drift speed, and time-varying environmental disturbances about the expected bow angular velocity;
[0103] The S4 includes compressing and compensating the uncertainty of the mathematical model of the underdriven ship according to formula (14),
[0104]
[0105] Among them, S ui (v) S ri (v) is a known function with Gaussian form, A ui , A ri is the neural network weight matrix, f ui (v) is the unknown structure function of the i-th unmanned ship with respect to the expected forward speed, f ri (v) is the unknown structure function of the i-th unmanned ship with respect to the expected forward speed, ε ui (v), ε ri (v) is the approximation error, β vi =[β ui , v i , β ri ] T , v ei =[u ei ,0,r ei ] T ,u ei is the speed error, r ei is the bow angular velocity error, u ei =β ui -u i , r ei =β ri -r i , β ui , β ri is a first-order low-pass filter, u i is the expected forward speed, r i is the desired bow angular velocity, b ui =||A ui || F , b ri =||A ri ||F ,
[0106] S ui (v) S ri The specific form of (v) can be described as formula (15); A ui , A ri is the neural network weight matrix, which can be described as formula (16).
[0107]
[0108] S ui (v)=[s u1 (v), ..., s ul (v)] T , S ri (v)=[s u1 (v), ..., s ul (v)] T ,in, is the width of the Gaussian function, χ i is the center value of the neural network receptive domain, i=1,...,l, l is the number of neural network nodes.
[0109]
[0110] A ui , A ri is the neural network weight matrix, l is the number of neural network nodes, m is the dimension of the ship speed state vector v, w 11 ,…,w lm Represents the weight value of each node in the neural network.
[0111] The neural damping term is constructed to compress the external interference of the underactuated ship mathematical model again:
[0112]
[0113] in, ε ui (v), ε ri (v) is the approximation error, are the approximation errors ε ui (v), ε ri The upper bound of (v), d wui , d wri are the external interference in the forward direction and the turning direction, d wuiM , d wriM are d wui , d wri The upper bound value of φui (v)=1+||S ui (v)||||β vi ||,φ ri (v)=1+||S ri (v)||||β vi ||.
[0114] S5: Construct a controller and a second adaptive law, and construct a driver based on the controller and the second adaptive law. The controller sends control commands to the driver in real time, and the driver drives the unmanned boat to sail autonomously.
[0115] S5 includes constructing a controller according to formula (18), constructing a second adaptive law according to formula (19), and constructing a driver according to formula (20). The controller sends a control command to the driver in real time, and the driver drives the unmanned ship to sail autonomously.
[0116]
[0117]
[0118]
[0119] Among them, αN i is the propeller speed controller, α δi is the rudder angle controller, ε ui (v) is the forward speed approximation error, ε ri (v) is the drift velocity approximation error, is the adaptive law of the unknown gain function about the desired forward speed, is the adaptive law of the unknown gain function about the desired bow angular velocity, is the adaptive law about the desired forward speed, is the adaptive law about the desired bow angular velocity, is the first-order derivative of the adaptive law of the unknown gain function with respect to the desired forward speed, is the first-order derivative of the adaptive law of the unknown gain function with respect to the desired bow angular velocity, is the first-order derivative of the adaptive law with respect to the desired forward speed, is the first-order derivative of the adaptive law with respect to the desired bow angular velocity, N i is the propeller speed control input of the drive, δ i is the rudder angle control input of the driver, u ei is the speed error, r ei is the bow angular velocity error, u ei =β ui -u i , r ei =β ri-r i , β ui , β ri is a first-order low-pass filter, u i is the expected forward speed, r i is the desired bow angular velocity, β ui , β ri The first derivative of k ui is the control parameter of the expected forward speed of the i-th unmanned ship, k ri is the desired bow angular velocity control parameter of the i-th unmanned ship, k uni , k rni are the control parameters, is a constant, is a constant that determines the convergence speed, They are The initial value of .
[0120] The specific process of this embodiment is as follows Figure 4 As shown, it includes setting the expected path, establishing the mathematical model of the unmanned ship motion, including the kinematic model and the dynamic model, establishing the driver fault model, entering the control loop, judging whether the event triggering condition is met, if so, the state information of the unmanned ship is updated, otherwise, it is not updated, a virtual control law is designed according to the local synchronization error, the radial basis neural network and the neural damping technology are used to compress and compensate for the unknown model parameters and the external interference, a controller is designed according to the damping term, and an adaptive law is introduced to drive the unmanned ship to sail autonomously, and judging whether the navigation mission is completed, if so, it ends, otherwise, it enters the control loop and continues to judge whether the event triggering condition is met.
[0121] In order to verify the effectiveness of the algorithm proposed in this paper, a numerical simulation test was carried out under a simulated 6-level marine environment disturbance. This part will use an underactuated unmanned ship with a length of 38m and a displacement of 1.18*105kg as the simulation object, and use the MATLAB platform to perform relevant simulation verification. The interference model parameters used in the simulation test are set to wind speed (Beaufort 6) V wind =12.25m / s, wind direction ψ wind =45deg; the sea wave disturbance is generated by coupling with the wind disturbance model, that is, the irregular sea waves fully grown under the Beaufort wind level 6.
[0122] Figure 5a For slow time-varying wind speed and direction diagrams disturbed by marine environment, Figure 5b Spectrum of disturbances in the marine environment and Figure 5c A 3D view of irregular waves disturbing the marine environment. Figure 6-11 The control results of unmanned ship formation in the above simulated ocean environment are given.
[0123] Figure 6 The two-dimensional plane trajectory of the unmanned ship formation in the marine environment is described. Different from the existing formation control algorithm, a major innovation of the proposed algorithm is that it can enable the unmanned ship formation to transmit its status information when the event triggering conditions are met, which can effectively save the inter-ship communication channel resources. The unmanned ship formation is usually constructed based on the position relationship and azimuth relationship between ships. In the simulation case of the present invention, the unmanned ship formation includes unmanned ship No. 1, unmanned ship No. 2, unmanned ship No. 3, unmanned ship No. 4, and unmanned ship No. 5.
[0124] Figure 7 is the tracking error of each unmanned ship. Figure 7 It can be found that although the unmanned ship formation only communicates when the event triggering conditions are met, it is still able to track the reference trajectory with the desired control accuracy. Figure 8 It is the speed change curve of each unmanned ship. From the local enlarged figure, it can be seen that the speed signal of each unmanned ship is stable in a reasonable range. Fig. 9 The propeller speed and steering gear control command curves for the unmanned ship formation navigation mission. In ship engineering, the control command should be transmitted to the driver device, and the execution device implements the control command through the servo system. In order to show the effect more clearly, the event trigger interval and trigger time of each unmanned ship are shown in Figure 1. Fig.10 As can be seen from the figure, the triggering times of each unmanned ship does not exceed 200 times. Since the simulation step size used in this experiment is 0.01s and the total simulation time is 200s, compared with the continuous control algorithm with 20,000 transmission times, the event-triggered control algorithm used in the present invention can effectively reduce the number of inter-ship communications, thereby reducing unnecessary communication load. In addition, Fig.11 The scatter plot of adjacent trigger points of the event trigger mechanism is shown. From the above results, it can be seen that the action of the ship formation control execution device in the navigation practice realized by the invention is reasonable and meets the actual needs of the ship control engineering, has obvious "green and energy-saving" characteristics, and plays an important role in reducing the communication load between unmanned ship formations. It has a wide range of application backgrounds in long-term duty tasks such as marine ranching and environmental monitoring.
[0125] Overall beneficial effects:
[0126] 1. Introducing an inter-ship event-triggered distributed communication mechanism, which enables the status information of the unmanned ship to be sent only when the triggering conditions are met, avoiding continuous monitoring of the status of neighboring ships. Therefore, the number of inter-ship information transmissions is reduced while ensuring that the ship formation control performance meets the requirements, thereby effectively saving communication bandwidth and further saving the communication resources of the control system, with energy-saving and green characteristics;
[0127] 2. A drive fault model is introduced into the unmanned ship model, and radial basis neural network and neural damping technology are used to compress and compensate for the unknown model of the ship and external interference. In the dynamic part, only four adaptive parameters are designed to compensate for the model uncertainties and unknown fault parameters online in real time, which solves the problems of drive failure and heavy calculation in multi-ship formation navigation tasks.
[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication, characterized in that: include, S1: constructing a mathematical model of an under-actuated ship and a driver failure model, creating N unmanned ships according to the mathematical model of the under-actuated unmanned ship and the driver failure model, forming a fleet of ships with the N unmanned ships, constructing a mathematical model of a virtual ship, and creating a virtual ship according to the mathematical model of the virtual ship; S2: Design an inter-ship event-triggered communication mechanism to update the status information of all neighboring ships of each unmanned ship, including the horizontal coordinate, vertical coordinate, and heading angle of the unmanned ship; S3: designing a local synchronization error according to the state information of the unmanned ship and the virtual ship, designing a distributed virtual controller and a first adaptive law according to the local synchronization error, and the distributed virtual controller and the first adaptive law are used to adjust the horizontal and vertical coordinate position errors and the heading angle error of the unmanned ship; S4: using a radial basis function neural network to compress and compensate for uncertainties and external disturbances in the mathematical model of the under-actuated ship, wherein the uncertainties include unknown structural functions about the expected forward speed and unknown structural functions about the expected bow angular velocity, and the external disturbances include time-varying environmental disturbances about the expected forward speed, time-varying environmental disturbances about the expected transverse drift speed, and time-varying environmental disturbances about the expected bow angular velocity; S5: Construct a controller and a second adaptive law, and construct a driver based on the controller and the second adaptive law. The controller sends control commands to the driver in real time, and the driver drives the unmanned boat to sail autonomously.
2. A multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication according to claim 1, characterized in that: S1 includes constructing a mathematical model of an under-actuated ship according to formulas (1), (2) and (3), Mv=-F(v)+τ F +d w (2) Where η = [x, y, ψ] T is the position vector of the ship in the geographic coordinate system, x and y are the horizontal and vertical coordinates of the ship, ψ is the heading angle of the ship, and v = [u, v, r] T is the ship velocity vector, m u is the uncertain parameter of the ship model related to the expected forward speed, m v is the uncertain parameter of the ship model related to the expected drift speed, m r is the uncertain parameter of the ship model related to the expected bow angular velocity, f u (v) is the unknown structure function related to the expected forward speed, f v (v) is the unknown structure function of the desired drift velocity, f r (v) is the unknown structure function of the desired bow angular velocity, f u (v), f v (v), f r The function of (v) is shown in formula (4), d u1 is the first hydrodynamic parameter related to the expected forward speed, d v1 is the first hydrodynamic parameter related to the desired drift speed, d r1 is the first hydrodynamic parameter related to the desired bow angular velocity, d u2 is the second hydrodynamic parameter related to the expected forward speed, d v2 is the second hydrodynamic parameter related to the desired drift speed, d r2 is the second hydrodynamic parameter related to the desired bow angular velocity, d u3 is the third hydrodynamic parameter related to the expected forward speed, d v3 is the third hydrodynamic parameter related to the desired drift speed, d r3 is the third hydrodynamic parameter related to the desired bow angular velocity, d wu is the time-varying environmental disturbance with respect to the desired forward speed, d wv is the time-varying environmental disturbance with respect to the desired drift velocity, d wr is the time-varying environmental disturbance related to the desired bow angular velocity, T u (·) is the unknown gain function related to the desired forward speed, F r (·) is the unknown gain function related to the desired bow angular velocity, N F , δ F is the ship's propeller speed and rudder angle; According to formula (5), a driver failure model is constructed. According to the mathematical model of under-actuated unmanned ship and the driver failure model, N unmanned ships are created. The fleet is composed of N unmanned ships. Among them, N i (t), δ i (t) is the propeller speed and rudder angle of the ship input before the driver fails, ρ ki (t) is the stall fault parameter, ρ ki (t)∈(0,1], k=N, δ is the ship stall fault parameter, is the bias fault parameter, According to formula (6), a virtual ship mathematical model is constructed, and a virtual ship is created according to the virtual ship mathematical model. Among them, ψ d is the heading angle of the virtual ship, x d ,y d is the horizontal and vertical position coordinates of the virtual ship, u d is the expected forward speed of the virtual ship, r d is the expected bow angular velocity of the virtual ship.
3. The multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication according to claim 1, characterized in that: S2 includes designing an inter-ship event trigger communication mechanism according to formula (7), obtaining a triggering time according to formula (7), Among them, m j,x , m j,y , m j,ψ is a positive constant, t is the time period, represents the event triggering time of the unmanned ship with sequence j, j is the serial number of the unmanned ship, is the horizontal coordinate of the position of the jth unmanned ship in time period t, is the ordinate of the position of the jth unmanned ship in time period t, is the heading angle of the jth unmanned ship in time period t, definition represents the state information of the unmanned ship with sequence j. The state information of the neighboring ships of the unmanned ship remains unchanged in the time period t. The state information of the neighboring ships is updated at the triggering time according to formula (8), that is, in, The jth unmanned ship is The horizontal coordinate of the position at the time, The jth unmanned ship is The vertical coordinate of the position at the time, The jth unmanned ship is The heading angle at the moment.
4. The multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication according to claim 1, characterized in that: S3 includes designing a local synchronization error according to formula (9), wherein the local synchronization error includes a horizontal coordinate synchronization error, a vertical coordinate synchronization error, and a heading angle synchronization error. In the formula, is the horizontal coordinate synchronization error of the i-th unmanned ship, is the ordinate synchronization error of the i-th unmanned ship, The heading angle synchronization error of the i-th unmanned ship, is the adjacency matrix Internal elements, when When , it means that the i-th unmanned ship and the j-th unmanned ship are neighboring ships. When , it means that the i-th unmanned ship and the j-th unmanned ship are not neighboring ships, b i The symmetric matrix B = diag{b1, ..., b N }Inner element, b i >0 means that the unmanned ship i can obtain the information of the virtual ship, b i =0 means that the i-th unmanned ship cannot obtain the information of the virtual ship, N is the number of unmanned ships, [Δx i , Δy i , Δψ i ] represents the expected formation parameters of the ship formation, x i (t) is the horizontal coordinate of the position of the i-th unmanned ship at time t, y i (t) is the ordinate of the position of the i-th unmanned ship at time t, ψ i (t) is the heading angle of the i-th unmanned ship at time t, represents the reference signal of the virtual ship, The distributed virtual controller is designed according to formula (10), and the first adaptive law is designed according to formula (11). The distributed virtual controller and the first adaptive law are used to adjust the horizontal and vertical coordinate position errors and the heading angle error of the unmanned ship. In the formula, k xi is the horizontal axis control parameter, k yi is the vertical coordinate control parameter, k ψi is the heading angle control parameter, u doi is an indirect reference to the forward speed, which is specifically expressed as When d is the expected forward speed of the virtual ship, when When doi =u d ,u d is the expected forward speed of the virtual ship, is the adaptive law about the horizontal axis, is the adaptive law about the ordinate, is the adaptive law about the heading angle, The specific expression of is shown in formula (11), α ui is the forward speed controller of the i-th unmanned ship, α ψi is the heading angle controller of the i-th unmanned ship, α ri is the bow angular velocity controller of the i-th unmanned ship, v i is the ship velocity vector of the i-th unmanned ship, ψ ei is the orientation error, is the first-order derivative of the azimuth of the i-th unmanned ship, in, Adaptive Law The initial value of is the control parameter of the i-th unmanned ship about the horizontal coordinate, is the control parameter of the i-th unmanned ship about the ordinate, is the control parameter of the heading angle of the i-th unmanned ship, is a positive constant, x ei is the horizontal coordinate position error, y ei is the ordinate position error, ψ ei is the heading angle error. According to formula (12), the horizontal and vertical coordinate position errors and the heading angle error are calculated. Among them, ψ r is the azimuth, ψ d is the heading angle of the virtual ship, x d ,y d is the horizontal and vertical position coordinates of the virtual ship, [Δx i , Δy i , Δψ i ] represents the expected formation parameters of the ship formation, x i ,y i is the horizontal and vertical coordinates of the i-th unmanned ship, ψ i is the heading angle of the i-th unmanned ship.
5. The multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication according to claim 1, characterized in that: The step S4 comprises compressing and compensating the uncertainties of the mathematical model of the underdriven ship according to formula (14), wherein the uncertainties include an unknown structural function of the desired forward speed and an unknown structural function of the desired bow angular velocity. Among them, S ui (v) S ri (v) is a known function with Gaussian form, A ui , A ri is the neural network weight matrix, f ui (v) is the unknown structure function of the i-th unmanned ship with respect to the expected forward speed, f ri (v) is the unknown structure function of the i-th unmanned ship with respect to the expected forward speed, ε ui (v), ε ri (v) is the approximation error, β vi =[β ui , v i , β ri ] T , v ei =[u ei ,0,r ei ] T ,u ei is the speed error, r ei is the bow angular velocity error, u ei =β ui -u i , r ei =β ri -r i , β ui , β ri is a first-order low-pass filter, u i is the expected forward speed, r i is the desired bow angular velocity, b ui =||A ui || F , b ri =||A ri || F , The neural damping term is constructed to compress the external disturbance of the mathematical model of the underactuated ship again, wherein the external disturbance includes the time-varying environmental disturbance about the expected forward speed and the time-varying environmental disturbance about the expected bow angular velocity. in, ε ui (v), ε ri (v) is the approximation error, are the approximation errors ε ui (v), ε ri The upper bound of (v), d wui , d wri are the time-varying environmental disturbance of the i-th unmanned ship with respect to the expected forward speed, the time-varying environmental disturbance of the i-th unmanned ship with respect to the expected bow angular velocity, and d wuiM , d wriM are d wui , d wri The upper bound value of φ ui (v)=1+||S ui (v)||||β vi ||,φ ri (v)=1+||S ri (v)||||β vi ||.
6. The multi-ship distributed fault-tolerant control method considering inter-ship event-triggered communication according to claim 1, characterized in that: S5 includes constructing a controller according to formula (16), constructing a second adaptive law according to formula (17), and constructing a driver according to formula (18). The controller sends a control command to the driver in real time, and the driver drives the unmanned ship to sail autonomously. Among them, α Ni is the propeller speed controller, α δi is the rudder angle controller, ε ui (v) is the forward speed approximation error, ε ri (v) is the drift velocity approximation error, is the adaptive law of the unknown gain function about the desired forward speed, is the adaptive law of the unknown gain function about the desired bow angular velocity, is the adaptive law about the desired forward speed, is the adaptive law about the desired bow angular velocity, is the first-order derivative of the adaptive law of the unknown gain function with respect to the desired forward speed, is the first-order derivative of the adaptive law of the unknown gain function with respect to the desired bow angular velocity, is the first-order derivative of the adaptive law with respect to the desired forward speed, is the first-order derivative of the adaptive law with respect to the desired bow angular velocity, N i is the propeller speed control input of the drive, δ i is the rudder angle control input of the driver, u ei is the speed error, r ei is the bow angular velocity error, u ei =β ui -u i , r ei =β ri -r i , β ui , β ri is a first-order low-pass filter, u i is the expected forward speed, r i is the desired bow angular velocity, They are β ui , β ri The first derivative of k ui is the control parameter of the expected forward speed of the i-th unmanned ship, k ri is the desired bow angular velocity control parameter of the i-th unmanned ship, k uni , k rni are the control parameters, is a constant, is a constant that determines the convergence speed, They are The initial value of .
