Multi-input-constraint and multi-safety-constraint unmanned ship safe arrival controller and method

By designing an unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints, the shortcomings of under-actuated unmanned ships and multi-constraint conditions in the existing technology are solved, and the safe arrival control of unmanned ships in complex environments is realized. Expanded application prospects.

CN118746993APending Publication Date: 2024-10-08DALIAN MARITIME UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410801413.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing unmanned ship control methods are mainly limited to fully-driven unmanned ships, and fail to effectively consider directional factors and multiple constraints when avoiding obstacles, resulting in difficulty in application and unsolvable situations in practical applications.

Method used

A multi-input constraint and multi-safety constraint unmanned ship safe arrival controller is designed, including an underactuated unmanned ship, a target arrival guidance law module, an interior point method optimization module and a control obstacle function module. By introducing weight adjustment and prediction correction The interior point method optimizes the motion control of the unmanned ship and ensures that the unmanned ship arrives safely under multiple constraints.

Benefits of technology

This controller can be effectively applied to under-actuated unmanned ships, taking into account directional factors, avoiding no-solution situations, expanding the range of feasible solutions, and improving the safe control capabilities of unmanned ships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746993A_ABST
    Figure CN118746993A_ABST
Patent Text Reader

Abstract

The invention provides a multi-input-constraint and multi-safety-constraint unmanned ship safe arrival controller and method. The controller comprises an under-actuated unmanned ship, a target arrival guidance law module, an interior point method optimization module and a control obstacle function module. The control barrier function module sends an original weight signal and a signal of a unified control barrier function to the interior point method optimization module; the interior point method optimization module sends an optimal weight signal to the control barrier function module, and the interior point method optimization module sends an optimal expected speed and an expected angular speed to the unmanned ship; the target arrival guidance law module receives unmanned ship position signals from given input, and the control obstacle function module sends expected speed signals and angular speed signals to the interior point method optimization module. The control method provided by the invention is provided for the underactuated unmanned ship, so that the control method has a wider utilization prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned ship motion control, and in particular to an unmanned ship safe arrival controller and method with multiple input constraints and multiple safety constraints. Background Art

[0002] With the rapid development of science and technology, the ocean has gradually become the focus of development and research in various countries due to its rich natural resources. The exploration, development and utilization of the ocean have important practical significance. However, traditional research platforms have great limitations in operating in waters with complex environments and harsh working conditions. The development of signal technology and control technology has made artificial intelligence and unmanned systems the current research trend, providing new ideas for the development of ocean exploration. Unmanned ships are an important tool for people to explore and develop the ocean because of their miniaturization, light weight, autonomy and other characteristics. Under the same operating content, they have low labor intensity, low operating risks, and are easy to control and recover.

[0003] The target arrival of an unmanned ship is the transfer of the unmanned ship from the initial position to the target position. In this process, it is inevitable to consider the existence of obstacles, which makes the unmanned ship face risks during the driving process. Therefore, the key to the study of the target arrival problem is to solve the obstacle avoidance problem of the unmanned ship. To this end, the control obstacle function is introduced. The control obstacle function is a mathematical tool used to ensure the safety and stability of the system. It is widely used in the safety control design of nonlinear systems, especially in the fields of robotics and automation. The core idea is to use a differentiable function to describe the safety boundary of the system state, and design a controller based on this to ensure that the system state is always away from the dangerous area. The control obstacle function provides a method for the safe control of autonomous systems. Domestic and foreign scholars have conducted a lot of research on unmanned intelligent systems such as drones and robots based on the control obstacle function, and have achieved some research results. However, from the perspective of controller design, the existing control methods still have the following shortcomings:

[0004] First, most of the existing control methods are limited to fully-driven unmanned ships, but in reality, most unmanned ships do not have lateral thrust, so the application value of existing control methods is relatively small.

[0005] Second, the existing control obstacle functions almost only consider the position factor. Even if the direction is considered, only the control of a single direction is considered, which makes them difficult to apply in practical applications. During sea navigation, it is very important to change the course to avoid obstacles.

