Inland river side-thrust-free double-propeller double-rudder ship autonomous berthing control method and system

By constructing a berthing distance model and an anthropomorphic berthing model for heterogeneous sculls and rudders, and using the depth deterministic strategy gradient method, the problems of low speed and poor rudder efficiency of inland river sculls and rudders during the berthing process were solved. Achieving more precise and safe autonomous berthing control.

CN118732553APending Publication Date: 2024-10-01WUHAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410750380.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

During the berthing process, the inland river sculls and rudders have low speed and poor rudder efficiency, and interference from the external environment makes it difficult to establish a mathematical model and achieve automatic control.

Method used

The theoretical berthing path is planned by first stabilizing outside the berthing point and then parallel berthing, collecting actual data, eliminating abnormal data, constructing a berthing distance model for heterogeneous sculls and twin rudders, and using the depth deterministic strategy gradient method to construct an anthropomorphic The berthing model optimizes model parameters through training to achieve autonomous berthing control.

Benefits of technology

It improves the accuracy and safety of berthing. By imitating the driver's behavior and making decisions based on the real-time environment, it achieves more precise berthing control, adapts to complex situations, and improves the accuracy and stability of berthing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732553A_ABST
    Figure CN118732553A_ABST
Patent Text Reader

Abstract

The invention provides an inland river side-thrust-free double-propeller double-rudder ship autonomous berthing control method and system, and the method comprises the steps: planning a theoretical berthing path in a manner that a ship is firstly stable outside a berthing point and then is berthed in parallel, and collecting actual berthing data of successful berthing of a driver according to the berthing path; comparing the actual berthing data with the theoretical berthing path, and eliminating abnormal data in the actual berthing data; constructing a heterogeneous double-propeller double-rudder ship berthing distance model by using the actual berthing data after the abnormal data is removed; on the basis of the heterogeneous double-propeller double-rudder ship berthing distance model, constructing a personification berthing model by using a depth deterministic strategy gradient method; training the anthropomorphic berthing model by using the actual berthing data after the abnormal data is removed, and optimizing and adjusting various parameters in the anthropomorphic berthing model until convergence; and during actual berthing, the optimized anthropomorphic berthing model is used for autonomous berthing control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of waterway transportation, and in particular relates to an autonomous berthing control method and system for an inland river non-thruster double-propeller double-rudder ship. Background Art

[0002] Inland river transport double-screw double-rudder ships are mostly double-screw double-rudder ships. However, double-screw double-rudder ships have low speed and poor rudder efficiency during berthing. Therefore, during berthing maneuvers, it is usually necessary to constantly switch the left and right propeller speeds and the size of the rudder to achieve the purpose of changing the course and speed. In addition, during the berthing process, there are interferences from external environments such as shallow water effect and shore wall effect. The mathematical model of the double-screw double-rudder ship is difficult to establish, which makes it difficult to achieve automatic control of the double-screw double-rudder ship during berthing.

[0003] In the process of berthing in inland rivers, the berthing methods of double-screw double-rudder ships are mostly three methods: stabilizing outside the stop point, directly approaching, and stabilizing outside the stop point first and then approaching in parallel. However, in the berthing process, due to the unique structure of the double-screw double-rudder ship, the under-driven double-screw double-rudder ship can be berthed in parallel through the synergy of the propeller and the rudder. Therefore, in most cases, in order to increase the accuracy of the berthing of the double-screw double-rudder ship, the captain mostly adopts the method of berthing against the current, stabilizing outside the stop point first and then approaching in parallel. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an autonomous berthing control method and system for an inland river non-thrust double-propeller double-rudder ship, which can improve the berthing accuracy.

[0005] The technical solution adopted by the present invention to solve the above technical problems is: an autonomous berthing control method for an inland river non-thruster double-propeller double-rudder ship, comprising the following steps:

[0006] S1. Plan a theoretical berthing path by first berthing outside the berthing point and then berthing in parallel, and collect actual berthing data of the driver successfully berthing according to the berthing path;

[0007] S2, comparing the actual berthing data with the theoretical berthing path, and eliminating abnormal data in the actual berthing data;

[0008] S3, using the actual berthing data after removing abnormal data, construct a berthing distance model for heterogeneous twin-propeller and twin-rudder ships;

[0009] S4. Based on the heterogeneous twin-propeller twin-rudder ship berthing distance model, a deep deterministic policy gradient method is used to construct an anthropomorphic berthing model;

[0010] S5. Using the actual docking data after removing abnormal data, the anthropomorphic docking model is trained to optimize and adjust various parameters in the anthropomorphic docking model until convergence;

[0011] S6. During actual berthing, the optimized anthropomorphic berthing model is used to perform autonomous berthing control.

