Underwater vehicle positioning method and device based on ship traffic management system
By using ultra-short baseline equipment in the ship traffic management system to calculate the position of the underwater vehicle and broadcast its position information through AIS messages, the problem that the underwater vehicle cannot obtain signals is solved, and the underwater vehicle is realized. Tracking and location and security monitoring reduce collision risks.
Patent Information
- Application Number
- CN202411203633.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-24
- Publication Date
- 2024-12-03
AI Technical Summary
Underwater vehicles cannot receive signals through GNSS when they go deep into the water, resulting in the inability to obtain accurate location information in real time, resulting in the inability to recognize the vehicle monitoring and ship traffic management system, increasing the risk of collision.
Ultra-short baseline (USBL) equipment is used to calculate the location of the underwater vehicle through the sound signal, and package it into AIS message broadcast through the radio frequency module of the ship traffic management system. Other ships and shore facilities can receive the location information of the underwater vehicle. .
The tracking, positioning and broadcasting of underwater vehicles is realized, reducing the risk of collision caused by the inability to obtain location information.
Smart Images

Figure CN119071739A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ship traffic management systems, and in particular to an underwater vehicle positioning method and device based on a ship traffic management system. Background Art
[0002] The limitations of the Global Navigation Satellite System (GNSS) are particularly significant for the navigation and positioning challenges of underwater vehicles, because the signals emitted by these satellites quickly attenuate when they come into contact with water and cannot penetrate the underwater environment, thus failing to provide direct positioning services for vehicles. The underwater world is far more complex than the land and air environments. The unpredictable changes in ocean currents, vertical and horizontal gradients of water temperature, regional differences in salinity, and the intricate seafloor topography together create a dynamic and unpredictable navigation environment.
[0003] In this context, underwater vehicles will face huge challenges and potential risks if they rely solely on GNSS for positioning. When a vehicle goes deep underwater, its installed GNSS receiver will lose signal, resulting in the inability to obtain accurate longitude and latitude information in real time. This is undoubtedly a major obstacle for researchers conducting offshore tests, because they need to accurately grasp the position of the vehicle to ensure the smooth progress and safety of the test.
[0004] The lack of real-time position information not only makes it difficult for testers to effectively monitor and control the underwater vehicle, but also makes it impossible for ships and ship traffic management systems (such as the automatic identification system) around the test area to detect the existence of the underwater vehicle. This state may cause collisions in busy sea areas or during high-risk tests.
[0005] The Automatic Identification System (AIS) consists of shore-based base station facilities and ship-borne equipment. When a ship is equipped with AIS and GNSS equipment, the AIS system will receive real-time ship location data (including longitude, latitude, etc.) from the GNSS equipment, and package these data together with other ship dynamic information (such as heading, speed) into AIS messages. These AIS messages are then broadcast for other ships and shore facilities to receive and decode. The system uses time division multiple access technology through the Very High Frequency (VHF) maritime mobile frequency band to automatically broadcast and receive static information, dynamic information, voyage information and safety information of the ship. The AIS system has an operating range of approximately 25 nautical miles and is not affected by visibility, rain, snow and obstacles, greatly improving the coordination and avoidance capabilities between ships. Summary of the invention
[0006] Based on this, it is necessary to address the above problems and propose an underwater vehicle positioning method and device based on a ship traffic management system. The ultra short baseline (USBL) device is used to calculate the current position information of the underwater vehicle by receiving the hydroacoustic signal sent by the underwater vehicle, and then the current position information of the underwater vehicle is sent through the serial port. After the data is read and processed, it is packaged into an AIS message for broadcasting, which can realize the tracking, positioning and broadcasting of the underwater compass. Other ships and shore facilities can receive and decode the AIS message to obtain the current position information of the underwater vehicle. To achieve the above purpose, the technical solution of the present invention is as follows:
[0007] A method and device for positioning underwater vehicles based on a ship traffic management system, characterized in that the method and device adopt a modular design and include an underwater acoustic communication module, a data processing module, a radio frequency module, an automatic reset module, and a loop program module. The underwater acoustic communication module uses underwater acoustic communication to calculate the current position information of the underwater vehicle, and the length and data format of each current position information are fixed, and the specific character is used as the end flag. The underwater acoustic communication module has a data sending function, and sends the current position information of the underwater vehicle to the serial port buffer of the data processing module through the serial port.
[0008] The data processing module stores and reads the current location information of the underwater vehicle through memory allocation. The radio frequency module stipulates a fixed message type, using a message type containing a location report. After receiving the current location information sent by the data processing module, the radio frequency module broadcasts it through wireless communication. The automatic reset module includes the serial port buffer string pointer variable and the end flag, etc. After broadcasting, the radio frequency module will enter the automatic reset module and restore the initial state; in abnormal circumstances, the automatic reset module will clear the information stored in the data processing module and restore the initial state. The abnormal situation includes but is not limited to: the length of the current location information does not match or the data format is wrong, the current location information does not have the end flag, and the time when the data processing module reads the current location information of the underwater vehicle is abnormal. The abnormal situation will enter the automatic reset module.
[0009] The loop program module starts running when there is data in the serial port buffer, and performs conditional judgment when the current position data of the serial port buffer is the end flag. If the data format protocol of the underwater acoustic communication module is met, the current position information obtained by the data processing module is broadcast through the radio frequency module, and then enters the automatic reset module to restore the initial state; if the data format protocol of the underwater acoustic communication module is not met, the automatic reset module is directly entered to restore the initial state.
[0010] The method of the present invention can realize the tracking, positioning and broadcasting of the underwater navigation device, and reduce the risk of collision caused by the inability to obtain the position information of the underwater vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 The figure is a flowchart of the method of the present invention. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0013] The present invention discloses an underwater vehicle positioning method and device based on a ship traffic management system, including an underwater acoustic communication module, a data processing module, a radio frequency module, an automatic reset module and a loop program module. The working process is as follows: Figure 1 shown.
[0014] The hydroacoustic communication module uses hydroacoustic communication to calculate the position information of the underwater vehicle. The length and data format of each current position information are fixed, and a specific character is used as the end mark. The hydroacoustic communication module has a data sending function, which sends the current position information of the underwater vehicle to the serial port buffer of the data processing module through the serial port.
[0015] The data processing module stores and reads the current position information of the underwater vehicle through memory allocation. Specifically, the data read from the serial port is stored in a string, the string data is converted into integer data, and then the longitude and latitude data is calculated as long integer data in units of one ten-thousandth of a minute, and finally passed to the RF module for broadcasting. Specifically, the data calculated by the underwater acoustic communication module is sent to the serial port buffer one by one, and each data ends with an end flag such as a newline. When there is available data in the buffer, the main program starts running, and the characters in the serial port buffer are read one by one in a loop and then stored in a string. If the current position character is a newline, the data reading is considered complete, waiting for the next step of data type conversion and unit conversion. If the current character is not a newline, the data in the serial port buffer continues to be read.
[0016] The radio frequency module adopts the AIS broadcast mode. AIS specifies fixed message types. For example, message 1 is a planned position report of a Class A shipborne mobile device, message 2 is a planned position report assigned by a Class A shipborne mobile device, and message 3 is a specific position report of a Class A shipborne mobile device in response to an inquiry. This embodiment adopts the message 1 type containing the position report. AIS specifies that the message 1 sentence has a total of 168 bits, including information such as heading speed, longitude and latitude.
[0017] The automatic reset module includes the string pointer variable and the end flag of the serial port buffer. In abnormal situations, the automatic reset module will clear the information stored in the data processing module and restore the initial state. The automatic reset module includes the string storing the serial port buffer data, the string pointer variable and the flag for starting to read each data. When the program needs to be reset, the automatic reset program will clear the string storing the serial port buffer data, set the string pointer variable to 0 and the flag for starting to read each data to no.
[0018] Abnormal situations include but are not limited to: the current position information length does not match or the data format is wrong, the current position information has no end flag, and the data processing module reads the underwater vehicle's current position information abnormally. Abnormal situations will enter the automatic reset module. For example, when reading data, if the data length exceeds the length specified by the standard protocol, the current data will be cleared and wait for the next data input. In addition, each statement ends with an end flag, such as a newline character. The next character received by the serial port buffer is used as the flag to start reading the current statement. From this point on, if it is not restored to the initial state for more than three seconds, the automatic reset module will be triggered.
[0019] The loop program module starts running when there is data in the serial port buffer. When the current position data in the serial port buffer is the end flag, a conditional judgment is performed. If the data format protocol of the underwater acoustic communication module is met, the current position information obtained by the data processing module is broadcast through the radio frequency module, and then the automatic reset module is entered to restore the initial state; if the data format protocol of the underwater acoustic communication module is not met, the automatic reset module is directly entered to restore the initial state. Specifically, the loop program module will cyclically determine whether there is data in the serial port. When there is data input in the serial port, the current data will be read in and stored in the string. In this embodiment, the line feed character is used as the end flag of each statement. When the line feed character is read, a conditional judgment will be performed. Only when the specified format of the standard statement in the data format protocol is met, data processing will be performed. Finally, the processed data will be broadcasted, and then the automatic reset module will be entered to restore the initial state. When encountering other situations that do not meet the data format protocol, the automatic reset module will be directly entered to restore the initial state.
[0020] The specific implementation of the underwater vehicle positioning method and device includes but is not limited to: integrating a DC power supply, an embedded processor, a power amplifier, and a radio frequency signal transmitting device into an embedded device. Specifically, the circuit board uses a dry cell as a DC power supply; the embedded processor uses an ATMEGA88PA microcontroller, which is based on a high-performance 8-bit AVR RISC architecture, and the memory is an 8KB in-system self-programmable Flash program memory. Most instructions can be executed in a single clock cycle, and it has 23 programmable I / O lines, a programmable serial USART, a programmable watchdog timer, and supports multiple sleep modes, including idle, ADC noise reduction, power saving, power-down, standby, and extended standby modes to optimize power consumption; in addition, the circuit board also integrates a power amplifier and a radio frequency chip. After the program is compiled and burned into the embedded processor, the underwater vehicle positioning device can start working.
[0021] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0022] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for positioning an underwater vehicle based on a vessel traffic management system, characterized in that: The system comprises an underwater acoustic communication module, a data processing module, a radio frequency module, an automatic reset module and a loop program module. An ultra-short baseline device is used to calculate the current position information of the underwater vehicle by receiving the underwater acoustic signal sent by the underwater vehicle, and then the current position information of the underwater vehicle is received through a serial port. The data processing module performs data processing and packages the current position information into a ship automatic identification system message. The radio frequency module broadcasts the ship automatic identification system message. Other ships and shore facilities can receive and decode the ship automatic identification system message to obtain the current position information of the underwater vehicle.
2. The method according to claim 1, characterized in that: The hydroacoustic communication module uses hydroacoustic communication to calculate the current position information of the underwater vehicle. The length and data format of each piece of the current position information are fixed, and a specific character is used as an end flag. The hydroacoustic communication module has a data sending function, which sends the current position information of the underwater vehicle to the serial port buffer of the data processing module through the serial port.
3. The method according to claim 2, characterized in that The data processing module stores and reads the current position information of the underwater vehicle through memory allocation.
4. The method according to claim 3, characterized in that The automatic reset module includes the string pointer variable of the serial port buffer and the end flag, etc.; the radio frequency module will enter the automatic reset module after broadcasting and restore the initial state; under abnormal circumstances, the automatic reset module will clear the information stored in the data processing module and restore the initial state; the abnormal circumstances include but are not limited to: the current position information length does not match or the data format is wrong, the current position information does not have the end flag, and the data processing module reads the current position information of the underwater vehicle abnormally.
5. The method according to claim 4, characterized in that The loop program module starts running when there is data in the serial port buffer, and performs conditional judgment when the current position data of the serial port buffer is the end flag. If the data format protocol of the underwater acoustic communication module is met, the data processing module packages the current position information into the ship automatic identification system message, and the radio frequency module broadcasts the ship automatic identification system message, and then enters the automatic reset module to restore the initial state; if the data format protocol of the underwater acoustic communication module is not met, it directly enters the automatic reset module to restore the initial state.
6. An underwater vehicle positioning device based on a vessel traffic management system, characterized in that: The specific implementation of the underwater vehicle positioning method and device includes but is not limited to: integrating a DC power supply, an embedded processor, a power amplifier, and a radio frequency signal transmitting device into an embedded device.