[0006] Third, the existing methods based on controlling obstacle functions can only avoid collisions in a single direction when avoiding static obstacles, and when there are multiple constraints, the full-process constraint method is used, which may result in an unsolvable situation. Therefore, there are defects in practical applications. Summary of the invention

[0007] In order to solve the deficiencies in the prior art, the present invention proposes an unmanned ship safe arrival controller and method with multi-input constraints and multi-safety constraints, which is suitable for under-actuated unmanned ships, can avoid collisions with neighboring unmanned ships, and can achieve safe control of unmanned ships.

[0008] The technical means adopted by the present invention are as follows:

[0009] A multi-input constraint and multi-safety constraint unmanned ship safe arrival controller, comprising: an underactuated unmanned ship, a target arrival guidance law module, an interior point method optimization module and a control obstacle function module;

[0010] The obstacle control function module receives a collision avoidance signal about obstacles and unmanned ships from a given input, the obstacle control function module receives an optimal weight signal from an interior point method optimization module, and the obstacle control function module sends an original weight signal and a signal of a unified obstacle control function to the interior point method optimization module;

[0011] The interior point optimization module receives input constraints from given conditions, receives an expected speed signal and an expected angular velocity signal from a target arrival guidance law module, sends an optimal weight signal to a control obstacle function module, and sends an optimal expected speed and an expected angular velocity to the unmanned ship;

[0012] The target arrival guidance law module receives the unmanned ship position signal from a given input, and the control obstacle function module sends the expected speed signal and angular velocity signal to the interior point method optimization module.

[0013] Furthermore, the kinematic model of the underactuated unmanned vessel is as follows:

[0014]

[0015] In the formula, x d Represents the x-axis coordinate of the driving unmanned ship in the earth coordinate system, y d Represents the coordinate of the y-axis motion of the unmanned ship in the earth coordinate system, ψ w Represents the actual moving direction of the underactuated unmanned ship; represents the actual motion speed of the underactuated unmanned ship; r is the bow angular velocity of the underactuated unmanned ship; β = arctan (v / u) is the sideslip angle of the underactuated unmanned ship. Where u and v represent the longitudinal and transverse velocities of the unmanned ship, respectively.

[0016] Furthermore, the method for establishing the obstacle control function module is as follows:

[0017] First, for other stationary obstacles, define the control obstacle function candidate h o (.)for:

[0018]

[0019] In the formula, p d =[x d ,y d ] T represents the coordinates of the unmanned ship, p o =[x o ,y o ] T are the coordinates of the obstacle, μ o is a positive real number. Assuming that the unmanned ship is a circle, h is the radius of the circle in which the unmanned ship is modeled. o is the radius of the obstacle, D1 is the minimum safe distance between the static obstacle and the unmanned ship, and D1>h+h o , θ1 is the collision avoidance angle constraint, defined as follows:

[0020]

[0021] Formula ψ o =atan2((y o -y d ) / (x o -x d )) is the relative angle between the underactuated unmanned ship and the static obstacle, s = p d -p o and g = p d -p c , p c =[x c ,y c ] T is the desired position coordinate. According to the product of s and g, the unmanned ship can follow the rule of turning left or right.

[0022] Combine multiple h into one H and assign a weight w to each h:

[0023]

[0024] In the formula, And satisfy φ(h m ,0)=φ(0,w m )=φ(0,0)=1,w m Each h m The corresponding weight coefficient.

[0025] Furthermore, the formula of the target arrival guidance law module is as follows:

[0026]

[0027] In the formula, the required heading angle of the unmanned ship is defined as ψ d =atan2((y c -y d ),(x c -x d )),ψ e = x d -ψ d , where k u and k r are all positive numbers, representing the guidance gain; in order to avoid overshoot, a positive number Δ is introduced u and Δ r ;p e =[x c -x d ,y c -y d ] T Represents the error from the unmanned ship to the target point, is the distance between the unmanned ship and the target location.

[0028] Furthermore, the method for establishing the interior point optimization module is as follows:

