[go: up one dir, main page]

CN116045899B - A method for identifying curves based on longitude and latitude data of inland ships - Google Patents

A method for identifying curves based on longitude and latitude data of inland ships Download PDF

Info

Publication number
CN116045899B
CN116045899B CN202211527137.3A CN202211527137A CN116045899B CN 116045899 B CN116045899 B CN 116045899B CN 202211527137 A CN202211527137 A CN 202211527137A CN 116045899 B CN116045899 B CN 116045899B
Authority
CN
China
Prior art keywords
index
longitude
fitting
latitude
plane coordinates
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
CN202211527137.3A
Other languages
Chinese (zh)
Other versions
CN116045899A (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.)
Harbin Engineering University
Original Assignee
Harbin Engineering 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 Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN202211527137.3A priority Critical patent/CN116045899B/en
Publication of CN116045899A publication Critical patent/CN116045899A/en
Application granted granted Critical
Publication of CN116045899B publication Critical patent/CN116045899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles
    • G01C1/02Theodolites
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/203Instruments for performing navigational calculations specially adapted for water-borne vessels

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)
  • Complex Calculations (AREA)

Abstract

基于内河船舶经纬度数据的弯道识别方法,属于船舶能源领域,用于解决内河船舶航线弯道的全自动识别的问题,将经纬度数据进行分段,索引所对应的经纬度数据投影成平面坐标;对所述平面坐标进行多项式拟合;根据所述平面坐标的多项式拟合结果,计算索引所对应的经纬度数据的平面坐标的曲率半径;根据索引所对应的经纬度数据的平面坐标的曲率半径,计算曲率半径对应的内河船舶过弯速度降值;根据内河船舶过弯速度降值对索引所对应的经纬度数据的弯道进行标记,效果是自动和准确的通过内河船舶经纬度数据对航行弯道识别。

The invention discloses a curve identification method based on the longitude and latitude data of an inland river ship, belongs to the field of ship energy, and is used to solve the problem of fully automatic identification of curves in inland river ship routes. The longitude and latitude data are segmented, and the longitude and latitude data corresponding to the index are projected into plane coordinates; polynomial fitting is performed on the plane coordinates; the curvature radius of the plane coordinates of the longitude and latitude data corresponding to the index is calculated according to the polynomial fitting result of the plane coordinates; the inland river ship turning speed drop corresponding to the curvature radius is calculated according to the curvature radius of the plane coordinates of the longitude and latitude data corresponding to the index; the curve of the longitude and latitude data corresponding to the index is marked according to the inland river ship turning speed drop, so that the navigation curve is automatically and accurately identified through the longitude and latitude data of the inland river ship.

Description