[0012] According to the above scheme, in S1, the actual berthing data is obtained by selecting different experienced drivers, selecting non-thruster twin-propeller twin-rudder ships of different masses on the constructed inland non-thruster twin-propeller twin-rudder ship simulation operation platform, determining the flow environment information and the berthing starting point, and then simulating the operation.

[0013] According to the above scheme, in S2, the berthing process is divided into a path tracking process, a speed reduction and stabilization process and a parallel berthing process. Each process uses the clustering method and sets a convergence interval to obtain the ship state and offset of each discretized path point in the actual berthing data; the ship state includes the horizontal and vertical coordinates of the path point, the bow angle, the ship's forward movement, the sway speed, the ship's bow angular velocity, the left and right propeller speeds and the steering size. The offset is the deviation distance between each discretized path point in the actual berthing data and the corresponding path point in the theoretical berthing path.

[0014] According to the above scheme, in S4, the input of the anthropomorphic berthing model is the horizontal and vertical coordinates of the path point, the heading angle, the ship's forward movement, the sway speed and the ship's yaw angular velocity, and the output is the left and right propeller speeds and the steering size.

[0015] According to the above scheme, in S4, reward functions are constructed for the path tracking process, the speed reduction and stabilization process and the parallel berthing process respectively. When the non-side thruster twin-propeller twin-rudder ship passes through the corresponding process, a switching strategy based on the switching rule is adopted to execute the corresponding reward function, thereby obtaining a hierarchical reward mechanism.

[0016] According to the above scheme, the reward function corresponding to the path tracking process is obtained according to the offset, the actual acceleration of the ship and the rate of change of the steering magnitude;

[0017] The reward function corresponding to the smooth deceleration process is obtained according to the offset, the speed deviation between the actual speed of the ship and the predetermined deceleration, and the actual acceleration of the ship.

[0018] The reward function corresponding to the parallel berthing process is obtained according to the offset, the transverse and longitudinal distance errors between the actual path points of the ship and the stopping points, and the angle errors between the actual path points of the ship and the stopping points.

[0019] According to the above scheme, the switching rules from the path tracking process to the speed reduction smooth process include:

[0020] When a ship with twin propellers and twin rudders without side thrust approaches the predetermined speed reduction point, it switches to a steady speed reduction process;

[0021] If the deviation of the non-side thruster twin-propeller twin-rudder vessel during the path tracking process exceeds a predetermined threshold and cannot be corrected by adjusting the rudder size and the thruster, it switches to a slowing and stabilizing process.

[0022] According to the above scheme, the switching rules from the slowing down process to the parallel berthing process include:

[0023] When the speed of the ship with twin propellers and twin rudders without side thrusters drops below the predetermined minimum berthing speed, and the relative position and angle error with the stop point is within the allowable range, it switches to the parallel berthing process;

[0024] If the speed or position control of the non-thruster twin-propeller twin-rudder vessel is unstable during the smooth deceleration process, resulting in the inability to continue to safely decelerate or adjust the position, the process switches to the parallel berthing process.

[0025] According to the above scheme, in S4, the humanized docking model is composed of two parts: the Actor network and the Critic network; wherein,

[0026] The Actor network contains two hidden layers, and the ReLU function is used as the activation function of the hidden layer. The output range of the ReLU activation function is [-1, 1], which is used to complete the forward and reverse commands of the non-thrust twin-propeller twin-rudder ship; the tanh activation function is used for continuous control, and the output range of the tanh activation function is [-1, 1], which is used to complete the steering command of the non-thrust twin-propeller twin-rudder ship;

[0027] The Critic network consists of two hidden layers, and the ReLU function is used as the activation function of the hidden layer.

[0028] An autonomous berthing control system for an inland river non-thruster twin-propeller twin-rudder ship, comprising:

[0029] A signal acquisition module is used to plan a theoretical berthing path by first stabilizing the ship outside the stop point and then parallel berthing, and collect actual berthing data of the driver successfully berthing according to the berthing path;

[0030] A data processing module, used for comparing the actual berthing data with the theoretical berthing path, and eliminating abnormal data in the actual berthing data;

[0031] A heterogeneous twin-propeller twin-rudder ship berthing distance model construction module is used to construct a heterogeneous twin-propeller twin-rudder ship berthing distance model using actual berthing data after removing abnormal data;

[0032] An anthropomorphic berthing model construction module is used to construct an anthropomorphic berthing model based on the heterogeneous twin-propeller twin-rudder ship berthing distance model using a deep deterministic policy gradient method;

[0033] A training module, used to train the anthropomorphic berthing model using the actual berthing data after removing abnormal data, and optimize and adjust various parameters in the anthropomorphic berthing model until convergence;

