Semi-physical simulation system for photoelectric equipment of unmanned ship and operation method

By using a six-degree-of-freedom motion platform and a projector to simulate the maritime environment in a semi-physical simulation system for unmanned boat optoelectronic equipment, and combining simulation computers and machine learning algorithms, the problem of high testing costs for unmanned boat optoelectronic equipment has been solved and indoor testing has been achieved. Carry out efficient optoelectronic equipment debugging and autonomous tracking training.

CN118550209APending Publication Date: 2024-08-27CHINA SHIP SCIENTIFIC RESEARCH CENTER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410706728.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing unmanned boat optoelectronic equipment testing methods need to be carried out in a real ocean environment, which is time-consuming, labor-intensive and costly, and may cause the unmanned boat to lose contact or be damaged in extreme weather.

Method used

Design a semi-physical simulation system for unmanned boat optoelectronic equipment. It uses a six-degree-of-freedom motion platform and a projector to simulate the maritime environment indoors. It generates three-dimensional scenes and virtual unmanned boat data through a simulation computer, and combines machine learning algorithms for target recognition and tracking. Training, replacing part of the real ship test.

Benefits of technology

It realizes indoor testing of optoelectronic equipment under various sea conditions, reduces test costs, improves test efficiency, and conducts indoor reinforcement learning value function network training for autonomous boats to track and avoid water targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550209A
    Figure CN118550209A
Patent Text Reader

Abstract

The invention discloses a semi-physical simulation system for photoelectric equipment of an unmanned ship and an operation method. The semi-physical simulation system comprises a six-degree-of-freedom motion platform, an annular screen, a projector, the photoelectric equipment, a cabinet, a switch, a simulation computer, an image fusion projection computer, a control computer and an image computer, a three-dimensional virtual ocean picture is generated through a simulation computer and projected to an annular screen through a projector after being processed, the simulation computer outputs virtual unmanned ship data to a six-degree-of-freedom motion platform, the motion platform simulates shaking of the unmanned ship, and photoelectric equipment is installed on the motion platform, shakes along with the motion platform and autonomously searches for a target on the annular screen. A video stream is transmitted to an image computer, data are processed in the image computer, water surface target recognition is completed, the computer is controlled to operate a closed-loop control algorithm, the virtual unmanned ship is driven to navigate autonomously, and the method is suitable for testing photoelectric equipment when the unmanned ship navigates in a bumpy mode in sea waves and testing autonomous navigation software and hardware indoor of the unmanned ship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of unmanned system simulation, and in particular to a semi-physical simulation system and an operating method for optoelectronic equipment of an unmanned boat. Background Art

[0002] Unmanned boats are a type of surface vehicle that is widely used in rivers, lakes, and seas. They have unmanned operation capabilities and can travel on the water surface around the clock. They are used in water quality monitoring, ocean mapping, shipwreck salvage, anti-submarine, and anti-mine applications. When autonomously navigating on the water, unmanned boats mainly rely on optoelectronic equipment to identify and continuously track surface targets. At present, unmanned boats mainly use the method of conducting actual ship tests in real marine environments to test optoelectronic equipment, which usually requires technicians to maintain and debug the unmanned boats. This actual ship test method is time-consuming, labor-intensive, and costly, and in extreme weather, the unmanned boat may lose contact or be damaged. Summary of the invention

[0003] In response to the shortcomings of the above-mentioned existing production technology, the applicant provides a semi-physical simulation system and operation method for unmanned boat optoelectronic equipment, which enables technicians to carry out a variety of realistic marine test simulations indoors, and the optoelectronic equipment that is tossed along with the virtual unmanned boat can collect target images in the simulation scene for target identification and tracking, thereby realizing indoor optoelectronic equipment testing under a variety of sea conditions, replacing a portion of actual ship tests and reducing test costs.

[0004] The technical solution adopted by the present invention is as follows:

[0005] A semi-physical simulation system for optoelectronic equipment of an unmanned boat comprises a cabinet, wherein a switch, a simulation computer, an image fusion computer, a control computer and an image computer are respectively installed inside the cabinet, and the computer in the cabinet is connected to the switch via a network cable; the system also comprises an annular screen installed beside the cabinet, a six-degree-of-freedom motion platform is installed at the center of the annular screen, and the network cable of the six-degree-of-freedom motion platform is connected to the switch; the optoelectronic equipment is fixedly installed on the top surface of the six-degree-of-freedom motion platform with bolts, the network cable of the optoelectronic equipment is connected to the image computer, a projector is suspended from the ceiling, and the projector is connected to the image fusion computer via a video cable.

[0006] Its further technical solution is:

[0007] The cabinet is a cubic structure with an open end surface, and a partition is arranged inside the cabinet.

[0008] The optoelectronic device is shaken along with the six-degree-of-freedom motion platform.

[0009] The projector is installed directly above the optoelectronic equipment.

[0010] The image of the projector is projected onto the annular screen, and the image content is a 270-degree annular viewing angle centered on the bow direction of the virtual unmanned boat. The visible light sensor of the optoelectronic device captures the three-dimensional scene on the annular screen.

[0011] The three-dimensional scene content includes: sea waves, rain, snow and fog, sunlight changes, submersibles, ships, islands and reefs, buoys, rail forts, fishing nets and lighthouses.

[0012] The three-dimensional scenes are generated in real time by the simulation software in the simulation computer, and the TCP communication protocol is used to output the numbers of all virtual unmanned boats, the longitude and latitude of WGS84 coordinates, the altitude, the roll angle, the pitch angle, the heading angle, whether there is a collision, the type of collision target, the wind direction, the wind speed, the wave direction, the wave height, the current direction, and the current speed. The UDP communication protocol is used to output images and radar point cloud data streams. These images and point cloud data will be transmitted to the switch in real time via the network cable, and then to the image computer. The image computer runs the machine learning algorithm to identify the target objects in the image and transmits the processing results to the switch and then to the control computer. The control computer calculates the control signal based on the target tracking and obstacle avoidance software and outputs it to the simulation computer. The simulation software calculates the new longitude and latitude, attitude angle, navigation speed, and angular velocity state of the virtual unmanned boat, and the three-dimensional virtual screen will also be refreshed quickly.

[0013] An operating method of an unmanned boat optoelectronic equipment semi-physical simulation system, characterized in that: the unmanned boat optoelectronic equipment semi-physical simulation system is used to train a value function neural network of deep reinforcement learning, the value function neural network is used to replace manual ship navigation, and is a programmed model of an automatic driving ship. After a water surface environment picture is input into the value function neural network, the network will directly output the estimated values ​​corresponding to the rudder angle and the propeller speed, and the maximum estimated values ​​of the rudder angle and the propeller speed will be used as output and input into the motion model of the virtual unmanned boat. After that, the unmanned boat moves one step in the three-dimensional virtual scene, and then the water surface environment picture will also be updated, thereby forming a cycle until the simulation is stopped; wherein, the training of the value function neural network specifically includes the following steps:

[0014] Step 1: The 3D ocean environment program projects the water surface environment on a circular screen;

[0015] Step 2: The photoelectric device installed on the six-degree-of-freedom motion platform captures the water surface environment and processes it into a picture through an image computer. Then, the picture is input into the value function neural network training program of the control computer through a network cable. After calculation, the value function neural network gives the highest value action for the next step, where is the image input to the network, is the combined action number of the rudder angle and propeller speed of the unmanned boat, and is the parameter of the network. The network parameters of the value function network are random at the beginning of training;

[0016] Step 3: After the action number a is input into the virtual unmanned boat, the unmanned boat can be driven to move in the virtual ocean environment, which will cause the environment to change, and the reward value r of the action at this moment is given according to the motion state of the unmanned boat. The calculation formula of r is as follows:

[0017]

