Unmanned ship track planning method based on improved Q learning algorithm

Through the improved Q-learning algorithm, combined with the reward function of the ocean environment and route turning points, the problem of inability to effectively optimize track planning in the existing technology has been solved, and multi-objective optimization and track planning under real sea conditions have been achieved, improving the Navigation safety.

CN118816883APending Publication Date: 2024-10-22DALIAN MARITIME UNIVERSITY
View PDF 0 Cites 2 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing route planning methods cannot effectively combine the actual ocean environment and route turning point requirements, easily fall into local optimal solutions, and fail to perform multi-objective optimization.

Method used

Based on the improved Q-learning algorithm, a reward function including a collision and arrival reward function, a deep-water and shallow-water area reward function, a route turning point reward function and an optimal route reward function is established, and the optimal path of the unmanned vehicle is obtained through the Q-learning algorithm.

Benefits of technology

It achieves multi-objective optimization under real sea conditions, comprehensively considers path length, deep and shallow water areas and route turning points, and plans a better trajectory to avoid local optimal solutions and improve navigation safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118816883A_ABST
    Figure CN118816883A_ABST
Patent Text Reader

Abstract

The invention discloses an unmanned ship track planning method based on an improved Q learning algorithm, and the method comprises the steps: obtaining the position coordinates of a destination, the position coordinates of an obstacle, and the water depth of the position of a grid unit through building a rasterized nautical chart; the position coordinates of the ship are obtained according to the motion mathematical model of the water surface autonomous vehicle, so that the real environment of the ocean can be reflected to the greatest extent, and the Q learning algorithm award functions including a collision and arrival award function, a deep water area and shallow water area award function, an air route turning point award function and an optimal route award function are established; and the optimal path of the USV is obtained based on a Q learning algorithm, so that the route planning of the unmanned ship is realized. The invention aims to comprehensively consider the requirements of multiple factors such as path length, deep and shallow water areas, airway turning points and the like through a Q learning algorithm to perform multi-objective optimization, so that the flight path of the USV under the real sea condition is planned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of path planning methods, and in particular to an unmanned boat track planning method based on an improved Q learning algorithm. Background Art

[0002] Trajectory planning is a key technology for unmanned surface vehicles (USVs) to achieve autonomous and safe navigation. In terms of trajectory planning, existing solutions mostly use heuristic algorithms such as the A-star algorithm, artificial potential field method, and ant colony algorithm to find the shortest and most economical trajectory. With the popularity of reinforcement learning, Q learning is also often used to plan trajectories.

[0003] Traditional trajectory planning methods mainly use heuristic algorithms such as A-star and artificial potential field method. These methods are more of a path optimization method, and cannot combine the actual ocean environment to perform multi-objective optimization considerations on other factors such as shallow water areas and route turning points, and the above heuristic algorithms are prone to fall into local optimal solutions. Traditional Q learning plans the trajectory by setting rewards for reaching the target point, sailing distance rewards, and collision rewards for the agent, and also does not consider the real ocean environment and the route turning point requirements of actual navigation. Summary of the invention

[0004] The invention discloses an unmanned boat track planning method based on an improved Q learning algorithm to overcome the above technical problems.

[0005] In order to achieve the above object, the technical solution of the present invention is:

[0006] A method for unmanned boat trajectory planning based on an improved Q-learning algorithm comprises the following steps:

[0007] S1: Establish the mathematical model of the motion of the surface autonomous vehicle;

[0008] S2: Establishing a gridded nautical chart, obtaining the coordinates of the destination location, the coordinates of the obstacles, and the water depth of the grid unit; and obtaining the coordinates of the ship location according to the motion mathematical model of the autonomous surface vehicle;

[0009] S3: According to the position coordinates of the ship, the position coordinates of the destination, the position coordinates of the obstacles, and the water depth of the grid unit, a reward function of the Q learning algorithm is established, including: a collision and arrival reward function for considering the collision of the surface autonomous vehicle during navigation and the ability to reach the destination, a deep water area and shallow water area reward function for considering the depth of the navigation route of the surface autonomous vehicle, a route turning point reward function for considering the route turning points that appear during the navigation of the surface autonomous vehicle, and an optimal route reward function for considering the navigation route distance of the USV;

[0010] S4: According to the initial position coordinates of the own ship, the destination position coordinates and the reward function of the Q learning algorithm, the optimal path of the USV is obtained to realize the track planning of the unmanned boat.