[0029] Consider a nonlinear affine system with the system state x and control input u, defined as:

[0030]

[0031] Where f(x) and g(x) are local Lipschitz continuous functions, and the kinematic model of the underactuated unmanned ship is rewritten as a nonlinear affine system:

[0032]

[0033] The adaptive law minimizes w by using the predictor-corrector interior point method * To design the optimal solution w * for:

[0034]

[0035] Where w=[w1,...,w c ] T is a c-dimensional vector, w0 is the weight before optimization, J w For w * is strongly convex, and the corresponding constraints are:

[0036] b q (w,p d )=w min -w c,q∈[c]

[0037] b q+c (w,p d )=w c -w max ,q∈[c]

[0038]

[0039] In the formula, c is the number of safety constraints, which is also the dimension of the weight coefficient w of the unmanned ship. min and w max are the upper and lower bounds of w, respectively, and w min >0, and α is a positive constant; b 2c+1 (w,p d ) is a condition that forces the nonlinear affine system to satisfy a unified control barrier function;

[0040] The design approximate optimal solution is as follows:

[0041]

[0042] In the formula, Φ(w,p d ) can be defined as Among them, s is a positive real number parameter, that is, the penalty factor, and Φ(w,p d ) is uniformly convex with respect to w;

[0043] According to the nonlinear affine system, an adaptive law for adjusting the weight w is proposed:

[0044]

[0045] Where μ and ν are defined as:

[0046]

[0047] Where, P = 5I4, is the gradient of w, It means to find the second-order partial derivative of the function;

[0048] In order to minimize the change of the guidance law during the collision avoidance process, the controller is designed as follows:

[0049]

[0050] In the formula, is the optimal guidance law of the unmanned ship, v = [U d ,r d ] T , The constraints include the following input constraints:

[0051] b1(w,p d,υ)=U min -U d ,

[0052] b3(w,p d ,υ)=U d -U max ,

[0053] b4(w,p d ,υ)=r d -r max ,

[0054] b2(w,p d ,v)=r min -r d ,

[0055]

[0056] A near-optimal guidance law is introduced for the obstacle as follows:

[0057]

[0058] The derivative of the optimal guidance law uses the predicted interior point method and is defined as follows:

[0059]

[0060] In the formula, B = 5I4, The optimal guidance law can be obtained by integrating the derivative of the optimal guidance law after using the predicted interior point method.

[0061] The present invention also provides a method for safe arrival of an unmanned ship with multiple input constraints and multiple safety constraints, which is implemented based on any one of the above-mentioned unmanned ship safe arrival controllers with multiple input constraints and multiple safety constraints, and includes the following steps:

[0062] S1, collect the position data of the underactuated unmanned ship, and send the position data to the target arrival guidance law module;

[0063] S2, the target arrival guidance law module receives the position data of the unmanned ship and calculates the required heading angle of the unmanned ship according to the error between the current position of the unmanned ship and the target position, introduces the guidance gain and the positive constant parameter to avoid overshoot, calculates the expected speed and expected angular velocity data, and the target arrival guidance law module sends the expected speed and expected angular velocity data to the interior point method optimization module;

[0064] S3, the obstacle control function module calculates the optimal weight signal and the optimal expected speed and expected angular velocity according to the input obstacle signal and the target arrival guidance law module in combination with the input constraint conditions;

[0065] S4. The optimal guidance law of the unmanned ship is obtained based on the optimal weight signal, the optimal expected speed and the expected angular velocity.

[0066] Compared with the prior art, the present invention has the following advantages:

[0067] First, compared with the existing formation controller designed for fully-driven unmanned ships, the control method proposed in the present invention is proposed for under-driven unmanned ships. Because the structure of under-driven unmanned ships is simpler, and the design and production are also easier, most of the unmanned ships used in practical applications are under-driven unmanned ships. Therefore, this method has a broader utilization prospect.

