Ship collision avoidance method, device and equipment and storage medium
By calculating the collision risk value and encounter type of the ship, a control strategy is formulated, which solves the problem of insufficient accuracy in ship collision avoidance in the existing technology, improves navigation safety, and reduces collision accidents at sea.
Patent Information
- Application Number
- CN202410556510.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology cannot accurately assess the risk of ship collision, resulting in the inability to effectively control ships to avoid collision and increasing the risk of maritime traffic accidents.
By obtaining the driving parameters of the own ship and the target ship, the collision risk value is calculated, and the ship control strategy is formulated based on the risk value and encounter type to realize the collision avoidance operation of the own ship. The method includes obtaining collision factors, constructing membership functions, calculating collision risk values, analyzing encounter types and formulating avoidance actions to avoid collisions.
It achieves accurate assessment and classification of ship collision risks, provides more specific collision avoidance strategies, improves navigation safety, and reduces the occurrence of collision accidents at sea.
Smart Images

Figure CN118538059A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ship navigation technology, and in particular to a ship collision avoidance method, device, equipment and storage medium. Background Art
[0002] Ship collision is the most common type of accident in water transportation, and the main cause of the accident is the lack of collision risk awareness among ship drivers. Ship collision accidents dominate various maritime traffic accidents and have serious consequences. The International Maritime Organization has been committed to the research of unmanned ships and unmanned surface vessels. In order to reduce maritime collision accidents and improve navigation safety, it is necessary to develop smarter and safer collision avoidance decision methods or collision avoidance decision systems. Summary of the invention
[0003] The main purpose of the present invention is to provide a ship collision avoidance method, device, equipment and storage medium, aiming to solve the technical problem that the existing technology is not accurate enough in assessing the risk of ship collision and cannot more comprehensively control the ship to avoid collision in the encounter state.
[0004] To achieve the above object, the present invention provides a ship collision avoidance method, the method comprising the following steps: Obtain the own ship's driving parameters and the target ship's driving parameters; Obtaining a collision risk value according to the own ship driving parameters and the target ship driving parameters; Analyzing the encounter situation of the two ships based on the collision risk value to obtain the encounter type; A ship control strategy is obtained according to the encounter type, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
[0005] Optionally, obtaining the collision risk value according to the own ship driving parameter and the target ship driving parameter includes: Obtaining a collision factor according to the own ship driving parameter and the target ship driving parameter; The membership value of each collision factor is obtained according to the membership function of each collision factor; The collision risk value is obtained according to the membership value of each collision factor.
[0006] Optionally, before obtaining the membership value of each collision factor according to the membership function of each collision factor, the method further includes: The membership domain is obtained according to the numerical variation range of each collision factor; Determining a fuzzified state based on the membership domain; Determine the shape of the membership function based on the data characteristics of each collision factor; A membership function is constructed according to the membership domain, the fuzzified state and the membership function shape.
[0007] Optionally, obtaining the collision risk value according to the membership value of each collision factor includes: Get the preset weights of each collision factor; Multiplying the preset weight by the collision risk value to obtain the weight of each collision factor; The collision risk value is obtained by adding the weights of each collision factor.
[0008] Optionally, analyzing the encounter situation of two ships based on the collision risk value to obtain the encounter type includes: Determine whether the ship has a collision risk according to the collision risk value; When there is no risk of collision, no analysis of the encounter between the two ships will be conducted; When there is a collision risk, the encounter type is obtained according to the relative position and relative heading of the own ship and the target ship, and the encounter type includes safe encounter, relative encounter, overtaking encounter and crossing encounter.
[0009] Optionally, obtaining a ship control strategy according to the encounter type, and controlling the own ship to avoid collision with the own ship based on the ship control strategy, includes: When the encounter type is the first encounter type, analyzing the encounter type to obtain the own-ship avoidance responsibility; Obtaining avoidance action based on the own ship avoidance responsibility according to the relative position and the relative heading; A ship control strategy is obtained based on the avoidance action, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
[0010] Optionally, obtaining a ship control strategy according to the encounter type, and controlling the self-ship to travel based on the ship control strategy to avoid collision with the self-ship, further includes: When the encounter type is the second encounter type, analyzing the encounter type to obtain the own-ship avoidance responsibility; Based on the own ship avoidance responsibility, an avoidance action is obtained according to the relative position, the relative heading, the own ship speed and the target ship speed; A ship control strategy is obtained based on the avoidance action, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
[0011] In addition, in order to achieve the above-mentioned purpose, the present invention also proposes a ship collision avoidance device, the ship collision avoidance device comprising: A parameter acquisition module is used to obtain the driving parameters of the own ship and the target ship; An encounter analysis module, used for obtaining a collision risk value according to the own ship driving parameters and the target ship driving parameters; The encounter analysis module is further used to analyze the encounter situation of the two ships based on the collision risk value to obtain the encounter type; The collision avoidance control module is used to obtain a ship control strategy according to the encounter type, and control the travel of the own ship based on the ship control strategy to avoid collision with the own ship.
[0012] In addition, to achieve the above-mentioned purpose, the present invention also proposes a ship collision avoidance device, which includes: a memory, a processor, and a ship collision avoidance program stored in the memory and executable on the processor, and the ship collision avoidance program is configured to implement the steps of the ship collision avoidance method described above.
[0013] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a ship collision avoidance program is stored, and when the ship collision avoidance program is executed by a processor, the steps of the ship collision avoidance method described above are implemented.
[0014] The present invention analyzes the risk value of the collision between the own ship and the target ship through the driving parameters of the own ship and the surrounding target ships, and digitizes the collision risk and possibility according to the risk value, so as to more clearly evaluate the collision risk, and classify the encounter type of the own ship and the target ship more specifically based on the risk degree, analyze the encounter type and avoidance responsibility of the two ships and further adjust the driving parameters of the own ship, more comprehensively analyze the different types of encounter types of the two ships and provide more accurate and effective collision avoidance strategies to avoid collision between the own ship and the target ship. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a structural schematic diagram of a ship collision avoidance device in a hardware operating environment involved in an embodiment of the present invention; Figure 2 It is a schematic flow chart of the first embodiment of the ship collision avoidance method of the present invention; Figure 3 A schematic diagram of the relative positions of the own ship and the target ship in an embodiment of a method for avoiding collision between ships of the present invention; Figure 4 A schematic diagram of the relative headings of the own ship and the target ship in an embodiment of a method for avoiding collision between ships of the present invention; Figure 5 It is a schematic flow chart of a second embodiment of the ship collision avoidance method of the present invention; Figure 6 It is a structural block diagram of the first embodiment of the ship collision avoidance device of the present invention.
[0016] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0017] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0018] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a ship collision avoidance device in the hardware operating environment involved in the embodiment of the present invention.
[0019] like Figure 1 As shown, the ship collision avoidance device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0020] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the ship collision avoidance equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0021] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a ship collision avoidance program.
[0022] exist Figure 1 In the ship collision avoidance device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the ship collision avoidance device of the present invention can be set in the ship collision avoidance device, and the ship collision avoidance device calls the ship collision avoidance program stored in the memory 1005 through the processor 1001, and executes the ship collision avoidance method provided by the embodiment of the present invention.
[0023] The embodiment of the present invention provides a ship collision avoidance method, referring to Figure 2 , Figure 2 It is a schematic flow chart of the first embodiment of the ship collision avoidance method of the present invention.
[0024] In this embodiment, the ship collision avoidance method comprises the following steps: Step S10: Obtain the own ship's driving parameters and the target ship's driving parameters.
[0025] It is understandable that the categories of the own ship driving parameters and the target ship driving parameters are the same, the difference is that one is the own ship and the other is the target ship.
[0026] It should be understood that the own ship driving parameters and the target ship driving parameters may include driving speed, driving direction, etc.
[0027] It should be noted that the executor of this embodiment is a ship collision avoidance device, wherein the ship collision avoidance device has functions such as data processing, data communication and program running. The ship collision avoidance device can be an integrated controller, a control computer and other devices, and of course it can also be other devices with similar functions, and this embodiment does not limit this.
[0028] Step S20: Obtaining a collision risk value according to the own ship driving parameters and the target ship driving parameters.
[0029] It can be understood that the collision risk value is a numerical evaluation value calculated based on the own ship driving parameters and the target ship driving parameters to determine whether the own ship and the target ship will collide.
[0030] It should be understood that the collision risk value may be within a certain range, such as 0-1 or 0-5 or 0-100, etc., and may be adjusted according to actual conditions, and this embodiment does not limit this.
[0031] Step S30: Analyze the encounter situation of the two ships based on the collision risk value to obtain the encounter type.
[0032] It is understandable that as the ego ship continues to travel, the travel parameters of the ego ship and the target ship are constantly changing, and the encounter situation analysis is performed based on the real-time collision risk values of the ego ship and the target ship.
[0033] It should be understood that when the risk value is constantly changing, a risk threshold for possible collision can be set in advance. When the risk value calculated for the own ship and the target ship is higher than the risk threshold, the encounter situation of the two ships can be analyzed. When the risk value of the own ship and the target ship is lower than or equal to the risk threshold, the encounter situation analysis can be skipped to reduce the amount of data calculation and improve the data processing speed.
[0034] It should be noted that the analysis of the encounter situation of the two ships based on the collision risk value to obtain the encounter type includes: judging whether there is a collision risk for the own ship according to the collision risk value; when there is no collision risk, no analysis of the encounter situation of the two ships is performed; when there is a collision risk, obtaining the encounter type according to the relative position and relative heading of the own ship and the target ship, and the encounter types include safe encounter, relative encounter, overtaking encounter and crossing encounter.
[0035] Among them, it should be understood that the division of ship encounter situations is very necessary for analyzing the avoidance responsibilities of the two ships and judging the navigation conditions of the ship. When two ships see each other and both ships are motor vessels, the "International Regulations for Preventing Collisions at Sea 1972" mainly divides the encounter situations of the two ships into three types: overtaking, encountering, and crossing encounters. The judgment of the ship encounter situation is the key to analyzing the encounter situation of the two ships and dividing the responsibility for avoiding collisions of the ships. Its correct division is directly related to the subsequent choice of ship avoidance behavior. Therefore, it is very important to establish an encounter situation model that conforms to the actual situation at sea. In order to improve the identification model and make it meet the actual navigation as much as possible, the present invention, in view of the shortcomings of the traditional identification model, constructs a ship encounter situation identification model that takes into account the relative orientation and relative heading of the ships. The ship encounter situation identification model divides the encounter types into safe encounters, relative encounters, overtaking encounters, and crossing encounters.
[0036] It should be noted that the process of determining the encounter type based on the relative position and relative heading of the own ship and the target ship can be referred to Figure 3 and Figure 4 , Figure 3 Division of the encounter situation area. In the figure, the ship's sailing direction is directly ahead, and P1-P6 are the encounter areas; Figure 4 The ship in the middle is the ship itself, and the circles around it are target ships approaching from different directions around the ship.
[0037] Among them, it should be emphasized that SF, CR1, CR2, OT1, OT2, and HO represent different types of encounters between two ships in different areas. The meanings of different types of encounters can be referred to Table 1 below:
[0038] Step S40: obtaining a ship control strategy according to the encounter type, and controlling the own ship to avoid collision with the own ship based on the ship control strategy.
[0039] It is understandable that the ship control strategy may be to control the travel direction of the own ship without changing or adjusting the travel speed of the own ship.
[0040] It should be noted that the ship control strategy is obtained according to the encounter type, and the self-ship driving is controlled based on the ship control strategy to avoid collision with the self-ship, including: when the encounter type is the first encounter type, the encounter type is analyzed to obtain the avoidance responsibility of the self-ship; based on the avoidance responsibility of the self-ship, an avoidance action is obtained according to the relative position and the relative heading; based on the avoidance action, the ship control strategy is obtained, and the self-ship driving is controlled based on the ship control strategy to avoid collision with the self-ship.
[0041] It is understandable that the first meeting type may be three meeting types: HO meeting type, CR1 and CR2.
[0042] Among them, it should be noted that when two ships meet, it is necessary to judge the avoidance responsibility, which can avoid the two ships avoiding at the same time, resulting in a more dangerous situation and accelerating the occurrence of a collision between the two ships; judging the avoidance rules is a prerequisite for self-ship control.
[0043] Among them, it is understandable that the avoidance rules may include equality, give way, direct flight, etc.
[0044] Among them, it should be emphasized that according to the relative position Q of the two ships R (angle range: -π~+π) and relative heading C R (Angle range: -π~+π), and considering the speeds of the two ships in the overtaking situation, the specific angle division of each encounter situation and the avoidance responsibility and avoidance action of the ship in different situations are shown in the figure.
[0045] In the specific implementation, based on the first encounter type, the specific content of the avoidance action obtained by the self-ship avoidance responsibility according to the relative position and the relative heading can be referred to the following Table 2:
[0046] It should be further explained that the ship control strategy is obtained according to the encounter type, and the self-ship driving is controlled based on the ship control strategy to avoid collision with the self-ship, and also includes: when the encounter type is the second encounter type, the encounter type is analyzed to obtain the self-ship avoidance responsibility; based on the self-ship avoidance responsibility, the avoidance action is obtained according to the relative position, the relative heading, the self-ship speed and the target ship speed; based on the avoidance action, the ship control strategy is obtained, and the self-ship driving is controlled based on the ship control strategy to avoid collision with the self-ship.
[0047] Among them, it is understandable that the second encounter type can be OT1 and OT2. What needs to be explained separately is that SF means that the own ship and the target ship are in a safe state at this time, and the two ships can travel normally without performing other own ship control operations.
[0048] In the specific implementation, based on the first encounter type, the specific content of the avoidance action obtained by the self-ship avoidance responsibility according to the relative position and the relative heading can be referred to the following Table 3:
[0049] This embodiment analyzes the risk value of collision between the own ship and the target ship through the driving parameters of the own ship and the surrounding target ships, and digitizes the collision risk and possibility according to the risk value, so as to more clearly evaluate the collision risk, and classify the encounter type of the own ship and the target ship more specifically based on the risk degree, analyze the encounter type and avoidance responsibility of the two ships, and further adjust the driving parameters of the own ship, more comprehensively analyze the different types of encounters between the two ships and provide more accurate and effective collision avoidance strategies to avoid collisions between the own ship and the target ship.
[0050] refer to Figure 5 , Figure 5 It is a flow chart of the second embodiment of the ship collision avoidance method of the present invention.
[0051] Based on the first embodiment described above, the ship collision avoidance method of this embodiment includes, in step S20: Step S21: Obtaining a collision factor according to the own ship driving parameters and the target ship driving parameters.
[0052] It is understandable that the collision factor may be the closest encounter point distance, closest encounter time, relative distance, relative orientation, and ship speed ratio between the own ship and the target ship.
[0053] It should be noted that the closest encounter point distance, closest encounter time, relative distance, relative orientation and ship speed ratio between the own ship and the target ship can be calculated according to the own ship's driving parameters and the target ship's driving parameters, and the collision risk value can be calculated based on the closest encounter point distance, closest encounter time, relative distance, relative orientation and ship speed ratio.
[0054] It should be emphasized that the distance to the closest meeting point and the closest meeting time can be converted into a mathematical problem of moving point meeting according to the own ship's speed, the own ship's direction, the target ship's speed and the target ship's direction, and then solved to obtain the result.
[0055] In the specific implementation, the navigation parameters of the two ships are collected, including their respective headings, speeds, current positions (latitude and longitude) and expected navigation trajectories. Based on the headings and speeds of the two ships, the relative speed and relative orientation between them are calculated. This usually involves vector operations, subtracting the velocity vectors of the two ships to obtain the relative velocity vector, and using the current positions and speeds of the two ships to predict their positions at a certain point in the future. This can be achieved through linear extrapolation or more complex motion models, by analyzing the trajectory of the relative motion of the two ships to determine the closest meeting point between them.
[0056] Step S22: Obtaining the membership value of each collision factor according to the membership function of each collision factor.
[0057] It should be understood that the membership function is an important concept in fuzzy mathematics. Specifically, if for any element x in the domain (scope of study) U, there is a number A(x)∈[0,1] corresponding to it, then A is called a fuzzy set on U, and A(x) is called the membership of x to A. When x changes in U, A(x) is a function, called the membership function of A. This function uses a numerical value in the interval (0,1) to represent the degree to which x belongs to A: the closer the membership A(x) is to 1, the higher the degree to which x belongs to A; the closer A(x) is to 0, the lower the degree to which x belongs to A.
[0058] It should be noted that obtaining the membership value of each collision factor according to the membership function of each collision factor may be inputting the numerical value of the collision factor into the membership function, and the membership function maps the collision factor to a pre-constructed data set to obtain the membership value.
[0059] It should be understood that the membership function plays a vital role in fuzzy set theory, which can map any element x in the domain (scope of study) U to a value between 0 and 1, which represents the degree of membership of the element x to the fuzzy set A. Therefore, it can be said that the membership function is a mapping function.
[0060] In a specific implementation, a membership function of each collision factor is constructed, and the membership value of the collision factor is obtained according to the membership function. Then, a fuzzy analysis is performed according to the membership values of each collision factor to obtain a collision risk value.
[0061] It should be noted that before obtaining the membership value of each collision factor according to the membership function of each collision factor, it also includes: obtaining the membership domain according to the numerical variation range of each collision factor; determining the fuzzification state based on the membership domain; determining the shape of the membership function based on the data characteristics of each collision factor; and constructing the membership function according to the membership domain, the fuzzification state and the shape of the membership function.
[0062] Among them, it can be understood that the domain of membership can be a range consisting of the preset maximum and minimum values of each collision factor. The fuzzy state can be understood as dividing the maximum and minimum values into multiple parts according to preset rules, such as the maximum relative distance 200 and the minimum relative distance 50, and dividing 50-200 into 3 fuzzy states, namely low relative distance, medium relative distance and high relative distance. The specific division can be an average division or a division according to a preset division method. This application does not limit this and can be adjusted according to actual conditions.
[0063] Among them, it should be understood that constructing a membership function is a key step in fuzzy logic and fuzzy set theory. It can be based on the variation range of the value of each collision factor (maximum relative distance and minimum relative distance); determine the fuzzification language and its number (for example, the maximum relative distance and the minimum relative distance obtain a relative distance range, and divide the relative distance range into three levels, such as "small", "medium", "large", etc.); according to the characteristics and requirements of the constructed membership function, select an appropriate membership function shape, such as a triangle, trapezoid, Gaussian, etc.; determine the parameters of the membership function, such as the starting point, end point, slope, etc., so that the function can correctly describe the degree of membership of the input variable to the fuzzy set.
[0064] Step S23: Obtaining a collision risk value according to the membership value of each collision factor.
[0065] It is understandable that the collision risk value is an assessment of whether two ships will collide. Different factors have different impacts on the collision assessment. Weights can be set in advance for each collision factor according to the degree of impact. The collision risk value is calculated based on the preset weights of each collision factor and the membership function.
[0066] It should be noted that the collision risk value is obtained according to the membership value of each collision factor, including: obtaining the preset weight of each collision factor; multiplying the preset weight by the collision risk value to obtain the weight of each collision factor; and adding the weights of each collision factor to obtain the collision risk value.
[0067] This embodiment uses fuzzy reasoning to take the closest encounter distance, closest encounter time, distance, relative direction, and ship speed ratio of the two encountering ships as basic evaluation factors, establishes the membership function value of each evaluation factor, and obtains the collision risk values of the two ships in different encounter scenarios through the weighted summation method. The risk value is quantified, which can better measure the collision risk degree of the two ships, so that collision avoidance control can be quickly performed for encounter situations with higher risks.
[0068] Reference Figure 6 , Figure 6 It is a structural block diagram of the first embodiment of the ship collision avoidance device of the present invention.
[0069] like Figure 6 As shown, the ship collision avoidance device proposed in the embodiment of the present invention includes: The parameter acquisition module 10 is used to acquire the own ship driving parameters and the target ship driving parameters; An encounter analysis module 20, configured to obtain a collision risk value according to the own ship driving parameters and the target ship driving parameters; The encounter analysis module 20 is further used to analyze the encounter situation of the two ships based on the collision risk value to obtain the encounter type; The collision avoidance control module 30 is used to obtain a ship control strategy according to the encounter type, and control the travel of the own ship based on the ship control strategy to avoid collision with the own ship.
[0070] This embodiment analyzes the risk value of collision between the own ship and the target ship through the driving parameters of the own ship and the surrounding target ships, and digitizes the collision risk and possibility according to the risk value, so as to more clearly evaluate the collision risk, and classify the encounter type of the own ship and the target ship more specifically based on the risk degree, analyze the encounter type and avoidance responsibility of the two ships, and further adjust the driving parameters of the own ship, more comprehensively analyze the different types of encounters between the two ships and provide more accurate and effective collision avoidance strategies to avoid collisions between the own ship and the target ship.
[0071] In one embodiment, the encounter analysis module 20 is further used to obtain a collision factor according to the own ship driving parameters and the target ship driving parameters; The membership value of each collision factor is obtained according to the membership function of each collision factor; The collision risk value is obtained according to the membership value of each collision factor.
[0072] In one embodiment, the encounter analysis module 20 is further used to obtain a membership domain according to the value variation range of each collision factor; Determining a fuzzified state based on the membership domain; Determine the shape of the membership function based on the data characteristics of each collision factor; A membership function is constructed according to the membership domain, the fuzzified state and the membership function shape.
[0073] In one embodiment, the encounter analysis module 20 is further used to obtain preset weights of various collision factors; Multiplying the preset weight by the collision risk value to obtain the weight of each collision factor; The collision risk value is obtained by adding the weights of each collision factor.
[0074] In one embodiment, the encounter analysis module 20 is further used to determine whether the own ship has a collision risk according to the collision risk value; When there is no risk of collision, no analysis of the encounter between the two ships will be conducted; When there is a collision risk, the encounter type is obtained according to the relative position and relative heading of the own ship and the target ship, and the encounter type includes safe encounter, relative encounter, overtaking encounter and crossing encounter.
[0075] In one embodiment, the collision avoidance control module 30 is further configured to analyze the encounter type to obtain the self-ship avoidance responsibility when the encounter type is the first encounter type; Obtaining avoidance action based on the own ship avoidance responsibility according to the relative position and the relative heading; A ship control strategy is obtained based on the avoidance action, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
[0076] In one embodiment, the collision avoidance control module 30 is further configured to analyze the encounter type to obtain the self-ship avoidance responsibility when the encounter type is the second encounter type; Based on the own ship avoidance responsibility, an avoidance action is obtained according to the relative position, the relative heading, the own ship speed and the target ship speed; A ship control strategy is obtained based on the avoidance action, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
[0077] In addition, to achieve the above-mentioned purpose, the present invention also proposes a ship collision avoidance device, which includes: a memory, a processor, and a ship collision avoidance program stored in the memory and executable on the processor, and the ship collision avoidance program is configured to implement the steps of the ship collision avoidance method described above.
[0078] Since the ship collision avoidance equipment adopts all the technical solutions of all the above-mentioned embodiments, it has at least all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be described one by one here.
[0079] In addition, an embodiment of the present invention further proposes a storage medium, on which a ship collision avoidance program is stored, and when the ship collision avoidance program is executed by a processor, the steps of the ship collision avoidance method described above are implemented.
[0080] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0081] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0082] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0083] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the ship collision avoidance method provided in any embodiment of the present invention, and will not be repeated here.
[0084] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0085] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0086] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0087] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0088] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A ship collision avoidance method, characterized in that: The ship collision avoidance method comprises: Obtain the own ship's driving parameters and the target ship's driving parameters; Obtaining a collision risk value according to the own ship driving parameters and the target ship driving parameters; Analyzing the encounter situation of the two ships based on the collision risk value to obtain the encounter type; A ship control strategy is obtained according to the encounter type, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
2. The ship collision avoidance method according to claim 1, characterized in that: The obtaining of the collision risk value according to the own ship driving parameter and the target ship driving parameter includes: Obtaining a collision factor according to the own ship driving parameter and the target ship driving parameter; The membership value of each collision factor is obtained according to the membership function of each collision factor; The collision risk value is obtained according to the membership value of each collision factor.
3. The ship collision avoidance method according to claim 2, characterized in that: Before obtaining the membership value of each collision factor according to the membership function of each collision factor, the method further includes: The membership domain is obtained according to the numerical variation range of each collision factor; Determining a fuzzified state based on the membership domain; Determine the shape of the membership function based on the data characteristics of each collision factor; A membership function is constructed according to the membership domain, the fuzzified state and the membership function shape.
4. The ship collision avoidance method according to claim 3, characterized in that: The collision risk value is obtained according to the membership value of each collision factor, including: Get the preset weights of each collision factor; Multiplying the preset weight by the collision risk value to obtain the weight of each collision factor; The collision risk value is obtained by adding the weights of each collision factor.
5. The ship collision avoidance method according to claim 1, characterized in that: The analysis of the encounter situation of the two ships based on the collision risk value to obtain the encounter type includes: Determine whether the ship has a collision risk according to the collision risk value; When there is no risk of collision, no analysis of the encounter between the two ships will be conducted; When there is a collision risk, the encounter type is obtained according to the relative position and relative heading of the own ship and the target ship, and the encounter type includes safe encounter, relative encounter, overtaking encounter and crossing encounter.
6. The ship collision avoidance method according to claim 1, characterized in that: The obtaining of a ship control strategy according to the encounter type, and controlling the self-ship to avoid collision with the self-ship based on the ship control strategy, includes: When the encounter type is the first encounter type, analyzing the encounter type to obtain the own-ship avoidance responsibility; Obtaining avoidance action based on the own ship avoidance responsibility according to the relative position and the relative heading; A ship control strategy is obtained based on the avoidance action, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
7. The ship collision avoidance method according to claim 6, characterized in that: The obtaining of a ship control strategy according to the encounter type, and controlling the self-ship to avoid collision with the self-ship based on the ship control strategy, further includes: When the encounter type is the second encounter type, analyzing the encounter type to obtain the own-ship avoidance responsibility; Based on the own ship avoidance responsibility, an avoidance action is obtained according to the relative position, the relative heading, the own ship speed and the target ship speed; A ship control strategy is obtained based on the avoidance action, and the self-ship is controlled based on the ship control strategy to avoid collision with the self-ship.
8. A ship collision avoidance device, characterized in that: The ship collision avoidance device comprises: A parameter acquisition module is used to obtain the driving parameters of the own ship and the target ship; An encounter analysis module, used for obtaining a collision risk value according to the own ship driving parameters and the target ship driving parameters; The encounter analysis module is further used to analyze the encounter situation of the two ships based on the collision risk value to obtain the encounter type; The collision avoidance control module is used to obtain a ship control strategy according to the encounter type, and control the travel of the own ship based on the ship control strategy to avoid collision with the own ship.
9. A ship collision avoidance device, characterized in that: The device comprises: a memory, a processor, and a ship collision avoidance program stored in the memory and executable on the processor, wherein the ship collision avoidance program is configured to implement the ship collision avoidance method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a ship collision avoidance program, and when the ship collision avoidance program is executed by the processor, the ship collision avoidance method as described in any one of claims 1 to 7 is implemented.