[0018] Step 4: The photoelectric device (10) captures the image s′ at the next moment. At this time, the training program in the control computer (8) stores a set of (s, a, r, s′) as memory, and waits until the number of sets of (s, a, r, s′) stored in the memory space reaches 32, and then updates the parameters of the current value function neural network by the gradient descent method;

[0019] Step 5: The error formula between the value function neural network and the target value function neural network is as follows:

[0020]

[0021] L t (θ t )=w{l1,...,l N} T , N = 1, ..., 32

[0022]

[0023] in, is the cumulative reward, r t+1 yes Simulation The reward at time step t+1, γ is the reward discount factor, Q is the value function network, s t+1 yes Simulation Water surface environment image at time step t+1, θ t is the network parameter of the value function at time step t, θ′ t is the network parameter of the target value function at time step t, L t (θ t ) is the error function between the current value function network and the target value function network for a batch of 32 memory data, N is the sequence number of the memory data in a batch, w is the weight matrix of the optimal experience playback, and is obtained by comparing it with the error matrix {l1,...,l N} T Dot product can make more efficient use of memory data;

[0024] After getting the error formula, use the gradient descent algorithm, Pair value function The parameters of the network are t Update and get θ t+1, and the above steps are repeated continuously until the unmanned boat can start from any position on the water surface and can be controlled by the value function neural network to complete the task of automatically reaching the set point; at this time, the value function neural network training is completed, and the optimal parameter θ is saved in the hard disk of the control computer (8) in the model file format.

[0025] The beneficial effects of the present invention are as follows:

[0026] The present invention has a compact and reasonable structure and is easy to operate. It generates a three-dimensional environment of an offshore test site by simulating a computer, and can help unmanned boat technicians to debug optoelectronic equipment indoors through real optoelectronic equipment and virtual simulation technology. It can also carry out a reinforcement learning value function network training test process for the unmanned boat to autonomously track and avoid surface targets. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a structural diagram of the semi-physical simulation system of unmanned boat optoelectronic equipment.

[0028] Figure 2 It is a structural diagram of the cabinet in the semi-physical simulation system of optoelectronic equipment of unmanned boats.

[0029] Figure 3 It is the block diagram of the semi-physical simulation system of unmanned boat optoelectronic equipment.

[0030] Figure 4 It is the actual working status diagram of the semi-physical simulation system of unmanned boat optoelectronic equipment.

[0031] Figure 5 It is a picture of the water surface environment captured and processed by optoelectronic equipment.

[0032] Figure 6 This is the framework diagram of the simulation training of the unmanned boat value function neural network.

[0033] Figure 7 This is the structure diagram of the neural network of the unmanned boat value function.

[0034] Among them: 1. Projector; 2. Ring screen; 3. Image computer; 4. Cabinet; 5. Image fusion computer; 6. Simulation computer; 7. Switch; 8. Control computer; 9. Six-degree-of-freedom motion platform; 10. Optoelectronic equipment. DETAILED DESCRIPTION

[0035] The specific implementation of the present invention will be described below in conjunction with the accompanying drawings.

[0036] like Figure 1-Figure 7As shown, the semi-physical simulation system of optoelectronic equipment of unmanned boat of the present embodiment comprises a cabinet 4, inside which are respectively installed a switch 7, a simulation computer 6, an image fusion computer 5, a control computer 8 and an image computer 3, and the computer in the cabinet 4 is connected to the switch 7 via a network cable; it also comprises an annular screen 2 installed beside the cabinet 4, a six-degree-of-freedom motion platform 9 installed at the center of the annular screen 2, and the network cable of the six-degree-of-freedom motion platform 9 is connected to the switch 7; the optoelectronic equipment 10 is fixedly installed on the top surface of the six-degree-of-freedom motion platform 9 with bolts, and the network cable of the optoelectronic equipment 10 is connected to the image computer 3, and a projector 1 is suspended from the ceiling, and the projector 1 is connected to the image fusion computer 5 via a video cable.

[0037] The cabinet 4 is a cubic structure with an open end surface, and a partition is provided inside the cabinet 4 .

