CN115268472B - Intelligent ship navigation collision avoidance behavior coding method based on machine language expression - Google Patents

Intelligent ship navigation collision avoidance behavior coding method based on machine language expression Download PDF

Info

Publication number
CN115268472B
CN115268472B CN202211185837.9A CN202211185837A CN115268472B CN 115268472 B CN115268472 B CN 115268472B CN 202211185837 A CN202211185837 A CN 202211185837A CN 115268472 B CN115268472 B CN 115268472B
Authority
CN
China
Prior art keywords
ship
speed
target
collision avoidance
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211185837.9A
Other languages
Chinese (zh)
Other versions
CN115268472A (en
Inventor
于巧婵
杨敬钰
殷祥军
耿雄飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN202211185837.9A priority Critical patent/CN115268472B/en
Publication of CN115268472A publication Critical patent/CN115268472A/en
Application granted granted Critical
Publication of CN115268472B publication Critical patent/CN115268472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/0206Control of position or course in two dimensions specially adapted to water vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a method for coding intelligent ship navigation collision avoidance behaviors based on machine language expression, belonging to the technical field of ship control; a ship intelligent navigation collision avoidance behavior coding method based on machine language expression adopts a 01 code and ILP method to design a coding form of a ship driving behavior index and a ship state index, preliminarily constructs a ship driving machine language system with universality and practical application, and is beneficial to providing a universal coding form for ship machine driving: a universal and practical ship driving machine language system is explored and constructed, instruction requirements of driving behaviors and ship states are analyzed according to 3 ship navigation collision avoidance behaviors, and coding forms of ship driving behavior indexes and ship state indexes are innovatively designed by adopting a 01 code and ILP method.

Description

Intelligent ship navigation collision avoidance behavior coding method based on machine language expression
Technical Field
The invention relates to the technical field of ship control, in particular to a ship intelligent navigation collision avoidance behavior coding method based on machine language expression.
Background
The intelligent navigation of the ship is an inevitable trend of future development of the shipping industry and is also a focus of international intelligent ship technical competition in recent years. The method not only can solve the challenge of further cross-over improvement of shipping efficiency, safety and economy, but also is actively integrated into the future intelligent world to realize the necessary way and trend of shipping industry transition and upgrade. The development of the intelligent navigation technology of the ship is not only a great historical opportunity for China to lead the development of international intelligent ships, make leading international shipping rules, improve the international shipping status and guarantee the national safety, but also an objective requirement for the development of the country, particularly the construction of ocean, traffic and shipping strong countries.
According to the grade division standard of the current intelligent ship navigation system, the intelligent ship navigation system can be divided into 10 grades from auxiliary driving to autonomous driving. The grade evaluation of the ship intelligent navigation system of the existing coastal intelligent container commercial ship in China is rated as coastal R11 grade (high remote control driving grade with people on the ship) and conditional A2 grade (middle autonomous driving grade). It can be expected that with the increase of the number of intelligent navigation ships in China, the intelligent level of a navigation system of the intelligent navigation ship will be continuously improved, human decision and control will be gradually changed into human decision machine control, and then autonomous decision and control of the machine are realized. In the process, how to make the machine drive transfer the excellent driving experience of the captain of the human, make the instruction of the human convert into the machine language, make the future mechanism communication between the unmanned ship and the unmanned ship of the world become possible, it is the basis of the development of intelligent navigation and intelligent navigation of the ship. In view of the fact that no systematic research can fully combine with a machine language expression mode to describe collision avoidance behaviors during intelligent navigation of a ship at present and an efficient coding mode is adopted to support intelligent driving of the ship, the invention provides a coding method for the intelligent navigation collision avoidance behaviors of the ship based on the machine language expression.
Disclosure of Invention
The invention aims to realize efficient coding of intelligent ship navigation collision avoidance behaviors so as to realize intelligent control of a ship, and provides a coding method of the intelligent ship navigation collision avoidance behaviors based on machine language expression.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for coding intelligent navigation collision avoidance behaviors of a ship based on machine language expression is characterized in that aiming at the driving collision avoidance behaviors of a ship machine, under the instruction requirements of driving behaviors and ship states, a machine language is explored for coding driving behavior indexes and ship state indexes to form a set of machine language coding scheme with universality and practical application, theoretical and technical support is provided for promoting intelligent navigation development of the ship, and the method specifically comprises the following steps:
s1, dividing driving behavior instructions into a vehicle using mode and a rudder using mode according to requirements, and specifically, dividing driving behavior instructions into a rudder turning mode, a speed regulating mode and a reversing modeC b Peace vehicleC f The rotary rudder further comprises a left rotary rudderD l Right-handed rudderD r Non-rotating rudderD n The speed regulation further comprises accelerationV i And a speed reduction deviceV d Without speed-regulating actionV n (ii) a The vehicle-using and rudder-using commands can be independently or simultaneously carried out through a command setInstFor the above drivingDividing the instruction, wherein the specific division is as follows:
Inst={{D l D r D n },{V i V d V n },{C b C f }}(1)
s2, in the collision avoidance process of the intelligent sailing of the ship, the speed, the position coordinates and the course of the ship are obtained by means of an Automatic Identification System (AIS) and a radar, the relative Distance, the relative course and the relative speed between the ship and a target ship are calculated according to the speed, the position coordinates and the course of the ship, the Distance of the closest point of approach (DCPA) and the minimum Time of The Closest Point of Approach (TCPA) between the ship and the target ship are calculated according to the relative Distance, the relative course and the relative speed between the ship and the target ship, and the ship state instruction is divided by combining the data indexes;
and S3, aiming at 3 collision avoidance behavior indexes, namely the relative distance, the relative course and the relative speed between the ship and the target ship during the ship navigation, analyzing the command requirements of the driving behavior and the ship state, and designing the coding forms of the ship driving behavior index and the ship state index by adopting 01 codes and inducing logic program design coding rules.
Preferably, the vessel state instruction division mentioned in S2 specifically includes the following contents:
(1) the ship has the following motion parameters: position of the vesselB x B y The headingB ag And speed of flightB v
(2) The motion parameters of the target ship are as follows: target vessel positionT x T y The headingT ag And speed of flightT v
(3) The ship safety state parameters are as follows: distance to last encounter (DCPA), time to minimum encounter (TCPA).
Preferably, the design of the ship driving behavior index coding form by using the 01 code in S3 specifically includes the following contents:
a1, operation behavior coding: the driving behavior commands are respectively coded, wherein A represents a left-handed rudderD l B represents a right-handed rudderD r And C represents accelerationV i And D represents decelerationV d E denotes reversingC b And F represents a main vehicleC f G represents a reserved attribute behavior; a, B, C, D, E and F are all 01 codes, setting 0 represents that the behavior is not executed, and setting 1 represents execution;
a2, encoding the operation behavior degree: will turn left rudderD l Right-handed rudderD r Selecting an action degree unit as an angle, and setting an interval unit as 1 degree; accelerationV i And a speed reduction deviceV d The unit of action degree is selected as a section, and the unit of interval is 0.1 section; back-upC b The unit of action degree is selected as second, and the unit of interval is 5s; positive vehicleC f Selecting action degree unit as minute, and interval unit as 10min; the operation behavior degree data are mutually exclusive, namely the single-type behavior degree data at any moment are unique;
and A3, combining the operation behavior attribute codes and the operation behavior degree codes in the A1 and the A2 to obtain a ship driving behavior index code.
Preferably, the designing of the ship state index coding form by using the inductive logic programming coding rule in S3 refers to comprehensively considering the states of the ship and the target ship and the ship attribute logic, and combining with COLREGS related regulations, implementing ship state coding at each moment by using the inductive logic programming coding rule, and specifically includes the following contents:
b1, ship overtaking scene rules and codes: the two motor boats run in the same direction, when the speed of the rear boat is higher than that of the front boat, a overtaking situation is formed, and the overtaking situation follows the thirteenth regulation of COLREGS in the overtaking process, and the specific rule is as follows: in the specified range of the track to be tracked, under the 5-level sea condition, the test ship sails at the operation speed, the stern of the ship moves to the +/-67.5-degree direction within 3nm, the speed of the other ship is greater than that of the test ship to accelerate, and the tracked situation is formed; the test ship is positioned in the 3nm of the stern direction +/-67.5 degrees of the other ship, and the other ship is accelerated to be tracked;
combining the analysis, if the target ship overtakes the ship and the ship is a straight ship, keeping the direction and speed; if the ship overtakes the target ship and is a way-giving ship, steering collision avoidance control is carried out, and the specific mathematical analysis is as follows:
b1.1, two motorized ships, when the target ship overtakes the ship, the ship is a straight ship, and mathematical and logical codes are as follows:
Figure 938122DEST_PATH_IMAGE001
(2)
wherein X is the ship, Y is the target ship, V t Is the target ship speed, V 0 The speed of the ship is defined, alpha is the angle of the target ship relative to the ship, and beta is the azimuth of the ship relative to the target ship; "stand-on ship (X)" indicates that the ship is a straight ship and keeps the direction and the speed; "Power-drive vessels (X)" and "power-drive vessels (Y)" indicate that both vessels are motorized vessels; "fusion Risk (X, Y)" indicates that avoidance responsibility and Collision avoidance operation between the own ship and the target ship are all taken into consideration;
b1.2, two motorized ships, when the ship tracks over the target ship, the ship is a way-yielding ship, collision avoidance operation of left steering or right steering is carried out, and mathematical logic codes are as follows:
Figure 245475DEST_PATH_IMAGE002
(3)
wherein, the 'love-way ship (X) represents that the ship is a yielding ship, and the' keep court (Y) represents that the target ship is a straight ship;
b2, ship encounter scene rules and coding: when two motor-driven ships meet in opposite or nearly opposite directions to form collision danger, a meeting situation is formed, and the fourth regulation of COLREGS is followed, wherein the specific rule is as follows: under 5-level sea conditions and below, the visibility is not lower than 1km, a test ship can sail in an entrance channel correctly identified based on an electronic chart and a light buoy, and during the process, the test ship meets an oncoming ship in the opposite direction in the channel, and the channel is designed according to a double-line channel, and the meeting ship runs along the central line of the opposite channel;
the calculation rule of the width of the multi-line channel is as follows:
W=QA+b+Qc (4)
A=n(Lsin(θτ)+B)(5)
wherein, W represents the navigation width of the channel, m; q represents the number of course lines; a represents the width of the track band, m; c represents the margin width between the ship and the bottom line of the channel, m; b represents the margin width between the ships, m, when the ship intersection density is large, the margin width between the ships can be increased properly; n represents the ship drift multiple; l represents the design captain, m; theta tau represents wind and flow pressure deflection angle; b represents the designed ship width, m;
combining the above analysis, when a meeting local area is formed between the ship and the target ship, the ship and the target ship both are yielding ships, both ships have the same yielding responsibility, and need to perform right-turn collision avoidance operation, and the mathematical logic codes are as follows:
Figure 87529DEST_PATH_IMAGE003
(6)
b3, ship cross meeting scene rules and coding: the two ships can only see the sidelights on one side of the other side, the course lines of the two ships are crossed, the ship (the ship displaying the green sidelight) with the other ship on the starboard of the ship is the way-giving ship, the other ship (the ship displaying the red sidelight) should give way, and the other ship, namely the straight ship, should keep course and speed, and the specific rule is as follows: testing the operating speed of the ship under 5-level sea conditions and below, wherein other ships sail within a range of 3nm at any side of the left and right of the course; the bow of the two ships is crossed, the crossing bulwark angle is larger than 5 degrees and smaller than 112.5 degrees, the ship speed of the other ship is +/-20 percent of the ship speed of the test ship, and the two ships form a crossing meeting situation;
by combining the above analysis, when the ship forms a cross meeting situation and there is a collision risk, the ship on the port side gives way to the ship on the starboard side, and assumes the avoidance responsibility, and the specific mathematical analysis is as follows:
b3.1, when the ship and the target ship form meeting collision avoidance in which port sides meet in a cross mode, the ship is a straight ship, and direction and speed are guaranteed; the target ship executes collision avoidance operation, and only when the target ship does not fulfill the responsibility and obligation of the yielding ship to carry out collision avoidance operation or form a tight office, the ship needs to carry out collision avoidance operation, and the mathematical logic codes are as follows:
Figure 249783DEST_PATH_IMAGE004
(7)
b3.2, when the relative position or the bulwark angle of the coming ship is [5 degrees, 67.5 degrees ], the coming ship meets in a small-angle crossing mode, the ship is a way-giving ship, the avoiding effect of right steering is better than that of speed change, the ship needs to adopt collision avoidance operation of right steering, and mathematical and logical codes are as follows:
Figure 392051DEST_PATH_IMAGE005
(8)
b3.3, starboard large-angle cross meeting, namely when the bulwark angle of the target ship is [67.5, 112.5], the target ship is a straight ship, direction and speed keeping are carried out, the ship is a way-giving ship, collision avoidance operation is adopted, the ship can carry out variable (reduced) speed avoidance, left steering avoidance and right steering avoidance, and mathematical logic codes are as follows:
Figure 480093DEST_PATH_IMAGE006
(9)。
compared with the prior art, the invention provides the intelligent ship navigation collision avoidance behavior coding method based on the machine language expression, and the method has the following beneficial effects:
the method avoids the limitation on the ship driving condition, adopts a coding method for the ship machine driving collision avoidance behavior, comprehensively considers the navigation rule by analyzing the ship machine driving behavior command and the state command, and formulates a corresponding comprehensive coding scheme; the method comprises the following specific steps:
(1) The coding mode is efficient, simple and easy to realize;
(2) The intelligent ship navigation system can provide technical conditions for man-machine and machine-machine cooperative conversation during intelligent ship navigation, and provides important basic theory and technical support for intelligent development of shipping;
(3) The method adopts 01 codes and an ILP method to design the coding forms of the ship driving behavior indexes and the ship state indexes, preliminarily constructs a ship driving machine language system with universality and practical application, and is beneficial to providing the universal coding form for the ship machine driving: a universal and practical ship driving machine language system is explored and constructed, instruction requirements of driving behaviors and ship states are analyzed according to 3 ship navigation collision avoidance behaviors, and coding forms of ship driving behavior indexes and ship state indexes are innovatively designed by adopting a 01 code and ILP method.
Drawings
FIG. 1 is a schematic flow chart of a method for encoding intelligent navigation collision avoidance behavior of a ship based on machine language expression according to the present invention;
FIG. 2 is a schematic diagram of a two-ship overtaking scene of the intelligent ship navigation collision avoidance behavior coding method based on machine language expression provided by the invention;
FIG. 3 is a schematic diagram of a two-ship straight-channel encounter scene of the intelligent ship navigation collision avoidance behavior coding method based on machine language expression, provided by the invention;
fig. 4 is a schematic diagram of a scene of two-ship cross-meeting of the intelligent ship navigation collision avoidance behavior coding method based on machine language expression.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example 1:
referring to fig. 1-4, a method for coding intelligent navigation collision avoidance behavior of a ship based on machine language expression specifically includes the following steps (as shown in fig. 1):
s1, operation behavior coding: the data label processing is multipurpose, 1 and 0 indicate yes and no, and in the traditional label processing mode, if N identification results exist, the identification results are expressed by a1 multiplied by N01 array. However, considering the superposition of driving behaviors of vehicles and rudders, the operation types are exponentially increased, and if the operation types are still expressed by a 01 array, the operation types are excessively redundant, and the calculation efficiency is affected. For this, the present invention uses the idea of orthogonalization to superimpose 01 variables of each behavior together to form a1 × 7 01 array, and see table 1 for specific division.
TABLE 1 partitioning of vessel driving behavior
Left-handed rudder Steering rudder Running speed reduction Increase of running speed Back-up Positive vehicle
Left-handed rudder ×
To the right rudder ×
Running speed reduction ×
Increase of running speed ×
Back-up ×
Vehicle for correcting ×
Note: : |, driving behavior;
x represents driving behavior that cannot be performed simultaneously;
and √ denotes a driving behavior that can be performed simultaneously.
S1.1, the encoding mode of the operational behavior attribute is shown in a table 2.
TABLE 2 encoding of behavior attributes
Action 1 Action 2 Action 3 Action 4 Action 5 Action 6 Reservation action
A B C D E F G Action behavior attribute code (action identification code)
Wherein, A represents a left-handed rudder, B represents a right-handed rudder, C represents acceleration, D represents deceleration, E represents reversing, and F represents driving. A. B, C, D, E, F, etc. are all 01 codes, setting 0 indicates that the action is not executed, and 1 indicates execution. G is then the reserved attribute behavior. For which a corresponding action behavior attribute encoding table (see table 3) is available for grouping the entire operation behavior.
TABLE 3 action behavior Attribute encoding Table
Quantization label Behavioral characteristics Quantization label Behavioral characteristics Quantization label Behavioral characteristics
[0000000] Do not operate [0100000] Right-handed rudder [1000000] Left-handed rudder
[0000010] Vehicle for correcting [0100010] Right-handed rudder and vehicle [1000010] Left-handed rudder and go-ahead vehicle
[0000100] Back-up [0100100] Right hand rudder and back running [1000100] Left-hand rudder and reverse
[0001000] Speed reduction [0101000] Right hand rudder and speed reduction [1001000] Left-hand rudder and speed reduction
[0001010] Vehicle correcting and decelerating [0101010] Right-handed rudder, forward running and deceleration [1001010] Left-handed rudder, forward running and deceleration
[0001100] Backing and decelerating [0101100] Right-handed rudder, backing car and reducing speed [1001100] Left-hand rudder, backing car and reducing speed
[0010000] Acceleration [0110000] Right-handed rudder and acceleration [1010000] Left-handed rudder and acceleration
[0010010] Correcting and accelerating [0110010] Right rotary rudder, forward running and acceleration [1010010] Left-handed rudder, forward running and acceleration
[0010100] Backing and accelerating [0110100] Right-handed rudder, backing car and accelerating [1010100] Left-handed rudder, backing car and accelerating
S1.2, in order to describe the operation degree of the whole ship so as to effectively refine the ship operation behavior, the invention provides operation behavior degree coding. Therefore, the captain with abundant driving experience is consulted, the unit of the action degree of the left-right rudder is selected as an angle, and the interval unit is 1 degree. The unit of the acceleration and deceleration action degree is selected as a section, and the unit of the interval is 0.1 section. The unit of the reversing action degree is selected to be second, and the unit of the interval is 5s. The unit of the action degree of the vehicle is selected as minutes, and the interval unit is 10min. The code is shown in table 4.
TABLE 4 encoding method of action behavior degree
A Action behavior attribute code (action identification code)
A1 Action behavior degree code (action degree 1)
A2 Action behavior degree code (action degree 2)
A3 Action degree code (action degree 3)
A4 Action behavior degree code (action degree 4)
A5 Action behavior degree code (action degree 5)
A6 Action degree code (action degree 6)
A7 Action degree code (action degree 7)
Where A1, A2, A3, A4, A5, A6, etc. are all 01 coded, 0 means the action is not performed, and 1 means execution. It should be noted that there is mutual exclusion between these types of data, i.e. there is only one 1 code in A1, A2, A3, A4, A5, A6. For this, a corresponding table of encoding of the degree of operation behavior (see table 5) is available for grouping the entire degree of operation behavior.
TABLE 5 operation behavior level coding table
Figure 75022DEST_PATH_IMAGE007
S1.3, the operation behavior attribute codes and the operation behavior degree codes are combined, and the invention provides a ship machine driving behavior coding mode suitable for a machine language expression mode, which is shown in a table 6.
TABLE 6 quantization of coding matrices for operational behaviors
Action 1 Action 2 Action 3 Action 4 Action 5 Action 6 Reservation action
A B C D E F G Attribute coding (operation identification code)
A1 B1 C1 D1 E1 F1 G1 Level code (operation level 1)
A2 B2 C2 D2 E2 F2 G2 Level code (operation level 2)
A3 B3 C3 D3 E3 F3 G3 Degree coding (operation procedure)Degree 3)
A4 B4 C4 D4 E4 F4 G4 Level code (operation level 4)
A5 B5 C5 D5 E5 F5 G5 Level code (operation level 5)
A6 B6 C6 D6 E6 F6 G6 Level code (operation level 6)
A7 B7 C7 D7 E7 F7 G7 Level code (exercise)Degree of success 7)
The quantization matrix is used as an output template in the ship driving decision process, and the corresponding positions represent the action types and degrees respectively, so that strategy identification indication is provided for a decision link.
S2, ship state index coding: according to the ship state instruction requirement, the states of the ship and other ships need to be considered.
S2.1 and thus the code for the ship state may be represented as shown in table 7.
TABLE 7 Ship State information coding Format
Figure 539502DEST_PATH_IMAGE008
Compared with ship driving behaviors, ship state information is more complex, so that degree coding cannot be simply coded by 01, real number coding is adopted, and ship state coding at each moment is achieved.
S2.2, in the coding process of ship attribute Logic, the ship is a straight ship or a way-giving ship, and different collision avoidance operation behaviors relate to COLREGS related background knowledge, so that the method adopts an Inductive Logic Programming (ILP) coding rule, the ILP is a cross field of machine learning and Logic program design, and can overcome the problems of limitation of background knowledge, limitation of a knowledge representation mechanism and the like in the traditional machine learning under the framework of first-order Logic by means of the existing theory and method of Logic program design, so that the machine better simulates human thinking, and can summarize a general rule capable of depicting special attributes of a case by enabling a computer to investigate specific cases. The form and structure of a rule is specified as:
Figure 37741DEST_PATH_IMAGE009
wherein, "←"The expression logic contains symbols, the right part is called a 'rule body', the premise of the rule is expressed, and the left part is a 'rule head', and the result of the rule is expressed. The rule body is composed of logic wordsf k The compound formula of the composition is shown in the specification,k=1,2,...,Lthe number of logical words in the rule body is called the length of the rule. [ ] of the rule header is also a logical word that represents the target category or concept determined by the rule. And obtaining the attribute logic of the ship according to the rule, namely the direct ship attribute or the yielding ship attribute.
S2.2.1, ship track-over scene rule and code
When the speed of the rear ship is higher than that of the front ship, a tracking situation is formed, and the third regulation of COLREGS is required to be followed in the tracking process: in the case of good visibility, "any ship should give way to the overtaking ship when overtaking any other ship. In the specified range of the overtaking path, under the 5-level sea condition, the test ship sails at the operation speed, the stern of the ship is within 3nm in the +/-67.5-degree direction, the speed of the other ship is higher than that of the test ship to accelerate, and the overtaking situation is formed; the test ship is positioned in the 3nm of the stern direction +/-67.5 degrees of the other ship, the other ship is tracked in an accelerating mode, and a scene diagram is shown in figure 2.
According to the analysis, if the target ship overtakes the ship and the ship is a straight ship, keeping the direction and the speed; and if the ship overtakes the target ship and is a way-giving ship, steering collision avoidance operation is carried out. Furthermore, the relative orientation of the two vessels is in the range of 112.5 °,247.5 °.
(1) Two power vessels, when the target vessel overtakes the ship, the ship is a straight ship, and the mathematical logic codes are as follows:
Figure 93422DEST_PATH_IMAGE010
wherein X is the ship, Y is the target ship, v t Is the target ship speed, v 0 The speed of the ship, alpha is the angle of the ship relative to the ship, and beta is the azimuth of the ship relative to the ship. Power-drive vessels (X) and Power-drive vessels (Y) "Representing that both vessels are motor vessels. The speed of the target ship is smaller than that of the target ship because the target ship tracks over the target ship, and the speed ratio of the target ship to the local ship is smaller than 1. In addition, the angle of the target ship relative to the ship is [112.5 degrees, 247.5 degrees ]]Within the range.
(2) When the ship tracks over the target ship, the ship is a way-giving ship and needs to carry out collision avoidance control of left steering or right steering, and mathematical and logical codes are as follows:
Figure 113331DEST_PATH_IMAGE011
in the rule logic code, description of collision avoidance control of the ship is added, and the 'give-way ship (X)', namely the ship is a way-giving ship, the target ship is a straight ship, and the ship is expressed by 'keep route (Y)', and direction and speed are guaranteed, so that the collision avoidance responsibility and collision avoidance control between the ships are considered at the same time.
S2.2.2, ship encounter scene rule and code
A encounter is one in which two powerships are in mutual sight, the first of the COLREGS' fourteenth encounters stipulates that when two powerships encounter a risk of collision in opposite or nearly opposite heading, each should turn right so that each drives across the port of the other. And the visibility is not lower than 1km under the 5-level sea state and below. The test ship can sail on the entrance channel correctly identified by the electronic chart and the light buoy, and the opposite coming ship meets the channel in the process. The channel is designed according to a double-line channel (relevant dimensions are calculated according to ship type standards and channel dimensions corresponding to the general design Specification for seaports (JTS 165-2013)), and the ship runs along the center line of the opposite channel in meeting.
Width of the multi-line channel:
W=QA+b+Qc
A=n(Lsin(θτ)+B)
in the formula: w is the navigation width (m) of the channel; q is the number of the channel lines; a is the width (m) of the flight path band; c is the margin width (m) between the ship and the bottom line of the channel; b is the margin width (m) between the ships, and the designed ship width B is taken, so that the margin width between the ships can be properly increased when the intersection density of the ships is higher; n is the ship drift multiple; l is the design ship length (m); theta tau is wind, flow pressure deflection angle (degree); and B is the designed ship width (m). The corresponding scene description is shown in fig. 3.
From the above analysis, when two ships form a meeting local area, no matter the ship or the target ship is a way-giving ship, the two ships have the same avoidance responsibility and need to perform right-turning collision avoidance operation, and the corresponding logic code is as follows:
Figure 178239DEST_PATH_IMAGE012
s2.2.3, ship cross meeting scene rule and code
The cross meeting situation range is that two ships can only see the sidelight on one side of the other ship, the course lines of the two ships are crossed, the ship (the ship displaying the green sidelight) with other ship on the starboard of the ship is the way-giving ship, the other ship (the ship displaying the red sidelight) should give way, and the course and the navigation speed of the other ship, namely the straight ship, should be kept. A 2nm wide and 6nm channel is arranged on the sea area, and the electronic chart is marked; and testing the operating speed of the ship under 5-level sea conditions and below, wherein other ships sail within a range of 3nm on any one side of the left and right of the course of the ship. The bow directions of the two ships are crossed, the crossed bulwark angle is larger than 5 degrees and smaller than 112.5 degrees, the self ship speed of the other ship is +/-20 percent of the ship speed of the test ship, the two ships form a crossed meeting situation, and the corresponding scene description is shown in fig. 4.
According to the COLREGS regulations, when a ship forms a cross meeting situation and has collision danger, a ship on a port side gives way to a ship on a starboard side to bear avoidance responsibility, and the collision danger can be divided into three situations:
(1) when the ship and the target ship form meeting and collision avoidance in which the port and the board meet in a cross way, the ship is a straight ship and is subjected to direction keeping and speed keeping; the target ship performs collision avoidance operation, and the ship needs collision avoidance operation only when the target ship does not fulfill the responsibility and obligation of the way-giving ship for collision avoidance operation or forms a tight office. The following regular logical coding model may be established:
Figure 967203DEST_PATH_IMAGE013
(2) when the relative direction or the bulwark angle of the coming ship is [5 degrees, 67.5 degrees ], the coming ship meets in a small-angle crossing way, the ship is a way-giving ship, the avoiding effect of right steering is better than speed change, and the ship is required to adopt collision avoidance operation of right steering. The following rule logic coding model may be established:
Figure 226408DEST_PATH_IMAGE014
(3) the starboard large-angle cross meeting means that when the bulwark angle of the target ship is 67.5 degrees and 112.5 degrees, the target ship is a straight ship and keeps the direction and the speed, the ship is a way-giving ship and needs to be controlled by collision avoidance, and the ship can carry out variable (reduced) speed avoidance, left steering avoidance and right steering avoidance. The following regular logical coding model may be established:
Figure 733613DEST_PATH_IMAGE015
3) The comprehensive coding scheme for the ship machine driving is as follows: the comprehensive driving behavior index code and the ship state index code are shown in the table 8.
TABLE 8 comprehensive code for marine machine driving
Figure 71054DEST_PATH_IMAGE016
Compared with the table 7, the ship attribute code is added to the table, the code mode is 01 code, wherein 0 represents a straight ship, and 1 represents a way-giving ship, the former does not need to operate, and the latter needs to perform collision avoidance operation. Therefore, the ship driving collision avoidance behavior coding scheme oriented to the machine language is obtained, and basic theoretical support is provided for ship collision avoidance decisions.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered as the technical solutions and the inventive concepts of the present invention within the technical scope of the present invention.