Curve recognition method based on inland ship longitude and latitude data
Technical Field
The invention belongs to the field of ship energy management, and particularly relates to a curve recognition method for a navigation line section in the earlier period of optimizing the navigation speed of a inland ship in an energy management method.
Background
With the gradual exhaustion of world energy and the increase of global greenhouse gas emission, energy conservation and emission reduction are important subjects in the current age. The ship is used as a carrier of bulk goods, more than 80% of world trade total is carried out by the ship, and has important supporting function in international trade and regional economic development, but the ship is considered as the largest contributor to fuel consumption of transportation industry. According to the related research, the navigation speed of the ship is reduced by 2-3 sections on the basis of the design speed, so that the fuel consumption of the ship is reduced to a great extent, and the operation cost is reduced, so that the navigation speed optimization is a more concise and efficient ship energy efficiency improvement method.
For inland ships, the route is basically fixed, the repeatability is high, the periodic variation of inland hydrology is obvious, and especially the container ship and bulk cargo transportation, the demand is stable, and the sending time is stable, so that the method has great significance for the optimized management of reducing the navigational speed under the fixed route of inland ships. Under the condition of meeting the voyage requirements, the aims of lowest voyage total fuel consumption and lowest carbon dioxide emission can be achieved through optimal management of voyage speed, and the aims of saving energy, reducing emission and reducing fuel cost of inland ships are further achieved.
Based on the method, the optimized management for reducing the navigational speed is carried out under the fixed navigational route of the inland ship, and the navigational route section in the earlier period of the navigational speed optimization of the inland ship is required to support, wherein the identification of the inland curve is an important technical route for supporting, and the speed reduction and the bending of the ship are required at the curve position which is more accurately identified, so that the safety of the ship bending is improved, and the optimized management for reducing the navigational speed can be carried out according to the curve condition. In the past, scholars generally adopt manual urban segmentation according to routes in route optimization of inland ships, such as the route of Wuhan to Shanghai, which is divided into sections from Wuhan to Jiujiang, sections from Jiujiang to Nanjing and sections from Nanjing to Shanghai. Or manually segmented according to curves in the roadmap. In this way, the identification of the inland curve usually needs to be manually marked, the marking efficiency is low, and the accuracy is greatly influenced by the subjective effect.
Disclosure of Invention
In order to solve the problem of full-automatic identification of curves of a inland ship route, the curve identification method based on inland ship longitude and latitude data according to some embodiments of the application comprises the following steps of
Step 1, setting indexes of N sequential longitude and latitude data acquired through navigation from 0 to N-1;
Step 2, segmenting longitude and latitude data according to longitude and latitude data of a starting index i, wherein a segmentation result comprises longitude and latitude data corresponding to all indexes between the index i and the index j and between the index i and the index j;
Step 3, projecting longitude and latitude data corresponding to all indexes including the index i and the index j and between the index i and the index j into plane coordinates, wherein the indexes of the plane coordinates are the same as the indexes of the longitude and latitude data;
Step 4, performing polynomial fitting on the plane coordinates;
Step 5, determining index numbers k and l according to the numbers i and j of the index i and the index j, and calculating the curvature radius of the plane coordinates comprising the index k and the index l and longitude and latitude data corresponding to all indexes between the index k and the index l according to the polynomial fitting result of the plane coordinates;
Calculating the over-bending speed reduction value of the inland ship corresponding to the curvature radius according to the curvature radius of the plane coordinates of the longitude and latitude data corresponding to the indexes k and l and all indexes between the indexes k and l;
marking curves of longitude and latitude data corresponding to indexes k and l and all indexes between the indexes k and l according to the bending speed reduction value of the inland ship;
step 6, redefining a starting index i according to the indexes i and j of the index i and the index j, wherein the marking sequence number of the redetermined starting index is larger than that of the starting index;
And 7, repeating the steps 2-6 until the curve marking of all longitude and latitude data is completed.
According to some embodiments of the present application, the method for identifying curves based on latitude and longitude data of inland vessels includes
Starting from longitude and latitude data of a starting index i, increasing the serial number of an index j from i+1, checking the difference between the minimum longitude and the maximum longitude of longitude and latitude data corresponding to all indexes of the indexes i to j, wherein the value of the difference between the minimum longitude and the maximum longitude is set as x, the minimum value of the fixed number is y, and the maximum value of the fixed number is z;
S2.1, if the difference between the minimum longitude and the maximum longitude is greater than x degrees, the sequence number of the index j stops increasing, if j-i is smaller than y, the sequence number j=i+y, and if j-i is greater than y, no operation is performed, and the sequence number of the index j is obtained;
If the difference between the minimum longitude and the maximum longitude is not greater than x degrees, the serial number of the index j continues to be increased until the difference between the minimum longitude and the maximum longitude is greater than x degrees, the serial number of the index j stops increasing, if j-i is smaller than y, the serial number j=i+y, and if j-i is greater than y, no operation is performed, and the serial number of the index j is obtained;
If the number of the index j increases to exceed i+z and the difference between the minimum longitude and the maximum longitude is not satisfied and is larger than x degrees, stopping increasing the number of the index j and obtaining the number of the index j, wherein the number of the index j is equal to i+z;
S2.2, calculating the serial number of the obtained index j and the serial number of the initial index i, and adding one or subtracting one or not changing the serial number j through the remainder of (j-i) and 3, so that (j-i) can be divided by 3 to obtain the serial number of the final index j, thereby obtaining longitude and latitude data corresponding to all indexes including the index i and the index j and all indexes between the index i and the index j.
According to some embodiments of the present application, a method for identifying curves based on latitude and longitude data of inland vessels in step 3 includes
S3.1, extracting the minimum longitude and the maximum longitude in all longitude and latitude data between the segmented index i and the segmented index j and between the segmented index i and the segmented index j;
S3.2, enabling the central meridian of a projection belt in Gaussian Kelvin projection to be equal to the sum of one half times the minimum longitude;
S3.3. projecting latitude and longitude data between index i and index j and index i and index j as plane coordinates (x, y) through the central meridian.
According to some embodiments of the present application, the curve recognition method based on inland ship longitude and latitude data in step 4 includes
S4.1, carrying out translation operation on plane coordinates (x, y) of the central meridian projected by longitude and latitude data between an index i and an index j and between the index i and the index j;
S4.2, respectively performing polynomial fitting on the plane coordinates (x, y) after the translation operation in four modes of abcd:
a, directly performing polynomial fitting on the plane coordinates (x, y) after the translation operation;
b, exchanging x and y values of the plane coordinates (x, y) after the translation operation, and then performing polynomial fitting;
c, performing polynomial fitting after rotating the plane coordinates (x, y) after the translation operation to the right by 45 degrees along the origin of coordinates;
d, performing polynomial fitting after rotating the plane coordinates (x, y) subjected to the translation operation to the left by 45 degrees along the origin of coordinates;
s4.3, calculating R square of the fitting results of four modes of abcd, selecting the fitting result with the largest R square as the final fitting result, carrying out step 5 if the largest fitting result in the R square is qualified, and carrying out polynomial fitting in a fifth mode if the largest fitting result in the R square is unqualified:
e, starting from the plane coordinates (x, y) after the translation operation, rotating coordinate points clockwise by taking a coordinate origin as a center and taking 30 degrees as a unit to generate 12 groups of plane coordinates, and performing polynomial fitting on each group of plane coordinates to obtain 12 groups of fitting results;
S4.4, calculating 12 groups of fitting results R squares in the e mode, selecting the fitting result with the largest R square as a final fitting result, if the largest fitting result in the R squares is qualified, performing step 5, and if the largest fitting result in the R squares is not qualified, performing fitting failure, and selecting the largest fitting result in the R squares in the fitting results to perform step 5.
According to some embodiments of the present application, the step S4.1 specifically includes subtracting x minimum value and y minimum value in the segment from x and y values of the plane coordinates (x, y) of the projections of the latitude and longitude data between the index i and the index j, and adding 10 to each of the x and y minimum values to translate the plane coordinates of the segment toward the origin of coordinates;
the method for rotating the plane coordinates (x, y) after the translation operation to the right along the origin of coordinates by 45 degrees in the step S4.2 comprises
Firstly, converting Cartesian coordinate (x, y) values into polar coordinates (rho, theta);
Then adding pi/4 to the theta in the polar coordinates;
the polar coordinates are then converted into Cartesian (x, y) values;
finally subtracting the x minimum value and the y minimum value of all coordinates from the x value and the y value of each coordinate to ensure that all the values are positive;
The method for rotating the plane coordinates (x, y) after the translation operation to the left by 45 degrees along the origin of coordinates in the step S4.2 comprises
Firstly, converting Cartesian coordinate (x, y) values into polar coordinates (rho, theta);
Subtracting pi/4 from θ in polar coordinates;
the polar coordinates are then converted into Cartesian (x, y) values;
and finally subtracting the x minimum value and the y minimum value of all the coordinates from the x and the y values of each coordinate to ensure that all the values are positive.
According to the curve recognition method based on the latitude and longitude data of the inland ship, according to some embodiments of the application, the fitting result evaluation index uses an R square determination coefficient, and the R square is more than 0.999 to represent that fitting is qualified;
the polynomial fitting specifically comprises the steps of starting from 5 times of polynomial fitting, finishing polynomial fitting if the square of a fitting result R is qualified, adding one to polynomial degree if the square of the fitting result R is unqualified, fitting again, finishing if the square of the fitting result R is qualified, and finishing polynomial fitting forcedly if the square of the fitting result R is still unqualified if the number of the polynomial degree is increased to 20.
According to some embodiments of the present application, a curve recognition method based on latitude and longitude data of a inland ship includes
When the sequence number of the start index i is equal to 0, it indicates that the segment is the start segment, and when the sequence number of the index k is equal to 0, the sequence number of the index i is equal to i+ (j-i)/(3×2);
When the sequence number of the index j is greater than or equal to N-1, the segment is an ending segment, and the sequence number of the index k is equal to the sequence number of the index l in the last iteration, and the sequence number of the index l in the current iteration is equal to N-1;
when the index i and the index j do not satisfy the above two conditions, this segment is indicated as an intermediate segment, and the index k is equal to the index l in the previous iteration, and the index l in the present iteration is equal to i+ (j-i)/(3×2).
According to some embodiments of the present application, a curve recognition method based on latitude and longitude data of a inland ship includes a step 5 of calculating a curve passing speed reduction value of the inland ship corresponding to a radius of curvature according to the radius of curvature of plane coordinates of latitude and longitude data corresponding to the index k and the index l and all indexes between the index k and the index l, wherein the curve passing speed reduction value comprises
Calculating the curvature radius of each plane coordinate of longitude and latitude data corresponding to the index k to the index l according to the maximum fitting result in the qualified R square in the step;
calculating a speed drop specific value corresponding to the curvature radius through a Fisher speed drop formula, and using the value as a curve mark of longitude and latitude data corresponding to a plane coordinate point, wherein the Fisher speed drop formula is as follows:
Wherein V c is the speed of the ship in the rotation process, V 0 is the initial rotation speed of the ship, R is the rotation curvature radius, and L is the ship length.
According to the curve identification method based on the longitude and latitude data of the inland ship, the closer the speed drop concrete value is to 1, the larger the curve curvature radius is, the closer the curve is to a straight line, the smaller the bending resistance is, the smaller the speed drop concrete value is, the smaller the curve curvature radius is, the larger the bending resistance is, and the deceleration bending is needed.
According to some embodiments of the present application, the method for identifying curves based on latitude and longitude data of inland vessels in step 6, the method for redefining the start index i according to the indexes i and j in step 6, includes increasing the redetermined start index i by (j-i)/(3) by calculating the indexes i and j in the current iteration.
The beneficial effects are that:
the invention can ensure that the deformation of the subsequent projection can be controlled in a very small range by segmenting through the longitude difference.
The segmentation strategy taking the fixed longitude difference mode as the main mode and the fixed number mode as the auxiliary mode ensures that inland navigation lines in a few north-south directions (the direction with small longitude change) can be segmented successfully. By adjusting the longitude differences and the maximum and minimum numbers of the segments, the navigation data with different acquisition frequencies and the navigation line with too dense curves can be adapted.
The invention uses half of the sum of the maximum and minimum longitude values of each section as the central meridian to form the local Gaussian projection belt instead of using the standard projection belt, thereby further reducing the deformation of the Gaussian projection.
According to the invention, polynomial fitting is carried out in five modes of abcde, and the success rate of polynomial fitting is greatly improved on the premise of ensuring that the route is not deformed.
According to the invention, the operation speed is greatly improved by a specific polynomial fitting mode on the premise of ensuring the success rate.
According to the invention, only the middle curvature radius is calculated in each section without considering two ends, so that the special condition that fitting and curvature radius calculation are inaccurate due to the fact that a bending channel appears at two ends of a certain section is eliminated.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a basic flow chart.
Fig. 2 is a longitude and latitude data diagram of a certain voyage.
FIG. 3 is a first time segment line graph.
Fig. 4 is a view of the projection result of the longitude and latitude coordinates of the first segment.
Fig. 5 is a graph of fitting results of the first segmentation abcd in four ways.
Fig. 6 is a graph of the results of marking using a speed reduction value.
FIG. 7 is a curve recognition result chart.
Fig. 8 is an iteration diagram of the determination of specific sequence number values for index k, index l, and index i.
Detailed Description
The embodiment of the present application is described in detail below by referring to the accompanying drawings, an example of which is shown in the accompanying drawings, and the present application proposes a channel curve recognition method based on inland ship navigation data, in which longitude and latitude data are acquired for a certain navigation, for convenience of explanation, N is used to represent the number of longitude and latitude data, and indexes of each longitude and latitude data in sequence are from 0 to N-1, in the present application, for index i, it can be understood that index with index i, i represents the index i. According to the longitude and latitude data, the curve recognition method comprises the following steps:
Step 1, segmenting all longitude and latitude data in a specific mode, wherein the segmentation result is longitude and latitude data between indexes i and j. In a preferred embodiment, in step 1, segmentation is performed mainly by a fixed longitude difference method and secondarily by a fixed number method. Specifically, when the number of the segmented data intercepted in the fixed longitude difference mode is too large or too small, the segmented data is automatically converted into the segmented data in the fixed number mode. Wherein the curve characteristic of the course is represented by the size of the curve in the course and the density of the curve, the smaller and denser the curve is, the value of the longitude difference should be reduced appropriately, properly reducing the maximum and minimum values at the same time to ensure that the middle bend of a section is not too much to cause the inability of polynomial fitting; the higher the acquisition frequency of the longitude and latitude data is, the shorter the actual length of a section of the route intercepted under the same number is, at the moment, the maximum and minimum number values should be properly increased at the same time to ensure that the actual length of the section of the route intercepted is not changed greatly, and the smaller the Gaussian-Hooke projection deformation is required, the value of the longitude difference is reduced, and vice versa. In the preferred scheme, the longitude difference of each section is set to be 0.1 degree, the minimum fixed number is set to be 33, and the maximum fixed number is set to be 99, and it can be understood that the set parameters can be properly adjusted according to longitude and latitude data of different acquisition frequencies and Gaussian-Gauss-Lung projection deformation requirements.
Each piece of longitude and latitude data is first intercepted by a fixed longitude difference. The segmentation starts with the longitude and latitude data of the ith index, the sequence number of the index j increases from the (i+1) th index, and each time the index i is increased, the difference between the minimum longitude and the maximum longitude of all data between the index j and the index i is checked. If the difference in longitude is greater than 0.1 degrees, the index j's sequence number j stops increasing, forcing j=i+33 if j-i is less than 33, and not operating if j-i is greater than 33. If the difference in longitude is not greater than 0.1 degrees, the index j's sequence number j continues to increase until the difference in longitude requirement is met. If the number j of index j increases beyond i+99 and the longitude difference requirement is not yet met, the number j of index j stops increasing and forces j=i+99. And finally, adding one or subtracting one or not to change the serial number j of the index j through the remainder of (j-i) and 3, ensuring that (j-i) can be divided by 3, and ending the segmentation to start the step 2.
And 2, projecting the section of longitude and latitude data between indexes i and j into plane coordinates by a Gaussian-gram projection method, wherein the plane coordinates are identical to indexes of corresponding longitude and latitude data. In a preferred embodiment, the specific content of step 2 includes extracting the minimum longitude and the maximum longitude of all longitude and latitude data between the index i and the index j after the segmentation in step 1, and in the gaussian-luer projection, the central meridian of the projection belt is equal to the sum of one half times the minimum maximum longitude. The length of latitude and longitude data between index i and index j is then projected as plane coordinates (x, y) through this central meridian.
And 3, performing polynomial fitting on the plane coordinates in a specific mode. In a preferred embodiment, the specific content of step 3 includes:
Firstly, carrying out translation operation on a section of plane coordinates (x, y) output in the step 2, namely subtracting an x minimum value and a y minimum value in the section from x and y values of all coordinates, and respectively adding 10 to enable the whole section of plane coordinates to translate towards a coordinate origin so as to be beneficial to polynomial fitting effect. The fitting result evaluation index uses an R square determination coefficient, and the R square is larger than 0.999 to represent that the fitting is qualified.
Polynomial fitting is then performed by four ways abcd:
directly performing polynomial fitting according to the original plane coordinates (x, y);
the values of the whole segments x and y are interchanged (i.e. mirrored along the line y=x) and then polynomial fitting is performed;
The whole original plane coordinates (x, y) are rotated to the right by 45 degrees along the origin of coordinates, and then polynomial fitting is carried out;
the polynomial fitting is performed after rotating the entire original plane coordinates (x, y) 45 degrees to the left along the origin of coordinates.
The planar coordinate rotation specific operation is that Cartesian coordinate (x, y) values are converted into polar coordinates (ρ, θ), θ in the polar coordinates is added or subtracted by pi/4, then the polar coordinates are converted into Cartesian coordinate (x, y) values, and finally x and y values of each coordinate are subtracted by x minimum values and y minimum values of all coordinates and added by 10 respectively, so that all values are ensured to be positive.
The polynomial fitting method specifically comprises the steps of starting from polynomial fitting of 5 times, finishing polynomial fitting if the square of a fitting result R is qualified, adding one to polynomial degree if the square of the fitting result R is unqualified, fitting again, finishing if the square of the fitting result R is qualified, and forcedly finishing polynomial fitting if the square of the fitting result R is still unqualified if the number of the polynomial degree is increased to 20. It will be appreciated that for any polynomial fit of a-e, a specific method of polynomial fit may be used.
And then calculating R square of four fitting results of abcd, selecting the fitting result with the largest R square as the final fitting result, and starting the step 4 if the largest R square is qualified. If all R squares of the four fitting results are not qualified, performing additional fifth e-mode polynomial fitting:
Starting from the original plane coordinates (x, y), the coordinate points are rotated clockwise in units of 30 degrees, 12 sets of plane coordinates are co-generated, and polynomial fitting is performed on each set of plane coordinates.
And finally, calculating R square of 12 groups of fitting results in the e mode, selecting the fitting result with the largest R square as the final fitting result, and starting the step 4 if the largest R square is qualified. If the maximum R square is still not acceptable, the best fit result is printed and a "fit failure" is indicated, so in this scheme, the maximum fit result of the R squares in the fit results may be selected for step 5.
And 4, calculating the curvature radius of the plane coordinates of the specific part (index k to index l) by fitting the result curve, and taking the inland ship over-bending speed reduction value corresponding to the curvature radius as a mark. Preferably, in the step 4, in order to prevent the special situation that the curvature is not accurate in fitting and calculating the curvature radius due to the fact that the curvature is present at two ends of a certain segment (index i to j), each segment (index i to j) is divided into three parts, and only the curvature radius of the middle part (index k to l) is calculated. However, since each segmentation is performed by adopting a strategy of mainly using a longitude difference segmentation mode and secondarily using a number segmentation mode, the length of each segmentation may be unequal, and calculation of curvature radius of certain longitudes and latitudes may be skipped, the specific sequence number value of the specific determination indexes k and l in the step 4 is determined by the following method:
When the index i has a sequence number i equal to 0, this indicates that the segment is the start segment, when the index k has a sequence number i equal to 0 and the index i has a sequence number i+ (j-i)/(3×2).
When the index j has a sequence number greater than or equal to N-1, it indicates that the segment is an ending segment, and the sequence number of index k is equal to the sequence number of index l last time, which is equal to N-1.
When the index i and the index j have no sequence numbers satisfying the above two conditions, this section is indicated as an intermediate section, and the sequence number of the index k is equal to the sequence number of the index l of the last time, and the sequence number of the index l of this time is equal to i+ (j-i)/(3×2).
Since the radius of curvature is calculated for only the middle part of one segment at a time, the sequence number i of the index i before each segment is iteratively calculated by the following formula:
The determination of the specific sequence number values of the index k and the index l and the iteration of the index i are shown in fig. 8, and the thought of determining the specific sequence number values of the index k and the index l according to the invention is as follows:
1. only the middle part is calculated, and the problem of inaccurate fitting and curvature radius calculation caused by the fact that a curve appears at two ends of a certain section is solved.
2. Since only the middle part is calculated (assuming that the number of each segment is equal), it is only possible to advance by 1/3 segment to ensure that the middle part of this time and the middle part of the last time are consecutive in sequence number.
3. Since the number of segments is not equal each time, the intermediate segments are not connected, so that the k is equal to the k of the last time, and the segments are forcedly connected.
According to the design thought, the invention cooperates with the iterative assignment of index numbers by giving different index number assignment strategies under different segmentation conditions and uses the assignment mode that the index number of index l is equal to i+ (j-i)/(3×2) so as to cooperatively cooperate, so that each segment is divided into three parts under the segmentation strategy adopted by the invention, each iterative segment is advanced in such a way that the index number of index i is increased by (j-i)/(3), in such a way that the current iterative segment and the last iterative segment can have coincident parts (such as about the back 2/3 part of the previous segment and about the front 2/3 part of the next segment are coincident), and thus after each iteration, the curvature radius of the middle part (index k to l) of the current segment is calculated only for the current segment.
Under the technical scheme, the problem of inaccurate fitting and curvature radius calculation caused by the fact that a curve appears at two ends of a certain section can be solved as far as possible. Under the technical scheme, the invention can solve the problems that the length of each segment is possibly unequal and the calculation of the curvature radius of certain longitudes and latitudes is possibly skipped because the segmentation is performed by adopting a strategy with a longitude difference segmentation mode as a main mode and a number segmentation mode as an auxiliary mode.
And (3) calculating the curvature radius of each plane coordinate between the index k and the index l determined in the step (4) through the fitted curve result in the step (3). And then calculating a speed drop concrete value corresponding to the curvature radius through the following Fisher speed drop formula. And the specific numerical value is used as a curve mark of longitude and latitude data corresponding to the plane coordinate point, wherein the larger the value is, the closer the value is to 1, the larger the radius of curvature of the curve is, the closer the value is to a straight line, the smaller the bending resistance is, the smaller the value is, the smaller the radius of curvature of the curve is, the larger the bending resistance is, and the deceleration bending is needed.
The fersoff speed drop formula:
Wherein V c is the speed of the ship in the rotation process, V 0 is the initial rotation speed of the ship, R is the rotation curvature radius, and L is the ship length.
After the marking is finished, determining the specific serial number value of the index i before the next segmentation in the iterative mode of the index i in the step 4, and then repeating the steps 1-5 until the curve marking of all longitude and latitude data is finished.
And 5, starting the second segmentation after advancing the longitude and latitude data of a specific quantity, repeating the steps 1-4, and repeating the steps until the whole navigation data curve is identified. Preferably, the specific content of the step 5 is that the specific number is equal to (j-i)/(3), and the forward way is that after the sequence number of the index i is increased by (j-i)/(3), the step 1 is repeated to perform the segmentation again. And then sequentially repeating the following steps, and continuously cycling until the curve identification of all longitude and latitude data is completed.
Wherein the specific number is equal to (j-i)/(3), and as described above, the index i is iteratively calculated by the following formula:
in a specific example, as shown in fig. 1, on the basis of the curve identification method, the curve identification method of the present invention is further described based on 2936 pieces of longitude and latitude data obtained by a certain navigation, and according to fig. 2, the curve identification method of the present invention is further described by taking sequential indexes from 0 to 2935 as an example, and the identification method specifically includes:
And step 1, segmentation is carried out by taking a fixed longitude difference mode as a main mode and a fixed number mode as an auxiliary mode. Specifically, when the number of the segmented data intercepted in the fixed longitude difference mode is too large or too small, the segmented data is automatically converted into the segmented data in the fixed number mode. And setting the longitude difference of each section to be 0.1 degree, setting the minimum 33 maximum 99 of the fixed number, and properly adjusting the setting parameters according to longitude and latitude data of different acquisition frequencies and Gaussian-Lung-lattice projection deformation requirements.
Each piece of longitude and latitude data is first intercepted by a fixed longitude difference. The first segmentation starts from latitude and longitude data corresponding to an index i, wherein the index i has a sequence number i=0, the index j has a sequence number j increased from i+1, and the difference between the minimum longitude and the maximum longitude of all data between the index i and the index j is checked every time the index j is increased. When the number j of the index j increases to 78, the longitude difference is larger than 0.1 degree, the number j stops increasing, and j-i=77 is larger than 33. If the difference in longitude is still less than 0.1 when the number j of index j increases beyond i+99, then the number j stops increasing and forces the number j=i+99. And finally, adding one or subtracting one or not to the serial number j through the remainder of (j-i) and 3, so that (j-i) can be divided by 3, and (j-i) and 3 are=1, and j=77+1=78, and the segmentation is finished. The first segmentation results in i=0, j=78, and the first segmentation route is shown in fig. 3.
Step 2, extracting the minimum longitude and the maximum longitude in all longitude and latitude data between the index i=0 and the index j=78 after the segmentation in the step 1, taking one half of the sum of the minimum and maximum longitudes as the central meridian of the Gaussian grid projection band, and then projecting the longitude and latitude data between the index i=0 and the index j=78 into plane coordinates (x, y). The result of the first section longitude and latitude coordinate projection is shown in fig. 4.
And 3, performing polynomial fitting on the plane coordinates in a specific mode. Firstly, carrying out translation operation on a section of plane coordinates (x, y) projected in the step 2, namely subtracting an x minimum value and a y minimum value in the section from x and y values of all coordinates, and respectively adding 10 to enable the whole section of plane coordinates to translate towards a coordinate origin. The fitting result evaluation index uses an R square determination coefficient, and the R square is larger than 0.999 to represent that the fitting is qualified.
Polynomial fitting is then performed by four ways abcd:
directly performing polynomial fitting according to the original plane coordinates (x, y);
the values of the whole segments x and y are interchanged (i.e. mirrored along the line y=x) and then polynomial fitting is performed;
The whole original plane coordinates (x, y) are rotated to the right by 45 degrees along the origin of coordinates, and then polynomial fitting is carried out;
the polynomial fitting is performed after rotating the entire original plane coordinates (x, y) 45 degrees to the left along the origin of coordinates.
The four ways of fitting abcd for the first segment are shown in figure 5.
Then, R squares of the abcd four-way fitting result are calculated, and R square_a=0.9861, R square_b=0.9564, R square_c=0.9957, and R square_d=0.9999, respectively. Wherein R square_d is the largest, so the fitting result of d is selected as the final fitting result, obviously R square_d >0.999 is fit qualified at this time, and step 4 can be started. If the largest R square <0.999 is still not acceptable, an additional fifth e-mode polynomial fit is performed:
Starting from the original plane coordinates (x, y), the coordinate points are rotated clockwise in units of 30 degrees, 12 sets of plane coordinates are co-generated, and polynomial fitting is performed on each set of plane coordinates.
And finally, calculating R square of 12 groups of fitting results in the e mode, selecting the fitting result with the largest R square as the final fitting result, and starting the step 4 if the largest R square is qualified. If the maximum R square is still not qualified, the best fitting result graph is printed and a 'fitting failure' is indicated.
And 4, calculating the curvature radius of the plane coordinates of the specific part (index k to index l) by fitting the result curve, and taking the inland ship over-bending speed reduction value corresponding to the curvature radius as a mark. The specific sequence number values of the index k and the index l of the specific part are determined according to three cases, namely, when the sequence number of the index i is equal to 0, the segment is indicated to be a starting segment, when the sequence number of the index k is equal to 0, and the sequence number of the index i is equal to i+ (j-i)/(3×2). When the index j has a sequence number greater than or equal to N-1, it indicates that the segment is an ending segment, and the sequence number of index k is equal to the sequence number of index l last time, and the sequence number of index l this time is equal to N. When both the index number i and the index number j do not satisfy the above two conditions, this section is indicated as an intermediate section, and the index number k is equal to the index number of the last index l, which is equal to i+ (j-i)/(3×2). At this time, the index i has a sequence number i=0 and the index j has a sequence number j=78 satisfying the first case, so that the index k has a sequence number k=0 and the index l has a sequence number l=i+ (j-i)/3*2 =52.
And then calculating the curvature radius of each plane coordinate corresponding to the part from the index k to the longitude and latitude data corresponding to the index l through the curve result fitted in the step 3. Finally, the following Fisher speed drop formula is adopted:
And calculating a corresponding speed drop concrete value by combining the ship length L= 189.9m and the corresponding curvature radius of each coordinate. Meanwhile, the numerical value is used as a curve mark of longitude and latitude data corresponding to the plane coordinate point, and the marking result is shown in fig. 6. The larger the value is closer to 1, the larger the curvature radius of the curve is, the closer to a straight line is, the smaller the bending resistance is, the smaller the curvature radius of the curve is, the larger the bending resistance is, and the bending is required to be decelerated.
And 5, advancing the serial number i of the index i, advancing (j-i) 3=26 longitude and latitude data, starting second segmentation from i=26, repeating the steps 1-4, and the like, and cycling until the whole navigation data curve identification is completed. If the longitude and latitude coordinates with the marked speed drop value smaller than 0.99 are considered as the curve, the curve recognition result route diagram is shown in fig. 7.
According to the scheme, the deformation of the subsequent Gaussian-Gaussian projection can be controlled to be in a very small range by segmenting through the longitude difference. Since the degree of deformation of the gaussian projection is only related to the difference in longitude between the point and the central meridian, setting the difference in longitude for each segment controls the maximum deformation of each segment of the gaussian projection. The segmentation strategy taking the fixed longitude difference mode as the main mode and the fixed number mode as the auxiliary mode ensures that inland navigation lines in a few north-south directions (the direction with small longitude change) can be segmented successfully. By adjusting the longitude differences and the maximum and minimum numbers of the segments, the navigation data with different acquisition frequencies and the navigation line with too dense curves can be adapted.
According to the scheme, the invention uses one half of the sum of the maximum value and the minimum value of each longitude as the central meridian to form a local Gaussian projection belt instead of using a standard projection belt, so that the deformation of the Gaussian projection is further reduced.
According to the scheme, polynomial fitting is carried out in five modes of abcde, and the success rate of polynomial fitting is greatly improved on the premise of ensuring that the route is not deformed.
According to the scheme, the operation speed is greatly improved by a specific polynomial fitting mode on the premise of ensuring the success rate.
According to the scheme, the invention eliminates the special condition that the fitting and the curvature radius calculation are inaccurate due to the fact that a curve appears at two ends of a certain section by only calculating the middle curvature radius of each section without considering the two ends.
For purposes of this disclosure, the terms "one embodiment," "some embodiments," "example," "a particular example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While the invention has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1.一种基于内河船舶经纬度数据的弯道识别方法,其特征在于,包括1. A method for identifying a curve based on the latitude and longitude data of an inland river vessel, characterized by comprising: 步骤1:将通过航行获取N个顺序的经纬度数据的索引设置为从0到N-1;Step 1: Set the indexes of N sequential longitude and latitude data obtained through navigation to be from 0 to N-1; 步骤2:根据起始索引i的经纬度数据,将经纬度数据进行分段,分段结果包括索引i和索引j以及索引i和索引j之间的全部索引所对应的经纬度数据;Step 2: According to the latitude and longitude data of the starting index i, the latitude and longitude data are segmented, and the segmentation results include the latitude and longitude data corresponding to the index i and the index j and all the indexes between the index i and the index j; 步骤3:将包括索引i和索引j以及索引i和索引j之间的全部索引所对应的经纬度数据投影成平面坐标,平面坐标的索引与经纬度数据的索引相同;Step 3: Project the longitude and latitude data corresponding to index i and index j and all indexes between index i and index j into plane coordinates, where the index of the plane coordinates is the same as the index of the longitude and latitude data; 步骤4:对所述平面坐标进行多项式拟合;Step 4: Perform polynomial fitting on the plane coordinates; 步骤5:根据索引i和索引j的序号i和j,确定索引序号k和l;通过所述平面坐标的多项式拟合结果,计算包括索引k和索引l以及索引k和索引l之间的全部索引所对应的经纬度数据的平面坐标的曲率半径;Step 5: Determine index numbers k and l according to the serial numbers i and j of index i and index j; calculate the curvature radius of the plane coordinates of the longitude and latitude data corresponding to index k and index l and all indexes between index k and index l through the polynomial fitting result of the plane coordinates; 根据索引k和索引l以及索引k和索引l之间的全部索引所对应的经纬度数据的平面坐标的曲率半径,计算曲率半径对应的内河船舶过弯速度降值;According to the curvature radius of the plane coordinates of the longitude and latitude data corresponding to the index k and the index l and all the indexes between the index k and the index l, the speed drop of the inland river ship turning corresponding to the curvature radius is calculated; 根据内河船舶过弯速度降值对索引k和索引l以及索引k和索引l之间的全部索引所对应的经纬度数据的弯道进行标记;Mark the curves of the longitude and latitude data corresponding to index k and index l and all indexes between index k and index l according to the drop value of the turning speed of the inland river ship; 步骤6:根据索引i和索引j的序号i和j,重新确定起始索引i,所述重新确定的起始索引的标记序号大于起始索引的标记序号;Step 6: Re-determine the starting index i according to the sequence numbers i and j of the index i and the index j, wherein the mark sequence number of the re-determined starting index is greater than the mark sequence number of the starting index; 步骤7:重复步骤2-步骤6,直至完成全部经纬度数据的弯道标记;Step 7: Repeat steps 2 to 6 until all the curve markings of longitude and latitude data are completed; 所述步骤2的分段的方法,包括The segmentation method of step 2 comprises: 从起始索引i的经纬度数据开始,索引j的序号从i+1开始增加,每增加一个,检查索引i到索引j的全部索引所对应的经纬度数据的最小经度与最大经度之差,其中,最小经度与最大经度之差的值设定为x,固定个数最小值为y,固定个数最大值为z;Starting from the latitude and longitude data of the starting index i, the serial number of index j increases from i+1. Each time it increases, the difference between the minimum longitude and the maximum longitude of the latitude and longitude data corresponding to all indexes from index i to index j is checked, where the value of the difference between the minimum longitude and the maximum longitude is set to x, the minimum fixed number is y, and the maximum fixed number is z; S2.1.如果所述最小经度与最大经度之差大于x度,则索引j的序号停止增加,此时若j-i小于y,则序号j=i+y,若j-i大于y则不做操作,得到索引j的序号;S2.1. If the difference between the minimum longitude and the maximum longitude is greater than x degrees, the serial number of index j stops increasing. At this time, if j-i is less than y, the serial number j=i+y. If j-i is greater than y, no operation is performed, and the serial number of index j is obtained; 如果所述最小经度与最大经度之差不大于x度,则索引j的序号继续增加,直到满足所述最小经度与最大经度之差大于x度,则索引j的序号停止增加,此时若j-i小于y,则序号j=i+y,若j-i大于y则不做操作,得到索引j的序号;If the difference between the minimum longitude and the maximum longitude is not greater than x degrees, the serial number of index j continues to increase until the difference between the minimum longitude and the maximum longitude is greater than x degrees, then the serial number of index j stops increasing. At this time, if j-i is less than y, the serial number j=i+y. If j-i is greater than y, no operation is performed, and the serial number of index j is obtained. 如果索引j的序号增加到超过i+z仍未满足满足所述最小经度与最大经度之差大于x度,则索引j的序号停止增加并且序号j=i+z,得到索引j的序号;If the index number of index j increases to more than i+z but still does not satisfy that the difference between the minimum longitude and the maximum longitude is greater than x degrees, the index number of index j stops increasing and the index number j=i+z, and the index number of index j is obtained; S2.2.对所得到的索引j的序号和所述起始索引i的序号计算,通过(j-i)÷3的余数,使序号j加一或减一或不变,使(j-i)能被3整除,得到最终索引j的序号,从而得到包括索引i和索引j以及索引i和索引j之间的全部索引所对应的经纬度数据。S2.2. Calculate the serial number of the obtained index j and the serial number of the starting index i, and use the remainder of (j-i)÷3 to increase or decrease the serial number j or keep it unchanged, so that (j-i) can be divided by 3, and get the serial number of the final index j, thereby obtaining the longitude and latitude data corresponding to all the indexes including index i and index j and between index i and index j. 2.根据权利要求1所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,所述步骤3中将索引i和索引j以及索引i和索引j之间的全部索引所对应的经纬度数据投影成平面坐标的方法,包括2. The method for identifying a curve based on the longitude and latitude data of an inland river vessel according to claim 1, characterized in that the method of projecting the longitude and latitude data corresponding to the index i and the index j and all the indexes between the index i and the index j into plane coordinates in step 3 comprises: S3.1.提取分段后索引i和索引j以及索引i和索引j之间所有经纬度数据中的最小经度和最大经度;S3.1. Extract the minimum longitude and maximum longitude of all longitude and latitude data from index i and index j after segmentation and between index i and index j; S3.2.将高斯克吕格投影中的投影带的中央经线等于二分之一乘最小最大经度之和;S3.2. Set the central meridian of the projection zone in the Gauss-Krüger projection equal to one-half times the sum of the minimum and maximum longitudes; S3.3.通过所述中央经线将索引i和索引j以及索引i和索引j之间的经纬度数据投影为平面坐标(x,y)。S3.3. Project the longitude and latitude data of index i and index j and between index i and index j into plane coordinates (x, y) through the central meridian. 3.根据权利要求1所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,所述步骤4中对所述平面坐标进行多项式拟合的方法,包括3. The method for identifying a curve based on the latitude and longitude data of an inland river vessel according to claim 1, characterized in that the method for performing polynomial fitting on the plane coordinates in step 4 comprises: S4.1.对中央经线将索引i和索引j以及索引i和索引j之间的经纬度数据投影的平面坐标(x,y)进行平移操作;S4.1. perform a translation operation on the plane coordinates (x, y) of the projection of the latitude and longitude data between index i and index j on the central meridian; S4.2.对所述平移操作后的平面坐标(x,y)通过abcd四种方式分别进行多项式拟合:S4.2. Perform polynomial fitting on the plane coordinates (x, y) after the translation operation by four methods: abcd: a将所述平移操作后的平面坐标(x,y)直接进行多项式拟合;a. directly performing polynomial fitting on the plane coordinates (x, y) after the translation operation; b将所述平移操作后的平面坐标(x,y)的x和y的值互换之后进行多项式拟合;b. performing polynomial fitting after exchanging the x and y values of the plane coordinates (x, y) after the translation operation; c将述平移操作后的平面坐标(x,y)沿坐标原点向右旋转45度之后进行多项式拟合;c. Rotate the plane coordinates (x, y) after the translation operation 45 degrees to the right along the origin of the coordinate system and then perform polynomial fitting; d将述平移操作后的平面坐标(x,y)的沿坐标原点向左旋转45度之后进行多项式拟合;d. Rotate the plane coordinates (x, y) after the translation operation 45 degrees to the left along the origin of the coordinates and then perform polynomial fitting; S4.3.计算abcd四种方式拟合结果R平方,选取R平方最大的拟合结果为最终拟合结果,若R平方中最大拟合结果合格则进行步骤5;若R平方中最大拟合结果均不合格,则进行第五种方式进行多项式拟合:S4.3. Calculate the R-squared of the fitting results of the four methods abcd, and select the fitting result with the largest R-squared as the final fitting result. If the largest fitting result in the R-squared is qualified, proceed to step 5; if the largest fitting results in the R-squared are all unqualified, proceed to the fifth method for polynomial fitting: e从所述平移操作后的平面坐标(x,y)开始,以坐标原点为中心以30度为单位顺时针旋转坐标点,共生成12组平面坐标,并对每组平面坐标进行多项式拟合,得到12组拟合结果;e. Starting from the plane coordinates (x, y) after the translation operation, the coordinate points are rotated clockwise by 30 degrees with the coordinate origin as the center, generating a total of 12 sets of plane coordinates, and performing polynomial fitting on each set of plane coordinates to obtain 12 sets of fitting results; S4.4.计算e方式中的12组拟合结果R平方,选取R平方最大的拟合结果为最终拟合结果,若R平方中最大拟合结果合格则进行步骤5;若R平方中最大拟合结果不合格,则拟合失败,选择拟合结果中R平方中最大拟合结果进行步骤5。S4.4. Calculate the R-squared of the 12 groups of fitting results in method e, select the fitting result with the largest R-squared as the final fitting result, and if the largest fitting result in the R-squared is qualified, proceed to step 5; if the largest fitting result in the R-squared is unqualified, the fitting fails, and select the largest fitting result in the R-squared in the fitting results to proceed to step 5. 4.根据权利要求3所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,所述步骤S4.1具体包括将索引i和索引j以及索引i和索引j之间经纬度数据投影的平面坐标(x,y)的x和y值都减去这一分段内的x最小值和y最小值,再各自加上10,使这一分段的平面坐标向坐标原点平移靠拢;4. The method for identifying curves based on longitude and latitude data of inland vessels according to claim 3 is characterized in that step S4.1 specifically comprises subtracting the minimum x value and the minimum y value in the segment from the x and y values of the plane coordinates (x, y) of the projection of the longitude and latitude data between index i and index j, and then adding 10 to each of them, so that the plane coordinates of the segment are translated closer to the origin of the coordinates; 所述步骤S4.2中将述平移操作后的平面坐标(x,y)沿坐标原点向右旋转45度操作的方法包括The method of rotating the plane coordinates (x, y) after the translation operation to the right by 45 degrees along the coordinate origin in step S4.2 includes: 先将笛卡尔坐标(x,y)值转换为极坐标(ρ,θ);First convert the Cartesian coordinates (x, y) to polar coordinates (ρ, θ); 接着将极坐标中θ加上 π/4;Then add π/4 to θ in the polar coordinates; 然后极坐标转换为笛卡尔坐标(x,y)值;Then the polar coordinates are converted to Cartesian coordinate (x, y) values; 最后每个坐标的x和y值都减去所有坐标的x最小值和y最小值,保证所有值为正;Finally, the x and y values of each coordinate are subtracted from the minimum x and y values of all coordinates to ensure that all values are positive; 所述步骤S4.2中将述平移操作后的平面坐标(x,y)沿坐标原点向左旋转45度操作的方法包括The method of rotating the plane coordinates (x, y) after the translation operation to the left by 45 degrees along the coordinate origin in step S4.2 includes: 先将笛卡尔坐标(x,y)值转换为极坐标(ρ,θ);First convert the Cartesian coordinates (x, y) to polar coordinates (ρ, θ); 接着将极坐标中θ减去π/4;Then subtract π/4 from θ in the polar coordinates; 然后极坐标转换为笛卡尔坐标(x,y)值;Then the polar coordinates are converted to Cartesian coordinate (x, y) values; 最后每个坐标的x和y值都减去所有坐标的x最小值和y最小值,保证所有值为正。Finally, the x and y values of each coordinate are subtracted from the minimum x and y values of all coordinates to ensure that all values are positive. 5.根据权利要求3所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,拟合结果评价指标使用R平方决定系数,R平方大于0.999代表拟合合格;5. The method for identifying curves based on the latitude and longitude data of inland vessels according to claim 3 is characterized in that the fitting result evaluation index uses the R square determination coefficient, and an R square greater than 0.999 represents a qualified fit; 所述多项式拟合具体为:从5次多项式拟合开始,若拟合结果R平方合格则结束多项式拟;若拟合结果R平方不合格则多项式次数加一,再次拟合,拟合结果R平方合格则结束;若多项式次数增加至20,拟合结果R平方仍未合格,则强制结束多项式拟合。The polynomial fitting is specifically as follows: starting from the 5th order polynomial fitting, if the fitting result R square is qualified, the polynomial fitting is terminated; if the fitting result R square is unqualified, the polynomial order is increased by one, and fitting is performed again, and the fitting is terminated if the fitting result R square is qualified; if the polynomial order is increased to 20, and the fitting result R square is still unqualified, the polynomial fitting is forced to end. 6.根据权利要求1所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,所述步骤步骤5中根据索引序号i和j,确定索引序号k和l的方法包括6. The method for identifying a curve based on the latitude and longitude data of an inland river vessel according to claim 1, characterized in that the method for determining the index numbers k and l according to the index numbers i and j in step 5 comprises: 当起始索引i的序号等于0时,表示这一分段是起始段,此时索引k的序号等于索引i的序号等于0,索引l的序号等于i+(j-i)÷3×2;When the sequence number of the starting index i is equal to 0, it means that this segment is the starting segment. At this time, the sequence number of index k is equal to the sequence number of index i, which is equal to 0, and the sequence number of index l is equal to i+(j-i)÷3×2; 当索引j的序号大于等于N-1时,表示这一分段是结尾段,此时索引k的序号等于上一次迭代中的索引l的序号,本次迭代索引l的序号等于N-1;When the sequence number of index j is greater than or equal to N-1, it means that this segment is the end segment. At this time, the sequence number of index k is equal to the sequence number of index l in the previous iteration, and the sequence number of index l in this iteration is equal to N-1; 当索引i的序号和索引j的序号不满足上述两种条件时,表示这一分段是中间段,此时索引k的序号等于上一次迭代中索引l的序号,本次迭代索引l的序号等于i+(j-i)÷3×2。When the sequence number of index i and the sequence number of index j do not meet the above two conditions, it means that this segment is an intermediate segment. At this time, the sequence number of index k is equal to the sequence number of index l in the previous iteration, and the sequence number of index l in this iteration is equal to i+(j-i)÷3×2. 7.根据权利要求6所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,所述步骤步骤5中根据索引k和索引l以及索引k和索引l之间的全部索引所对应的经纬度数据的平面坐标的曲率半径,计算曲率半径对应的内河船舶过弯速度降值的方法,包括7. The method for identifying a curve based on the longitude and latitude data of an inland river vessel according to claim 6 is characterized in that the method for calculating the speed drop of the inland river vessel turning corresponding to the curvature radius according to the curvature radius of the plane coordinates of the longitude and latitude data corresponding to the index k and the index l and all the indexes between the index k and the index l in step 5 comprises: 根据步骤步骤中的合格的R平方中最大拟合结果,计算索引k到索引l的所对应的经纬度数据的各个平面坐标的曲率半径;According to the maximum fitting result in the qualified R-squared in step step, calculate the curvature radius of each plane coordinate of the latitude and longitude data corresponding to index k to index l; 通过费尔索夫速度降公式,计算曲率半径对应的速度降具体数值,使用该数值作为平面坐标点所对应经纬度数据的弯道标记,其中,费尔索夫速度降公式:The specific value of the speed drop corresponding to the radius of curvature is calculated by the Filtsov speed drop formula, and this value is used as the curve mark of the longitude and latitude data corresponding to the plane coordinate point, where the Filtsov speed drop formula is: 式中:Vc为船舶在回转过程中速度;V0为船舶回转初速,R为回转曲率半径,L为船长。Where: Vc is the speed of the ship during the turning process; V0 is the initial speed of the ship's turning, R is the turning curvature radius, and L is the ship's length. 8.根据权利要求7所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,速度降具体数值越接近1表示弯道曲率半径越大,越接近直线,过弯阻力越小;速度降具体数值越小代表弯道曲率半径越小,过弯阻力越大,要减速过弯。8. The curve identification method based on the latitude and longitude data of inland vessels according to claim 7 is characterized in that the closer the specific value of the speed drop is to 1, the larger the radius of curvature of the curve, the closer it is to a straight line, and the smaller the resistance to turning; the smaller the specific value of the speed drop is, the smaller the radius of curvature of the curve, the greater the resistance to turning, and the more speed must be reduced when turning. 9.根据权利要求6所述的基于内河船舶经纬度数据的弯道识别方法,其特征在于,步骤6中根据索引i和索引j的序号i和j,重新确定起始索引i的方法,包括通过对当前迭代中索引i和索引j的序号计算,重新确定的起始索引i的序号增加(j-i)÷3。9. The curve identification method based on the longitude and latitude data of inland vessels according to claim 6 is characterized in that the method for redetermining the starting index i according to the serial numbers i and j of index i and index j in step 6 includes calculating the serial numbers of index i and index j in the current iteration, and increasing the serial number of the redetermined starting index i by (j-i)÷3.
CN202211527137.3A 2022-12-01 2022-12-01 A method for identifying curves based on longitude and latitude data of inland ships Active CN116045899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211527137.3A CN116045899B (en) 2022-12-01 2022-12-01 A method for identifying curves based on longitude and latitude data of inland ships

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211527137.3A CN116045899B (en) 2022-12-01 2022-12-01 A method for identifying curves based on longitude and latitude data of inland ships