[0068] Second, the existing control obstacle functions almost only consider the position factor, not the direction factor. Even if the direction factor is considered, it only considers the factor of a single direction, which makes them difficult to apply to the safe control of under-actuated unmanned ships. The present invention designs the controller considering the direction factor, which can ensure the safety of the unmanned ship in practical applications.

[0069] Third, the existing controller adopts the method of full-process constraint for multiple constraints, which may lead to unsolvable situations, so there are defects in the actual application process. The present invention introduces a weight w for each obstacle. i , when encountering obstacles, the weights are adjusted in real time, which expands the range of feasible solutions and avoids the situation where there is no solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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.

[0071] Figure 1 It is a schematic diagram of the structure of the controller of the present invention.

[0072] Figure 2 This is a distance diagram between the under-actuated unmanned ship of the present invention and obstacles.

[0073] Figure 3 This is the angular velocity diagram of the under-actuated unmanned ship of the present invention.

[0074] Figure 4 This is the forward velocity diagram of the under-actuated unmanned ship of the present invention.

[0075] Figure 5 This is the weight graph of the underactuated unmanned ship of the present invention.

[0076] Figure 6It is the derivative diagram of the weight of the underactuated unmanned ship of the present invention.

[0077] Figure 7 This is a simulation effect diagram of the present invention. DETAILED DESCRIPTION

[0078] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 should fall within the scope of protection of the present invention.

[0079] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0080] like Figure 1 As shown, the present invention provides an unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints, including a target arrival guidance law module, an interior point method optimization module, and a control obstacle function module; the input of the control obstacle function module comes from manual input and the interior point method optimization module, and the output end is connected to the interior point method optimization module, the input of the interior point method optimization module comes from the target arrival guidance law module and manual input, and the output end is connected to the control obstacle function module and the unmanned ship, the input of the target arrival guidance law module comes from manual input, and the output end is connected to the interior point method optimization module.

[0081] The unmanned ship is an underactuated unmanned ship, and the kinematic model of the underactuated unmanned ship is as follows:

[0082]

[0083] In the formula, x d ,y d ,ψ w Respectively represent the position of the underactuated unmanned ship on the x-axis and y-axis in the earth coordinate system and the actual moving direction; represents the actual motion speed of the underactuated unmanned ship; r is the bow angular velocity of the underactuated unmanned ship; β = arctan (v / u) is the sideslip angle of the underactuated unmanned ship. Where u and v represent the longitudinal and transverse velocities of the unmanned ship, respectively.

[0084] The design method comprises the following steps:

[0085] A. Design of obstacle control function module:

[0086] First, for other stationary obstacles, define the control obstacle function candidate h o (.)for:

[0087]

[0088] Where p d =[x d ,y d ] T represents the coordinates of the unmanned ship, p o =[x o ,y o ] T are the coordinates of the obstacle, μ o is a positive real number. Assuming that the unmanned ship is a circle, h is the radius of the circle in which the unmanned ship is modeled. o is the radius of the obstacle, D1 is the minimum safe distance between the static obstacle and the unmanned ship, and D1>h+h o , θ1 is the collision avoidance angle constraint, defined as follows:

[0089]

[0090] In the formula, ψ o =atan2((y o -y d ) / (x o -x d )) is the relative angle between the underactuated unmanned ship and the static obstacle, s = p d -p o and g = p d -p c , p c =[x c ,y c ] T is the desired position coordinate. According to the product of s and g, the unmanned ship can follow the rule of turning left or right.

[0091] In order to solve the unsolvable problem when multiple control barrier functions are constrained for optimization, multiple h are merged into one H and a weight w is assigned to each h:

[0092]

[0093] In the formula, And satisfy φ(h m ,0)=φ(0,w m )=φ(0,0)=1. m Each h m The corresponding weight coefficient.

[0094] B. Design of the target arrival guidance law module

[0095]

[0096] In the formula, the required heading angle of the unmanned ship is defined as ψ d =atan2((y c -y d ),(x c -x d )),ψ e = x d -ψ d , where k u and k r They are all positive numbers, representing the guidance gain. In order to avoid overshoot, Δ u and Δ r , and they are all positive constants. p e =[x c -x d ,y c -y d ] T represents the error from the unmanned ship to the target point, ||p e || is the distance between the unmanned ship and the target position.