[0034] The autonomous berthing control module is used to perform autonomous berthing control using an optimized anthropomorphic berthing model during actual berthing.

[0035] The beneficial effects of the present invention are:

[0036] 1. A berthing distance model for heterogeneous twin-propeller and twin-rudder ships is established. According to the characteristics of different twin-propeller and twin-rudder ships and the behavioral habits of drivers, a berthing model that is more in line with the actual situation is constructed, so as to more accurately simulate the berthing process of twin-propeller and twin-rudder ships and improve the safety and efficiency of berthing. Then, the deep deterministic policy gradient (DDPG) method is used to construct an anthropomorphic berthing model, which has higher intelligence, can learn and imitate the berthing behavior of the driver, make appropriate decisions according to the real-time environment and the status of the twin-propeller and twin-rudder ship, and achieve more precise berthing control.

[0037] 2. By selecting appropriate evaluation indicators and setting reward functions, we can ensure that the model can learn the correct behavior strategy during the training process. This helps the model better adapt to various complex situations in practical applications and improve the accuracy and stability of berthing. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a schematic diagram of the berthing process of a double-propeller, double-rudder ship without a side thruster.

[0039] Figure 2 This is a schematic diagram of the actual path k-means clustering points.

[0040] Figure 3 It is a schematic diagram of an embodiment of the present invention.

[0041] Figure 4 Determine the logic diagram for the docking process and adaptively switch the reward functions for different processes.

[0042] Figure 5 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The present invention is further described below in conjunction with specific examples and drawings.

[0044] The present invention relates to a method for autonomous berthing control of an underdriven thrusterless twin-screw and twin-rudder ship in an inland river, which is applied to the berthing field of twin-screw and twin-rudder ships. A real-life simulation system of a hardware operating console and a software virtual platform is constructed, and experimental data of successful berthing of twin-screw and twin-rudder ships of different masses driven by different drivers for multiple times are collected, and the berthing data of successful parallel berthing after stable berthing outside the actual stop point is collected as auxiliary data, and the data are divided into training data and verification data. According to the experimental data, the trajectory path of the twin-screw and twin-rudder ship is determined and discretized, clustering is performed, and the state of the twin-screw and twin-rudder ship at the clustering point and the offset of the twin-screw and twin-rudder ship at the clustering point relative to the planned route are determined. And according to the mass, slowing down and stable driving distance and parallel berthing distance of different twin-screw and twin-rudder ships, a heterogeneous twin-screw and twin-rudder ship berthing distance model is constructed. By determining the input and output states of the twin-screw and twin-rudder ship, appropriate evaluation indicators and reward functions are selected for each berthing process. A rule-based approach is designed to determine the switching strategy. First, according to the berthing distance model of heterogeneous twin-propeller and twin-rudder ships, the position of the twin-propeller and twin-rudder ship at each section is determined and the weight coefficient of the evaluation index of the corresponding berthing process is updated. The deep deterministic policy gradient deep reinforcement learning method is used to construct an anthropomorphic berthing model. Through learning with the collected data, the twin-propeller and twin-rudder ship can smoothly perform automatic berthing operations.

[0045] The present invention is described in detail below. Figure 5 As shown, the steps are as follows:

[0046] S1. A theoretical berthing path is planned by first berthing outside the anchorage point and then parallel berthing, and actual berthing data of successful berthing by the driver according to the berthing path is collected.

[0047] In this embodiment, hardware operation tables for left and right propeller consoles and rudders are built, and Navi-Trainer Professional software is used to form a simulation operation platform for a non-side thruster double-screw double-rudder ship. Different experienced operators are selected to operate double-screw double-rudder ships of different qualities, and the flow rate environment information and berthing starting point are determined. The berthing path is planned by adopting the method of first stabilizing outside the stop point and then parallel berthing, and the navigation information data of the double-screw double-rudder ship that has successfully berthed is collected. The actual berthing data of first stabilizing outside the stop point and then parallel berthing is collected as auxiliary data, which is divided into training data and verification data.

[0048] S2. Compare the actual berthing data with the theoretical berthing path, and eliminate abnormal data in the actual berthing data.

[0049] When a human driver operates an inland under-driven twin-propeller and twin-rudder ship to berth, the process is usually to first stabilize the ship outside the stop point and then berth in parallel. This operation method divides the berthing process of the twin-propeller and twin-rudder ship into three processes, namely, the path tracking process, the speed reduction and stabilization process, and the parallel berthing process. For the berthing method of first stabilizing the ship outside the stop point and then berthing in parallel, the path tracking is carried out from the starting point. After reaching a certain position, the speed reduction operation is carried out. The inertia of the twin-propeller and twin-rudder ship and the amount of steering are used to make the twin-propeller and twin-rudder ship move forward and change its course, and make the twin-propeller and twin-rudder ship reach a stable point outside the stop point to complete the stabilization of the twin-propeller and twin-rudder ship's posture. Then, the speed difference of the left and right propellers of the twin-propeller and twin-rudder ship and the amount of steering are used to make the twin-propeller and twin-rudder ship move laterally to achieve the purpose of berthing. Figure 1 As shown:

[0050] Path tracking process: The path range from the berthing starting point to the deceleration point. In this process, the human driver controls the double-screw double-rudder boat to ensure that the double-screw double-rudder boat can follow the planned path line as much as possible by controlling the steering size. In this process, the focus is on collecting the operation data of the double-screw double-rudder boat during the path tracking process, such as the steering size, the position of the double-screw double-rudder boat, and the heading, so as to understand how the driver controls the double-screw double-rudder boat to travel along the predetermined path.

[0051] Slowing down and stabilizing the process: The human driver will select the appropriate speed reduction point according to the position of the stabilizing point and the position of the double-propeller double-rudder ship, and continue to follow the planned path. The driver controls the steering of the double-propeller double-rudder ship to make the double-propeller double-rudder ship follow the planned path line, and at the same time reduce the propeller speed. In this process, the focus is on collecting data during the speed reduction and stabilization process of the double-propeller double-rudder ship, including the speed reduction rate, the posture change of the double-propeller double-rudder ship, etc., to analyze how the driver balances speed reduction and stability.

[0052] Parallel berthing process: From the stable point to the berth, the human driver will constantly change the left and right propeller speeds and the size of the rudder according to the environmental flow rate information to correct the course and the purpose of translation. The human driver will change the speed and rudder size of the forward and reverse rotation of the left and right propellers. In this process, the fine-tuning data of the double-propeller double-rudder ship parallel berthing with the dock is collected, especially the subtle adjustments of the rudder size and speed, to reveal the driver's precise control skills in this process.

[0053] The paths of the double-screw double-rudder ship collected by S1 are compared with the planned paths of the double-screw double-rudder ship. The paths of the double-screw double-rudder ship are discretized, and abnormal data are removed. The k-means clustering method is used to determine that the convergence interval is ±5° when the rudder size changes. Of course, other clustering methods can also be used.

[0054] like Figure 2 As shown, the path tracking process is divided into n cluster centers {M 1 ,M2 ……M n}, the deceleration-stabilization process is divided into sn cluster centers {M n+1 ,M n+2 ……M s}, the parallel docking process is divided into ts cluster centers {M s+1 ,M s+2 ……M t} and record the status of the double-screw double-rudder ship at the t cluster center points, including in, u, v, r represent the ship's heading angle, forward speed, sway speed and yaw angular velocity, respectively. l ,n r are the left and right propeller speeds of a double-screw double-rudder ship, and δ is the steering size of the double-screw double-rudder ship.

[0055] Determine the tangent direction at each point on the planned path. When the direction is consistent with the tangent direction of the path planning nearby, the offset D of the double-propeller double-rudder ship at this time is determined.

[0056]

[0057] Among them, (x 0 ,y 0 ) is a point on the planned trajectory. Therefore, the offset {D 1 ,D 2 ...D t}, and the steering size of the double-scull double-rudder boat at the corresponding cluster point {δ 1 ,δ 2 ...δ t}.

[0058] The process stores data such as the state of the double-screw double-rudder ship at each cluster point and the offset

[0059]

[0060] S3. Using the actual berthing data after removing abnormal data, a berthing distance model for heterogeneous twin-propeller and twin-rudder ships is constructed.

[0061] According to the berthing data of different drivers collected by S1, the trajectory of the double-propeller double-rudder ship is determined. The distance s between the double-propeller double-rudder ship from the deceleration point to the stable point can be obtained through simulation software. 11 ……s 1n The distance s from the stable point to the stopping point of a double-screw double-rudder boat 21 ……s 2n, according to the mass m between different twin-propeller and twin-rudder boats driven by human drivers 1 ……m n The distance s between the deceleration point and the stable point can be constructed 11 ……s 1n The distance between the stable point and the stopping point s 21 ……s 2n The mass of a two-screw, two-rudder boat driven by a human driver is m 1 ……m n The approximate fitting relationship between them. The berthing distance model formula of heterogeneous twin-propeller twin-rudder ship is as follows:

[0062]

[0063] Among them, a and b are the linear coefficients of the fitting. n is the ship number.

[0064] S4. Based on the heterogeneous twin-propeller and twin-rudder ship berthing distance model, a deep deterministic policy gradient method is used to construct an anthropomorphic berthing model.