[0038] The optoelectronic device 10 shakes together with the six-degree-of-freedom motion platform 9 .

[0039] The projector 1 is installed directly above the optoelectronic device 10 .

[0040] The image of the projector 1 is projected onto the annular screen 2 , and the image content is a 270-degree annular viewing angle centered on the bow direction of the virtual unmanned boat. The visible light sensor of the optoelectronic device 10 captures the three-dimensional scene on the annular screen 2 .

[0041] The three-dimensional scene content includes: sea waves, rain, snow and fog, sunlight changes, submersibles, ships, islands and reefs, buoys, rail forts, fishing nets and lighthouses.

[0042] The three-dimensional scenes are generated in real time by the simulation software in the simulation computer 6, and the TCP communication protocol is used to output the numbers of all virtual unmanned boats, the longitude and latitude of WGS84 coordinates, the altitude, the roll angle, the pitch angle, the heading angle, whether there is a collision, the type of collision target, the wind direction, the wind speed, the wave direction, the wave height, the current direction, and the current speed. The UDP communication protocol is used to output images and radar point cloud data streams. These images and point cloud data will be transmitted to the switch 7 in real time through the network cable, and then transmitted to the image computer 3. The image computer 3 runs the machine learning algorithm to identify the target objects in the image, and transmits the processing results to the switch 7, and then to the control computer 8. The control computer 8 calculates the control signal according to the target tracking and obstacle avoidance software, and outputs it to the simulation computer 6. The simulation software calculates the new longitude and latitude, attitude angle, navigation speed, and angular velocity state of the virtual unmanned boat, and the three-dimensional virtual screen will also be refreshed quickly.

[0043] The semi-physical simulation system of optoelectronic equipment of unmanned boat is used to train the value function neural network of deep reinforcement learning. The value function neural network is used to replace manual ship navigation and is a programmed model of autonomous driving ships. After the water surface environment picture is input into the value function neural network, the network will directly output the estimated values ​​corresponding to the rudder angle and propeller speed. The maximum estimated rudder angle and propeller speed will be used as output and input into the motion model of the virtual unmanned boat. After that, the unmanned boat moves one step in the three-dimensional virtual scene, and then the water surface environment picture will also be updated, thus forming a cycle until the simulation is stopped; wherein, the training of the value function neural network specifically includes the following steps:

[0044] Step 1: The 3D visual ocean environment program projects the water surface environment on the annular screen 2;

[0045] Step 2: The photoelectric device 10 installed on the six-degree-of-freedom motion platform 9 captures the water surface environment and processes it into a picture through the image computer 3. Then, the picture is input into the value function neural network training program of the control computer (8) through the network cable. After the value function neural network is calculated, the next highest value action is given, where is the image input to the network, is the combined action number of the rudder angle and the propeller speed of the unmanned boat, and is the network parameter. The network parameters of the value function network are random at the beginning of training.

[0046] Step 3: After the action number a is input into the virtual unmanned boat, the unmanned boat can be driven to move in the virtual ocean environment, which will cause the environment to change, and the reward value r of the action at this moment is given according to the motion state of the unmanned boat. The calculation formula of r is as follows:

[0047]

[0048] Step 4: The photoelectric device 10 captures the image s′ at the next moment. At this time, the training program in the control computer 8 stores a set of (s, a, r, s′) as memory, and waits until the number of sets of (s, a, r, s′) stored in the memory space reaches 32, and then updates the parameters of the current value function neural network by the gradient descent method;

[0049] Step 5: The error formula between the value function neural network and the target value function neural network is as follows:

[0050]

[0051] L t (θ t )=w{l1,...,l N} T , N = 1, ..., 32

[0052]

[0053] in, is the cumulative reward, r t+1 yes Simulation The reward at time step t+1, γ is the reward discount factor, Q is the value function network, s t+1 yes Simulation Water surface environment image at time step t+1, θ t is the network parameter of the value function at time step t, θ′ t is the network parameter of the target value function at time step t, L t (θ t ) is the error function between the current value function network and the target value function network for a batch of 32 memory data, N is the sequence number of the memory data in a batch, w is the weight matrix of the optimal experience playback, and is obtained by comparing it with the error matrix {l1,...,l N} T Dot product can make more efficient use of memory data;