[0097] C. Design of interior point optimization module

[0098] Consider a nonlinear affine system with the system state x and control input u, defined as:

[0099]

[0100] Where f(x) and g(x) are local Lipschitz continuous functions, the kinematic model of the unmanned ship can be rewritten as:

[0101]

[0102] The adaptive law is achieved by minimizing w using the predictor-corrector interior point method. * The change is designed to obtain the optimal solution w * for:

[0103]

[0104] Where w=[w1,...,w c ] T is a c-dimensional vector, J w For w * is strongly convex, and the corresponding constraints are:

[0105]

[0106] In the formula, c is the number of safety constraints, which is also the dimension of the weight coefficient w of the unmanned ship. min and w max are the upper and lower bounds of w, respectively, and w min >0, and α is a positive constant. b 2c+1 (w,p d ) is a condition that forces the nonlinear affine system (7) to satisfy a unified control barrier function.

[0107] In order to facilitate the solution process, the approximate optimal solution is designed as follows:

[0108]

[0109] In the formula, Φ(w,p d ) can be defined as Where s is a positive real number parameter (penalty factor), and Φ(w,p d ) is uniformly convex with respect to w.

[0110] Therefore, according to the nonlinear affine system (7), an adaptive law for adjusting the weight w is proposed:

[0111]

[0112] Where μ and ν are defined as:

[0113]

[0114] Where, P = 5I4, is the gradient of w, It means to find the second-order partial derivative of the function.

[0115] In order to minimize the change of the guidance law during the collision avoidance process, the controller is designed as follows:

[0116]

[0117] In the formula, is the optimal guidance law of the unmanned ship, v = [U d ,r d ] T , The constraints include the following input constraints:

[0118]

[0119] Similarly, obstacles can be used to introduce a near-optimal guidance law as follows:

[0120]

[0121] The derivative of the optimal guidance law is also defined using the predictive interior point method as follows:

[0122]

[0123] In the formula, B = 5I4, It is given in (12). Integrating equation (16) gives the optimal guidance law.

[0124] The present invention also provides a method for safe arrival of an unmanned ship with multiple input constraints and multiple safety constraints, which is implemented based on a controller for safe arrival of an unmanned ship with multiple input constraints and multiple safety constraints, and includes the following steps:

[0125] S1, collect the position data of the underactuated unmanned ship, and send the position data to the target arrival guidance law module;

[0126] S2, the target arrival guidance law module receives the position data of the unmanned ship and calculates the required heading angle of the unmanned ship according to the error between the current position of the unmanned ship and the target position, introduces the guidance gain and the positive constant parameter to avoid overshoot, calculates the expected speed and expected angular velocity data, and the target arrival guidance law module sends the expected speed and expected angular velocity data to the interior point method optimization module;

[0127] S3, the obstacle control function module calculates the optimal weight signal and the optimal expected speed and expected angular velocity according to the input obstacle signal and the target arrival guidance law module in combination with the input constraint conditions;

[0128] S4. The optimal guidance law of the unmanned ship is obtained based on the optimal weight signal, the optimal expected speed and the expected angular velocity.

[0129] Example

[0130] The kinematic model of the underactuated unmanned ship is as follows:

[0131]

[0132] The controller used in this embodiment satisfies the controller structure described by equations (3)-(11), and the specific parameters are as follows:

[0133] Initial position of unmanned ship 1: (10,0) heading π / 2;

[0134] Unmanned ship 1 reaches position: (100,9);

[0135] The position of obstacle 1: (20,312) a circle with a radius of 5m;

[0136] The position of obstacle 2: (40,14) a circle with a radius of 9m;

[0137] The position of obstacle 3: (55,45) a circle with a radius of 5m;

[0138] The position of obstacle 4: (40,40) a circle with a radius of 5m;

[0139] Constrain the forward velocity u∈(0,1);