[0065] like Figure 3 and Figure 4 As shown in the figure, for the three-process berthing process of the inland twin-propeller and twin-rudder ship, the DDPG method needs to construct a reward function for each berthing process separately. Then the twin-propeller and twin-rudder ship adopts a rule-based switching strategy to execute the corresponding reward function through the corresponding process, and a hierarchical reward mechanism is obtained. Combined with the DDPG algorithm, a complete twin-propeller and twin-rudder ship berthing control method is obtained.

[0066] S4.1: Model input and output design;

[0067] According to S2, the actual trajectory of the double-screw double-rudder ship is discretized into points and clustered to form cluster points. After corresponding processing, the state of the double-screw double-rudder ship at the cluster point and the offset between the double-screw double-rudder ship and the planned trajectory are obtained. The state information at the adjacent cluster points can be used to obtain the state of the double-screw double-rudder ship in the next process, and make corresponding steering actions or speed reduction actions. Therefore, the input state of the model is The output state is {n l ,n r ,δ}.

[0068] S4.2: Select evaluation indicators and set reward function.

[0069] Path tracking process: In the path tracking process, the main task of the double-screw double-rudder ship is to sail along the predetermined path to ensure that it can accurately reach the vicinity of the stop point. Therefore, the reward function design should focus on the trajectory tracking accuracy and navigation stability of the double-screw double-rudder ship.

[0070] (1) Tracking accuracy: A reward function can be set based on the deviation between the actual track of the twin-propeller and twin-rudder ship and the planned path.

[0071] (2) Navigation stability: In order to ensure that the twin-propeller and twin-rudder ship can maintain a stable navigation state when tracking the path, a reward function based on the speed, acceleration and rate of change of the steering size of the twin-propeller and twin-rudder ship can be designed.

[0072] In the path tracking process, the designed reward function is as follows:

[0073]

[0074] Where D is the deviation between the twin-propeller and twin-rudder ship and the planned path, v is the speed of the twin-propeller and twin-rudder ship, is the acceleration of the twin-propeller and twin-rudder ship, δ is the magnitude of the rudder, is the rate of change of the steering size. max , are the maximum allowable values ​​of the rate of change of deviation, acceleration and rudder magnitude, respectively. 1 ,ω 2 ,ω 3 is the weight coefficient and ω 1 +ω 2 +ω 3 =1.

[0075] Smooth speed reduction process: In this process, the main task of the twin-propeller and twin-rudder ship is to gradually reduce the speed to prepare for the subsequent parallel berthing. Therefore, the reward function design should focus on the speed reduction stability of the twin-propeller and twin-rudder ship and its ability to track the predetermined speed reduction curve.

[0076] (1) Speed ​​reduction smoothness: A reward function based on the speed change rate of a twin-propeller, twin-rudder ship can be set.

[0077] (2) Predetermined deceleration curve tracking: In order to ensure that the twin-propeller and twin-rudder ship can decelerate according to the predetermined deceleration curve, a reward function based on the deviation between the actual deceleration curve and the predetermined deceleration curve can be designed.

[0078] In the deceleration-stabilization process, the designed reward function is as follows:

[0079]

[0080] Among them, e v is the speed deviation between the actual speed of the twin-propeller twin-rudder ship and the predetermined speed reduction curve, is the acceleration of a twin-screw, twin-rudder ship. v,max , are the maximum allowable values ​​of velocity deviation and acceleration respectively. 4 ,ω 5 ,ω6 is the weight coefficient and ω 4 +ω 5 +ω 6 =1.

[0081] Parallel berthing process: In this process, the double-propeller double-rudder ship needs to maintain a parallel state with the docking point. It is necessary to ensure that the lateral error and longitudinal error during the berthing process are relatively small, and at the same time, the error between the double-propeller double-rudder ship and the docking point is small. Therefore, the reward function of the parallel berthing process can be designed as:

[0082]

[0083] e x 、e y are the lateral and longitudinal distance errors between the double-propeller double-rudder ship and the stop point, θ is the angle error between the double-propeller double-rudder ship and the stop point, and d max is the maximum allowable distance error, θ max is the maximum angular error allowed. ω 7 ,ω 8 ,ω 9 is the weight coefficient and ω 7 +ω 8 +ω 9 =1.

[0084] S4.3: Update of weight coefficients

[0085] For the berthing process of the underactuated twin-propeller and twin-rudder ship, each process has its own specific dynamic characteristics and control requirements. Therefore, designing a suitable reward function for each path is the key to ensure that the twin-propeller and twin-rudder ship can complete the berthing task safely and efficiently. When the twin-propeller and twin-rudder ship undergoes different processes, a rule needs to be designed to make the twin-propeller and twin-rudder ship execute the reward function of the corresponding process.