Claims (2)

1. A ship intelligent navigation collision avoidance behavior coding method based on machine language expression is characterized in that aiming at ship machine driving collision avoidance behaviors, under the instruction requirements of driving behaviors and ship states, driving behavior indexes and ship state indexes are coded through a machine language to form a set of machine language coding method with universality and practical application, and the method specifically comprises the following contents:
s1, dividing driving behavior instructions into a vehicle using and a rudder according to requirements, and specifically, dividing driving behavior instructions into a rudder rotating, a speed regulating and a reversingC b Peace vehicleC f The rotary rudder further comprises a left rotary rudderD l Right-handed rudderD r Non-rotating rudderD n The speed regulation further comprises accelerationV i And a decelerationV d Without speed-regulating actionV n (ii) a The vehicle-using and rudder-using commands can be independently or simultaneously carried out through a command setInstDividing the driving behavior instruction, wherein the specific division is as follows:
Inst={{D l D r D n },{V i V d V n },{C b C f }}(1)
s2, in the collision avoidance process of intelligent sailing of the ship, the speed, the position coordinates and the course of the ship are obtained by means of an automatic ship identification system and a radar, the relative distance, the relative course and the relative speed between the ship and a target ship are calculated according to the speed, the position coordinates and the course, the closest meeting distance and the minimum meeting time between the ship and the target ship are calculated according to the relative distance, the relative course and the relative speed between the ship and the target ship, and a ship state instruction is divided by combining the data indexes;
s3, aiming at 3 collision avoidance behavior indexes, namely a relative distance, a relative course and a relative speed between the ship and a target ship during ship navigation, analyzing command requirements of a driving behavior and a ship state, and designing coding forms of the ship driving behavior index and the ship state index by adopting 01 codes and inductive logic program design coding rules;
the method for designing the ship driving behavior index coding form by adopting the 01 code in the S3 specifically comprises the following steps:
a1, operation behavior coding: respectively encoding driving behavior instructions, wherein A represents a left-handed rudderD l B represents a right-handed rudderD r And C represents accelerationV i And D represents decelerationV d E denotes reversingC b F represents a main vehicleC f G represents a reserved attribute behavior; a, B, C, D, E and F are all 01 codes, setting 0 represents that the behavior is not executed, and setting 1 represents execution;
a2, encoding the operation behavior degree: will turn left rudderD l Right-handed rudderD r Selecting an action degree unit as an angle, and setting an interval unit as 1 degree; accelerationV i And a speed reduction deviceV d The unit of action degree is selected as a section, and the unit of interval is 0.1 section; back-upC b The unit of action degree is selected as second, and the unit of interval is 5s; vehicle for correctingC f Selecting action degree unit as minute, and interval unit as 10min; the operation behavior degree data are mutually exclusive, namely the single-type behavior degree data at any moment are unique;
a3, combining the operation behavior attribute codes and the operation behavior degree codes in the A1 and the A2 to obtain a ship driving behavior index code;
the step of designing the ship state index coding form by using the inductive logic programming coding rule mentioned in the step S3 refers to that the ship state index coding at each moment is realized by comprehensively considering the states of the ship and the target ship and the ship attribute logic and combining with COLREGS related regulations and by using the inductive logic programming coding rule, and specifically includes the following contents:
b1, ship overtaking scene rules and codes: the two motor boats run in the same direction, when the speed of the rear boat is higher than that of the front boat, a overtaking situation is formed, and the overtaking situation follows the rule of COLREGS thirteenth, wherein the specific rule is as follows: in the specified range of the track to be tracked, under the 5-level sea condition, the test ship sails at the operation speed, the stern of the ship moves to the +/-67.5-degree direction within 3nm, the speed of the other ship is greater than that of the test ship to accelerate, and the tracked situation is formed; the test ship is positioned in the 3nm of the stern direction +/-67.5 degrees of the other ship, and the other ship is accelerated to trace;
combining the analysis, if the target ship overtakes the ship and the ship is a straight ship, keeping the direction and speed; if the ship overtakes the target ship and is a way-giving ship, steering collision avoidance control is carried out, and the specific mathematical analysis is as follows:
b1.1, two motorized ships, when the target ship overtakes the ship, the ship is a straight ship, and mathematical and logical codes are as follows:
Figure 802090DEST_PATH_IMAGE001
(2)
wherein X is the ship, Y is the target ship, V t Is the target ship speed, V 0 The speed of the ship is defined, alpha is the angle of the target ship relative to the ship, and beta is the azimuth of the ship relative to the target ship; "stand-on ship (X)" indicates that the ship is a straight ship and keeps the direction and the speed; "power-drive vessels (X)" and "power-drive vessels (Y)" indicate that both vessels are motorized vessels; "fusion Risk (X, Y)" indicates that avoidance responsibility and Collision avoidance operation between the own ship and the target ship are all taken into consideration;
b1.2, when the ship tracks over the target ship, the ship is a way-giving ship and needs to carry out collision avoidance operation of left steering or right steering, and mathematical and logical codes are as follows:
Figure 350883DEST_PATH_IMAGE002
(3)
wherein, the 'love-way ship (X) represents that the ship is a yielding ship, and the' keep court (Y) represents that the target ship is a straight ship;
b2, ship encounter scene rules and coding: when two motor-driven ships meet to form a collision risk in opposite or nearly opposite directions, a meeting situation is formed, and the fourth rule of COLREGS is followed, wherein the specific rule is as follows: under 5-level sea conditions and below, the visibility is not lower than 1km, a test ship can sail in an incoming channel correctly identified based on an electronic chart and a light buoy, and in the process, the test ship meets an oncoming ship in the channel, and the channel is designed according to a double-line channel, and the meeting ship runs along the central line of the opposite channel;
the calculation rule of the width of the multi-line channel is as follows:
W=QA+b+Qc (4)
A=n(Lsin(θτ)+B)(5)
wherein, W represents the navigation width of the channel, m; q represents the number of course lines; a represents the width of the track band, m; c represents the margin width between the ship and the bottom line of the channel, m; b represents the margin width between the ships, m, when the ship intersection density is large, the margin width between the ships can be increased properly; n represents the ship drift multiple; l represents the design captain, m; theta tau represents wind and flow pressure deflection angle; b represents the designed ship width, m;
combining the analysis, when a meeting local area is formed between the ship and the target ship, the ship and the target ship are both yielding ships, the two ships have the same yielding responsibility and need to carry out right-turning collision avoidance operation, and the mathematical logic codes are as follows:
Figure 642187DEST_PATH_IMAGE003
(6)
b3, ship cross meeting scene rules and coding: the two ships can only see the sidelights on one side of the other side, the course lines of the two ships are crossed, the ship on the starboard of the ship is the way-giving ship, the way-giving ship is supposed to give way, and the course and the speed of the other ship, namely the straight ship, are supposed to be kept according to COLREGS regulations, and the specific rule is as follows: testing the operating speed of the ship under 5-level sea conditions and below, wherein other ships sail within a range of 3nm at any side of the left and right of the course; the bow directions of the two ships are crossed, the crossing angle is larger than 5 degrees and smaller than 112.5 degrees, the ship speed of the other ship is +/-20 percent of the navigation speed of the test ship, and the two ships form a crossing meeting situation;
by combining the above analysis, when the ship forms a cross meeting situation and there is a collision risk, the ship on the port side gives way to the ship on the starboard side, and assumes the avoidance responsibility, and the specific mathematical analysis is as follows:
b3.1, when the ship and the target ship form meeting collision avoidance in which port sides meet in a cross mode, the ship is a straight ship, and direction and speed are guaranteed; the target ship executes collision avoidance operation, and only when the target ship does not fulfill the responsibility and obligation of the yielding ship to carry out collision avoidance operation or form a tight office, the ship needs to carry out collision avoidance operation, and the mathematical logic codes are as follows:
Figure 643641DEST_PATH_IMAGE004
(7)
b3.2, when the relative position or the bulwark angle of the coming ship is [5 degrees, 67.5 degrees ], the coming ship meets in a small-angle crossing mode, the ship is a way-giving ship, the avoiding effect of right steering is better than that of speed change, the ship needs to adopt collision avoidance operation of right steering, and mathematical and logical codes are as follows:
Figure 826230DEST_PATH_IMAGE005
(8)
b3.3, starboard large-angle cross meeting means that when the bulwark angle of the target ship is [67.5, 112.5], the target ship is a straight ship and keeps the direction and the speed, the ship is a way-giving ship and needs collision avoidance operation, and the ship can carry out speed change or deceleration avoidance, left steering avoidance and right steering avoidance at the moment, and the mathematical logic code is as follows:
Figure 963950DEST_PATH_IMAGE006
(9)。
2. the encoding method for intelligent vessel navigation collision avoidance behavior based on machine language expression of claim 1, wherein the vessel state command division mentioned in S2 specifically includes the following contents:
(1) the ship has the following motion parameters: the ship position { Bx, by }, the course Bag and the speed Bv;
(2) the motion parameters of the target ship are as follows: target vessel position { Tx, ty }, heading Tag, and speed Tv;
(3) ship safety state parameters: distance to last encounter (DCPA), time to minimum encounter (TCPA).
CN202211185837.9A 2022-09-28 2022-09-28 Intelligent ship navigation collision avoidance behavior coding method based on machine language expression Active CN115268472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211185837.9A CN115268472B (en) 2022-09-28 2022-09-28 Intelligent ship navigation collision avoidance behavior coding method based on machine language expression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211185837.9A CN115268472B (en) 2022-09-28 2022-09-28 Intelligent ship navigation collision avoidance behavior coding method based on machine language expression