[0054] After getting the error formula, use the gradient descent algorithm, Pair value function The parameters of the network are t Update and get θ t+1 , and the above steps are repeated continuously until the unmanned boat can start from any position on the water surface and can be controlled by the value function neural network to complete the task of automatically reaching the set point; at this time, the value function neural network training is completed, and the optimal parameter θ is saved in the hard disk of the control computer (8) in the model file format.

[0055] The specific structure and functions of the semi-physical simulation system for optoelectronic equipment of unmanned boats described in the present invention are as follows:

[0056] It mainly includes a projector 1, the projected image is projected on the annular screen 2, the image of the projector 1 comes from the image fusion computer 5, the projector 1 is suspended from the ceiling, and the annular screen 2 is fixed with an annular steel frame. The switch 7, the simulation computer 6, the image fusion computer 5, the control computer 8, and the image computer 3 are installed in the cabinet 4 and fixed on the partition of the cabinet 4 with screws. The six-degree-of-freedom motion platform 9 is fixed to the center of the annular screen 2 with bolts, and the optoelectronic device 10 is fixed to the upper mounting surface of the six-degree-of-freedom motion platform 9 with bolts and shakes with the platform. These devices are powered by alternating current.

[0057] like Figure 3As shown, the image of the projector 1 is projected on the annular screen 2, and the image content is a 270-degree annular view centered on the bow direction of the virtual unmanned boat. The visible light sensor of the optoelectronic device 10 captures the three-dimensional scene on the annular screen 2, and the three-dimensional scene content includes: sea waves, rain, snow and fog, sunshine changes, submersibles, ships, islands and reefs, buoys, rail forts, fishing nets, and lighthouses. The three-dimensional scenes are all generated in real time by the simulation software in the simulation computer 6, and through the TCP communication protocol, the numbers, WGS84 coordinates, longitude and latitude, altitude, heel angle, pitch angle, heading angle, collision, collision target type, wind direction, wind speed, wave direction, wave height, current direction, and current speed of all virtual unmanned boats are output, and through the UDP communication protocol, images and radar point cloud data streams are output. These images and point cloud data will be transmitted to the switch 7 in real time through the network cable, and then transmitted to the image computer 3. The image computer 3 runs the machine learning algorithm to identify the target object in the image, and transmits the processing results to the switch 7, and then to the control computer 8. The control computer 8 calculates the control signal based on the target tracking and obstacle avoidance software and outputs it to the simulation computer 6. The simulation software calculates the new virtual unmanned boat's longitude and latitude, attitude angle, navigation speed, and angular velocity state, and the three-dimensional virtual picture will also be refreshed quickly.

[0058] Combination Figure 4 and Figure 5 , the image computer 3 will identify the target in the virtual image of the simulation computer 6, draw a rectangular frame in the image, and mark the type of the target in the frame.

[0059] Combination Figure 6 to Figure 7 The semi-physical simulation system of unmanned boat optoelectronic equipment is used to train the value function neural network of deep reinforcement learning. The value function neural network is used to replace manual ship navigation and is a programmed model of autonomous driving ships. Input to the value function neural network Figure 4 After the water surface environment picture shown in the figure is obtained, the network will directly output the estimated values ​​corresponding to the rudder angle and propeller speed. The maximum estimated rudder angle and propeller speed will be used as output and input into the motion model of the virtual unmanned boat. After that, the unmanned boat will move one step in the three-dimensional virtual scene, and then the water surface environment picture will also be updated, thus forming a cycle until the simulation is stopped.