[0011] Furthermore, the reward function of the Q-learning algorithm is established as follows:

[0012] Finally, the reward values ​​are combined to get the total reward R total :

[0013] R total =G1+G2+G3+G4

[0014] Where: R total Represents the total reward function; G1 represents the collision and arrival reward function; G2 represents the deep water and shallow water reward function; G3 represents the route turning point reward function; G4 represents the optimal route reward function.

[0015] Furthermore, the collision and arrival reward functions are obtained as follows:

[0016]

[0017] Among them, p is the arrival reward coefficient; P i t represents the position coordinates of the ship at time t in the i-th iteration, P destination Indicates the destination location coordinates, is the set of position coordinates of the obstacle range; t represents the time when the surface autonomous vehicle moves.

[0018] Furthermore, the deep water area shallow water area reward function is obtained as follows:

[0019]

[0020] Where: r shallow represents the reward coefficient used to describe the USV traveling to shallow water; P i t represents the position coordinates of the ship at time t in the i-th iteration, represents the coordinate set of the deep water area, represents the coordinate set of the shallow water area, P j represents the position coordinates of the jth grid cell in the rasterized chart, d Pj Indicates that in P j The water depth at the location; j represents the index number of the grid cell in the rasterized nautical chart.

[0021] Furthermore, the route turning point reward function is obtained as follows:

[0022]

[0023] Among them, F t Indicates the navigation direction of the USV at time t; F t-1 represents the navigation direction of the USV at time t-1; r turn It indicates the reward value used to describe the turning point of the USV navigation route; Tarrival indicates the time when the USV arrives at the target point.

[0024] Furthermore, the optimal route reward function is obtained as follows:

[0025]

[0026] in

[0027]

[0028] Where: ρ represents the reward coefficient of USV moving after selecting an action.

[0029] Furthermore, the motion mathematical model of the autonomous surface vehicle is established as follows:

[0030]

[0031] Where m is the mass of the ship, δ is the rudder angle, and x OG is the ordinate value of the ship's center of gravity in the inertial coordinate system, I zz represents the moment of inertia; u, v, r represent the forward speed, the drift speed and the yaw angular velocity respectively; represents the fluid dynamics derivative of the time derivative of the forward velocity u in the longitudinal direction; represents the fluid dynamics derivative of the time derivative of the drift velocity v in the transverse direction; represents the fluid dynamics derivative of the time derivative of the moment with respect to the drift velocity v; represents the fluid dynamics derivative of the time derivative of the yaw angular velocity r in the transverse direction; represents the hydrodynamic derivative of the time derivative of the external moment about the vertical direction with respect to the yaw angular velocity r; represents the increment of the derivative of the forward speed u; X u Y represents the fluid dynamics derivative in the longitudinal direction with respect to the forward velocity u; v N represents the fluid dynamics derivative about the drift velocity v in the horizontal direction; v Y represents the fluid dynamics derivative of the external torque about the vertical direction with respect to the drift velocity v; r represents the hydrodynamic derivative of the yaw angular velocity r in the horizontal direction; △u represents the increment of the forward velocity u; N r Y represents the fluid dynamics derivative of the external moment about the vertical direction with respect to the yaw angular velocity r; δN represents the fluid dynamics derivative about the rudder angle δ in the horizontal direction; δ It represents the hydrodynamic derivative of the external torque about the vertical direction with respect to the rudder angle δ.

[0032] Beneficial effects: The unmanned boat track planning method based on the improved Q learning algorithm of the present invention obtains the position coordinates of the ship, the destination position coordinates, the position coordinates of the obstacles, and the water depth of the grid unit by establishing a rasterized nautical chart; it can reflect the real environment of the ocean to the greatest extent, and accordingly establish the reward function of the Q learning algorithm including the collision and arrival reward function, the deep water area and shallow water area reward function, the route turning point reward function and the optimal route reward function, and then obtain the optimal path of the USV based on the Q learning algorithm to realize the track planning of the unmanned boat. The present invention aims to comprehensively consider the requirements of multiple factors such as the length of the path, deep and shallow water areas, and route turning points through the Q learning algorithm, and perform multi-objective optimization, so as to plan the track for the USV under real sea conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] 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.

[0034] Figure 1 The flow chart of the unmanned boat trajectory planning method based on the improved Q learning algorithm of the present invention is shown;