Publications (2)

Publication Number Publication Date
CN116045899A CN116045899A (en) 2023-05-02
CN116045899B true CN116045899B (en) 2025-04-29

Family

ID=86117120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211527137.3A Active CN116045899B (en) 2022-12-01 2022-12-01 A method for identifying curves based on longitude and latitude data of inland ships

Country Status (1)

Country Link
CN (1) CN116045899B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583271A (en) * 2017-09-29 2019-04-05 杭州海康威视数字技术股份有限公司 The method, apparatus and terminal that a kind of pair of lane line is fitted
CN113705090A (en) * 2021-08-20 2021-11-26 中国船舶科学研究中心 Real-time optimization method for navigation speed of ships in Yangtze river channel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8155391B1 (en) * 2006-05-02 2012-04-10 Geoeye Solutions, Inc. Semi-automatic extraction of linear features from image data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583271A (en) * 2017-09-29 2019-04-05 杭州海康威视数字技术股份有限公司 The method, apparatus and terminal that a kind of pair of lane line is fitted
CN113705090A (en) * 2021-08-20 2021-11-26 中国船舶科学研究中心 Real-time optimization method for navigation speed of ships in Yangtze river channel

Also Published As

Publication number Publication date
CN116045899A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN110083983A (en) A kind of boat segmental speed of a ship or plane optimization method and intelligent management system
CN112036041B (en) Comprehensive compensation method for STL model permeation error in 3DP process
CN108052707B (en) Ship navigation condition division method based on cluster analysis
CN108872978B (en) Overwater ship path planning method based on high-frequency ground wave radar ocean current data
CN113901085B (en) Ship track dynamic drawing method and system
CN102567492A (en) Method for sea-land vector map data integration and fusion
CN112036490B (en) Identification reconstruction method for railway longitudinal section line shape
CN102167140A (en) Method for measuring continuously-variable load precision of large-scale floating dock in floating state
CN116045899B (en) A method for identifying curves based on longitude and latitude data of inland ships
CN108073138A (en) Suitable for the elliptic arc smooth compression interpolation algorithm of high speed and high precision processing
CN115630589A (en) Two-dimensional steady laminar flow field rapid forecasting method based on convolutional neural network
CN111506988A (en) Continuous compression and smoothing method of micro-line segment toolpath C2
CN117705242A (en) Liquid level corrector acquisition method and device, measurement method, storage medium and terminal
CN113204871A (en) Aviation blade air film hole identification method, device and system
CN106023283A (en) Drawing method of smooth coast line
CN109596136B (en) Hermite interpolation path generation method, insertion path generation method and storage device
KR102158738B1 (en) Method for estimating ship resistance performance using regression analysis
CN113264163B (en) Ship energy efficiency management method
CN111422327A (en) Positioning and arranging method for horizontal and longitudinal pull wires of ship docking block
Pérez et al. Parametric generation, modeling, and fairing of simple hull lines with the use of nonuniform rational B-spline surfaces
Bardis et al. Ship-hull geometry representation with B-spline surface patches
CN108891529B (en) A method of accelerating the new and old hull of scientific investigation ship using fairing processing and docks
CN117744474A (en) Navigation speed optimization method and device
CN110175406A (en) Based on more ship following behavior analogy methods under the conditions of ship networking
CN119840804B (en) A gas test and regulation system for LNG carriers based on big data

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