[0060] The present invention is a semi-physical simulation system of optoelectronic equipment of unmanned boats, comprising a six-degree-of-freedom motion platform 9, an annular screen 2, a projector 1, an optoelectronic device 10, a cabinet 4, a switch 7, a simulation computer 6, an image fusion projection computer, a control computer 8, and an image computer 3. The simulation computer 6 generates a virtual three-dimensional scene, the image fusion projection computer outputs the virtual ocean picture to the projector 1, the projector 1 projects the picture on the annular screen 2, the optoelectronic device 10 is installed on the six-degree-of-freedom motion platform 9, the motion platform receives the virtual ship posture of the simulation computer 6, performs a real swinging motion, and simulates the bumping of the virtual unmanned boat in the waves. The optoelectronics shoots the picture of the annular screen 2, and outputs the shot video to the image computer 3, the image computer 3 processes the video, calculates the target type and orientation in the virtual scene, and sends it to the control computer 8. The control computer 8 calculates the value function network training algorithm of deep reinforcement learning, drives the unmanned boat in the virtual scene to perform tracking or avoidance actions, and arrives at the task point after multiple rounds of training, completing the unmanned driving task driven by the value function network.

[0061] The present invention generates a three-dimensional environment of an offshore test site by simulating a computer 6, which can help unmanned boat technicians to debug optoelectronic equipment 10 indoors through real optoelectronic equipment and virtual simulation technology, and can also carry out a reinforcement learning value function network training test process for the unmanned boat to autonomously track and avoid surface targets.

[0062] The present invention can form a realistic marine test scene indoors through real optoelectronic equipment and virtual simulation technology, helping unmanned boat technicians to debug optoelectronic equipment 10 indoors, and can also carry out simulation test processes for unmanned boats to autonomously track and avoid surface targets.

[0063] The above description is an explanation of the present invention, not a limitation of the present invention. The scope of the present invention is defined in the claims. Any form of modification may be made within the scope of protection of the present invention.

Claims

1. A semi-physical simulation system for optoelectronic equipment of unmanned boats, characterized by: The invention comprises a cabinet (4), wherein a switch (7), a simulation computer (6), an image fusion computer (5), a control computer (8) and an image computer (3) are respectively installed inside the cabinet (4), and the computer in the cabinet (4) is connected to the switch (7) via a network cable; the invention also comprises an annular screen (2) installed beside the cabinet (4), a six-degree-of-freedom motion platform (9) installed at the center of the annular screen (2), and the network cable of the six-degree-of-freedom motion platform (9) is connected to the switch (7); an optoelectronic device (10) is fixedly installed on the top surface of the six-degree-of-freedom motion platform (9) by bolts, and the network cable of the optoelectronic device (10) is connected to the image computer (3); a projector (1) is suspended from the ceiling, and the projector (1) is connected to the image fusion computer (5) via a video cable.

2. The semi-physical simulation system for optoelectronic equipment of an unmanned boat as claimed in claim 1, characterized in that: The cabinet (4) is a cubic structure with one end face being open, and a partition is arranged inside the cabinet (4).

3. The semi-physical simulation system for optoelectronic equipment of an unmanned boat as claimed in claim 1, characterized in that: The optoelectronic device (10) shakes together with the six-degree-of-freedom motion platform (9).

4. The semi-physical simulation system for optoelectronic equipment of an unmanned boat as claimed in claim 1, characterized in that: The projector (1) is installed directly above the optoelectronic device (10).

5. The semi-physical simulation system for optoelectronic equipment of unmanned boat according to claim 1, characterized in that: The image of the projector (1) is projected onto the annular screen (2), and the image content is a 270-degree annular viewing angle centered on the direction of the bow of the virtual unmanned boat. The visible light sensor of the optoelectronic device (10) captures the three-dimensional scene on the annular screen (2).

6. The semi-physical simulation system for optoelectronic equipment of an unmanned boat as claimed in claim 5, characterized in that: The three-dimensional scene content includes: sea waves, rain, snow and fog, sunlight changes, submersibles, ships, islands and reefs, buoys, rail forts, fishing nets and lighthouses.