[0035] Figure 2 The mathematical model of ship motion in the embodiment of the present invention is demonstrated;

[0036] Figure 3 A schematic diagram of a rasterized nautical chart in an embodiment of the present invention is shown;

[0037] Figure 4 A flow chart of assigning a reward value for flight path planning in an embodiment of the present invention is shown;

[0038] Figure 5 A schematic diagram of a Q table construction process in an embodiment of the present invention is shown;

[0039] Figure 6 A schematic diagram of the comparison results of the planned tracks in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0040] 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.

[0041] This embodiment introduces a method for unmanned boat trajectory planning based on an improved Q learning algorithm. Figure 1 As shown, the following steps are included:

[0042] S1: Based on the motion characteristics of the autonomous surface vehicle (USV), a motion mathematical model of the USV is established.

[0043] Specifically, the motion mathematical model of the autonomous surface vehicle used in the present invention is as follows: Figure 2 As shown, O n -X n Y n Z n is the inertial coordinate system, O b -x b y b z b is the attached coordinate system. ψ represents the heading angle. The ship model used in the agent training process is specifically expressed as:

[0044]

[0045] Where m is the mass of the ship, δ is the rudder angle, and x OG is the ordinate value of the ship's center of gravity in the inertial coordinate system, I zz represents the moment of inertia; u, v, r represent the forward speed, the drift speed and the yaw angular velocity respectively; represents the fluid dynamics derivative of the time derivative of the forward velocity u in the longitudinal direction; represents the fluid dynamics derivative of the time derivative of the drift velocity v in the transverse direction; represents the fluid dynamics derivative of the time derivative of the moment with respect to the drift velocity v; represents the fluid dynamics derivative of the time derivative of the yaw angular velocity r in the transverse direction; represents the hydrodynamic derivative of the time derivative of the external moment about the vertical direction with respect to the yaw angular velocity r; represents the increment of the derivative of the forward speed u; X u Y represents the fluid dynamics derivative in the longitudinal direction with respect to the forward velocity u; v N represents the fluid dynamics derivative about the drift velocity v in the horizontal direction;v Y represents the fluid dynamics derivative of the external torque about the vertical direction with respect to the drift velocity v; r represents the hydrodynamic derivative of the yaw angular velocity r in the horizontal direction; △u represents the increment of the forward velocity u; N r Y represents the fluid dynamics derivative of the external moment about the vertical direction with respect to the yaw angular velocity r; δ N represents the fluid dynamics derivative about the rudder angle δ in the horizontal direction; δ represents the hydrodynamic derivative of the external moment about the vertical direction with respect to the rudder angle δ;

[0046] Specifically, the most commonly used Nomoto model for describing the relationship between the ship heading and the rudder angle in this embodiment is as follows:

[0047]

[0048] Among them, G ψδ (s) represents the complex frequency domain form of the transfer function of the relationship between the heading ψ and the rudder angle δ; δ(s) represents the complex frequency domain form of the rudder angle δ; ψ(s) represents the complex frequency domain form of the heading ψ; s represents the complex frequency domain operator s=jw, w represents the frequency, j is the imaginary unit; K is the gain coefficient, T is the time coefficient, among which K and T are generally referred to as the ship maneuvering coefficient.

[0049] S2: Select the real ocean environment, identify the land, deep water area and shallow water area, establish a gridded sea chart, obtain the coordinates of the destination location, the coordinates of the obstacles, and the water depth of the grid unit; and obtain the coordinates of the ship location according to the motion mathematical model of the autonomous surface vehicle;

[0050] Specifically, in this embodiment, establishing a gridded nautical chart, and obtaining the coordinates of the destination location, the coordinates of the obstacle location, and the water depth of the grid unit location are all conventional technologies and will not be described in detail here. Figure 3 Shown is a rasterized nautical chart of the waters near Ise Bay and Toshi Island in Japan.

[0051] S3: Establish a reward function based on the Q-learning algorithm, including a collision and arrival reward function for considering the collision of the surface autonomous vehicle during navigation and the ability to reach the destination, a deep water area and shallow water area reward function for considering the depth of the surface autonomous vehicle's navigation route, a route turning point reward function for considering the route turning points that appear during the navigation of the surface autonomous vehicle, and an optimal route reward function for considering the distance of the USV's navigation route;

