3D anchor detection method based on traversal algorithm and data set optimization algorithm

By combining Monte-Carlo random plane anchor position detection algorithm, traversal algorithm and data set optimization algorithm, three-dimensional anchor position detection is realized, solving the problem of ignoring water depth in two-dimensional observations in the existing technology, and improving the efficiency and safety of anchor detection sex.

CN118520696BActive Publication Date: 2025-02-07GUANGDONG OCEAN UNIVERSITY +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410883588.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2025-02-07
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

The prior art usually adopts two-dimensional plane observation method in ship anchor detection, which ignores the impact of water depth on anchor safety, resulting in low anchor operation accuracy and high safety risks.

Method used

Combining Monte-Carlo random plane anchor bit detection algorithm, traversal algorithm and data set optimization algorithm, three-dimensional anchor bit detection is realized, and repetitive operations in the traversal algorithm are reduced by about 60%.

Benefits of technology

The efficiency and accuracy of anchor position detection are significantly improved, the safety of anchor operation is ensured, and the computing efficiency is optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520696B_ABST
    Figure CN118520696B_ABST
Patent Text Reader

Abstract

The present invention provides a 3D anchor detection method based on a traversal algorithm and a data set optimization algorithm. The anchor area detection model of an anchored ship is used to successively calculate the coordinate set of the anchor obstacle and the coordinate set of the anchor position for simulating the anchoring position of the ship to be moored generated by the Monte Carlo random algorithm, and obtain a two-dimensional coordinate set of the anchor position of the ship to be moored that meets the ship safety spacing value. The points within the anchor circle are traversed in combination with the data set optimization algorithm, and the traversal results are checked with the draft and depth value of the ship to be moored, so as to obtain the anchor position of the ship to be moored that meets the two-dimensional plane and three-dimensional water depth requirements. The three-dimensional detection of the ship anchor position can be achieved through the water depth limit on the basis of meeting the two-dimensional safety spacing limit, and the anchor position data that meets the water depth limit is provided to the driver while meeting the plane safety spacing, which greatly improves the accuracy and safety of ship anchor detection and selection in actual anchoring operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ship anchoring, and in particular to a 3D anchor position detection method based on a traversal algorithm and a data set optimization algorithm. Background Art

[0002] At present, the development of various types of ship intelligent technology is in the ascendant, and has gradually become a carrier for the economic development of the shipping industry and a breakthrough in shipping digital technology. The intelligent anchor detection function of ships is one of the key technologies that must be possessed in the intelligent navigation of ships. Intelligent ships have become a trend and an important breakthrough point in the development of maritime transportation. In actual operations, ships must have the ability to detect anchor positions at the starting port, the destination port and near the route to meet the needs of emergency, loading and unloading cargo, getting on and off personnel and waiting for berthing. In navigation practice, due to the lack of scientific anchor detection methods, operators usually rely on external information such as surface obstacles and ship distribution and their own experience to select anchor positions. However, in actual operations, in order to ensure the safety of ship anchoring, a larger anchor radius is usually selected, which objectively causes a waste of anchorage resources. On the contrary, when the anchor radius selected by the ship for anchoring operation is too small, it will cause safety hazards. Therefore, whether the ship can reasonably plan and select the anchoring location and maintain safety during anchoring operations is one of the major challenges faced by ship intelligent detection technology. Therefore, an intelligent anchor detection technology that takes into account both high efficiency and good safety performance is a key technology that needs to be studied in the current field of intelligent ships.

[0003] Zhang Chunyu used a ship anchoring safety distance model that took wind factors into consideration to calculate the anchoring safety distances for three types of ships, optimized the navigation mode of single-anchored ships, and improved the safety of ship anchoring. At the same time, he combined the anchoring statistical data of Tianjin Port to carry out safety planning for the anchorage waters, solving the problem of uneven utilization of anchorage resources.

[0004] Sheth et al. proposed an improved model of the radius of the ship anchor circle, used the Monte-Carlo random algorithm to simulate the target ship to be moored, and used the improved model of the radius of the ship anchor circle to realize the ship anchor position detection in two-dimensional space on the water surface, solving the problem of two-dimensional plane anchor position detection.

[0005] Zhang Hongchi proposed a method for selecting a single anchoring position for unmanned ships based on a decision tree algorithm. He combined the decision tree algorithm with raster processing technology and preliminarily applied water depth information and bottom analysis to the intelligent anchoring position selection of unmanned ships.

[0006] Madadi, Bahman and others considered how to dynamically program the ships leaving and arriving at the anchorage to be placed in the polygonal anchorage. The study specifically considered the objectives of anchorage area utilization, ship collision risk and fuel consumption performance. These three objectives defined the objective function in a weighted summation manner, and proposed a spatiotemporal method for this multi-objective anchorage planning problem, in which the Monte Carlo simulation method was used to measure the impact of any specific combination of planning indicators (real-time measurement of incoming ships) on the objective function (measured in steady state). At the same time, the perturbation stochastic approximation (SPSA) algorithm was used to determine the linear combination of planning indicators that optimize the objective function.

[0007] Malekipirbazari et al. optimized the algorithm when studying the anchor allocation problem and introduced a heuristic algorithm to correct the MHDF algorithm, taking into account the unevenness of the anchorage water depth. The algorithm is called the non-uniform maximum voidness first algorithm (NU-MHDF), and experimental comparisons have verified that its effect is better than the MHDF algorithm.