[0140] Constrain angular velocity r∈(-1,1);

[0141] Each obstacle corresponds to a weight, and the weight changes with the distance between the unmanned ship and the obstacle, and the weight w∈(0,5), U max =2, S=4.

[0142] The simulation results are as follows Figure 2-7 shown. Figure 2 is the distance between the unmanned boat and each obstacle. The four curves represent the distance change between the unmanned boat and each obstacle. The horizontal dotted line represents the safe distance between the unmanned boat and each obstacle, that is, the shortest distance. It can be seen from the figure that the unmanned boat and each obstacle are kept above the safe distance, and the unmanned boat can avoid collision with obstacles during driving. Figure 3 is the angular velocity of the underactuated unmanned ship. The solid line represents the change of the angular velocity of the unmanned ship, and the horizontal dotted line represents the angular velocity constraint of the unmanned ship. It can be seen from the figure that the angular velocity of the unmanned ship always remains within the constraint range. Figure 4 is the total forward speed of the unmanned ship. The solid line represents the change of the total forward speed of the unmanned ship, and the horizontal dotted line represents the total forward speed constraint of the unmanned ship. It can be seen from the figure that the forward speed of the unmanned ship always remains within the constraint range. Figure 5 and Figure 6 Each curve represents the weight corresponding to each obstacle and the change of the weight derivative. The horizontal dotted line represents the constraint of the weight value. It can be seen from the figure that the weight of each obstacle changes with the distance between the unmanned ship and the obstacle and the weight always remains within the limit. The simulation results are shown in Figure 7 As shown, the black circle represents the obstacle, and the curve represents the movement trajectory of the unmanned ship. It can be seen from the figure that the unmanned ship can avoid each obstacle very well.

[0143] 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-input constraint and multi-safety constraint unmanned ship safe arrival controller, characterized in that: include: Underactuated unmanned ship, target arrival guidance law module, interior point method optimization module and control obstacle function module; The obstacle control function module receives a collision avoidance signal about obstacles and unmanned ships from a given input, the obstacle control function module receives an optimal weight signal from an interior point method optimization module, and the obstacle control function module sends an original weight signal and a signal of a unified obstacle control function to the interior point method optimization module; The interior point optimization module receives input constraints from given conditions, receives an expected speed signal and an expected angular velocity signal from a target arrival guidance law module, sends an optimal weight signal to a control obstacle function module, and sends an optimal expected speed and an expected angular velocity to the unmanned ship; The target arrival guidance law module receives the unmanned ship position signal from a given input, and the control obstacle function module sends the expected speed signal and angular velocity signal to the interior point method optimization module.

2. The unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints according to claim 1 is characterized in that: The kinematic model of the underactuated unmanned ship is as follows: In the formula, x d Represents the x-axis coordinate of the driving unmanned ship in the earth coordinate system, y d Represents the coordinate of the y-axis motion of the unmanned ship in the earth coordinate system, ψ w Represents the actual moving direction of the underactuated unmanned ship; Represents the actual moving speed of the underactuated unmanned ship; r is the bow angular velocity of the underactuated unmanned ship; β = arctan (v / u) is the sideslip angle of the underactuated unmanned ship; Where u and v represent the longitudinal and transverse speeds of the unmanned ship, respectively.

3. The unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints according to claim 1 is characterized in that: The method for establishing the obstacle control function module is as follows: First, for other stationary obstacles, define the control obstacle function candidate h o (.)for: In the formula, p d =[x d ,y d ] T represents the coordinates of the unmanned ship, p o =[x o ,y o ] T are the coordinates of the obstacle, μ o is a positive real number. Here, we assume that the unmanned ship is a circle. h is the radius of the circle in which the unmanned ship is modeled. o is the radius of the obstacle, D1 is the minimum safe distance between the static obstacle and the unmanned ship, and D1>h+h o , θ1 is the collision avoidance angle constraint, defined as follows: Formula ψ o =atan2((y o -y d ) / (x o -x d )) is the relative angle between the underactuated unmanned ship and the static obstacle, s = p d -p o and g = p d -p c , p c =[x c ,y c ] T is the desired position coordinate. According to the product of s and g, the unmanned ship can follow the rule of turning left or right. Combine multiple h into one H and assign a weight w to each h: In the formula, And satisfy φ(h m ,0)=φ(0,w m )=φ(0,0)=1,w m Each h m The corresponding weight coefficient.