[0052] Specifically, this embodiment inputs the reward function and action space into the Q learning algorithm model, and comprehensively considers the situation that the surface autonomous vehicle needs to reach the destination, obstacle avoidance, track distance, deep water area and shallow water area, and route turning points, etc., to establish a reward function and construct a track planning reward mechanism. The reward value acquisition process is as follows: Figure 4 shown.

[0053] Specifically, the USV action space in this embodiment is: A = [A1, A2] = [due north, due south, due east, due west, 45° north of east, 45° north of west, 45° south of east, 45° south of west], and the action space is set so that the direction of travel of the surface autonomous vehicle is selected from the above eight dimensions.

[0054] Among them, the straight-line movement action set A1 = [due north, due south, due east, due west];

[0055] 45-degree oblique line movement action set A2 = [45 degrees north by east, 45 degrees north by west, 45 degrees south by east, 45 degrees south by west].

[0056] Preferably, the reward function of the Q-learning algorithm is established as follows:

[0057] Finally, the reward values ​​are combined to get the total reward R total :

[0058] R total =G1+G2+G3+G4

[0059] Where: R total Represents the total reward function; G1 represents the collision and arrival reward function; G2 represents the shallow water area reward function; G3 represents the route turning point reward function; G4 represents the optimal route reward function.

[0060] Preferably, the collision and arrival reward function is obtained as follows:

[0061]

[0062] Wherein, p is the arrival reward coefficient, which is selected as 100 in this embodiment, P i t represents the position coordinates of the ship at time t in the i-th iteration, P destination Indicates the destination location coordinates, is the set of position coordinates of the obstacle range. The collision and arrival reward function is used to represent the reward obtained after the USV reaches the target point or collides with an obstacle during navigation, and is used to set the tone for success or failure of the trajectory planning task in this round.

[0063] Preferably, the deep water area shallow water area reward function is obtained as follows:

[0064]

[0065] Where: r shallow represents the reward coefficient used to describe the USV traveling to the shallow water area, which is set to -2 in this embodiment; i t represents the position coordinates of the ship at time t in the i-th iteration, represents the coordinate set of the deep water area, represents the coordinate set of the shallow water area, P j represents the position coordinates of the jth grid cell in the rasterized nautical chart, Indicates that in P j The water depth at the location.

[0066] Specifically, the boundary between the deep water area and the shallow water area is determined by selecting the real nautical chart from the ship information network. When the ship reaches the shallow water area, it will receive a negative reward value -r shallow , designed to guide navigation in deep waters as much as possible.

[0067] Preferably, the route turning point reward function is obtained as follows:

[0068]

[0069] Among them, F t Indicates the navigation direction of the USV at time t; F t-1 represents the navigation direction of the USV at time t-1; r turn It indicates the reward value used to describe the turning point of the USV navigation route; Tarrival indicates the time when the USV arrives at the target point;

[0070] Specifically, in this embodiment, it is determined at each moment whether a turning point appears. If it does, a negative reward value will be obtained. The more turning points there are, the smaller the total G3 reward value after summing up. The fewer turning points there are, the larger the G3 reward value is, which affects the overall reward value. What we expect is that the larger the overall reward value is, the better. Therefore, after the algorithm converges, it will tend to select an action set with a small number of route turning points, which is the optimal strategy for route planning.

[0071] Specifically, turn As the route turning point reward coefficient, it should not excessively affect the arrival and collision reward functions, so it must be much smaller than the arrival reward coefficient (set to 100 in this embodiment). turn Set to a constant value of 3. When a turning point appears, that is, when the action selection changes, the agent will receive a negative reward. The purpose of this reward function is to control the number of turning points in the route so that the route is as simple as possible.

[0072] Preferably, the optimal route reward function is obtained as follows:

[0073]

[0074] in

[0075]

[0076] Where: ρ represents the reward coefficient of USV after selecting the action; a t Represents the action selected at time t; A1 represents a set of straight-line movement actions; A2 represents a set of 45-degree oblique movement actions; the 45-degree oblique movement action set A2 = [north by east 45 degrees, north by west 45 degrees, south by east 45 degrees, south by west 45 degrees].

[0077] Specifically, when the unmanned boat chooses to walk in a grid unit in the rasterized chart in an oblique line, the unmanned boat will get a negative reward (i.e. -ρ) far less than the arrival reward coefficient p for each further movement. The unmanned boat will get a reward of -ρ for each further movement. When the action is selected as a straight line, ρ is set to a constant of 1. When the action is selected as a 45-degree oblique line, ρ is set to a constant of 1.4 in this embodiment. Based on the reward value of the action performed by the surface autonomous vehicle at each moment, when the reward value is larger, the path is shorter, thereby finding the shortest distance track.