[0086] The state of the double-screw double-rudder ship in different stages of berthing has different characteristic information. Therefore, during the berthing process, it is necessary to monitor the state of the double-screw double-rudder ship and obtain the position, speed, steering size, speed and other related information of the double-screw double-rudder ship in real time. In order to enable the double-screw double-rudder ship to execute the reward function of the corresponding process when passing through different processes, the following switching rules are defined:

[0087] Switching rules from the path tracking process to the slowing down process: (1) When the twin-propeller twin-rudder ship approaches the predetermined slowing down point, it should switch to the slowing down process. According to the planned path information, the stop point position and the safe berthing speed when berthing are determined, and the distance s for parallel berthing is solved by computer. 2. According to the mass of the twin-propeller, twin-rudder ship and the berthing distance model of the heterogeneous twin-propeller, twin-rudder ship in step 3, the deceleration distance is obtained, and the deceleration point position can be obtained. (2) If the twin-propeller, twin-rudder ship has a large deviation (exceeding the predetermined threshold) in the path tracking process and cannot be corrected by adjusting the steering size and the propeller, it should also switch to the smooth deceleration process. A large deviation in the path tracking process may mean that the current control strategy or environmental conditions of the twin-propeller, twin-rudder ship are not conducive to continued efficient navigation. At this time, by switching to the smooth deceleration process, the control system of the twin-propeller, twin-rudder ship can be given more time and space to adjust the heading and position so that it can enter the parking point more smoothly and improve the berthing efficiency.

[0088] Switching rules from the slowing down process to the parallel berthing process: (1) When the speed of the twin-propeller, twin-rudder ship drops below the predetermined minimum berthing speed and the relative position and angle error with the stop point is within the allowable range, the ship should switch to the parallel berthing process. (2) If the speed or position control of the twin-propeller, twin-rudder ship is unstable during the slowing down process, making it impossible to continue to safely slow down or adjust the position, the ship should also switch to the parallel berthing process in advance.

[0089] According to the real-time status information and environmental conditions, the control system will automatically match the pre-defined switching rules. Once the switching conditions of a process are met, the control system will automatically switch to the corresponding berthing process and execute the corresponding control strategy.

[0090] S4.4: Construction of DDPG model;

[0091] The deep deterministic policy gradient (DDPG) deep reinforcement learning method is used to build an anthropomorphic berthing model.

[0092] DDPG consists of two parts: the Actor network and the Critic network. The Actor network contains two hidden layers, the first layer contains 100 hidden units, and the second layer contains 400 hidden units. The ReLU function is used as the activation function of the hidden layer. The output range of the ReLU activation function is [-1, 1], which is used to complete the forward and reverse commands of the twin-propeller and twin-rudder ship; tanh activation is used for continuous control, and the output range of the tanh activation function is [-1, 1], which is used to complete the steering command of the twin-propeller and twin-rudder ship.

[0093] The Critic network consists of two hidden layers. The first layer contains 500 hidden units and the second layer contains 100 hidden units. The ReLU function is used as the activation function of the hidden layer.

[0094] S4.5: Set DDPG algorithm parameter changes;

[0095] The Actor Network in DDPG is used to output strategies, and its input is the current state si and the state s at the next moment i+1 = {u i+1 ,v i+1 ,r i+1}, the output is the current strategy μ(s i |θ μ )={n l(o) ,n r(o) ,δ (o)} and the next moment's strategy μ′(s i+1 |θ μ′ )={n l(i+1) ,n r(i+1) ,δ (i+1)}. The Critic Network in DDPG is used to evaluate the quality of the ActorNetwork output strategy. Its input is the current state s i = {u i ,v i ,r i}、Strategy μ(s i |θ μ )={n l(i) ,n r(i) ,δ (i)} and the state s at the next moment i+1 = {u i+1 ,v i+1 ,r i+1}、Strategy μ′(s i+1 |θ μ′ )={n l(i+1) ,n r(i+1) ,δ (i+1) The output is the Q value of the two. The weight coefficient of the Critic Network is updated using the stochastic gradient descent algorithm, and the weight coefficient of the Actor Network is updated using the stochastic gradient ascent algorithm.

[0096] The loss function in Critic Network is:

[0097]

[0098] The loss function in Actor Network is:

[0099]

[0100] S5. Using the actual docking data after removing abnormal data, the anthropomorphic docking model is trained to optimize and adjust various parameters in the anthropomorphic docking model until convergence.