[0008] Huang believes that the use capacity of anchorages depends on the choice of actual anchoring points for ships. This study uses a disk filling algorithm to model the anchor position allocation problem and proposes a maximum hole first algorithm (MHDF) to solve the problem. An anchor simulation tool is designed to evaluate the performance of the algorithm, which is also used in Singapore's ship traffic simulation system.

[0009] Oz et al. first considered the anchoring safety of ships in the anchor position allocation problem. In order to maximize the utilization of anchorages and minimize the risk of accidents, they proposed a multi-objective optimization anchor position allocation strategy. This study used the Monte Carlo simulation algorithm to establish a simulation system for solution and verification.

[0010] In summary, although the intelligent anchor detection technology for ships has made some progress, it still needs to be continuously innovated and improved. Existing technologies usually use traditional two-dimensional observation methods, ignoring the impact of water depth on anchoring safety. It is difficult for crew members and shore managers to effectively evaluate the waters selected for anchoring. Therefore, in actual anchoring operations, it may cause practical problems such as low anchoring accuracy and greater safety hazards.

[0011] The above-mentioned record of background technical knowledge is intended to help ordinary technicians in this field understand the existing technologies that are relatively close to the present invention, and at the same time facilitate the understanding of the inventive concept and technical solution of the present invention. It should be clear that in the absence of clear evidence that the above-mentioned content has been disclosed before the filing date of this patent application, the above-mentioned background technology should not be used to evaluate the novelty of the technical solution of this application. Summary of the invention

[0012] Technical issues

[0013] In order to solve the above problems, it was found in the process of detecting 3D anchor positions by combining the Monte Carlo algorithm with the traversal algorithm that there are a large number of repeated operations in the water depth anchor position detection process, which need to be optimized. Therefore, the purpose of the present invention is to provide a 3D anchor position intelligent detection method that combines a Monte-Carlo random plane anchor position detection algorithm, a traversal algorithm and a data set optimization algorithm, which optimizes the large number of repeated operations in the traversal algorithm, can reduce the amount of operations in the water depth detection part of the anchor position detection process by about 60%, and significantly improve the detection efficiency.

[0014] Technical Solution

[0015] In order to achieve the above-mentioned purpose, the inventors of the present application have conducted in-depth research and provided a three-dimensional anchor intelligent detection method that combines a Monte-Carlo random plane anchor detection algorithm, a traversal algorithm and a data set optimization algorithm. The method takes into account the water depth information in anchor detection, and can realize three-dimensional detection of ship anchor positions through water depth restrictions on the basis of satisfying two-dimensional safety spacing restrictions. Compared with the existing technology, both the observation accuracy and the safety of anchor selection have been significantly improved, and the application of the data set optimization algorithm further improves the computing efficiency.

[0016] That is, the present invention is:

[0017] The 3D anchor detection method based on the traversal algorithm and the data set optimization algorithm includes:

[0018] Using the anchoring area detection model of anchored ships shown in formula (6), the two-dimensional coordinate set of anchorage obstacles is and a set of coordinates randomly generated by the Monte Carlo random algorithm to simulate the anchoring location of the ship to be moored Perform successive calculations to obtain a two-dimensional coordinate set of the anchoring locations that meet the safety spacing value of the ship. ;

[0019] (6)

[0020] In formula (6), Indicates the actual distance between ships; express The minimum value of Indicates the position of existing ships or other objects that hinder anchoring operations in the anchorage corresponding to the plane rectangular coordinate system; point ( The safe distance between anchored ships The anchor point of

[0021] by Draw an anchor circle with the anchor point in the center and the anchor radius as the radius. Within the anchor circle, the origin Solstice Perform traversal operations in sequence, combine traversal operations with data set optimization algorithms, start from the starting point, and after the first traversal, add a data dimension to the water depth verification result of the point to indicate whether the water depth meets the requirements. Indicates that the safety depth limit is met. It means that the safety depth limit cannot be met. Represents the traversal point, and includes the data that meets the water depth verification operation into the collection ; In the second traversal, the traversal point coordinates and Compare the data points in the set. If there is such a data point, directly obtain the water depth verification data. Points without data will have their data values ​​added to the set after depth verification. In the process of detecting the anchorage depth by traversing the path from top to bottom and from left to right at a certain step interval, the traversal result is checked with the draft and water depth value of the ship to be moored, and the anchorage position of the ship to be moored that meets the requirements of two-dimensional plane and three-dimensional water depth is obtained. In the process of detecting the anchorage depth by traversal algorithm, there are inevitably a lot of repeated operations, which need to be optimized. Therefore, a water depth detection method combining traversal algorithm with data set optimization algorithm is provided, which optimizes the large number of repeated operations in the traversal algorithm, and can reduce at least 60% of the calculation amount in the water depth detection part of the anchorage detection process, significantly improving the detection efficiency.

[0022] Furthermore, if all points traversed within the anchor circle of the anchor point meet the water depth requirement, then the anchor point is an anchor point for a ship to be moored that meets the two-dimensional plane and three-dimensional water depth requirements.

[0023] Furthermore, if during the traversal process, it is found in the water depth verification result that any point in the anchor circle at the anchor point does not meet the water depth restriction condition, the water depth detection within the anchor circle is skipped, the anchor point does not meet the requirements of the anchor point for the ship to be berthed that meets the two-dimensional plane and three-dimensional water depth requirements, and the point is removed.

[0024] Furthermore, the step interval is selected from any value between 0.1m and 10m.

[0025] Furthermore, the draft depth value of the ship to be moored is obtained by the draft detection model of the ship to be moored shown in formula (7):

[0026] (7)

[0027] In formula (7), Indicates the safe anchoring depth required for the ship to be moored; Indicates the ship's draft when at anchor; represents the reference coefficient; Indicates the excess depth of waves; Indicates the simulated draft of the ship to be moored.

[0028] Furthermore, the 3D anchor position detection method based on the traversal algorithm and the data set optimization algorithm specifically includes:

[0029] Step 1: Obtain the three-dimensional coordinates of each point on the bottom of the anchorage , whose coordinate set is recorded as ; and It represents the coordinates of a two-dimensional rectangular coordinate system, and can also represent each point on the water surface of the anchorage. Indicates water surface points Depth of water;

[0030] Step 2: Obtain the 2D coordinates of the anchorage obstacle , whose coordinate set is recorded as ;

[0031] Step 3: Construct the anchor point conversion model shown in formula (3) to convert the two-dimensional coordinates of the anchorage obstacle in step 2 into the anchor point of the existing anchored ship. , whose coordinate set is recorded as ;

[0032] (3)

[0033] In formula (3), It indicates the distance between the anchor point of the existing anchored ship and the point actually recorded by the ship. ≈Ship length + ship anchor chain length; It represents the angle between the bow direction and the abscissa in the coordinate system;

[0034] Step 4: Set the safety radius with the two-dimensional coordinates of the anchorage obstacle in step 2 as the center of the circle. The restricted waters of ; and construct the safety spacing model shown in formula (4);

[0035] (4)

[0036] In formula (4), Indicates the value of safe distance between ships; and Respectively represent the captains of the existing anchored vessels and the vessels waiting to be anchored; and Respectively represent the mooring chain length of the existing anchored ship and the ship to be moored (m); and The radius of the anchorage circle of the existing anchored ships and the ships to be anchored (m); They represent the ship type coefficients of the existing anchored ships and the ships to be anchored respectively;

[0037] Step 5: Import the relevant information such as the length of the existing anchored ship and the length of the anchored chain into the safety spacing model shown in formula (4) to calculate the radius of the anchor circle of the existing anchored ship and the safety spacing value of the ship to be anchored ;

[0038] Step 6: Generate random numbers using the Monte Carlo random algorithm 2D coordinates , whose coordinate set is recorded as , used to simulate the selection of anchoring sites for ships to be moored;

[0039] Step 7: Construct the anchoring area detection model of the anchored ship shown in formula (6):

[0040] (6)

[0041] In formula (6), Indicates the actual distance between ships; express The minimum value of Indicates the position of existing ships or other objects that hinder anchoring operations in the anchorage corresponding to the plane rectangular coordinate system; point ( The safe distance between anchored ships The anchor point of

[0042] Step 8: Using the anchoring area detection model of anchored ships shown in formula (6), the coordinate set and Perform calculations one by one to obtain the two-dimensional coordinates of the anchor point of the ship to be moored that meets the value of the safe distance between ships in step 7. , whose coordinate set is ;

[0043] Step 9: Construct the draft detection model of the ship to be moored as shown in formula (7):

[0044] (7)

[0045] In formula (7), Indicates the safe anchoring depth required for the ship to be moored; Indicates the ship's draft when at anchor; represents the reference coefficient; Indicates the excess depth of waves; Indicates the simulated draft of the ship to be moored;

[0046] Step 10: Draw an anchor circle with the anchor point in the center and the anchor radius as the radius. Within the anchor circle, the origin Solstice Perform traversal operations in sequence, combine traversal operations with data set optimization algorithms, start from the starting point, and after the first traversal, add a data dimension to the water depth verification result of the point to indicate whether the water depth meets the requirements. Indicates that the safety depth limit is met. It means that the safety depth limit cannot be met. Represents the traversal point, and includes the data that meets the water depth verification operation into the collection ; In the second traversal, the traversal point coordinates and Compare the data points in the set. If there is such a data point, directly obtain the water depth verification data. Points without data will have their data values ​​added to the set after depth verification. In the middle; by traversing the path from top to bottom and from left to right at a certain step interval, the traversal result is checked with the draft and water depth of the ship to be moored, and the anchor point of the ship to be moored that meets the requirements of the two-dimensional plane and three-dimensional water depth is obtained. The point set is recorded as , judged by The coordinate points inside are the points inside the anchor circle drawn by the center of the circle, and will not be in the point set The set of points inside is denoted as , whose coordinates are ( ;

[0047] Step 11: Construct the anchor point conversion model shown in formula (9):

[0048] (9)

[0049] In formula (9), It indicates the distance between the anchor point of the ship to be anchored and the point actually recorded by the ship. ≈1.5×(ship length + ship anchor chain length); It is approximately expressed as the angle between the wind flow resultant force and the horizontal coordinate in the coordinate system; It is the set in step 10 Anchor point within is the anchor point that meets the safety spacing and water depth limit obtained by calculation. The point set is recorded as .

[0050] Furthermore, in step 1, the third dimension data in the three-dimensional coordinates of the anchorage is the water depth of the location composed of the first two dimensions data.

[0051] Furthermore, in step 2, the anchorage obstacles include obstacles that cannot be moored and existing anchored ships.

[0052] Furthermore, in step 4, Set to 0.5 NM, 1 NM or 2 NM.

[0053] Furthermore, in step 4, When the ship is an ordinary cargo ship, the lower limit is taken; when the ship is an oil, liquefied gas or chemical tanker, the upper limit is taken.

[0054] Furthermore, in step 9, the reference coefficient When there is no surge or the shielding is good, take 1.2; when there is surge or the shielding is poor, take 1.5.

[0055] The aforementioned 3D anchor position detection method based on the traversal algorithm and the data set optimization algorithm is applied in assisting ship anchoring operations.

[0056] Furthermore, the application includes sending a set of anchoring points that meet the safety spacing and water depth restrictions obtained according to the 3D anchor position detection method based on the traversal algorithm and the data set optimization algorithm to the ship to be moored to assist in anchoring.

[0057] A computer device, comprising a memory, a processor, a communication interface and a communication bus; wherein the memory, the processor and the communication interface communicate with each other via the communication bus; the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, and when the processor executes the computer program, it implements at least one step of the aforementioned 3D anchor detection method based on the traversal algorithm and the data set optimization algorithm.

[0058] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements at least one step of the above-mentioned 3D anchor detection method based on a traversal algorithm and a data set optimization algorithm.

[0059] Based on the common knowledge in this field, the above-mentioned preferred conditions can be combined with each other to obtain a specific implementation method.

[0060] Beneficial Effects

[0061] According to the present invention, by combining the Monte-Carlo random plane anchor position detection algorithm with the traversal algorithm, three-dimensional detection of the ship anchor position can be achieved through water depth restriction on the basis of satisfying the two-dimensional safety spacing restriction. The three-dimensional mooring intelligent detection technology considering the water depth conditions proposed in the present invention will undoubtedly make the actual mooring operation safer, and provide the driver with a method to meet the water depth limit while satisfying the plane safety spacing.

[0062] Combining the data set optimization algorithm during traversal can greatly improve the computing efficiency, thereby optimizing a large number of repeated operations in the 3D anchor detection algorithm, and can reduce the amount of calculation in the water depth detection part of the anchor detection process by at least 60%, significantly improving the efficiency of the 3D anchor detection algorithm, and helping to assist ships to anchor in a timely and rapid manner.

[0063] The anchor point data generated by the algorithm greatly improves the accuracy and safety of ship anchor point detection and selection in actual anchoring operations. The method takes into account the draft parameters of different ship types under different loading conditions, and can provide operators with more accurate and applicable reference data in actual anchoring operations, so that ship drivers can select safe and controllable anchor points as needed in normal operation or emergency situations. In practical applications, the algorithm can be arranged on ship-related equipment, and the detected three-dimensional anchor point area can be intuitively displayed in the ECDIS system or other information systems, so that ship drivers can select safe and controllable three-dimensional anchor points in normal operation or emergency situations.

[0064] The present invention adopts the above technical solution to achieve the above purpose, which makes up for the shortcomings of the prior art and has reasonable design and convenient operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to make the above and / or other purposes, features, advantages and examples of the present invention more obvious and easy to understand, the drawings required for use in the specific implementation of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying creative work.

[0066] Figure 1 A technical roadmap of the 3D anchor detection method of the present invention is shown;

[0067] Figure 2 It shows the simulation schematic diagram of NO.1 anchorage;

[0068] Figure 3 It shows the simulation schematic diagram of NO.2 anchorage;

[0069] Figure 4 Schematic diagram showing randomly generated anchor points in the matlab platform;

[0070] Figure 5 A schematic diagram showing the anchoring position of the ship to be moored that meets the safety spacing value;

[0071] Figure 6 A schematic diagram showing the path of the traversal algorithm operation;

[0072] Figure 7 Schematic diagram showing the simulation results of the anchoring point of a general cargo ship that meets the conditions at the No.1 anchorage;

[0073] Figure 8 Schematic diagram showing the simulation results of the anchoring point of the oil tanker meeting the conditions at the NO.1 anchorage;

[0074] Fig. 9 Schematic diagram showing the simulation results of the anchoring point of the chemical tanker meeting the conditions at the NO.1 anchorage;

[0075] Fig.10 Schematic diagram showing the simulation results of the anchoring point of the container ship that meets the conditions at the No.1 anchorage;

[0076] Fig.11 Schematic diagram showing the simulation results of the anchoring point of a general cargo ship that meets the conditions at the NO.2 anchorage;

[0077] Fig.12 Schematic diagram showing the simulation results of the anchoring point of the oil tanker meeting the conditions at the NO.2 anchorage;

[0078] Fig.13 Schematic diagram showing the simulation results of the anchoring point of the chemical tanker meeting the conditions at the NO.2 anchorage;

[0079] Fig.14 Schematic diagram showing the simulation results of the anchoring point that meets the conditions for the container ship at the NO.2 anchorage.

[0080] Description of reference numerals: Figure 5 In the figure, pink represents the anchor points that meet the two-dimensional safety spacing; Figures 7 to 14 In the figure, the purple dots represent the anchoring points that meet the two-dimensional conditions and the water depth limit under ballast state, the yellow dots represent the anchoring points that meet the water depth limit under full load state on the basis of the purple dots, and the green dots are the anchoring points that are generated in the anchor circle on the basis of the yellow dots and the water depth meets the requirements. It can be seen that there is no anchoring point that meets the water depth conditions in the 0-19.99m anchorage for container ships. DETAILED DESCRIPTION

[0081] Those skilled in the art can refer to the content of this article and appropriately replace and / or modify the process parameters to achieve the same. However, it should be particularly noted that all similar replacements and / or modifications are obvious to those skilled in the art and are considered to be included in the present invention. The products and preparation methods described in the present invention have been described through preferred examples. It is obvious that relevant personnel can modify or appropriately change and combine the products and preparation methods described herein without departing from the content, spirit and scope of the present invention to implement and apply the technology of the present invention.

[0082] Unless otherwise defined, technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. The present invention uses the methods and materials described herein; however, other suitable methods and materials known in the art may also be used. The materials, methods, and examples described herein are illustrative only and are not intended to be limiting. All publications, patent applications, patents, provisional applications, database entries, and other references mentioned herein are incorporated herein by reference in their entirety. In the event of a conflict, the present specification, including definitions, shall prevail.

[0083] Unless specifically stated, the materials, methods, and examples described herein are illustrative only and not limiting. Although methods and materials similar or equivalent to those described herein can be used in the practice or testing of the present invention, suitable methods and materials are still described herein.

[0084] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present invention. At the same time, the embodiments in this application and the features in the embodiments can be combined with each other without conflict.

[0085] The present invention is described in detail below

[0086] Embodiment 1:

[0087] like Figure 1 The technical route shown, this embodiment provides a 3D anchor detection method based on a traversal algorithm and a data set optimization algorithm, constructs a three-dimensional anchorage sea area in the matlab simulation software for 3D anchor detection, and specifically includes the following steps.

[0088] Step S1: Construct a three-dimensional anchorage sea area of ​​n nautical miles × n nautical miles in the MATLAB simulation software. Construct the plane matrix model as shown in formula (1); construct the anchorage water depth model as shown in formula (2). This simulation experiment uses a 3 nautical mile × 3 nautical mile chart scale.

[0089] (1)

[0090] In formula (1), is the matrix data generated by meshgrid function, where The points contained in correspond to the coordinate axes The coordinates of the axis are denoted by , The points contained in correspond to the coordinate axes The coordinates of the axis are denoted by ,exist In the range of step length Divide and generate the corresponding grid matrix.

[0091] (2)

[0092] In formula (2), and is the coordinate of the two-dimensional rectangular coordinate system of the plane, is the randomly generated simulated anchorage water depth. The coordinates of each bottom point in the anchorage are constructed by the coordinate points generated by the above-mentioned model (1) and model (2): The third dimension is the water depth of the point composed of the first two dimensions, and the coordinates of the bottom of the water surface in the anchorage constitute the coordinate set .

[0093] In this simulation experiment, the water depth is divided into two intervals: This algorithm is also applicable to water depths above 45 m, but deep-water anchoring does not require much anchor position detection methods, so no relevant simulation experiments are conducted.

[0094] Step S2: Based on step S1, set the following anchorage:

[0095] Construct a No.1 anchorage with a water depth of 0 to 19.99 m at 3 nautical miles x 3 nautical miles, such as Figure 2 shown.

[0096] Construct a No.2 anchorage with a water depth of 3 nautical miles x 3 nautical miles and a depth of 20 to 39.99 meters. Figure 3 shown.

[0097] Step S3: Mark the obstacle information that cannot be anchored collected or obtained by the ship's AIS equipment or radar and the two-dimensional coordinates of the existing anchored ship as , whose coordinate set is .

[0098] Step S4: Construct the anchor point conversion model shown in formula (3) to convert the two-dimensional coordinates of the anchorage obstacle in step S3 into the anchor point of the existing anchored ship , whose coordinate set is recorded as ;

[0099] (3)

[0100] In formula (3), It indicates the distance between the anchor point of the existing anchored ship and the point actually recorded by the ship. ≈Ship length + ship anchor chain length; represents the angle between the bow direction and the horizontal coordinate in the coordinate system; is the anchorage point of the existing ships in the anchorage obtained by calculation, and its coordinate set is recorded as S c .point is the two-dimensional coordinate of the existing ship recorded in step S3.

[0101] Step S5: Set the safety radius with the two-dimensional coordinates of the anchorage obstacle in step S4 as the center of the circle The restricted waters of According to the actual situation of the risk, Set to 3 levels: 0.5 nautical miles, 1 nautical mile, and 2 nautical miles.

[0102] Step S6: construct the safety spacing model shown in formula (4);

[0103] (4)

[0104] In formula (4), Indicates the value of safe distance between ships; and Respectively represent the captains of the existing anchored vessels and the vessels waiting to be anchored; and Respectively represent the mooring chain length of the existing anchored ship and the ship to be moored (m); and The radius of the anchorage circle of the existing anchored ships and the ships to be anchored (m); They represent the ship type coefficients of the existing anchored ships and the ships to be anchored respectively; When the ship is an ordinary cargo ship, the lower limit is taken; when the ship is an oil, liquefied gas or chemical tanker, the upper limit is taken.

[0105] Step S7: Import the relevant information such as the length of the existing ship and the length of the anchor chain into the safety spacing model shown in formula (4) to calculate the radius of the anchor circle of the existing anchored ship. The static information related to the ship used in this simulation experiment is shown in Table 1.

[0106] Table 1-Ship type parameters selected for simulation experiment (m)

[0107]

[0108] According to the ship parameters in Table 1, the anchorage area detection test was carried out in the Matlab program. The existing ships and ships to be moored in the anchorage are all the above four types of ships, and the existing ship spacing in the anchorage meets the safety spacing requirements for anchored ships. The water depths of the anchorage are 0-19.99m and 20-39.99m respectively.

[0109] Step S8: Based on steps S6 and S7, the safe distance value of the ship to be moored is calculated according to the safe distance model. ,The experimental data includes two categories and a total of 4 groups, as shown in Tables 2-5.

[0110] Table 2-Safety distance data for ships in water depth of 19.99m and wind force ≤ 7 (m)

[0111] Serial number Captain of ship 1 Chain length Safety radius Boat 2 Captain Chain length Safety radius Safety distance 1 135 150 285 185 150 335 687 2 135 150 285 346 150 496 781 3 135 150 285 160 150 310 657 4 185 150 335 346 150 496 898 5 346 150 496 160 150 310 868 6 185 150 335 160 150 310 774

[0112] Table 3-Safety distance data for ships in water depth of 19.99m and wind force > 7 (m)

[0113]

[0114] Table 4-Safety distance data for ships in water depth of 39.99m and wind force ≤ 7 (m)

[0115]

[0116] Table 5-Safety distance data for ships in water depth of 39.99m and wind force > 7 (m)

[0117]

[0118] Step S9: Randomly generate using Monte Carlo random algorithm 2D coordinates , whose coordinate set is recorded as , used to simulate the selection of anchoring sites for ships to be moored. This simulation experiment randomly generates 5000 random points, as shown in the schematic diagram Figure 4 shown.

[0119] Step S10: construct the anchoring area detection model of the anchored ship shown in formula (6):

[0120] (6)

[0121] In formula (6), Indicates the actual distance between ships; express The minimum value of Indicates the position of existing ships or other objects that hinder anchoring operations in the anchorage corresponding to the plane rectangular coordinate system; point ( The safe distance between anchored ships anchor point.

[0122] Step S11: Using the anchoring area detection model of the anchored ship shown in equation (6) of step S10, the coordinate set of step S3 is and the coordinate set of step S9 Perform calculations one by one to obtain the two-dimensional coordinates of the anchoring point of the ship to be moored that meets the ship safety distance value D in step S8 , whose coordinate set is , its schematic diagram is as follows Figure 5 As shown, Figure 5 In the figure, pink represents the anchor points that meet the two-dimensional safety distance.

[0123] Step S12: constructing a draft detection model for the ship to be moored as shown in formula (7):

[0124] (7)

[0125] In formula (7), Indicates the safe anchoring depth required for the ship to be moored; Indicates the ship's draft when at anchor; It represents the reference coefficient, which is 1.2 when there is no surge or good shielding, and 1.5 when there is surge or poor shielding; Indicates the excess depth of waves; Represents the simulated draft of the ship to be moored. The relevant parameters of the simulation experiment ship are shown in Table 6.

[0126] Table 6-Simulation experiment ship parameters (m)

[0127] Vessel Name Ship Type Theoretical full load draft of the ship Theoretical ballast draft of the ship Shielding factor Wave excess water depth Actual full load water depth Actual ballast water depth Ship 1 General cargo ship 8.5 4.3 1.5 1.7 14.5 8.2 Boat 2 tanker 12 6 1.5 2.4 20.4 11.4 Ship 3 Chemical tanker 9.8 4.9 1.5 2.0 16.7 9.4 Ship 4 container ship 14.5 7.3 1.5 2.9 24.7 13.9

[0128] To increase the safety of anchorage selection, the shielding factor Taking the upper limit value helps to fully consider the potential safety hazards caused by poor shielding, ship pitching, surge and other adverse conditions in subsequent simulation tests. The wave surplus depth is based on the British "Marine Engineering Structures" and is 20% of the maximum draft of the ship.

[0129] Step S13:

[0130] Step S1301: Set the initial state: Draw an anchor circle with the anchor point in as the center and the anchor radius as the radius;

[0131] Step S1302: Determine the loop condition: within the anchor circle, from the origin Solstice Perform traversal operations in sequence;

[0132] Step S1303: Simulation operation: Starting from the starting point, traverse the path from top to bottom and from left to right with a step length of 1m. Figure 6As shown, the result of the traversal operation is checked with the model water depth value shown in formula (7). If all the points traversed in this anchor circle meet the water depth requirements, then the anchor point is the anchor point to be moored that meets the two-dimensional plane and three-dimensional water depth requirements. If any point in the water depth verification result is found to not meet the water depth restriction condition during the traversal process, the water depth detection in the anchor circle where the center of the anchor point is located is skipped, and the point does not meet the requirements of the anchor point to be moored that meets the two-dimensional plane and three-dimensional water depth requirements, and the point is removed. Finally, all the center points of the two-dimensional plane anchor circle that meet the requirements of the two-dimensional plane and three-dimensional water depth are traversed to obtain the anchor point to be moored that meets the two-dimensional plane and three-dimensional water depth requirements.

[0133] Step S1304: Dataset optimization: Traversing all points will inevitably result in a large number of repeated operations and operations that reduce efficiency. Therefore, the traversal operation is combined with the data set optimization algorithm. Specifically, after the first traversal, a data dimension is added to the water depth verification result of the traversed point to indicate whether the water depth meets the requirements. Indicates that the safety depth limit is met. It means that the safety depth limit cannot be met. Represents the traversal point, and includes the data that meets the water depth verification operation into the collection In the second traversal, the traversal point coordinates are compared with Compare the data points in the set. If there is such a data point, directly obtain the water depth verification data. Points without data will have their data values ​​added to the set after depth verification. In the middle; by traversing the path from top to bottom and from left to right at a certain step interval, the traversal result is checked with the draft and water depth of the ship to be moored, and the anchor point of the ship to be moored that meets the requirements of the two-dimensional plane and three-dimensional water depth is obtained. The point set is recorded as The step size of this simulation experiment can be any value between 0.1 and 10m, that is, to ensure accuracy, it can be reduced to 0.5m, 0.1m or even smaller, but the amount of calculation will be greater.

[0134] For step S1304, if The anchor point in the circle is the center of the circle and the anchor radius is the radius of the anchor circle. Solstice The traversal operation was performed sequentially, and the traversal time was 20.6s. When the data set optimization algorithm was combined during the traversal, the traversal time was only 6.5s. Therefore, it can be seen that combining the data set optimization algorithm during the traversal can greatly improve the operation efficiency, thereby optimizing a large number of repeated operations in the 3D anchor detection algorithm, and reducing the amount of operation in the water depth detection part of the anchor detection process by at least 60%, significantly improving the efficiency of the 3D anchor detection algorithm, and helping to assist ships to anchor in a timely and rapid manner.

[0135] Step S14: Determine The coordinate points inside are the points inside the anchor circle drawn by the center of the circle, and will not be in the point set The set of points inside is denoted as , whose coordinates are ( .

[0136] Step S15: construct the anchor point conversion model shown in formula (9):

[0137] (9)

[0138] In formula (9), It indicates the distance between the anchor point of the ship to be anchored and the point actually recorded by the ship. ≈1.5×(ship length + ship anchor chain length); It is approximately expressed as the angle between the wind flow resultant force and the horizontal coordinate in the coordinate system; is the set in step S14 Anchor point within is the anchor point that meets the safety spacing and water depth limit obtained by calculation. The point set is recorded as .

[0139] Step S16: Draw the anchor points of each reference ship that meet the safety distance and the water depth limit through simulation. Figures 7 to 14 As shown, Figures 7-10 The simulation results of anchoring points that meet the conditions for general cargo ships, oil tankers, chemical tankers and container ships at the No.1 anchorage are shown in the figure below. Figures 11 to 14 The simulation results of anchoring points that meet the conditions for general cargo ships, oil tankers, chemical tankers and container ships in the NO.2 anchorage are shown in the figure below. Figures 7 to 14 In the figure, the purple point represents the anchor point that meets the two-dimensional conditions and the water depth limit in the ballast state, the yellow point represents the anchor point that meets the water depth limit in the full load state based on the purple point, and the green point is the anchor point generated in the anchor circle based on the yellow point and the water depth meets the requirements. Figures 7 to 14 It can be seen that the method of the present invention combines the Monte-Carlo random plane anchor detection algorithm, the traversal algorithm and the data set optimization algorithm to achieve more efficient three-dimensional detection of the ship anchor position through the water depth limit on the basis of satisfying the two-dimensional safety spacing limit. The three-dimensional anchor intelligent detection technology considering the water depth condition will undoubtedly make the actual anchoring operation safer. In practical application, the algorithm can be arranged on ship-related equipment to assist the ship in anchoring. Fig.10 It can be seen that there is no anchorage point that meets the water depth requirements for container ships in the 0-19.99m anchorage.

[0140] Step S17: Send the result of step S16 to the electronic nautical chart or other related equipment to facilitate the ship to be moored to carry out anchoring operations at this location; the ship to be moored selects a suitable anchoring point or ship position for anchoring operations according to actual needs.

[0141] Embodiment 2:

[0142] A computer-readable storage medium is also provided, which stores a computer program that can be executed by a processor. When the computer program is executed by the processor, it runs at least one step of the aforementioned 3D anchor detection method based on the traversal algorithm and the data set optimization algorithm, and can achieve the same technical effect. To avoid repetition, this embodiment will not be described again.

[0143] Embodiment 3:

[0144] A computer device, comprising a memory, a processor, a communication interface and a communication bus; wherein the memory, the processor and the communication interface communicate with each other via the communication bus; the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, and when the processor executes the computer program, at least one step of the aforementioned 3D anchor detection method based on the traversal algorithm and the data set optimization algorithm is implemented, and the same technical effect can be achieved. To avoid repetition, this embodiment will not be described in detail.

[0145] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PR AM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0146] The conventional techniques in the above embodiments are prior arts known to those skilled in the art, and thus will not be described in detail here.

[0147] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.

[0148] Although the present invention has been described in detail and some specific embodiments have been cited, it is obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the present invention.

[0149] Although the above-mentioned specific embodiments have been shown, described and pointed out the novel features applied to various embodiments, it should be understood that various omissions, substitutions and changes can be made to the form and details of the described device or method without departing from the spirit of the present disclosure. In addition, the above-mentioned various features and methods can be used independently of each other, or can be combined in various ways. All possible combinations and sub-combinations are intended to fall within the scope of the present disclosure. Many of the above-mentioned embodiments include similar components, and therefore, these similar components are interchangeable in different embodiments. Although the present invention has been disclosed in the context of certain embodiments and examples, it should be understood by those skilled in the art that the present invention can extend beyond the specifically disclosed embodiments to other alternative embodiments and / or applications and obvious modifications and equivalents thereof. Therefore, the present invention is not intended to be limited by the specific disclosure of the preferred embodiments herein.

[0150] Matters not covered in the present invention are all known technologies.

Claims

1. A 3D anchor detection method based on a traversal algorithm and a data set optimization algorithm, characterized in that: include: Step 1: Obtain the three-dimensional coordinates of each point on the bottom of the anchorage , whose coordinate set is recorded as ; and Represents the coordinates of each point on the anchorage water surface in a two-dimensional rectangular coordinate system. Indicates water surface points Depth of water; Step 2: Obtain the 2D coordinates of the anchorage obstacle , whose coordinate set is recorded as ; Step 3: Construct the anchor point conversion model shown in formula (3) to convert the two-dimensional coordinates of the anchorage obstacle in step 2 into the anchor point of the existing anchored ship. , whose coordinate set is recorded as ; (3) In formula (3), It indicates the distance between the anchor point of the existing anchored ship and the point actually recorded by the ship. ≈Ship length + ship anchor chain length; It represents the angle between the bow direction and the abscissa in the coordinate system; Step 4: Set the safety radius with the two-dimensional coordinates of the anchorage obstacle in step 3 as the center of the circle. The restricted waters of ; and construct the safety spacing model shown in formula (4); (4) In formula (4), Indicates the value of safe distance between ships; and Respectively represent the captains of the existing anchored vessels and the vessels waiting to be anchored; and Respectively represent the mooring chain lengths of the existing anchored ships and the ships to be moored; and The radius of the anchorage circle for existing anchored ships and ships to be anchored; They represent the ship type coefficients of the existing anchored ships and the ships to be anchored respectively; Step 5: Import the relevant information of the length of the existing anchored ship and the anchor chain length into the safety spacing model shown in formula (4) to calculate the anchor circle radius of the existing anchored ship and the safety spacing value of the ship to be anchored ; Step 6: Generate random numbers using the Monte Carlo random algorithm 2D coordinates , whose coordinate set is recorded as , used to simulate the selection of anchoring sites for ships to be moored; Step 7: Construct the anchoring area detection model of the anchored ship shown in formula (6): (6) In formula (6), Indicates the actual distance between ships; express The minimum value of Indicates the position of existing ships or other objects that hinder anchoring operations in the anchorage corresponding to the plane rectangular coordinate system; point ( It is the value of the safe distance between anchored ships The anchor point of Step 8: Using the anchoring area detection model of anchored ships shown in formula (6), the coordinate set and Perform calculations one by one to obtain the two-dimensional coordinates of the anchor point to be moored that meets the ship safety spacing value in step 5 , whose coordinate set is ; Step 9: Construct the draft detection model of the ship to be moored as shown in formula (7): (7) In formula (7), Indicates the safe anchoring depth required for the ship to be moored; Indicates the ship's draft when at anchor; represents the reference coefficient; Indicates the excess depth of waves; Indicates the simulated draft of the ship to be moored; Step 10: Draw an anchor circle with the anchor point in the center and the anchor radius as the radius. Within the anchor circle, the origin Solstice Perform traversal operations in sequence, combine traversal operations with data set optimization algorithms, start from the starting point, and after the first traversal, add a data dimension to the water depth verification result of the traversal point to indicate whether the water depth meets the requirements. Indicates that the safety depth limit is met. It means that the safety depth limit cannot be met. Represents the traversal point, and includes the data that meets the water depth verification operation into the collection ; In the second traversal, the traversal point coordinates and Compare the data points in the set. If there is such a data point, directly obtain the water depth verification data. Points without data will have their data values ​​added to the set after depth verification. In the middle; by traversing the path from top to bottom and from left to right at a certain step interval, the traversal result is checked with the draft and water depth of the ship to be moored, and the anchor point of the ship to be moored that meets the requirements of the two-dimensional plane and three-dimensional water depth is obtained. The point set is recorded as ,judge The points in the anchor circle with the coordinate point inside as the center will not be in the point set The set of points inside is denoted as , and label the coordinates as ( ; Step 11: Construct the anchor point conversion model shown in formula (9): (9) In formula (9), It indicates the distance between the anchor point of the ship to be anchored and the point actually recorded by the ship. ≈1.5×(ship length + ship anchor chain length); It is approximately expressed as the angle between the wind flow resultant force and the horizontal coordinate in the coordinate system; It is the set in step 10 Anchor point within is the anchor point that meets the safety spacing and water depth limit obtained by calculation. The point set is recorded as .

2. The method according to claim 1, characterized in that: If all points traversed within the anchor circle of the anchor point meet the water depth requirement, then the anchor point is an anchor point for a ship to be moored that meets the two-dimensional plane and three-dimensional water depth requirements; If during the traversal process, it is found in the water depth verification result that any point in the anchor circle at the anchor point does not meet the water depth restriction condition, the water depth detection within the anchor circle is skipped, the anchor point does not meet the requirements of the anchor point for the ship to be berthed that meets the two-dimensional plane and three-dimensional water depth requirements, and the anchor point is eliminated.

3. The method according to claim 1, characterized in that: In step 2, the anchorage obstacles include obstacles that cannot be moored and existing anchored ships.

4. The method according to claim 1, characterized in that: In step 4, Set to 0.5 NM, 1 NM or 2 NM.

5. The method according to claim 1, characterized in that: In step 4, When the ship is an ordinary cargo ship, the lower limit is taken; when the ship is an oil, liquefied gas or chemical tanker, the upper limit is taken.

6. The method according to claim 1, characterized in that: In step 9, the reference coefficient When there is no surge or the shielding is good, take 1.2; when there is surge or the shielding is poor, take 1.

5.

7. A computer device, comprising a memory, a processor, a communication interface and a communication bus; wherein: The memory, processor, and communication interface communicate with each other via the communication bus; the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, and is characterized in that: when the processor executes the computer program, it implements the 3D anchor detection method based on the traversal algorithm and the data set optimization algorithm as described in any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the 3D anchor detection method based on the traversal algorithm and the data set optimization algorithm according to any one of claims 1 to 6 is implemented.