[0078] S4: According to the initial position coordinates of the own ship, the destination position coordinates, and the reward function of the Q learning algorithm, the optimal path of the USV is obtained to realize the track planning of the unmanned boat.

[0079] Specifically, this embodiment establishes and updates the Q table by continuously interacting with the environment through the selection of actions, and finally plans the optimal path corresponding to the actual sea conditions.

[0080] First, the number of rows and columns of the Q table is set, and the internal initial value is set to 0; then, combined with the epsilon greedy strategy, the action in the state is selected according to the Q table; then corresponding actions are taken and the reward value is evaluated based on the results obtained; finally, the iterations are repeated continuously, and the Q table is updated until the learning is completed and the optimal strategy is obtained. The planned trajectory is obtained according to the corresponding action set.

[0081] The specific steps for updating the Q table are as follows: Figure 5 As shown:

[0082] (1) Get the four-tuple obtained by state migration: (s t ,a t ,r t ,s t+1 ), where s t ,a t ,r tThey represent the position at time t, the action at time t, and the reward value obtained at time t, respectively. t+1 is the position at time t+1;

[0083] (2) Obtain y by the time series difference method t :

[0084] Where: y t represents the evaluation function value; Q * (s t+1 ,a) represents the optimal Q value in the corresponding state at time t+1;

[0085] (3) Calculate TD error (timing difference error) δ t :δ t =Q * (s t ,a t )-y t , we hope that this error is as small as possible, that is, we encourage Q * (s t ,a t ) is close to y t ;

[0086] Among them, Q * (s t ,a t ) represents the optimal Q value in the corresponding state at time t;

[0087] (4) Update Q table: Q * (s t ,a t )←Q * (s t ,a t )-αδ t , the coefficient α is regarded as the learning rate to avoid falling into the local optimal solution.

[0088] In one embodiment of the present invention, the real sea conditions are selected as the training environment, and the planned track comparison results are displayed on Figure 6In which, the red five-pointed star represents the end point, and the black area represents land, which is regarded as an obstacle. The gray area represents the shallow water area, and the white area represents the deep water area. The red dotted line represents the Q learning planning track using the reward function of this embodiment, and the green dotted line is the A* planning track when the shallow water area except the starting point is regarded as an obstacle, recorded as A* planning track 1. The blue dotted line is the A* planning track when the shallow water area is not considered, recorded as A* planning track 2. The orange dotted line represents the simplest artificially planned track when the shallow water area is not considered. It can be seen from the figure that by comparing the Q learning planning track and A* planning track 1 of this embodiment, the Q learning planning track has a shorter sailing distance and only passes through the shallow water area for a short time. The A* planning track 2 passes through shallow waters more often, and the navigation process is easily affected by the shallow water effect, which will pose a threat to the safe navigation of the ship. Similarly, although the artificially planned track has the least turning points in the route, it passes through shallow waters for a long time, which is not conducive to the safe navigation of the ship. This proves that the track planned by Q learning in this embodiment is optimal.

[0089] The unmanned boat trajectory planning method based on the improved Q-learning algorithm of this embodiment improves the reward function of the Q-learning algorithm, not only considering the length of the planned path and arriving at the target point without collision, but also introducing the number of shallow water areas and route turning points in the entire trajectory path of the surface autonomous vehicle from the starting point to the destination as planning targets into the reward function design through deep water area and shallow water area reward function and route turning point reward function, so that the comprehensive performance of the planned track is better and more in line with the actual needs of navigation.

[0090] 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 method for unmanned boat trajectory planning based on improved Q learning algorithm, characterized in that: The steps include: S1: Establish the mathematical model of the motion of the surface autonomous vehicle; S2: Establishing a gridded nautical chart, obtaining the coordinates of the destination location, the coordinates of the obstacles, and the water depth of the grid unit; and obtaining the coordinates of the ship location according to the motion mathematical model of the autonomous surface vehicle; S3: According to the position coordinates of the ship, the position coordinates of the destination, the position coordinates of the obstacles, and the water depth of the grid unit, a reward function of the Q learning algorithm is established, including: a collision and arrival reward function for considering the collision of the surface autonomous vehicle during navigation and the ability to reach the destination, a deep water area and shallow water area reward function for considering the depth of the navigation route of the surface autonomous vehicle, a route turning point reward function for considering the route turning points that appear during the navigation of the surface autonomous vehicle, and an optimal route reward function for considering the navigation route distance of the USV; S4: According to the initial position coordinates of the own ship, the destination position coordinates and the reward function of the Q learning algorithm, the optimal path of the USV is obtained to realize the track planning of the unmanned boat.