Publications (2)

Publication Number Publication Date
CN115268472A CN115268472A (en) 2022-11-01
CN115268472B true CN115268472B (en) 2022-12-20

Family

ID=83756019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211185837.9A Active CN115268472B (en) 2022-09-28 2022-09-28 Intelligent ship navigation collision avoidance behavior coding method based on machine language expression

Country Status (1)

Country Link
CN (1) CN115268472B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB897101A (en) * 1958-04-11 1962-05-23 Avel Corp Geneva Improvements in collision warning apparatus
GB201301488D0 (en) * 2013-01-28 2013-03-13 Kruschandl Nelson J Autonomous Vessel Robot AI System
CN113625728A (en) * 2021-09-23 2021-11-09 大连海事大学 Performance-limited ship collision avoidance path planning method
CN113703463A (en) * 2021-09-23 2021-11-26 大连海事大学 Elite multi-population evolution algorithm-based ship collision avoidance path planning method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083155B (en) * 2019-04-19 2022-05-13 集美大学 Machine learning method for realizing ship anthropomorphic intelligent collision avoidance decision
CN111186549B (en) * 2020-01-15 2021-08-17 大连海事大学 Course autopilot control system with ship collision avoidance function
KR20230021122A (en) * 2020-06-11 2023-02-13 에이비비 오와이 Apparatus, method and computer program for controlling ship propulsion
CN114550499B (en) * 2022-02-14 2024-06-18 武汉理工大学 Ship intelligent collision prevention method and device integrating COLREGs scene knowledge
CN114896819A (en) * 2022-06-13 2022-08-12 北京航空航天大学 Planning method for multi-search and rescue equipment cooperative search and rescue task in medium and far sea area

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB897101A (en) * 1958-04-11 1962-05-23 Avel Corp Geneva Improvements in collision warning apparatus
GB201301488D0 (en) * 2013-01-28 2013-03-13 Kruschandl Nelson J Autonomous Vessel Robot AI System
CN113625728A (en) * 2021-09-23 2021-11-09 大连海事大学 Performance-limited ship collision avoidance path planning method
CN113703463A (en) * 2021-09-23 2021-11-26 大连海事大学 Elite multi-population evolution algorithm-based ship collision avoidance path planning method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于规则的船舶智能避碰决策关键技术研究》;倪生科;《中国博士学位论文全文数据库工程科技Ⅰ辑》;20210115;第32-54页 *