[0101] After completing data collection, processing and model building, the key training control method process is carried out. The core task of this process is to use the collected human driver berthing data to fine-tune the deep deterministic policy gradient (DDPG) deep reinforcement learning model. During the training process, the processed data is first input into the DDPG model, and the various coefficients in the model are gradually determined through continuous trial and error learning and optimization adjustment. After repeated training and tuning, an anthropomorphic berthing model with excellent stability and control accuracy should be trained. The model can simulate the berthing behavior of human drivers, realize the automated and intelligent berthing of double-propeller and double-rudder ships, and improve the efficiency and safety of berthing.

[0102] S6. During actual berthing, the optimized anthropomorphic berthing model is used to perform autonomous berthing control.

[0103] As another aspect of the present invention, a system for realizing the above-mentioned inland river non-thruster double-propeller double-rudder ship autonomous berthing control method is also provided, comprising:

[0104] A signal acquisition module is used to plan a theoretical berthing path by first stabilizing the ship outside the stop point and then parallel berthing, and collect actual berthing data of the driver successfully berthing according to the berthing path;

[0105] A data processing module, used for comparing the actual berthing data with the theoretical berthing path, and eliminating abnormal data in the actual berthing data;

[0106] A heterogeneous twin-propeller twin-rudder ship berthing distance model construction module is used to construct a heterogeneous twin-propeller twin-rudder ship berthing distance model using actual berthing data after removing abnormal data;

[0107] An anthropomorphic berthing model construction module is used to construct an anthropomorphic berthing model based on the heterogeneous twin-screw twin-rudder ship berthing distance model using a deep deterministic policy gradient method;

[0108] A training module, used to train the anthropomorphic berthing model using the actual berthing data after removing abnormal data, and optimize and adjust various parameters in the anthropomorphic berthing model until convergence;

[0109] The autonomous berthing control module is used to perform autonomous berthing control using an optimized anthropomorphic berthing model during actual berthing.

[0110] The present invention can obtain rich driving behavior and habit information by collecting berthing process data of different drivers. The steps of data processing and storage ensure the accuracy and completeness of this information, and provide a reliable data basis for the establishment of subsequent models. By establishing a heterogeneous double-screw double-rudder ship berthing distance model, a berthing model that is more in line with the actual situation can be constructed according to the characteristics of different double-screw double-rudder ships and the behavioral habits of drivers. Such a model can more accurately simulate the berthing process of double-screw double-rudder ships and improve the safety and efficiency of berthing. The anthropomorphic berthing model constructed using the deep deterministic policy gradient (DDPG) method has higher intelligence. It can learn and imitate the driver's berthing behavior, make appropriate decisions according to the real-time environment and the state of the double-screw double-rudder ship, and achieve more accurate berthing control. By selecting appropriate evaluation indicators and setting reward functions, it can be ensured that the model can learn the correct behavior strategy during the training process. This helps the model to better adapt to various complex situations in practical applications and improve the accuracy and stability of berthing. The update of weight coefficients and the change of DDPG algorithm parameter settings make the model more adaptable and flexible. The model can adjust parameters according to actual conditions to cope with different berthing tasks and environmental changes. Through the training of the control method, the performance of the model can be continuously optimized to improve the accuracy and efficiency of berthing. This helps to reduce the risks in the berthing process and improve the safety of double-propeller and double-rudder ship transportation.

[0111] The present invention can improve the berthing accuracy: Different from the traditional MPC control, in the docking area, due to the influence of the environment, it is difficult to establish a mathematical model of the twin-propeller twin-rudder ship and accurate control cannot be achieved. By learning from human experience and using the non-model method of reinforcement learning, the berthing control of the twin-propeller twin-rudder ship can be more effectively achieved.

[0112] The present invention has strong adaptability: the control method is applicable to different inland river environments and double-propeller and double-rudder ship types, and can adapt to different berthing scenarios and double-propeller and double-rudder ship characteristics by adjusting control parameters, and has strong adaptability.

[0113] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. An autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship, Features: The following steps are involved: S1. Plan a theoretical berthing path by first berthing outside the berthing point and then berthing in parallel, and collect actual berthing data of the driver successfully berthing according to the berthing path; S2, comparing the actual berthing data with the theoretical berthing path, and eliminating abnormal data in the actual berthing data; S3, using the actual berthing data after removing abnormal data, construct a berthing distance model for heterogeneous twin-propeller and twin-rudder ships; S4. Based on the heterogeneous twin-propeller twin-rudder ship berthing distance model, a deep deterministic policy gradient method is used to construct an anthropomorphic berthing model; S5. Using the actual docking data after removing abnormal data, the anthropomorphic docking model is trained to optimize and adjust various parameters in the anthropomorphic docking model until convergence; S6. During actual berthing, the optimized anthropomorphic berthing model is used to perform autonomous berthing control.

2. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 1, Features: In the S1, the actual berthing data is obtained by selecting different experienced drivers, selecting non-thrust twin-propeller, dual-rudder ships of different masses on the constructed inland non-thrust twin-propeller, dual-rudder ship simulation operation platform, determining the flow rate environment information and the berthing starting point, and then performing simulation operations.

3. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 1, Features: In the S2, the berthing process is divided into a path tracking process, a speed reduction and stabilization process and a parallel berthing process. Each process uses the clustering method and sets a convergence interval to obtain the ship state and offset of each discretized path point in the actual berthing data; the ship state includes the horizontal and vertical coordinates of the path point, the heading angle, the ship's forward movement, the sway speed, the ship's yaw angular velocity, the left and right propeller speeds and the steering size. The offset is the deviation distance between each discretized path point in the actual berthing data and the corresponding path point in the theoretical berthing path.

4. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 3, Features: In the above S4, the inputs of the anthropomorphic berthing model are the horizontal and vertical coordinates of the path points, the heading angle, the ship's forward movement, the swaying speed and the ship's yaw angular velocity, and the outputs are the left and right propeller speeds and the magnitude of the rudder.

5. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 3, Features: In the S4, reward functions are constructed for the path tracking process, the speed reduction process and the parallel berthing process respectively. When the non-side thruster twin-propeller twin-rudder ship passes through the corresponding process, a switching strategy based on the switching rule is adopted to execute the corresponding reward function, thereby obtaining a hierarchical reward mechanism.

6. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 5, Features: The reward function corresponding to the path tracking process is obtained according to the offset, the actual acceleration of the ship and the rate of change of the steering magnitude; The reward function corresponding to the smooth deceleration process is obtained according to the offset, the speed deviation between the actual speed of the ship and the predetermined deceleration, and the actual acceleration of the ship. The reward function corresponding to the parallel berthing process is obtained according to the offset, the transverse and longitudinal distance errors between the actual path points of the ship and the stopping points, and the angle errors between the actual path points of the ship and the stopping points.

7. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 5, Features: The switching rules from the path tracking process to the deceleration smooth process include: When a ship with twin propellers and twin rudders without side thrust approaches the predetermined speed reduction point, it switches to a steady speed reduction process; If the deviation of the non-side thruster twin-propeller twin-rudder vessel during the path tracking process exceeds a predetermined threshold and cannot be corrected by adjusting the rudder size and the thruster, it switches to a slowing and stabilizing process.

8. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 7, Features: The switching rules from the slowing down process to the parallel berthing process include: When the speed of the ship with twin propellers and twin rudders without side thrusters drops below the predetermined minimum berthing speed, and the relative position and angle error with the stop point is within the allowable range, it switches to the parallel berthing process; If the speed or position control of the non-thruster twin-propeller twin-rudder vessel is unstable during the smooth deceleration process, resulting in the inability to continue to safely decelerate or adjust the position, the process switches to the parallel berthing process.

9. The autonomous berthing control method for an inland river non-thruster twin-propeller twin-rudder ship according to claim 1, Features: In S4, the humanized docking model is composed of two parts: the Actor network and the Critic network; wherein, The Actor network contains two hidden layers, and the ReLU function is used as the activation function of the hidden layer. The output range of the ReLU activation function is [-1, 1], which is used to complete the forward and reverse commands of the non-thrust twin-propeller twin-rudder ship; the tanh activation function is used for continuous control, and the output range of the tanh activation function is [-1, 1], which is used to complete the steering command of the non-thrust twin-propeller twin-rudder ship; The Critic network consists of two hidden layers, and the ReLU function is used as the activation function of the hidden layer.

10. An autonomous berthing control system for an inland river non-thrust twin-propeller twin-rudder ship. Features: include: A signal acquisition module is used to plan a theoretical berthing path by first stabilizing the ship outside the stop point and then parallel berthing, and collect actual berthing data of the driver successfully berthing according to the berthing path; A data processing module, used for comparing the actual berthing data with the theoretical berthing path, and eliminating abnormal data in the actual berthing data; A heterogeneous twin-propeller twin-rudder ship berthing distance model construction module is used to construct a heterogeneous twin-propeller twin-rudder ship berthing distance model using actual berthing data after removing abnormal data; An anthropomorphic berthing model construction module is used to construct an anthropomorphic berthing model based on the heterogeneous twin-screw twin-rudder ship berthing distance model using a deep deterministic policy gradient method; A training module, used to train the anthropomorphic berthing model using the actual berthing data after removing abnormal data, and optimize and adjust various parameters in the anthropomorphic berthing model until convergence; The autonomous berthing control module is used to perform autonomous berthing control using an optimized anthropomorphic berthing model during actual berthing.