4. The unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints according to claim 1 is characterized in that: The formula for the target arrival guidance law module is as follows: In the formula, the required heading angle of the unmanned ship is defined as ψ d =atan2((y c -y d ),(x c -x d )),ψ e = x d -ψ d , where k u and k r are all positive numbers, representing the guidance gain; in order to avoid overshoot, a positive number Δ is introduced u and Δ r ;p e =[x c -x d ,y c -y d ] T Represents the error from the unmanned ship to the target point, is the distance between the unmanned ship and the target location.

5. The unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints according to claim 1 is characterized in that: The method for establishing the interior point optimization module is as follows: Consider a nonlinear affine system with the system state x and control input u, defined as: Where f(x) and g(x) are local Lipschitz continuous functions, and the kinematic model of the underactuated unmanned ship is rewritten as a nonlinear affine system: The adaptive law minimizes w by using the predictor-corrector interior point method * To design the optimal solution w * for: Where w=[w1,...,w c ] T is a c-dimensional column vector, w0 is the weight before optimization, J w For w * is strongly convex, and the corresponding constraints are: b q (w,p d )=w min -w c ,q∈[c] b q+c (w,p d )=w c -w max ,q∈[c] In the formula, c is the number of safety constraints, which is also the dimension of the weight coefficient w of the unmanned ship. min and w max are the upper and lower bounds of w, respectively, and w min >0, and α is a positive constant; b 2c+1 (w,p d ) is a condition that forces the nonlinear affine system to satisfy a unified control barrier function; The design approximate optimal solution is as follows: In the formula, Φ(w,p d ) can be defined as Among them, s is a positive real number parameter, that is, the penalty factor, and Φ(w,p d ) is uniformly convex with respect to w; According to the nonlinear affine system, an adaptive law for adjusting the weight w is proposed: Where μ and ν are defined as: Where P = 5I4, w is the gradient of w, ▽ wx It means to find the second-order partial derivative of the function; In order to minimize the change of the guidance law during the collision avoidance process, the controller is designed as follows: In the formula, is the optimal guidance law of the unmanned ship, v = [U d ,r d ] T , The constraints include the following input constraints: b1(w,p d ,υ)=U min -AT d b3(w,p d ,υ)=U d -U max b4(w,p d ,υ)=r d -r max b2(w,p d ,v)=r min -r d A near-optimal guidance law is introduced for the obstacle as follows: The derivative of the optimal guidance law uses the predicted interior point method and is defined as follows: In the formula, B = 5I4, The optimal guidance law can be obtained by integrating the derivative of the optimal guidance law after using the predicted interior point method.

6. A method for safe arrival of an unmanned ship with multiple input constraints and multiple safety constraints, which is implemented based on the unmanned ship safe arrival controller with multiple input constraints and multiple safety constraints as claimed in any one of claims 1 to 5, characterized in that: The steps include: S1, collect the position data of the underactuated unmanned ship, and send the position data to the target arrival guidance law module; S2, the target arrival guidance law module receives the position data of the unmanned ship and calculates the required heading angle of the unmanned ship according to the error between the current position of the unmanned ship and the target position, introduces the guidance gain and the positive constant parameter to avoid overshoot, calculates the expected speed and expected angular velocity data, and the target arrival guidance law module sends the expected speed and expected angular velocity data to the interior point method optimization module; S3, the obstacle control function module calculates the optimal weight signal and the optimal expected speed and expected angular velocity according to the input obstacle signal and the target arrival guidance law module in combination with the input constraint conditions; S4. The optimal guidance law of the unmanned ship is obtained based on the optimal weight signal, the optimal expected speed and the expected angular velocity.