7. The semi-physical simulation system for optoelectronic equipment of an unmanned boat as claimed in claim 5, characterized in that: The three-dimensional scenes are generated in real time by the simulation software in the simulation computer (6), and the serial numbers, WGS84 coordinate longitude and latitude, altitude, heel angle, pitch angle, heading angle, collision, collision target type, wind direction, wind speed, wave direction, wave height, current direction, and current speed of all virtual unmanned boats are output through the TCP communication protocol, and images and radar point cloud data streams are output through the UDP communication protocol; these images and point cloud data are transmitted to the switch (7) in real time through the network cable, and then transmitted to the image computer (3). The image computer (3) runs a machine learning algorithm to identify the target object in the image, and transmits the processing result to the switch (7), and then to the control computer (8). The control computer (8) calculates the control signal according to the target tracking and obstacle avoidance software, and outputs it to the simulation computer (6). The simulation software calculates the new longitude and latitude, attitude angle, navigation speed, and angular velocity state of the virtual unmanned boat, and the three-dimensional virtual picture is also refreshed quickly.

8. An operating method of a semi-physical simulation system for optoelectronic equipment of an unmanned boat, characterized in that: The semi-physical simulation system of optoelectronic equipment of unmanned boat is used to train the value function neural network of deep reinforcement learning. The value function neural network is used to replace manual ship navigation and is a programmed model of autonomous driving ships. After the water surface environment picture is input into the value function neural network, the network will directly output the estimated values ​​corresponding to the rudder angle and propeller speed. The maximum estimated rudder angle and propeller speed will be used as output and input into the motion model of the virtual unmanned boat. After that, the unmanned boat moves one step in the three-dimensional virtual scene, and then the water surface environment picture will also be updated, thus forming a cycle until the simulation is stopped; wherein, the training of the value function neural network specifically includes the following steps: Step 1: The three-dimensional ocean environment program projects the water surface environment on the circular screen (2); Step 2: The photoelectric device (10) installed on the six-degree-of-freedom motion platform (9) captures the water surface environment and processes it into a picture through the image computer (3). The picture is then input into the value function neural network training program of the control computer (8) via a network cable. After calculation, the value function neural network gives the highest value action for the next step, where is the image input to the network, is the combined action number of the unmanned boat rudder angle and propeller speed, and is the network parameter. The network parameters of the value function network are random at the beginning of training. Step 3: After the action number a is input into the virtual unmanned boat, the unmanned boat can be driven to move in the virtual ocean environment, which will cause the environment to change, and the reward value r of the action at this moment is given according to the motion state of the unmanned boat. The calculation formula of r is as follows: Step 4: The photoelectric device (10) captures the image s′ at the next moment. At this time, the training program in the control computer (8) stores a set of (s, a, r, s′) as memory, and waits until the number of sets of (s, a, r, s′) stored in the memory space reaches 32, and then updates the parameters of the current value function neural network by the gradient descent method; Step 5: The error formula between the value function neural network and the target value function neural network is as follows: L t (θ t ) w{l1,...,l N } T ,N=1,...,32 in, is the cumulative reward, r t+1 yes Simulation The reward at time step t+1, γ is the reward discount factor, Q is the value function network, s t+1 yes Simulation Water surface environment image at time step t+1, θ t is the network parameter of the value function at time step t, θ′ t is the network parameter of the target value function at time step t, L t (θ t ) is the error function between the current value function network and the target value function network for a batch of 32 memory data, N is the sequence number of the memory data in a batch, w is the weight matrix of the optimal experience playback, and is obtained by comparing it with the error matrix {l1,...,l N } T Dot product can make more efficient use of memory data; After getting the error formula, use the gradient descent algorithm, Pair value function The parameters of the network are t Update and get θ t+1 , and the above steps are repeated continuously until the unmanned boat can start from any position on the water surface and can be controlled by the value function neural network to complete the task of automatically reaching the set point; at this time, the value function neural network training is completed, and the optimal parameter θ is saved in the hard disk of the control computer (8) in the model file format.