A route drawing method and device based on flow field data
By using flow field data and computer software, the route is automatically fitted and adjusted in combination with channel level data and water depth information, the problem of inaccurate and repeated modification of manual route layout is solved, and efficient and accurate automatic route layout and real-time update are achieved.
Patent Information
- Application Number
- CN202411963995.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2044-12-30
AI Technical Summary
In the prior art, there are inaccurate manual layout of routes and large human errors, and the route is repeatedly modified due to subjective judgment, which makes the design efficiency low.
Through flow field data combined with terrain and specification requirements, computer software is written to automatically arrange routes, use spline curves to fit routes, combine channel level data and water depth information, and automatically adjust routes to meet preset conditions.
It improves the accuracy and efficiency of route drawing, reduces human error, avoids the problem of repeated route modification, and realizes automatic route layout and real-time updates.
Smart Images

Figure CN119379852B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of traffic project management informatization, and in particular to a route drawing method and device based on flow field data. Background Art
[0002] A route refers to a virtual line in the center of a waterway, which is used to guide ships and ensure the safety of navigation. The route divides the waterway into two parts, one is the navigation channel, and the other is the area where ships are prohibited from passing, thereby ensuring that ships will not collide with other ships during navigation. In the usual waterway engineering design process, routes are often laid out by engineers based on experience, which requires high personal qualities; at the same time, the layout involves repeated modifications, which is time-consuming and labor-intensive; manually laid routes also lack comprehensive judgments on water depth changes, bending radius, and water flow conditions. The existing technology lacks computer software for automatic route layout, and manual repeated modifications result in low design efficiency. Manual route layout drawings are inaccurate and contain human errors. Summary of the invention
[0003] The present invention combines flow field data with terrain and specification requirements to write computer software to automatically lay out routes, and provides a route drawing method and device based on flow field data, which can solve the problems of inaccurate manual route drawing and human errors; it also solves the problem of repeated route modifications due to human subjective judgment.
[0004] In order to achieve the above-mentioned object of the invention, the present invention provides the following technical solutions:
[0005] A route drawing method based on flow field data comprises the following steps:
[0006] S1, draw auxiliary lines and sampling intervals according to the river direction;
[0007] S2, obtaining the flow field cross section according to the auxiliary line and the sampling interval and connecting the maximum value of the flow field in each cross section into a spline curve, wherein the spline curve is used as the initial proposed route;
[0008] S3, offset the width of the initially planned route to determine the navigation channel;
[0009] S4, select sampling points in the navigation channel and obtain the water depth of the sampling points;
[0010] S5, if the channel bending radius and the water depth of the sampling point meet the preset conditions, the spline curve is the final route.
[0011] As a specific implementation, step S2 includes the following steps:
[0012] S21, draw auxiliary lines according to the direction of the river;
[0013] S22, input the sampling interval d1 of the auxiliary line, and obtain the sampling point P according to the sampling interval d1;
[0014] S23, draw a perpendicular line Lc of the auxiliary line at each sampling point P;
[0015] S24, input the sampling interval d2 of the vertical line Lc;
[0016] S25, obtaining flow field data of each vertical line sampling point;
[0017] S26, connecting the maximum values of the flow field data on each vertical line into a point set;
[0018] S27, finding the spline curve of the set as the initial proposed route.
[0019] As a specific implementation, step S3 specifically includes the following steps: offsetting the initially planned route in the channel width direction according to the channel grade data and the channel width required by the specification to obtain the channel boundary line, wherein the channel boundary line includes a left channel boundary line and a right channel boundary line.
[0020] As a specific implementation, step S4 specifically includes the following steps: dividing the navigation channel enclosed by the left channel edge line and the right channel edge line into m*n sampling points P mn , get the water level and elevation of each grid, and the water depth is determined by the difference between the water level and the elevation.
[0021] As a specific implementation, a method for determining whether the channel bending radius meets the preset conditions is: calculating whether the bending radius of the left channel edge line Lleft1 and the right channel edge line Lright1 meets the specification requirements.
[0022] As a specific implementation method, the method for determining whether the water depth at the sampling point meets the preset conditions is: calculating the water level and elevation of the sampling point of each grid divided in the navigation channel, subtracting the elevation from the water level to obtain the difference, and determining whether the difference is greater than the specification requirements.
[0023] As a specific implementation method, if the channel bending radius or the water depth of the sampling point does not meet the preset conditions, a spline curve formed by the second maximum value of the flow field in the cross-section of the flow field is obtained, and the spline curve formed by the second maximum value is used as the initial route, and steps S3 to S5 are continuously executed in a loop until a fitting route that meets the specifications is calculated.
[0024] As a specific implementation method, if a route that meets the specification requirements cannot be obtained after all flow field cross-sectional data are calculated, the calculation is stopped and a prompt is output that the calculation is completed but a spline curve that meets the requirements is not obtained.
[0025] Based on the same concept, a route drawing device based on flow field data is also proposed, comprising at least one processor and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any of the above-mentioned route drawing methods based on flow field data.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The method of the present invention provides a route drawing method and device based on flow field data. Based on this method, computer software can automatically lay out the route, which can solve the problems of inaccurate manual route drawing and human errors; it also solves the problem of repeated route modifications due to human subjective judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a flow chart of a route drawing method based on flow field data in Example 1;
[0029] Figure 2 It is a schematic diagram of a river channel auxiliary line in Example 2;
[0030] Figure 3 is a schematic diagram of connecting the maximum flow field values of each sampling section into a spline curve in Example 2;
[0031] Figure 4 This is a schematic diagram of obtaining left and right side lines by offsetting the spline curve left and right by half of the width of the channel according to the specification in Example 2;
[0032] Figure 5 It is a schematic diagram of dividing the navigation channel enveloped by the channel edge line into a number of sampling points in Example 2. DETAILED DESCRIPTION
[0033] The present invention is further described in detail below in conjunction with test examples and specific implementation methods. However, this should not be understood as the scope of the above subject matter of the present invention being limited to the following embodiments, and all technologies realized based on the content of the present invention belong to the scope of the present invention.
[0034] Example 1
[0035] A route drawing method based on flow field data, the flow chart is as follows Figure 1 As shown, the following steps are included:
[0036] S1, draw auxiliary lines and sampling intervals according to the river direction;
[0037] S2, obtaining the flow field cross section according to the auxiliary line and the sampling interval and connecting the maximum value of the flow field in each cross section into a spline curve, wherein the spline curve is used as the initial proposed route;
[0038] S3, offset the width of the initially planned route to determine the navigation channel;
[0039] S4, select sampling points in the navigation channel and obtain the water depth of the sampling points;
[0040] S5, if the channel bending radius and the water depth of the sampling point meet the preset conditions, the spline curve is the final route.
[0041] As a preferred solution, step S2 specifically includes the following steps:
[0042] S21, draw an auxiliary line L according to the direction of the river;
[0043] S22, input the sampling interval d1 of the auxiliary line, and obtain the sampling point P according to the sampling interval d1;
[0044] S23, draw a perpendicular line Lc of the auxiliary line at each sampling point P;
[0045] S24, input the sampling interval d2 of the vertical line Lc;
[0046] S25, obtaining flow field data of each vertical line sampling point;
[0047] S26, connect the maximum value Max1 of each vertical flow field data into a point set List <point>1;
[0048] S27, finding the spline curve of the set as the initial proposed route Lhx1.
[0049] As a preferred solution, step S3 specifically includes the following steps: according to the imported channel grade data and the channel width required by the specification, the initial route is offset left and right at the same time to obtain the channel boundary line (including the left channel boundary line Lleft1 and the right channel boundary line Lright1).
[0050] As a preferred solution, step S4 specifically includes the following steps: dividing the navigation channel enclosed by the left channel edge line Lleft1 and the right channel edge line Lright1 into m*n sampling points P mn , get the water level H1 and elevation H2 of each grid.
[0051] As a preferred solution, in step S5, the method for judging whether the curvature radius of the navigation channel meets the preset conditions is: calculating whether the curvature radius of the left channel edge line Lleft1 and the right channel edge line Lright1 meets the specification requirements. The method for judging whether the water depth of the sampling point meets the preset conditions is: calculating the water level and elevation of the sampling point of each grid in the grid divided in the navigation channel, subtracting the elevation from the water level to obtain the difference, and judging whether the difference is greater than the specification requirements.
[0052] Furthermore, if the channel bending radius or the water depth of the sampling point does not meet the preset conditions, the spline curve formed by the second largest value of the flow field in the cross-section of the flow field is obtained, and the spline curve formed by the second largest value is used as the initial proposed route, and steps S3 to S5 are continued, and so on, and the execution is looped until a fitting route Lhxi that meets the specifications is calculated.
[0053] If after calculating all the data, the route that meets the specification requirements cannot be obtained, the calculation is stopped and a prompt is output that the calculation is completed but the spline curve that meets the requirements is not obtained.
[0054] Example 2
[0055] A specific example of a route drawing method based on flow field data includes the following steps:
[0056] Step 1: Import flow field data into the GIS system, including flow velocity, flow direction, and water depth;
[0057] Step 2: Import terrain data into the GIS system. Terrain data is used to solve the coordinate elevation of any point.
[0058] Step 3: Import the channel grade data into the GIS system. Once the channel grade is known, its minimum channel depth, channel width, and curvature radius can be determined according to the specifications.
[0059] Step 4, draw an auxiliary line L according to the direction of the river;
[0060] Step 5, input the sampling interval d1 of the auxiliary line;
[0061] Step 6, draw a perpendicular line Lc of the auxiliary line at each sampling point P;
[0062] Step 7, input the sampling interval d2 of the vertical line Lc;
[0063] Step 8, obtaining the flow field data of each vertical line sampling point;
[0064] After acquiring the flow field data, a simulation diagram of the flow field data simulation results is obtained. By clicking on any point, the flow velocity and flow direction at that point can be obtained. After importing the acquired flow velocity and flow direction into the GIS system, since vertical lines representing the sections are drawn along the direction of the river, the flow field data (flow velocity and flow direction) of each vertical line sampling point on each section can be obtained.
[0065] Step 9: Connect the maximum value Max1 of the flow field data on each vertical line into a point set List <point>1;
[0066] Step 10, find the spline curve of the set as the initial proposed route Lhx1; connect the maximum values of each flow field data into a line to obtain the initial proposed route.
[0067] Step 11, according to the imported channel grade data and the channel width required by the specification, the initial proposed route is shifted left and right at the same time to obtain the initial proposed channel sidelines Lleft1 and Lright1;
[0068] Step 12, calculate whether the bending radius of the edge lines Lleft1 and Lright1 meets the requirements of the specification; the specification requirements refer to the requirements on the bending radius of the channel dimensions in Table 3.0.2-1 Natural and Canalized River Channel Dimensions in GB50139-2014 "Inland Navigation Standards", which have three sizes of 1200m, 950m and 670m.
[0069] Step 13: Divide the navigation channel enclosed by the channel edges Lleft1 and Lright1 into m*n sampling points P mn , get the water level H1 and elevation H2 of each grid;
[0070] Before obtaining the flow field data, an upstream flow will be proposed. The flow field data can be calculated based on the flow, and the water level data along the way can also be calculated at the same time. After grid division, the water level and elevation of each grid will be obtained.
[0071] Step 14, calculate each sampling point P mn The water depth, that is, whether (H1-H2) is greater than the specification requirements; the specification requirements for water depth refer to the requirements for water depth in the channel dimensions in Table 3.0.2-1 Natural and Canalized River Channel Dimensions in GB50139-2014 "Inland Navigation Standards", which range from 3.5m to 4.0m.
[0072] Step 15: If the bending radius and water depth meet the requirements of the specification, the initially proposed route Lhx1 is the route and the calculation ends;
[0073] Step 16: If the bending radius or water depth does not meet the specification requirements, the second largest value Max2 of each flow field data is connected into a point set List <point>2. Repeat steps 10 to 14 until the fitted route Lhxi that meets the specifications is calculated.
[0074] Collect the flow field data, terrain data, and channel grade data of a river under certain flow conditions, and manually draw auxiliary lines according to the river trend, such as Figure 2 As shown, Figure 2 The arrows in the figure represent the direction of water flow.
[0075] Considering the river range and terrain data accuracy, the sampling interval is set to 10m. The maximum flow field value of each sampling section is connected into a spline curve, such as Figure 3 According to the specification, the spline curve is offset to the left and right by half of the channel width to obtain the left and right side lines, as shown in Figure 4 shown.
[0076] Determine whether the bending radius of the left and right edge lines meets the specification requirements. If so, proceed to the next step. If not, take the second largest value of the flow field and recalculate.
[0077] Divide the navigation channel enclosed by the channel edge line into 15*3 sampling points, and calculate whether the water depth at each point meets the requirements, such as Figure 5 , as shown in Table 1, Table 1 is the water depth of each sampling point. After calculation, the curve meets the requirements.
[0078] Table 1
[0079]
[0080] Beneficial effects of the present invention:
[0081] Improve the accuracy of route planning: Computer software can use accurate geographic information system (GIS) data to accurately obtain the geographical coordinates and water depth information of the waterway, so as to accurately draw the route on the chart and avoid human errors.
[0082] Improve the efficiency of route planning: Computer software can use automated algorithms to quickly plan the best route, while taking into account factors such as channel flow conditions, water depth, and bend radius, thereby greatly improving the efficiency of route planning and saving time and resources.
[0083] Real-time route update: The waterway is not static. It will cause erosion or siltation to the river channel according to the upstream water conditions. Therefore, the waterway will automatically change over time. The method of the present invention can refit the route after the change, and can obtain the change information of the waterway in real time, such as flow field changes, water depth changes, channel grade adjustments, etc. The route can be updated in time through the recalculation and update function to ensure the safety of ship navigation.
[0084] Visual display of route information: Computer software can display route information in a graphical way, making the route more intuitive and easy to understand. Designers can clearly see the route's direction, starting and ending points and other information, facilitating route optimization and decision-making.
[0085] In summary, the use of flow field data to automatically lay out routes can improve accuracy, efficiency, and real-time performance, while realizing route visualization, thereby solving technical problems such as human error, time consumption, poor variability, and lack of real-time performance in manual route layout.
[0086] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.< / point> < / point> < / point>
Claims
1. A route drawing method based on flow field data, characterized in that: The following steps are involved: S1, draw auxiliary lines and sampling intervals according to the river direction; S2, obtaining the flow field cross section according to the auxiliary line and the sampling interval and connecting the maximum value of the flow field in each cross section into a spline curve, wherein the spline curve is used as the initial proposed route; S3, offset the width of the initially planned route to determine the navigation channel; S4, select sampling points in the navigation channel and obtain the water depth of the sampling points; S5, if the channel bending radius and the water depth of the sampling point meet the preset conditions, the spline curve is the final route; Step S2 includes the following steps: S21, draw auxiliary lines according to the direction of the river; S22, obtaining a sampling interval d1 of the auxiliary line, and obtaining a sampling point P according to the sampling interval d1; S23, draw a perpendicular line Lc of the auxiliary line at each sampling point P; S24, input the sampling interval d2 of the vertical line Lc; S25, obtaining flow field data of each vertical line sampling point; S26, connecting the maximum values of the flow field data on each vertical line into a point set; S27, finding the spline curve of the set as the initial proposed route; Step S3 specifically includes the following steps: offsetting the initially planned route in the channel width direction according to the channel grade data and the channel width required by the specification to obtain the channel edge line, wherein the channel edge line includes a left channel edge line and a right channel edge line.
2. A route drawing method based on flow field data as claimed in claim 1, characterized in that: Step S4 Specifically, the following steps are included: the navigation channel enclosed by the left channel edge line and the right channel edge line is divided into m*n sampling points P mn , get the water level and elevation of each grid, and the water depth is determined by the difference between the water level and the elevation.
3. A route drawing method based on flow field data as claimed in claim 2, characterized in that: The method for judging whether the bending radius of the navigation channel meets the preset conditions is: calculating whether the bending radius including the left channel edge line Lleft1 and the right channel edge line Lright1 meets the specification requirements.
4. A route drawing method based on flow field data as claimed in claim 2, characterized in that: The method for judging whether the water depth at the sampling point meets the preset conditions is: calculate the water level and elevation of the sampling point of each grid divided in the navigation channel, subtract the elevation from the water level to get the difference, and judge whether the difference is greater than the specification requirements.
5. A route drawing method based on flow field data as described in any one of claims 1 to 4, characterized in that: If the channel bending radius or the water depth of the sampling point does not meet the preset conditions, a spline curve formed by connecting the second largest value of the flow field cross section is obtained, and the spline curve formed by connecting the second largest value is used as the initial proposed route, and steps S3 to S5 are continuously executed in a loop until a fitting route that meets the specifications is calculated.
6. A route drawing method based on flow field data as claimed in claim 5, characterized in that: If after calculating all flow field cross-sectional data, the route that meets the specification requirements cannot be obtained, the calculation will be stopped, and a prompt will be output that the calculation is completed but the spline curve that meets the requirements is not obtained.
7. A route drawing device based on flow field data, characterized in that: It includes at least one processor and a memory that is communicatively connected to the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a route drawing method based on flow field data as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Effective channel width design method based on maximum transverse flow cumulative frequency
CN103778282A
Method for simulation-based maneuver planning on ships and in simulators, involves visually selecting geographic positions of maneuver points during planning on track and maneuver parameters for maneuvers of ship parking facilities
DE102010003031A1