2. The unmanned boat trajectory planning method based on improved Q learning algorithm according to claim 1 is characterized in that: The reward function of the Q-learning algorithm is established as follows: Finally, the reward values ​​are combined to get the total reward R total : R total =G1+G2+G3+G4 Where: R total Represents the total reward function; G1 represents the collision and arrival reward function; G2 represents the deep water and shallow water reward function; G3 represents the route turning point reward function; G4 represents the optimal route reward function.

3. The unmanned boat trajectory planning method based on improved Q learning algorithm according to claim 1 is characterized in that: The collision and arrival reward functions are obtained as follows: Among them, p is the arrival reward coefficient; P i t represents the position coordinates of the ship at time t in the i-th iteration, P destination Indicates the destination location coordinates, is the set of position coordinates of the obstacle range; t represents the time when the surface autonomous vehicle moves.

4. The unmanned boat trajectory planning method based on improved Q learning algorithm according to claim 1 is characterized in that: The deep water area and shallow water area reward function is obtained as follows: Where: r shallow represents the reward coefficient used to describe the USV traveling to shallow water; P i t represents the position coordinates of the ship at time t in the i-th iteration, represents the coordinate set of the deep water area, represents the coordinate set of the shallow water area, P j represents the position coordinates of the jth grid cell in the rasterized nautical chart, d Pj Indicates that in P j The water depth at the location; j represents the index number of the grid cell in the rasterized nautical chart.

5. The unmanned boat trajectory planning method based on improved Q learning algorithm according to claim 1 is characterized in that: The route turning point reward function is obtained as follows: Among them, F t Indicates the navigation direction of the USV at time t; F t-1 represents the navigation direction of the USV at time t-1; r turn It indicates the reward value used to describe the turning point of the USV navigation route; Tarrival indicates the time when the USV arrives at the target point.

6. The unmanned boat trajectory planning method based on improved Q learning algorithm according to claim 1 is characterized in that: The optimal route reward function is obtained as follows: in Where: ρ represents the reward coefficient of USV moving after selecting an action.

7. The unmanned boat trajectory planning method based on improved Q learning algorithm according to claim 1 is characterized in that: The motion mathematical model of the autonomous surface vehicle is established as follows: Where m is the mass of the ship, δ is the rudder angle, and x OG is the ordinate value of the ship's center of gravity in the inertial coordinate system, I zz represents the moment of inertia; u, v, r represent the forward speed, the drift speed and the yaw angular velocity respectively; represents the fluid dynamics derivative of the time derivative of the forward velocity u in the longitudinal direction; represents the fluid dynamics derivative of the time derivative of the drift velocity v in the transverse direction; represents the fluid dynamics derivative of the time derivative of the moment with respect to the drift velocity v; represents the fluid dynamics derivative of the time derivative of the yaw angular velocity r in the transverse direction; represents the hydrodynamic derivative of the time derivative of the external moment about the vertical direction with respect to the yaw angular velocity r; represents the increment of the derivative of the forward speed u; X u Y represents the fluid dynamics derivative in the longitudinal direction with respect to the forward velocity u; v N represents the fluid dynamics derivative about the drift velocity v in the horizontal direction; v Y represents the fluid dynamics derivative of the external torque about the vertical direction with respect to the drift velocity v; r represents the hydrodynamic derivative of the yaw angular velocity r in the horizontal direction; △u represents the increment of the forward velocity u; N r Y represents the fluid dynamics derivative of the external moment about the vertical direction with respect to the yaw angular velocity r; δ N represents the fluid dynamics derivative about the rudder angle δ in the horizontal direction; δ It represents the hydrodynamic derivative of the external torque about the vertical direction with respect to the rudder angle δ.

Citation Information

Cited By

  • Unmanned ship path planning method, device and equipment and storage medium

    CN119354206A

  • Artificial intelligence-based ship route generation method, device and equipment and storage medium

    CN119575983A