High-efficiency sound ray tracking method and system for massive sonar beams in full-sea depth environment
By simplifying the sound velocity profile and constructing templates, combined with K nearest neighbor search and inverse distance weighted calculation, the problem of low efficiency of traditional acoustic ray tracking methods in large water depth environments has been solved, and efficient tracking of massive sonar beams has been achieved, improving data processing efficiency. and precision.
Patent Information
- Application Number
- CN202410641916.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-23
AI Technical Summary
Existing technology: Traditional acoustic ray tracking methods are inefficient in processing massive sonar beams in large water depth environments and are difficult to meet the needs for efficient data processing.
The Douglas-Pook algorithm is used to compress complex sound velocity profiles, combined with the constant gradient sound ray tracking algorithm and K nearest neighbor search, a sound ray tracking template is constructed based on the tree data structure, and efficient sound ray tracking is achieved through inverse distance weighted calculation.
It improves the efficiency of massive sonar beam data processing, reduces the complexity of traditional methods, is suitable for medium and deep water environments, and improves production efficiency and data processing accuracy.
Smart Images

Figure CN118226427B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of ocean surveying and mapping, and in particular relates to a method and system for efficiently tracking sound rays with massive sonar beams in a full-sea-depth environment. Background Art
[0002] Seabed topography measurement is one of the main research directions of marine surveying and mapping. The high-precision, high-resolution, and full-coverage seabed topography information obtained through this work not only serves water transportation, port construction, and offshore drilling, but also provides basic information for the study of earth shape, seabed structure, and spatial characteristics. It plays an extremely important role in understanding the ocean, developing marine resources, and thus building a digital ocean and developing underwater real-life three-dimensional.
[0003] At present, modern seabed topography detection methods are mainly based on shipborne multi-beam bathymetry technology. This technology can measure the water depth values of hundreds of sounding points within a certain width (3 to 12 times the water depth) perpendicular to the track line per ping (a beam transmission and reception process). It can efficiently measure the size, shape and height changes of underwater targets. It has the advantages of high efficiency, high precision, high resolution and full coverage. Therefore, it is widely used in shallow and deep sea seabed resource exploration, channel measurement and underwater archaeology. Due to the complexity of the multi-beam bathymetry system, its corresponding data processing software is still basically dependent on foreign imports, which is not conducive to the comprehensive, independent and flexible development of my country's marine field. How to efficiently and accurately process massive and complex multi-beam bathymetry data has always been a research hotspot in the current field of marine surveying and mapping.
[0004] Ray tracking is a key link in multi-beam bathymetry data processing, and its tracking results directly affect the quality of the final seabed topography. Although the conventional ray tracking method has accurate results, the algorithm is inefficient when the amount of multi-beam bathymetry data is large due to the use of the layer appending idea for tracking, especially in deep water environments. In the case of huge amounts of data, the efficiency of this technology is difficult to guarantee, and the production efficiency is low, making it difficult to meet the current needs of efficient internal data processing.
[0005] Through the above analysis, the problems and defects of the existing technology are as follows: the conventional ray tracking method has low algorithm production efficiency when the amount of multi-beam bathymetric data is large, and it is difficult to meet the current data processing needs. Summary of the invention
[0006] In order to overcome the problem of low efficiency of traditional sound ray tracking methods in the current large-scale sonar beam processing in a deep water environment, the disclosed embodiment of the present invention provides a method and system for efficient sound ray tracking of large-scale sonar beams in a full-sea-depth environment, which has a reasonable design and overcomes the shortcomings of the prior art. The technical solution is as follows:
[0007] The present invention is implemented by a method for efficiently tracking sound rays with a large number of sonar beams in a full-sea-depth environment, the method comprising:
[0008] S1, using Douglas-Peucker rarefaction algorithm to compress the complex sound velocity profile to obtain the simplified sound velocity profile S;
[0009] S2, preset beam incidence angle range and beam angle interval, beam travel time range and beam travel time interval, use constant gradient ray tracing algorithm to track the preset beam cycle, calculate the water depth and offset of each beam ;
[0010] S3, based on The tree data structure has a set of beam incidence angles and travel times for each preset beam. , water depth and offset Organize and obtain a sound ray tracking template;
[0011] S4, based on the actual beam incidence angle and travel time , using K nearest neighbor search Nearby sound ray tracking template points ;
[0012] S5, based on the search template point , using inverse distance weighting to calculate the beam Water depth and horizontal offset , achieving efficient beam tracking in full-sea-depth environments.
[0013] In step S2, the water depth and offset of each beam are calculated ,include:
[0014] Preset beam incidence angle range , the beam angle interval is ; The beam travels at a range of , the beam travel time interval is ;
[0015] Calculate the incident angle and travel time for each preset beam ;
[0016] ;
[0017] ;
[0018] In the formula, is the beam angle number, the value range is ;No. The beam travel time number of the beam, the value range is According to the simplified sound velocity profile S, the constant gradient ray tracking algorithm is used to track each preset beam. Tracking, calculating water depth and offset at each point .
[0019] In step S3, based on The tree data structure has a set of beam incidence angles and travel times for each preset beam. , water depth and offset Organize and get the sound ray tracking template, including:
[0020] Beam incidence angle and beam travel time For two dimensions, calculate the variance of the two-dimensional data and select the dimension with the largest variance as the split axis;
[0021] ;
[0022] ;
[0023] In the formula, and is the mean and variance of the beam incident angle with the splitting axis, and The mean and variance of the beam travel time when the partition axis is the partition axis; the dimension with the largest variance is used as the partition axis, the values on the partition axis are sorted, and the median is determined , the split axis value is greater than The value of the left subtree is divided into two parts, and the value is less than The numerical value of divides the right subtree space;
[0024] Repeat the split axis selection and value sorting process for the data in the left and right subspaces to subdivide the space and the data set until the space contains only one data point.
[0025] In step S4, according to the actual beam incident angle and travel time , using K nearest neighbor search Nearby sound ray tracking template points ,include:
[0026] Set the number of nearest neighbors to ;
[0027] According to the actual beam incidence angle and travel time Perform a K-nearest neighbor search algorithm to find the query point The nearest points and the corresponding depth and offset coordinates.
[0028] In step S5, according to the search template point , using inverse distance weighting to calculate the beam Water depth and horizontal offset , realizing efficient acoustic ray tracking in full-sea-depth environment, including:
[0029] For each searched template point, the Euclidean distance to the query point is calculated, and the query point is the estimated position of the real beam;
[0030] According to the inverse distance weighting principle, the closer the template point is, the greater the weight is given;
[0031] The water depth and horizontal offset are calculated by inverse distance weighting respectively; for each water depth or horizontal offset attribute, the attribute value of the searched template point is multiplied by the corresponding weight, and all weighted attribute values are added; the weighted sum is divided by the sum of all weights to obtain the estimated water depth and horizontal offset.
[0032] Furthermore, the weight calculation formula is:
[0033] ;
[0034] in, It is The weight of the sample point, is the distance between the sample point and the position to be interpolated, It is an adjustable parameter.
[0035] Furthermore, the adjustable parameter p takes a value of 2.
[0036] Further, let the number of known sample points be , the coordinates of the sth sample point are , the weight is , the corresponding water depth and horizontal offset are , then the water depth and horizontal offset of the position to be interpolated are calculated by the following formula:
[0037] ;
[0038] ;
[0039] In the formula, For water depth, is the horizontal offset, is the sample point number, is the number of known sample points, is the weight.
[0040] Another object of the present invention is to provide a high-efficiency sound ray tracking system for a large number of sonar beams in a full-sea-depth environment, the system being used to control the high-efficiency sound ray tracking method for a large number of sonar beams in a full-sea-depth environment, the system comprising:
[0041] The complex sound velocity profile compression module is used to compress the complex sound velocity profile using the Douglas-Peucker rarefaction algorithm to obtain a simplified sound velocity profile S;
[0042] Sonar beam attribute calculation module, used to preset the beam incident angle range and beam angle interval, beam travel time range and beam travel time interval, use constant gradient ray tracing algorithm to track the preset beam cycle, and calculate the water depth and offset of each beam ;
[0043] Ray tracing template building module for The tree data structure has a set of beam incidence angles and travel times for each preset beam. , water depth and offset Organize and obtain a sound ray tracking template;
[0044] The ray tracing template point search module is used to search for the real beam incident angle and travel time. , using K nearest neighbor search Nearby sound ray tracking template points ;
[0045] The sound ray tracking module is used to search for template points (Hs , Ls), according to the search template point , using inverse distance weighting to calculate the beam Water depth and horizontal offset , achieving efficient beam tracking in full-sea-depth environments.
[0046] Furthermore, the system is applied on a computer-readable storage medium, and when the computer-readable storage medium is run, the steps of the method for efficient sound ray tracking of massive sonar beams in a full-sea-depth environment are executed.
[0047] Combining all the above technical solutions, the advantages and positive effects of the present invention are as follows:
[0048] 1. The present invention adopts a multi-beam bathymetric system. The system uses a multi-beam transducer fixed on the bottom of the survey ship for underwater measurement, and obtains three-dimensional information of the seabed topography as the survey ship moves; the positioning and navigation part combines GNSS and attitude measurement equipment (including compass) to obtain the positioning and attitude information of the survey ship; a sound velocity profiler or a temperature-salinity-depth meter (CTD) is used to obtain the sound velocity profile information of the water body at full sea depth, and compensate for the bending of sound lines in seawater. The design is reasonable, which solves the problem of low efficiency of traditional sound line tracking methods in the current large-scale sonar beam processing in deep water environments.
[0049] 2. The method for efficient ray tracking of massive sonar beams in full-sea depth environment of the present invention first simplifies complex sound velocity profiles by using the Douglas-Peucker algorithm; then divides the profiles according to certain angle intervals and time intervals based on the preset beam three-dimensional incident angle and beam travel time, and then performs ray tracking based on the simplified sound velocity profile and the divided beam incident angle and travel time, obtains the water depth and horizontal offset of the ray tracking template points, and organizes the ray tracking template points by using the kd tree; finally, according to the real beam incident angle and travel time, uses the K nearest neighbor to search for the ray tracking template points near the real measurement value, and uses the inverse distance weighted method to calculate the water depth and horizontal offset of the given real beam, so as to realize efficient ray tracking of beams in full-sea depth environment.
[0050] 3. The present invention selects appropriate methods and parameters according to specific problems and data characteristics, and then adopts the optimal simplification technology route of complex sound speed profiles taking into account equivalent sound speed constraints to achieve the best sound speed profile simplification effect and equivalent sound speed calculation accuracy; then the sound line tracking template construction technology route based on the kd tree needs to be selected and adjusted in combination with specific problems and data characteristics to achieve the best sound line tracking effect and template construction accuracy; finally, according to the coordinates and neighbor distances of each test point in the KNN interpolation, the nearest neighbor point is searched, and the interpolation result is calculated. Through the method of the present invention, efficient sound line tracking of a large number of beams in the full-sea depth environment of multi-beam bathymetric sonar can be achieved, avoiding the time-consuming problem of adding layers in the traditional sound line tracking method, which has important reference value for improving the current full-sea depth multi-beam bathymetric data processing efficiency.
[0051] 4. The present invention is a method for efficiently tracking massive sonar beams in full-sea-depth environments. After simplifying the sound velocity profile through the Douglas algorithm, the sound velocity template is constructed by presetting the sound wave propagation angle. Finally, the method of combining data structure and precise interpolation is used to realize efficient tracking and data search of sonar beams, which greatly reduces the complexity of the classical method, thereby realizing efficient tracking of massive beams in medium-deep water and deep water environments. The results of the present invention have important reference value for further improving the theoretical analysis of multi-beam bathymetric data processing and improving actual production efficiency, and play a certain role in improving the work efficiency of marine surveying and mapping projects.
[0052] 5. The present invention can provide a technical reference for efficient tracking of full-sea-depth multi-beam bathymetric points in my country, promote the development of domestic full-sea-depth multi-beam bathymetric data processing software, and enhance the competitiveness of domestic marine surveying and mapping software. The results of the present invention solve the problem of time-consuming calculation of traditional conventional ray tracking methods under large water depths and massive beams, and have important reference value for further improving the production efficiency of full-sea-depth multi-beam seabed terrain detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure;
[0054] Figure 1 It is a flow chart of a method for efficient sound ray tracking of massive sonar beams in full-sea-depth environments provided by an embodiment of the present invention;
[0055] Figure 2 It is a schematic diagram of a method for efficiently tracking sound rays using massive sonar beams in a full-sea-depth environment provided by an embodiment of the present invention;
[0056] Figure 3 It is a schematic diagram of the sound velocity layering of the constant sound velocity assumption model within the layer provided by the embodiment of the present invention;
[0057] Figure 4 is a schematic diagram of an equivalent sound velocity profile provided by an embodiment of the present invention;
[0058] Figure 5 This is an image obtained by simplification through the Douglas-Peucker algorithm provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.
[0060] The innovation of the present invention lies in: after simplifying the sound velocity profile through the Douglas algorithm, the sound velocity template is constructed by presetting the sound wave propagation angle, and finally the data structure and precise interpolation method are combined to realize efficient tracking and data search of sonar beams, which greatly reduces the complexity of the classical method, thereby realizing efficient tracking of massive beams in medium-deep water and deep water environments.
[0061] Embodiment, the theoretical basis of the present invention is as follows:
[0062] 1. Sound ray tracking:
[0063] Conventional sound ray tracking mainly relies on the collected sound velocity profile data for layer-addition calculation. In deep water, especially in deep sea environment, the sound velocity profile is densely sampled. The sound velocity profile actually measured usually contains a lot of noise and detail information, which increases the burden of processing massive sonar beam data. For the simplification of sound velocity profile, the first thing to do is to solve the problem of fast data processing. For the range where the sound velocity changes slowly in deep sea environment, the sound velocity profile can be simplified first. The principle is to use the Douglas-Peucker algorithm to slow down the sound velocity profile and remove the sound velocity sampling points that have little impact on the sound ray tracking results to improve the calculation efficiency of sound ray tracking. At the same time, the area constraint condition in the equivalent sound velocity theory is introduced, and the least squares method is used to ensure the effectiveness of the simplified sound velocity profile accuracy.
[0064] The sound velocity stratification of the model with constant sound velocity in the layer is as follows Figure 3 As shown in the figure, when the sound velocity is constant in the layer, the grazing angle of the sound line in the layer remains unchanged and the trajectory is a straight line. Assuming that the initial incident angle of the beam is , the initial sound speed is , according to Snell's law and the sound speed of each layer , the incident angle of the sound ray in each layer can be obtained There are the following relationships:
[0065] ;
[0066] The propagation time of the sound line in this layer and horizontal distance They are:
[0067] ;
[0068] ;
[0069] in, and is the water depth of the adjacent water layer. The cumulative propagation time after the sound line propagates through the complete N-1 layer and horizontal distance as follows:
[0070] ;
[0071] ;
[0072] If there is still time left after the sound line has been refracted through N-1 layers, it is recorded as , but it is not enough to pass through the complete Nth layer, the depth of propagation in the Nth layer and horizontal distance for:
[0073] ;
[0074] ;
[0075] 2. Equivalent sound speed theory:
[0076] The actual ocean environment is often a horizontally non-uniform environment, that is, the sound velocity profile between the sound source and the receiving array changes not only with time, but also with distance. If the focus is on improving positioning accuracy, it is possible to give priority to obtaining an equivalent sound velocity profile that can describe the cumulative effect of sound propagation distance. For an ocean environment with large horizontal changes, the equivalent sound velocity profile cannot simply be selected from the average sound velocity profile at the receiving position, the transmitting position or the sea area. It needs to be analyzed through the acoustic inversion method, as shown in the schematic diagram. Figure 4 shown.
[0077] 3. Douglas-Peucker algorithm principle:
[0078] Douglas-Peucker algorithm is one of the main algorithms for data thinning and stratification. It is an algorithm that achieves data thinning by retaining feature points and discarding non-feature points. Its basic idea is as follows:
[0079] First, connect the first and last endpoints of the curve to be thinned or layered into a straight line, and then calculate the vertical distance from the remaining target points P to the straight line. , and its calculation formula is as follows:
[0080] ;
[0081] In the formula, is the coordinate of the target point P, and is the coordinates of the first and last endpoints. When the maximum distance from the remaining target points to the straight line are all less than a given threshold δ , then the point with the largest distance from the middle point and the point with the largest distance from the straight line is used as the dividing point to divide the original curve into two parts, and then repeat the above process for each curve segment until no redundant points are discarded. Figure 5 shown.
[0082] 4.k nearest neighbor search:
[0083] In order to increase the speed of the search, a special data storage format can be used to reduce the number of distance calculations. Kd tree is a method of storing data in the form of a binary tree. The kd tree needs to be used to complete the search for K nearest neighbors. The construction method is as follows:
[0084] (1) Search downward according to the coordinates of p and the nodes of the kd tree (if the nodes of the tree are split, then if the coordinates of p are less than c, go to the left child node, otherwise go to the right child node);
[0085] (2) When a leaf node is reached, it is marked as visited. If there are less than k points in S, the node is added to S; if S is not empty and the distance between the current node and point p is less than the longest distance in S, the point farthest from p in S is replaced with the current node;
[0086] (3) If the current node is not the root node, execute step (a); otherwise, end the algorithm:
[0087] (a) Go back to the parent node of the current node. The node at this time is the current node (the node after going back). Mark the current node as visited and execute steps (b) and (c); if the current node has been visited, execute step (a) again;
[0088] (b) If there are less than k points in S at this time, add the current node to S; if there are k points in S and the distance between the current node and point p is less than the longest distance in S, replace the farthest point in S with the current node;
[0089] (c) Calculate the distance between point p and the dividing line of the current node; if the distance is greater than or equal to the farthest distance from p in S and there are k points in S, execute step (3); if the distance is less than the farthest distance in S or there are no k points in S, execute step (1) starting from another child node of the current node; if the current node has no other child node, execute step (3).
[0090] like Figure 1 As shown, the method for efficient sound ray tracking of massive sonar beams in a full-sea-depth environment provided by an embodiment of the present invention comprises the following steps:
[0091] Step S1: compress the complex sound velocity profile using the Douglas-Peucker rarefaction algorithm to obtain a simplified sound velocity profile S;
[0092] Step S2: preset the beam incident angle range and beam angle interval, beam travel time range and beam travel time interval, use the constant gradient ray tracing algorithm to track the preset beam cycle, and calculate the water depth and offset (Hi , Lj);
[0093] Step 2.1: Preset the beam incidence angle range , the beam angle interval is p; the beam travel time range is [0 , T max ], the beam travel time interval is r;
[0094] Step 2.2: Calculate the incident angle and travel time for each preset beam :
[0095] ;
[0096] ;
[0097] In the formula, is the beam angle number, the value range is ;No. The beam travel time number of the beam, the value range is According to the simplified sound velocity profile S, the constant gradient ray tracking algorithm is used to track each preset beam. Tracking, calculating water depth and offset at each point .
[0098] Step 2.3: Based on the simplified sound velocity profile S, use the constant gradient ray tracking algorithm to track each preset beam. Track and calculate the water depth and offset of each point (Hi , Lj).
[0099] Step S3: Based on the kd tree data structure, each preset beam incident angle, travel time, water depth and offset (Hi , Lj) to organize and obtain the sound ray tracking template;
[0100] Step 3.1: Beam incidence angle and beam travel time For two dimensions, calculate the variance of the two-dimensional data and select the dimension with the largest variance as the split axis;
[0101] Step 3.2: Sort the values on the split axis and determine the median u. The values on the split axis greater than u are used to divide the left subtree space, and the values less than u are used to divide the right subtree space.
[0102] Step 3.3: Repeat steps 3.1 to 3.2 for the data in the left subspace and the right subspace to further subdivide the space and the data set until the space contains only one data point.
[0103] Step S4: According to the actual beam incident angle and travel time ( , t), using K nearest neighbor search ( , t) Nearby sound ray tracking template point (Hs , Ls);
[0104] Step 4.1: Set the number of nearest neighbors to n;
[0105] Step 4.2: Based on the actual beam incidence angle and travel time ( ,t) Execute the K nearest neighbor search algorithm to find the n points closest to the query point and the corresponding water depth and offset coordinates.
[0106] Step S5: Based on the search template point (Hs , Ls), using inverse distance weighted beam calculation ( , t) of water depth and horizontal offset (H , X) to achieve efficient acoustic ray tracking in full-sea-depth environment;
[0107] Step 5.1: For each searched template point, calculate the Euclidean distance or other suitable distance metric between it and the query point (i.e., the estimated position of the true beam);
[0108] Step 5.2: According to the inverse distance weighting principle, the closer the template point is, the greater the weight is given;
[0109] ;
[0110] in, is the weight of the s-th sample point, is the distance between the sample point and the position to be interpolated, p is an adjustable parameter, and the value of p is 2.
[0111] Step 5.3: Perform inverse distance weighted calculations on the water depth and horizontal offset respectively; for each attribute (water depth or horizontal offset), multiply the attribute value of the searched template point by the corresponding weight, and add up all weighted attribute values; divide the weighted sum by the sum of all weights to obtain the estimated water depth and horizontal offset.
[0112] Specifically, suppose the number of known sample points is n, and the coordinates of the sth sample point are ( s , t s ), with weight w s , the water depth and horizontal offset corresponding to the sample point are (Hs , Ls), then the water depth and offset (H , X) is calculated by the following formula:
[0113] ;
[0114] ;
[0115] The principle of the high-efficiency sound ray tracking method for a large number of sonar beams in a full-sea-depth environment of the present invention is shown in Figure 2 .
[0116] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0117] Since the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention, their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0118] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment.
[0119] According to an embodiment of the present application, the present invention also provides a computer device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps of any of the above-mentioned method embodiments when executing the computer program.
[0120] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0121] An embodiment of the present invention further provides an information data processing terminal, which, when executed on an electronic device, provides a user input interface to implement the steps in the above method embodiments. The information data processing terminal is not limited to mobile phones, computers, and switches.
[0122] An embodiment of the present invention further provides a server, which is used to provide a user input interface to implement the steps in the above method embodiments when executed on an electronic device.
[0123] An embodiment of the present invention further provides a computer program product. When the computer program product is run on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0125] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0126] This simulation experiment takes the deep-water multi-beam 1Ping 432 beams as an example, where the preset beam angle is -80° to 80°, the beam interval is 0.001°, the beam travel time range is 0 to 10s, the travel time interval is 0.01ms, and the measured sound velocity profile data is as follows. The sound velocity template is constructed based on this data.
[0127] For the measured beam incident angle of 61.235° and travel time of 8.37525s, conventional ray tracing method and the patented method of the present invention are used for ray tracing respectively, and the water depth deviation, horizontal offset deviation and time consumption of the two are calculated. The results are shown in Table 1. The above experiment is simulated and calculated using MATLAB. The results show that the proposed method can effectively improve the efficiency of the traditional method while ensuring the calculation accuracy.
[0128] Table 1 Simulation experiment statistics:
[0129]
[0130] The experimental sound velocity profile data are shown in Table 2.
[0131] Table 2 Experimental sound velocity profile data:
[0132]
[0133] Table 2 (continued):
[0134]
[0135] Table 2 (continued):
[0136]
[0137] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principles of the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for efficient ray tracking of massive sonar beams in full-sea depth environments, characterized in that: The method includes: S1, using Douglas-Peucker rarefaction algorithm to compress the complex sound velocity profile to obtain the simplified sound velocity profile S; S2, preset beam incidence angle range and beam angle interval, beam travel time range and beam travel time interval, use constant gradient ray tracing algorithm to track the preset beam cycle, calculate the water depth and offset (H) of each beam i ,L j ); S3, based on the kd tree data structure, for each preset beam incident angle and travel time (θ i ,t ik ), water depth and offset (H i ,L j ) to organize and obtain a sound ray tracking template; S4, based on the actual beam incidence angle and travel time Using K nearest neighbor search Nearby sound ray tracking template points (Ha, Lb); S5, based on the search template point (Ha, Lb), the water depth and horizontal offset (H, X) of the beam (θ, t) are calculated using inverse distance weighting to achieve efficient acoustic ray tracking in the full-sea-depth environment. In step S3, based on the kd tree data structure, each preset beam incident angle and travel time (θ i ,t ik ), water depth and offset (H i ,L j ) to organize and obtain the sound ray tracking template, including: The beam incident angle θ i and beam travel time t ik For two dimensions, calculate the variance of the two-dimensional data and select the dimension with the largest variance as the split axis; Where i is the beam incident angle number, ranging from [0, N], σ1 and are the variance and mean of the beam incident angle with the split axis, σ2 and are the variance and mean of the beam travel time when the partition axis is the partition axis; the dimension with the largest variance is used as the partition axis, the values on the partition axis are sorted, and the median u is determined. The values of the partition axis greater than u divide the left subtree space, and the values less than u divide the right subtree space; k is the beam travel time number of the i-th beam, and the value range is [0, M]; Repeat the split axis selection and value sorting process for the data in the left subtree space and the right tree subspace to subdivide the space and the data set until the space contains only one data point.
2. The method for efficient ray tracking of massive sonar beams in full-sea-depth environments according to claim 1 is characterized in that: In step S2, the water depth and offset (H i ,L j ),include: Preset beam incidence angle range The beam angle interval is p; the beam travel time range is [0,T max ], the beam travel time interval is r; Calculate the incident angle and travel time (θ) of each preset beam i ,t ik ); According to the simplified sound velocity profile S, the constant gradient ray tracking algorithm is used to track each preset beam (θ i ,t ik ) to track and calculate the water depth and offset (H) of each point i ,L j ).
3. The method for efficient ray tracking of massive sonar beams in full-sea-depth environments according to claim 1 is characterized in that: In step S4, according to the actual beam incident angle and travel time Using K nearest neighbor search Nearby sound ray tracking template points (Ha, Lb), including: Set the number of nearest neighbors to n; According to the actual beam incidence angle and travel time Perform a K-nearest neighbor search algorithm to find the query point The nearest n points and their corresponding water depth and offset coordinates.
4. The method for efficient ray tracking of massive sonar beams in full-sea-depth environments according to claim 1 is characterized in that: In step S5, the beam is calculated using inverse distance weighting based on the search template point (Ha, Lb). The water depth and horizontal offset (H, X) are realized to realize efficient acoustic ray tracking in the full sea depth environment, including: For each searched template point, the Euclidean distance to the query point is calculated, and the query point is the estimated position of the real beam; According to the inverse distance weighting principle, the closer the template point is, the greater the weight is given; The water depth and horizontal offset are calculated by inverse distance weighting respectively; for each water depth or horizontal offset attribute, the attribute value of the searched template point is multiplied by the corresponding weight, and all weighted attribute values are added; the weighted sum is divided by the sum of all weights to obtain the estimated water depth and horizontal offset.
5. The method for efficient ray tracking of massive sonar beams in full-sea-depth environments according to claim 4 is characterized in that: The weight calculation formula is: Among them, w s is the weight of the sth sample point, d s is the distance between the sample point and the position to be interpolated, and b is an adjustable parameter.
6. The method for efficient ray tracking of massive sonar beams in full-sea-depth environments according to claim 5 is characterized in that: The adjustable parameter b takes the value of 2.
7. The method for efficient sound ray tracking of massive sonar beams in full-sea-depth environments according to claim 5 is characterized in that: The number of sample points is known to be c, and the coordinates of the sth sample point are (x s ,y s ), with weight w s , the corresponding water depth and horizontal offset are (Hs, Ls), then the water depth and horizontal offset of the position to be interpolated are calculated by the following formula: In the formula, H is the water depth, X is the horizontal offset, s is the sample point number, c is the number of known sample points, and w is the s is the weight.
8. A high-efficiency sound ray tracking system with massive sonar beams for full-sea-depth environments, characterized in that: The system is used to control the high-efficiency sound ray tracking method for a large number of sonar beams in a full-sea-depth environment as described in any one of claims 1 to 7, and the system comprises: The complex sound velocity profile compression module is used to compress the complex sound velocity profile using the Douglas-Peucker rarefaction algorithm to obtain a simplified sound velocity profile S; The sonar beam attribute calculation module is used to preset the beam incident angle range and beam angle interval, beam travel time range and beam travel time interval, use the constant gradient sound line tracking algorithm to track the preset beam cycle, and calculate the water depth and offset (H) of each beam. i ,L j ); The sound ray tracking template building module is used to generate a template for each preset beam incident angle and travel time (θ i ,t ik ), water depth and offset (H i ,L j ) to organize and obtain a sound ray tracking template; The ray tracing template point search module is used to search for the real beam incident angle and travel time. Using K nearest neighbor search Nearby sound ray tracking template points (Ha, Lb); The ray tracking module is used to calculate the beam using inverse distance weighting based on the search template point (Ha, Lb) The water depth and horizontal offset (H, X) can be determined to achieve efficient acoustic ray tracking in the full-sea-depth environment.