Also Published As

Publication number Publication date
CN115268472A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN109597417B (en) Multi-USV group collaborative collision avoidance planning method based on collision avoidance criterion
Porathe Maritime Autonomous Surface Ships (MASS) and the COLREGS: Do we need quantified rules or is “the ordinary practice of seamen” specific enough?
CN104020771B (en) A kind of underactuated surface vessel path trace planing method based on dynamic virtual canoe guidance algorithm
Zaccone et al. A colreg-compliant ship collision avoidance algorithm
CN108459602B (en) Autonomous berthing method of under-actuated unmanned ship in multi-obstacle complex environment
CN110444046B (en) Method for analyzing cluster situation of non-conflict meeting ship in limited water area
CN112965475A (en) Obstacle collision prevention method based on dynamic navigation ship domain and collision prevention rule
Porathe Safety of autonomous shipping: COLREGS and interaction between manned and unmanned ships
CN114895673A (en) Ship collision avoidance decision method based on deep reinforcement learning under rule constraint
Wang et al. A novel maritime autonomous navigation decision-making system: Modeling, integration, and real ship trial
CN116360434A (en) Ship path planning method based on improved CSAC-APF algorithm
CN115268472B (en) Intelligent ship navigation collision avoidance behavior coding method based on machine language expression
CN114550499B (en) Ship intelligent collision prevention method and device integrating COLREGs scene knowledge
CN111679674B (en) Flexible meeting evasion method for unmanned ship
CN113253718B (en) Unmanned ship autonomous berthing track planning method and control method
CN102183889A (en) Heading robust intelligent coordination control method for pump-paddle hybrid propelled ship
CN113093804A (en) Unmanned ship formation control method and control system based on inversion sliding mode control
CN117008606A (en) Autonomous navigation decision-making method and device for ship in water area with line system
CN110796142A (en) Method for acquiring relative field between ships based on ship cluster situation
CN116520834A (en) Low-energy-consumption unmanned ship cruising method
CN115857497A (en) Method, system and medium for controlling course motion of catamaran with intact single-oar
Qi et al. A kelvin wake avoidance scheme for autonomous sailing robots based on orientation-restricted Dubins path
CN114035574A (en) Autonomous obstacle avoidance method for unmanned surface vehicle
Zhang et al. Design and control of A hybrid sailboat for enhanced tacking maneuverv
CN110796899A (en) Ship-shore relative field acquisition method based on ship cluster situation in limited water area

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant