A method for calculating the width of the main line subgrade at the ramp connection

By utilizing road design data and plane position relationships, combined with station number and declination angle information, and using approximation and binary search algorithms to calculate the roadbed width at the connection between the main line and the ramp, the problem of complex calculation and error-prone in the existing technology is solved, and the Fast and accurate design results.

CN118520626BActive Publication Date: 2024-09-24SHANDONG TRAFFIC PLANNING DESIGN INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000769.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-09-24
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

In road design, the calculation of the roadbed width at the connection between the main line and the ramp is complex and error-prone. Existing methods rely on third-party tools and lack fast and accurate calculation methods.

Method used

By using the subgrade width and plane design data of the road design, combined with the station number and declination angle information, the approximation method and the binary search algorithm are used to calculate the subgrade width at the connection between the main line and the ramp, avoiding human intervention and reliance on third-party tools.

Benefits of technology

It achieves fast and accurate calculation of the roadbed width at the main line and ramp connection, simplifies the design process, improves design efficiency, and reduces human errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520626B
    Figure CN118520626B
Patent Text Reader

Abstract

The present invention belongs to the field of road design, and provides a method for calculating the width of the main line subgrade at the ramp connection. The method uses the spatial position relationship between the subgrade cross section and the design cross section to solve the coordinates of the subgrade cross section extension line of a known point on the main line design line intersecting the edge point of the ramp design line subgrade, thereby obtaining the subgrade width at the connection point between the main line and the ramp. The present invention can simply and quickly solve the subgrade width at any point at the connection point between the main line and the ramp based on the existing basic design data, with clear logic and accurate results. It can be written as a function script to run independently, without relying on third-party auxiliary tools such as CAD, which greatly facilitates the design of roads and allows designers to implement more flexible design solutions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of road design, and in particular relates to a method for calculating the width of a main roadbed at a ramp connection point. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In the field of road design, the roadbed width is a crucial design reference data, which determines the subsequent construction process, raw material usage and other technical solutions. The conventional design line roadbed width can be determined based on the actual roadbed width design data, which generally has the characteristics of regularity and versatility. However, when two design routes are connected, the roadbed width at the joint cannot be directly obtained, which is the case with the design of the main line and ramp connection.

[0004] At the junction of the main line and the ramp design line, the design data between different design lines are independent, and the roadbed edges of the two design lines are not directly spliced, so it is impossible to use conventional means to solve the spliced ​​roadbed width here. Due to the inconvenience and error-proneness of calculating the roadbed width at the junction of the main line and the ramp, the design efficiency is affected and the design complexity is increased. The main solution to this problem in the current industry is to use CAD-type auxiliary tools and combine actual design parameters to manually determine the roadbed width at a certain design pile number within the connection range, but this method is dependent on third-party tools and may be subjective. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a method for calculating the main line roadbed width at the ramp connection. The present invention quickly and accurately calculates the roadbed splicing width at the main line and ramp connection based on the existing design data. No third-party tools are needed, and the solution can be obtained by only using the roadbed width design data and plane design data of the road design.

[0006] According to some embodiments, the present invention provides a method for calculating the width of a main line subgrade at a ramp connection, using the following technical solution:

[0007] A method for calculating the width of a main line subgrade at a ramp connection point includes:

[0008] Determine the stake number of the main line point and the right deviation angle corresponding to the main line point, and obtain the main line subgrade width at the main line point in combination with the subgrade width design data of the main line;

[0009] Using the stake number, right deflection angle, north deflection angle and main line subgrade width of the main line point, calculate the coordinates of the intersection of the design cross section where the main line point is located and the edge of the main line subgrade on the side of the spliced ​​ramp, that is, the coordinates of the main line design cross section point; among which, the positive distance between the main line point and the edge of the main line subgrade is the width of the main line subgrade;

[0010] Based on the coordinates of the main line design cross-section point and the plane data of the ramp line, calculate the stake number of the ramp point of the roadbed cross-section of the ramp line where the main line design cross-section point is located and the positive distance L1 between the two points;

[0011] If the positive distance L1 satisfies the approximation error accuracy, it is considered that the main line design cross-section point coincides with the ramp point; otherwise, the sum of the main line subgrade width and the positive distance L1 is used as the new positive distance, and the calculation process of the main line design cross-section point coordinates is returned;

[0012] Using the ramp linebed width design data, the ramp linebed width at the ramp point and the north deflection angle of the ramp point are obtained, and the right deflection angle of the ramp point in the design cross-section direction of the main line is determined using the north deflection angle, right deflection angle of the main line point and the north deflection angle of the ramp point;

[0013] Using the stake number, right deflection angle, north deflection angle and ramp roadbed width of the ramp point, calculate the coordinates of the intersection of the design cross section where the ramp point is located and the edge of the ramp roadbed on the side away from the splicing main line, which is the coordinates of the ramp design cross section point; among which, the positive distance between the ramp point and the edge of the ramp roadbed is the ramp roadbed width;

[0014] Based on the coordinates of the ramp line design cross-section point and the plane data of the main line, the splicing main line point pile number of the main line roadbed cross-section where the ramp design cross-section point is located and the positive distance L2 between the two points are calculated, and the positive distance L2 is used as the splicing roadbed width corresponding to the main line point.

[0015] Furthermore, the roadbed cross section refers to the cross section where the normal line is extended along the tangent direction of a certain point P of the design line, and the distance between a certain point on the roadbed cross section extension line and point P is called the positive distance;

[0016] The designed cross section refers to the cross section after rotating right along the tangent direction of a point P on the design line by a right angle. The distance between a point on the extension line of the designed cross section and point P is called the slope distance.

[0017] Furthermore, the coordinates of the intersection of the design cross section where the main line point is located and the edge of the main line subgrade on one side of the spliced ​​ramp are calculated by using the stake number, right deflection angle, north deflection angle and main line subgrade width of the main line point, that is, the coordinates of the main line design cross section point, specifically:

[0018] Based on the coordinates corresponding to the stake number of the main line point and the north deflection angle of the main line point, the coordinates of the outer point at the main line line width on the roadbed cross section where the main line point is located are calculated;

[0019] Based on the stake number of the main line point, the north deflection angle of the main line point and the width of the main line subgrade, the stake number of the sub-main line point on the main line is solved cyclically using the approximation method;

[0020] Based on the stake number of the secondary main line point, the coordinates of the secondary main line point are determined with the help of the main line plane design data;

[0021] The roadbed cross section where the secondary main line point is located intersects with the design cross section where the main line point is located at the main line design cross section point. The distance from the main line design cross section point to the secondary main line point is calculated based on the trigonometric function relationship in space.

[0022] If the difference between the distance from the main line design cross section point to the secondary main line point and the main line roadbed width is within the error range, the loop ends; based on the coordinates of the secondary main line point and the north deflection angle of the secondary main line point, the coordinates of the point on the roadbed cross section where the secondary main line point is located, which is the distance from the main line design cross section point to the secondary main line point, are calculated, i.e., the coordinates of the main line design cross section point;

[0023] Otherwise, the stake number of the secondary main line point is updated and adjusted according to the difference between the distance from the main line design cross-section point to the secondary main line point and the main line roadbed width, and then the coordinate calculation process of the secondary main line point is returned.

[0024] Furthermore, based on the coordinates corresponding to the pile number of the main line point and the north deflection angle of the main line point, the coordinates of the outer point PW at the width of the main line roadbed on the roadbed cross section where the main line point is located are calculated, specifically:

[0025] (XPW, YPW) = (XP+W1*cos(BPJ),YP+W1*sin(BPJ));

[0026] Among them, (XPW, YPW) are the coordinates of the outer point, (XP, YP) ​​are the coordinates of the main line point, BPJ is the north deviation angle of the main line point, that is, the angle between the tangent of the main line point and the straight line in the north direction, and the main line subgrade width is W1.

[0027] Furthermore, the stake number of the secondary main line point is updated and adjusted according to the difference between the distance from the main line design cross-section point to the secondary main line point and the main line subgrade width, specifically:

[0028] ZHPC'=ZHPC-[SIGN(LZ-W1)*zy*SIGN(cos(YPJ))]*[abs(W1 / tan(YPJ))*0.5n-1];

[0029] Among them, YPJ is the designed right deviation angle of the main line point, that is, the angle between the tangent of the main line point and the main line design cross-section straight line, ZHPC is the secondary main line point stake number, ZHPC' is the updated secondary main line point stake number, the distance LZ from the main line design cross-section point to the secondary main line point, the main line subgrade width W1, zy represents the relative position relationship between the outer point and the main line, if the outer point is on the right side of the main line point, then zy=1, otherwise zy=-1; n represents the number of loop calculations, n=1 for the initial calculation, SIGN(*) is the positive or negative sign of (*).

[0030] Furthermore, the roadbed cross section where the secondary main line point is located intersects with the designed cross section where the main line point is located at the main line designed cross section point, and the distance from the main line designed cross section point to the secondary main line point is obtained according to the trigonometric function relationship in space, specifically:

[0031] LZ=(YP-YPC-tan(BPJ+YPJ)*(XP-XPC)) / (tan(BPJ+YPJ)*cos(BPJC+90°)-sin(BPJC+90°));

[0032] Among them, (XP, YP) ​​are the coordinates of the main line point, (XPC, YPC) are the coordinates of the secondary main line point, BPJ is the north deviation angle of the main line point, that is, the angle between the tangent of the main line point and the straight line in the north direction, YPJ is the design right deviation angle of the main line point, that is, the angle between the tangent of the main line point and the main line design cross-section straight line, BPJC is the north deviation angle of the secondary main line point, that is, the angle between the tangent of the secondary main line point and the straight line in the north direction.

[0033] Furthermore, based on the coordinates of the main line design cross-section point and the plane data of the ramp line, the stake number of the ramp point of the roadbed cross-section of the ramp line where the main line design cross-section point is located and the positive distance L1 between the two points are calculated, specifically:

[0034] Using the idea of ​​binary search, the distances between the main line design cross-section point and the starting point pile number, the middle point pile number, and the end point pile number of each plane line element of the ramp line are solved respectively;

[0035] Each time the cycle is repeated, the pile number range is reduced to half of the original one, and the half of the pile number range with the smaller pile number is selected as the range for the next search;

[0036] Until the difference between the end point pile number and the starting point pile number of the pile number interval is less than the error precision, the point with the minimum distance from the main line design cross-section point to the ramp line within the plane line element of this section is obtained;

[0037] The above processing is applied to each plane line element, and the minimum value is selected from the minimum distances from all plane line elements to the main line design cross-section point. The plane line element pile number where the minimum value is located is the ramp point pile number, and the minimum value is the positive distance L1 between the ramp point and the main line design cross-section point.

[0038] Furthermore, the ramp linebed width design data is used to obtain the ramp linebed width at the ramp point and the north deflection angle of the ramp point, and the north deflection angle and right deflection angle of the main line point and the north deflection angle of the ramp point are used to determine the right deflection angle of the ramp point in the main line design cross-section direction, specifically:

[0039] Using the ramp line width design data and plane design data, determine the north deflection angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line in the true north direction;

[0040] The right angle of the ramp point is determined by subtracting the north angle of the ramp point from the sum of the north angle and the right angle of the main line point, that is, the angle between the tangent line of the ramp point and the straight line of the main line design cross section.

[0041] Furthermore, the ramp point stake number, right deflection angle, north deflection angle and ramp roadbed width are used to calculate the coordinates of the intersection of the design cross section where the ramp point is located and the edge of the ramp roadbed on the side away from the splicing main line, which are the ramp design cross section point coordinates, specifically:

[0042] Based on the coordinates corresponding to the stake number of the ramp point and the north deflection angle of the ramp point, the coordinates of the outer point on the roadbed cross section where the ramp point is located at a positive distance equal to the ramp line width are calculated;

[0043] Based on the stake number of the ramp point, the north deflection angle of the ramp point and the width of the ramp line, the stake number of the next ramp point on the ramp line is cyclically solved by using the approximation method;

[0044] Based on the stake number of the secondary ramp point and with the aid of ramp line plane design data, the coordinates of the secondary ramp point are determined;

[0045] The roadbed cross section where the secondary ramp point is located intersects with the design cross section where the ramp point is located at the ramp design cross section point. The distance from the ramp design cross section point to the secondary ramp point is calculated based on the trigonometric function relationship in space.

[0046] If the difference between the distance from the ramp design cross-section point to the secondary ramp point and the ramp line subgrade width is within the error range, the loop ends; based on the coordinates of the secondary ramp point and the north deflection angle of the secondary ramp point, the coordinates of the point on the sub-main line point subgrade cross section at a positive distance equal to the distance from the ramp design cross-section point to the secondary ramp point are calculated, which are the coordinates of the ramp design cross-section point;

[0047] Otherwise, the pile number of the secondary ramp point is updated and adjusted according to the difference between the distance from the ramp design cross-section point to the secondary ramp point and the ramp linebed width, and then the process of calculating the pile number of the secondary ramp point is returned.

[0048] Furthermore, based on the coordinates of the ramp line design cross-section point and the plane data of the main line, the main line point stake number of the main line subgrade cross section where the ramp design cross-section point is located and the positive distance L2 between the two points are calculated, and the positive distance L2 is used as the width of the spliced ​​subgrade corresponding to the main line point, specifically:

[0049] Using the idea of ​​binary search, the distances between the ramp line design cross-section point and the starting point pile number, the middle point pile number, and the end point pile number of each plane line element of the main line are solved respectively;

[0050] Each time the cycle is repeated, the pile number range is reduced to half of the original one, and the half of the pile number range with the smaller pile number is selected as the range for the next search;

[0051] Until the difference between the end point pile number and the starting point pile number of the pile number interval is less than the error precision, the point with the minimum distance from the ramp design cross-section point to the main line within the plane line element of this section is obtained;

[0052] The above processing is applied to each section of plane line element, and the minimum value is selected from the minimum distances from all plane line elements to the ramp design cross-section point. The plane line element pile number where the minimum value is located is the pile number of the splicing main line point. The minimum value is the positive distance L2 between the splicing main line point and the ramp design cross-section point. The positive distance L2 is used as the splicing roadbed width corresponding to the main line point.

[0053] Compared with the prior art, the present invention has the following beneficial effects:

[0054] For the calculation of the roadbed width at the junction of the main line and the ramp, the present invention converts the distance calculation target of the edge points on both sides of the roadbed on the same roadbed cross section into the coordinates of the intersection of the roadbed cross section extension line of a point on the main line design line and the edge point of the ramp design line. The solution is obtained by comprehensively utilizing the design data of the road industry and the positional relationship in the plane space. The design data used include plane design data, roadbed width design data and right deviation angle design data. It does not require manual intervention by the designer and does not contain third-party dependent tools. It can be written as a program script to run independently and quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0056] Figure 1 is a flow chart of a method for calculating the width of a main line subgrade at a ramp connection in an embodiment of the present invention;

[0057] Figure 2 It is a simplified schematic diagram of a method for calculating the width of a main line subgrade at a ramp connection in an embodiment of the present invention;

[0058] Figure 3 Schematic diagram of calculation of coordinates of cross-section points of main line design in an embodiment of the present invention;

[0059] Figure 4 It is a schematic diagram of calculating the distance between the main line design cross-section point and the ramp point and the pile number of the ramp point in an embodiment of the present invention;

[0060] Figure 5 is a schematic diagram of calculating the right deviation angle of a ramp point in an embodiment of the present invention;

[0061] Figure 6 is a schematic diagram of calculating the coordinates of the cross-section points of the ramp design according to an embodiment of the present invention;

[0062] Figure 7 It is a schematic diagram of calculating the distance between the ramp design cross-section point and the main line splicing point and the stake number of the main line splicing point in an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0064] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0065] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0066] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0067] Embodiment 1

[0068] This embodiment provides a method for calculating the width of a main line subgrade at a ramp connection, the method comprising the following steps:

[0069] Determine the stake number of the main line point and the right deviation angle corresponding to the main line point, and obtain the main line subgrade width at the main line point in combination with the subgrade width design data of the main line;

[0070] Using the stake number, right deflection angle, north deflection angle and main line subgrade width of the main line point, calculate the coordinates of the intersection of the design cross section where the main line point is located and the edge of the main line subgrade on the side of the spliced ​​ramp, that is, the coordinates of the main line design cross section point; among which, the positive distance between the main line point and the edge of the main line subgrade is the width of the main line subgrade;

[0071] Based on the coordinates of the main line design cross-section point and the plane data of the ramp line, calculate the stake number of the ramp point of the roadbed cross-section of the ramp line where the main line design cross-section point is located and the positive distance L1 between the two points;

[0072] If the positive distance L1 satisfies the approximation error accuracy, it is considered that the main line design cross-section point coincides with the ramp point; otherwise, the sum of the main line subgrade width and the positive distance L1 is used as the new positive distance, and the calculation process of the main line design cross-section point coordinates is returned;

[0073] Using the ramp linebed width design data, the ramp linebed width at the ramp point and the north deflection angle of the ramp point are obtained, and the right deflection angle of the ramp point in the design cross-section direction of the main line is determined using the north deflection angle, right deflection angle of the main line point and the north deflection angle of the ramp point;

[0074] Using the stake number, right deflection angle, north deflection angle and ramp roadbed width of the ramp point, calculate the coordinates of the intersection of the design cross section where the ramp point is located and the edge of the ramp roadbed on the side away from the splicing main line, which is the coordinates of the ramp design cross section point; among which, the positive distance between the ramp point and the edge of the ramp roadbed is the ramp roadbed width;

[0075] Based on the coordinates of the ramp line design cross-section point and the plane data of the main line, the splicing main line point pile number of the main line roadbed cross-section where the ramp design cross-section point is located and the positive distance L2 between the two points are calculated, and the positive distance L2 is used as the splicing roadbed width corresponding to the main line point.

[0076] For a single road design line, the roadbed width data provides the width information of the roadbed cross section at a certain point on the design line, and the interpolation method can be used to obtain a reliable solution within the allowable error range at any point. Different from the solution of the roadbed width at a certain point on a conventional single design line, since there is a variable spacing distance between the roadbeds at the junction of the main line and the ramp design lines, and the design right deviation angles on the two design lines are often different, it is not possible to simply add the two roadbed widths to obtain the solution.

[0077] For the calculation of the roadbed width at the junction of the main line and the ramp, the most accurate calculation method is to use the coordinates of the edge points on both sides of the roadbed on the same roadbed cross section to solve the Euclidean space distance. Therefore, the calculation target can be converted into solving the coordinates of the intersection of the extension line of the roadbed cross section at a known point on the main line design line and the edge point of the ramp design line. This method uses the spatial position relationship between the roadbed cross section and the design cross section to solve.

[0078] Here we must first distinguish between the two concepts of roadbed cross-section and design cross-section. The former refers to the cross-section where the normal line is extended along the tangent direction of a point P on the design line. The distance between a point on the extension line of the cross-section and point P is called the positive distance; the latter refers to the cross-section after rotating right along the tangent direction of a point P on the design line. The distance between a point on the extension line of the cross-section and point P is called the slant distance.

[0079] This method combines road industry design data and geometric relationships in two-dimensional space to solve the problem. The design data used include plane design data, roadbed width design data, and right deviation angle design data. The important algorithms used in this method are decomposed and described below. Plane design data can provide coordinate information at a point on the design line, and width design data can provide roadbed width information in the normal direction of a point on the design line.

[0080] like Figure 1 and Figure 2 As shown, the specific process of this embodiment is as follows:

[0081] Step (1): determine the pile number ZHP and right deviation angle YPJ of a main line point P on the main line;

[0082] Step (2): Obtain the main line subgrade width W1 at the main line point P with the help of the main line subgrade width design data;

[0083] Step (3): Calculate the coordinates of the intersection of the design cross section where the main line point P is located and the edge of the main line subgrade on one side of the spliced ​​ramp, that is, the coordinates of the main line design cross section point P1, where the positive distance between the main line point P and the edge of the main line subgrade is the main line subgrade width W1;

[0084] Step (4): Calculate the stake number of the ramp point PD of the ramp line embankment cross section where P1 is located and the positive distance L1 between the two points;

[0085] Step (5): If the L1 value satisfies the approximation error accuracy, which is usually a decimal close to 0 such as 0.001, then it is considered that point P1 coincides with point PD; if the L1 value does not satisfy the approximation error accuracy, update the positive distance W1=W1+L1 and jump to step (3);

[0086] Step (6): using the ramp linebed width design data, obtain the ramp linebed width W2 at the ramp point PD; calculate the right deviation angle YPJD of the ramp point PD in the design cross-section direction of the main line;

[0087] Step (7): Calculate the coordinates of the intersection of the design cross section where the ramp point PD is located and the edge of the ramp roadbed on the side away from the splicing main line, that is, the coordinates of the ramp design cross section point P2, where the positive distance between the ramp point PD and the edge of the ramp roadbed is the ramp roadbed width W2;

[0088] Step (8): Calculate the stake number of the main line point PZ of the main line subgrade cross section where P2 is located and the positive distance L2 between the two points, which is the width of the subgrade.

[0089] With respect to step (3), the coordinates of the intersection of the design cross section where the main line point P is located and the edge of the main line subgrade on one side of the spliced ​​ramp are calculated by using the stake number, right deflection angle, north deflection angle and main line subgrade width of the main line point, i.e., the coordinates of the main line design cross section point P1, wherein the positive distance between the main line point P and the edge of the main line subgrade is the main line subgrade width W1, specifically:

[0090] Combined with the two-dimensional spatial geometric relationship, it is known that the stake number of the point P on the design line-main line is ZHP, the coordinates are (XP, YP), the positive distance from a certain point PW on the outer side of the roadbed cross section where P is located to P is W1, and there is another point PC on the design line main line, where the roadbed cross section where PC is located intersects with the design cross section where point P is located at point P1, and at this time the distance between P1 and PC is also W1. At this time, the coordinates of point P1 can be solved, as follows Figure 3 shown.

[0091] Step a: Based on the coordinates corresponding to the pile number of the main line point and the north deflection angle of the main line point, calculate the coordinates of the outer point PW at the width of the main line roadbed on the roadbed cross section where the main line point is located, specifically:

[0092] (XPW, YPW) = (XP+W1*cos(BPJ),YP+W1*sin(BPJ));

[0093] Among them, (XPW, YPW) are the coordinates of the outer point PW, (XP, YP) ​​are the coordinates of the main line point, BPJ is the north deflection angle of the main line point, that is, the angle between the tangent line of the main line point and the straight line in the north direction, and the main line subgrade width is W1;

[0094] Step b: Based on the stake number of the main line point P, the north deflection angle of the main line point and the width of the main line subgrade, the stake number of the sub-main line point PC on the main line is cyclically solved by using an approximation method;

[0095] ZHPC=ZHP+SIGN(cos(BPJ))*W1 / tan(BPJ);wherein, SIGN(*)is the positive or negative sign of (*);

[0096] The main line design cross section point P1 corresponds to the main line sub-main line point PC of the roadbed cross section. You only need to get the coordinates of the PC point (pile number), and then use the formula principle in step a to solve the coordinates of the main line design cross section point P1;

[0097] Step c: Based on the stake number of the secondary main line point PC and with the help of the main line plane design data, determine the coordinates (XPC, YPC) of the secondary main line point PC;

[0098] Step d: The roadbed cross section where the secondary main line point PC is located intersects with the design cross section where the main line point P is located at the main line design cross section point P1. The distance from the main line design cross section point P1 to the secondary main line point PC is obtained based on the trigonometric function relationship in space, specifically:

[0099] LZ=(YP-YPC-tan(BPJ+YPJ)*(XP-XPC)) / (tan(BPJ+YPJ)*cos(BPJC+90°)-sin(BPJC+90°));

[0100] Among them, (XP, YP) ​​are the coordinates of the main line point, (XPC, YPC) are the coordinates of the secondary main line point, BPJ is the north deflection angle of the main line point, that is, the angle between the tangent line of the main line point and the straight line in the north direction, YPJ is the design right deflection angle of the main line point, that is, the angle between the tangent line of the main line point and the straight line of the main line design cross section, BPJC is the north deflection angle of the secondary main line point, that is, the angle between the tangent line of the secondary main line point and the straight line in the north direction;

[0101] Step e: If the difference between the distance LZ from the main line design cross-section point P1 to the secondary main line point PC and the main line roadbed width W1 is within the error range (usually a minimum value close to 0 such as 0.001), the loop ends; using the formula principle in step a, according to the coordinates (XPC, YPC) of the secondary main line point PC and the north deflection angle BPJC of the secondary main line point, calculate the coordinates of the point on the roadbed cross section where the secondary main line point is located, which is the distance LZ from the main line design cross-section point to the secondary main line point, that is, the coordinates of the main line design cross-section point;

[0102] (XP1, YP1) = (XPC+LZ*cos(BPJC),YPC+LZ*sin(BPJC));

[0103] Step f: Otherwise, the stake number of the secondary main line point is updated and adjusted according to the difference between the distance LZ from the main line design cross-section point P1 to the secondary main line point PC and the main line subgrade width W1, and then the coordinate calculation process of the secondary main line point is returned, that is, returning to step c;

[0104] The stake number of the secondary main line point is updated and adjusted according to the difference between the distance from the main line design cross-section point to the secondary main line point and the main line subgrade width, specifically:

[0105] ZHPC'=ZHPC-[SIGN(LZ-W1)*zy*SIGN(cos(YPJ))]*[abs(W1 / tan(YPJ))*0.5n-1];

[0106] Among them, YPJ is the designed right deviation angle of the main line point, that is, the angle between the tangent of the main line point and the main line design cross-section straight line, ZHPC is the secondary main line point stake number, ZHPC' is the updated secondary main line point stake number, the distance LZ from the main line design cross-section point to the secondary main line point, the main line subgrade width W1, zy represents the relative position relationship between the outer point and the main line, if the outer point is on the right side of the main line point, then zy=1, otherwise zy=-1; n represents the number of loop calculations, n=1 for the initial calculation, SIGN(*) is the positive or negative sign of (*).

[0107] For step (4), based on the coordinates of the main line design cross-section point P1 and the plane data of the ramp line, the pile number of the ramp point of the roadbed cross-section of the ramp line where the main line design cross-section point is located and the positive distance L1 between the two points are calculated, specifically:

[0108] Given the coordinates of the main line design cross-section point P1 in two-dimensional space and the plane design data of the ramp line, assuming that point P1 is located on a certain roadbed cross-section of the ramp line, and the ramp point on the ramp line corresponding to the roadbed cross-section is PD, the pile number (coordinates) of the ramp point PD can be found by cyclic calculation, and the positive distance between point P1 and the ramp point PD can be obtained, such as Figure 4 As shown;

[0109] Using the idea of ​​binary search, the distances MR, MS, MT between the main line design cross-section point P1 and the starting point pile number, the middle point pile number, and the end point pile number of each plane line element of the ramp line are solved respectively;

[0110] Each time the cycle is repeated, the pile number range is reduced to half of the original one, and the half of the pile number range with the smaller pile number is selected as the range for the next search;

[0111] Until the difference between the end point pile number and the starting point pile number of the pile number interval is less than the error precision (usually a minimum value close to 0 such as 0.001), the point with the minimum distance from the main line design cross-section point to the ramp line within the plane line element of this section is obtained;

[0112] The above processing is applied to each plane line element, and the minimum value is selected from the minimum distances from all plane line elements to the main line design cross-section point. The plane line element pile number where the minimum value is located is the ramp point PD pile number, and the minimum value is the positive distance L1 between the ramp point and the main line design cross-section point.

[0113] With respect to step (6), the ramp linebed width design data is used to obtain the ramp linebed width W2 at the ramp point and the north deflection angle BPJD of the ramp point PD, and the right deflection angle of the ramp point in the design cross-section direction of the main line is determined by using the north deflection angle BPJ and the right deflection angle of the main line point and the north deflection angle of the ramp point, specifically:

[0114] The inclination direction of the design cross section at a certain point on the design line can be determined jointly by the two parameters of the north deflection angle and the design right deflection angle at the point. If there is a straight line H across the main line and the ramp line - the design cross section line of the main line point, then when the north deflection angle BPJ and the right deflection angle YPJ of the intersection point P of the design cross section line H of the main line and the main line point are known, for the intersection point PD of the design cross section line H of the ramp line and the main line point, it is only necessary to use the plane design data of the ramp line to obtain the north deflection angle BPJD of the ramp point PD, and then the right deflection angle YPJD of PD can be obtained according to the trigonometric relationship, as follows: Figure 5 As shown;

[0115] Determine the north deflection angle of the ramp point using the ramp linebed width design data and plane design data;

[0116] The right angle of the ramp point is determined by subtracting the north angle of the ramp point from the sum of the north angle and the right angle of the main line point, i.e. the angle between the tangent line of the ramp point and the straight line of the main line design cross section;

[0117] YPJD=BPJ+YPJ-BPJD;

[0118] Among them, BPJD is the north deviation angle of the ramp point, that is, the angle between the tangent line of the ramp point on the ramp line and the straight line in the north direction; YPJD is the right deviation angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line of the main line design cross section.

[0119] With respect to step (7), the ramp point pile number ZHPD, right deflection angle YPJD, north deflection angle BPJD and ramp roadbed width W2 are used to calculate the coordinates of the intersection of the design cross section where the ramp point PD is located and the edge of the ramp roadbed away from the splicing main line, which is the coordinates of the ramp design cross section point P2, wherein the positive distance between the ramp point PD and the edge of the ramp roadbed is the ramp roadbed width W2, which is specifically:

[0120] Combined with the two-dimensional spatial geometric relationship, it is known that the pile number of point PD on the design line-ramp line is ZHPD, the coordinates are (XPD, YPD), the positive distance from a certain point PDW on the outer side of the roadbed cross section where point PD is located to PD is W2, and there is another point PDC on the ramp line, where the roadbed cross section where PDC is located intersects with the design cross section where point PD is located at point P2, and at this time the distance between P2 and PDC is also W2. At this time, the coordinates of point P2 can be solved, as follows: Figure 6 shown.

[0121] Step 1): Based on the coordinates corresponding to the stake number of the ramp point and the north deflection angle BPJD of the ramp point, calculate the coordinates of the outer point PDW of the ramp point splicing outer side, the positive distance is the ramp line width W2;

[0122] (XPDW, YPDW) = (XPD+W2*cos(BPJD),YPD+W2*sin(BPJD));

[0123] Among them, (XPDW, YPDW) are the coordinates of the outer point PDW, (XPD, YPD) are the coordinates of the ramp point, BPJD is the north deflection angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line in the due north direction, and YPJD is the right deflection angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line of the main line design cross section;

[0124] Step 2): Based on the pile number ZHPD of the ramp point PD, the north deflection angle BPJD of the ramp point and the ramp linebed width W2, the pile number of the next ramp point PDC on the ramp line is cyclically solved by using an approximation method;

[0125] ZHPDC=ZHPD+SIGN(cos(BPJD))*W2 / tan(BPJD);wherein, SIGN(*)is the positive or negative sign of (*);

[0126] The ramp design cross-section point P2 corresponds to the next ramp point on the ramp line of the roadbed cross-section, which is PDC. We only need to obtain the coordinates of the PDC point (pile number), and then use the formula principle in step 1) to solve the coordinates of the ramp design cross-section point P2;

[0127] Step 3): Based on the pile number ZHPDC of the secondary ramp point PDC, and with the help of the ramp line plane design data, determine the coordinates of the secondary ramp point PDC;

[0128] Step 4): The roadbed cross section where the secondary ramp point PDC is located intersects with the design cross section where the ramp point PD is located at the ramp design cross section point P2. The distance LD from the ramp design cross section point to the secondary ramp point is calculated based on the trigonometric function relationship in space;

[0129] LD=(YPD-YPDC-tan(BPJD+YPJD)*(XPD-XPDC)) / (tan(BPJD+YPJD)*cos(BPJDC+90°)-sin(BPJDC+90°));

[0130] Among them, (XPD, YPD) are the coordinates of the ramp point, (XPDC, YPDC) are the coordinates of the secondary ramp point, BPJD is the north deflection angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line in the north direction, YPJD is the design right deflection angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line of the main line design cross section, BPJDC is the north deflection angle of the secondary ramp point, that is, the angle between the tangent line of the secondary ramp point and the straight line in the north direction;

[0131] Step 5): If the difference between the distance LD from the ramp design cross-section point P2 to the secondary ramp point PDC and the ramp line subgrade width W2 is within the error range (often a minimum value close to 0 such as 0.001), the loop ends; using the formula principle in step 1), according to the coordinates of the secondary ramp point PDC (XPDC, YPDC) and the north deflection angle BPJDC of the secondary ramp point, calculate the point coordinates of the secondary ramp point on the subgrade cross section where the positive distance is the distance LD from the ramp design cross-section point to the secondary ramp point, which is the ramp design cross-section point coordinates;

[0132] (XP2, YP2) = (XPDC+LD*cos(BPJDC),YPDC+LD*sin(BPJDC));

[0133] Step 6): Otherwise, update and adjust the pile number of the secondary ramp point according to the difference between the distance LD from the ramp design cross-section point to the secondary ramp point and the ramp linebed width W2, and then return to the pile number calculation process of the secondary ramp point step 3).

[0134] The method of updating and adjusting the pile number of the secondary ramp point according to the difference between the distance from the ramp design cross-section point to the secondary ramp point and the ramp line foundation width is specifically as follows:

[0135] ZHPDC'=ZHPDC-[SIGN(LD-W2)*dy*SIGN(cos(YPJD))]*[abs(W2 / tan(YPJD))*0.5n-1];

[0136] Among them, YPJD is the designed right deviation angle of the ramp point, that is, the angle between the tangent of the ramp point and the main line design cross-section straight line, ZHPDC is the stake number of the secondary main line point, ZHPDC' is the stake number of the updated secondary main line point, the distance LD from the ramp design cross-section point to the secondary ramp point, the ramp line subgrade width W2, dy represents the relative position relationship between the outer point and the ramp line, if the outer point is on the right side of the ramp point, dy=1, otherwise dy=-1; n represents the number of loop calculations, n=1 for the initial calculation, and SIGN(*) is the positive or negative sign of (*).

[0137] For step (8), based on the coordinates of the ramp line design cross-section point P2 and the plane data of the main line, the main line point stake number of the main line subgrade cross section where the ramp line design cross-section point is located and the positive distance L2 between the two points are calculated, and the positive distance L2 is used as the width of the spliced ​​subgrade corresponding to the main line point, which is specifically:

[0138] Given the coordinates of the ramp line design cross-section point P2 in two-dimensional space and the plane design data of the main line, assuming that point P2 is located on a certain roadbed cross-section of the main line, the point on the main line corresponding to the roadbed cross-section is the splicing main line point PZ, the stake number (coordinates) of the splicing main line point PZ can be cyclically calculated, and the positive distance between point P2 and the splicing main line point PZ can be obtained, such as Figure 7 As shown;

[0139] Using the idea of ​​binary search, the distances NR, NS, and NT between the ramp design cross-section point P2 and the starting point pile number, the middle point pile number, and the end point pile number of each plane line element of the main line are solved respectively;

[0140] Each time the cycle is repeated, the pile number range is reduced to half of the original one, and the half of the pile number range with the smaller pile number is selected as the range for the next search;

[0141] Until the difference between the end point and the starting point of the pile number interval is less than the error precision (usually a minimum value close to 0 such as 0.001), the point with the minimum distance from the ramp design cross-section point to the main line within the plane line element of this section is obtained;

[0142] The above processing is applied to each section of plane line element, and the minimum value is selected from the minimum distances from all plane line elements to the ramp design cross-section point. The plane line element pile number where the minimum value is located is the PZ pile number of the splicing main line point. The minimum value is the positive distance L2 between the splicing main line point and the ramp design cross-section point. The positive distance L2 is used as the splicing roadbed width corresponding to the main line point.

[0143] Based on the above content, this embodiment can use the distance calculation target of the edge points on both sides of the roadbed on the same roadbed cross section to convert it into solving the coordinates of the roadbed cross-section extension line of a point on the main line design line intersecting the edge point of the ramp design line. It comprehensively utilizes the road industry design data and the position relationship in the plane space to solve the problem, and simply and quickly realizes the solution of the roadbed width at any point where the main line and the ramp are connected. The logic is clear and the results are accurate. It can be written as a function script to run independently without relying on third-party auxiliary tools such as CAD, which greatly facilitates the design of roads and allows designers to implement more flexible design solutions.

[0144] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for calculating the width of the main line foundation at the ramp connection point. It is characterized in that include: Determine the stake number of the main line point and the right deviation angle corresponding to the main line point, and obtain the main line subgrade width at the main line point in combination with the subgrade width design data of the main line; The coordinates of the intersection of the design cross section where the main line point is located and the edge of the main line subgrade on the side of the spliced ​​ramp are calculated using the stake number, right deflection angle, north deflection angle and width of the main line subgrade, i.e., the coordinates of the main line design cross section point; wherein, the positive distance between the main line point and the edge of the main line subgrade is the width of the main line subgrade; the design cross section refers to the cross section after rotating rightward by the right deflection angle along the tangent direction of a point P on the design line, and the distance between a point on the extension line of the design cross section and point P is called the slant distance; Based on the coordinates of the main line design cross-section point and the plane data of the ramp line, calculate the stake number of the ramp point of the roadbed cross-section of the ramp line where the main line design cross-section point is located and the positive distance L1 between the two points; the roadbed cross-section refers to the cross-section where the normal line is extended along the tangent direction of a certain point P of the design line, and the distance between a certain point on the roadbed cross-section extension line and point P is called the positive distance; If the positive distance L1 satisfies the approximation error accuracy, it is considered that the main line design cross-section point coincides with the ramp point; otherwise, the sum of the main line subgrade width and the positive distance L1 is used as the new positive distance, and the calculation process of the main line design cross-section point coordinates is returned; Using the ramp linebed width design data, the ramp linebed width at the ramp point and the north deflection angle of the ramp point are obtained, and the right deflection angle of the ramp point in the design cross-section direction of the main line is determined using the north deflection angle, right deflection angle of the main line point and the north deflection angle of the ramp point; Using the stake number, right deflection angle, north deflection angle and ramp roadbed width of the ramp point, calculate the coordinates of the intersection of the design cross section where the ramp point is located and the edge of the ramp roadbed on the side away from the splicing main line, which is the coordinates of the ramp design cross section point; among which, the positive distance between the ramp point and the edge of the ramp roadbed is the ramp roadbed width; Based on the coordinates of the ramp design cross-section point and the plane data of the main line, calculate the main line point number of the main line subgrade cross section where the ramp design cross-section point is located and the positive distance L2 between the two points. Take the positive distance L2 as the width of the spliced ​​subgrade corresponding to the main line point, specifically: Using the idea of ​​binary search, the distances between the ramp line design cross-section point and the starting point pile number, the middle point pile number, and the end point pile number of each plane line element of the main line are solved respectively; Each time the cycle is repeated, the pile number range is reduced to half of the original one, and the half of the pile number range with the smaller pile number is selected as the range for the next search; Until the difference between the end point pile number and the starting point pile number of the pile number interval is less than the error precision, the point with the minimum distance from the ramp design cross-section point to the main line within the plane line element of this section is obtained; The above processing is applied to each section of plane line element, and the minimum value is selected from the minimum distances from all plane line elements to the ramp design cross-section point. The plane line element pile number where the minimum value is located is the pile number of the splicing main line point. The minimum value is the positive distance L2 between the splicing main line point and the ramp design cross-section point. The positive distance L2 is used as the splicing roadbed width corresponding to the main line point.

2. A method for calculating the width of the main line foundation at a ramp connection as claimed in claim 1, It is characterized in that The coordinates of the intersection of the design cross section where the main line point is located and the edge of the main line subgrade on one side of the spliced ​​ramp are calculated by using the stake number, right deflection angle, north deflection angle and main line subgrade width of the main line point, that is, the coordinates of the main line design cross section point are specifically: Based on the coordinates corresponding to the stake number of the main line point and the north deflection angle of the main line point, the coordinates of the outer point at the main line line width on the roadbed cross section where the main line point is located are calculated; Based on the stake number of the main line point, the north deflection angle of the main line point and the width of the main line subgrade, the stake number of the sub-main line point on the main line is solved cyclically using the approximation method; Based on the stake number of the secondary main line point, the coordinates of the secondary main line point are determined with the help of the main line plane design data; The roadbed cross section where the secondary main line point is located intersects with the design cross section where the main line point is located at the main line design cross section point. The distance from the main line design cross section point to the secondary main line point is calculated based on the trigonometric function relationship in space. If the difference between the distance from the main line design cross section point to the secondary main line point and the main line roadbed width is within the error range, the loop ends; based on the coordinates of the secondary main line point and the north deflection angle of the secondary main line point, the coordinates of the point on the roadbed cross section where the secondary main line point is located, which is the distance from the main line design cross section point to the secondary main line point, are calculated, i.e., the coordinates of the main line design cross section point; Otherwise, the stake number of the secondary main line point is updated and adjusted according to the difference between the distance from the main line design cross-section point to the secondary main line point and the main line roadbed width, and then the coordinate calculation process of the secondary main line point is returned.

3. A method for calculating the width of the main line foundation at a ramp connection as claimed in claim 2, It is characterized in that Based on the coordinates corresponding to the pile number of the main line point and the north deflection angle of the main line point, the coordinates of the outer point PW at the width of the main line roadbed on the roadbed cross section where the main line point is located are calculated, specifically: (XPW, YPW) = (XP+W1*cos(BPJ),YP+W1*sin(BPJ)); Among them, (XPW, YPW) are the coordinates of the outer point PW, (XP, YP) ​​are the coordinates of the main line point, BPJ is the north deviation angle of the main line point, that is, the angle between the tangent of the main line point and the straight line in the north direction, and the main line subgrade width is W1.

4. A method for calculating the width of the main line foundation at a ramp connection as claimed in claim 2, It is characterized in that The stake number of the secondary main line point is updated and adjusted according to the difference between the distance from the main line design cross-section point to the secondary main line point and the main line subgrade width, specifically: ZHPC'=ZHPC-[SIGN(LZ-W1)*zy*SIGN(cos(YPJ))]*[abs(W1 / tan(YPJ))*0.5n-1]; Among them, YPJ is the designed right deviation angle of the main line point, that is, the angle between the tangent of the main line point and the main line design cross-section straight line, ZHPC is the secondary main line point stake number, ZHPC' is the updated secondary main line point stake number, the distance LZ from the main line design cross-section point to the secondary main line point, the main line subgrade width W1, zy represents the relative position relationship between the outer point and the main line, if the outer point is on the right side of the main line point, then zy=1, otherwise zy=-1; n represents the number of loop calculations, n=1 for the initial calculation, SIGN(*) is the positive or negative sign of (*).

5. A method for calculating the width of the main line foundation at a ramp connection as claimed in claim 2, It is characterized in that The roadbed cross section where the secondary main line point is located intersects with the designed cross section where the main line point is located at the main line designed cross section point. The distance from the main line designed cross section point to the secondary main line point is obtained according to the trigonometric function relationship in space, specifically: LZ=(YP-YPC-tan(BPJ+YPJ)*(XP-XPC)) / (tan(BPJ+YPJ)*cos(BPJC+90°)-sin(BPJC+90°)); Among them, (XP, YP) ​​are the coordinates of the main line point, (XPC, YPC) are the coordinates of the secondary main line point, BPJ is the north deviation angle of the main line point, that is, the angle between the tangent of the main line point and the straight line in the north direction, YPJ is the design right deviation angle of the main line point, that is, the angle between the tangent of the main line point and the main line design cross-section straight line, BPJC is the north deviation angle of the secondary main line point, that is, the angle between the tangent of the secondary main line point and the straight line in the north direction.

6. A method for calculating the width of the main line foundation at a ramp connection as claimed in claim 1, It is characterized in that Based on the coordinates of the main line design cross-section point and the plane data of the ramp line, the pile number of the ramp point of the roadbed cross-section of the ramp line where the main line design cross-section point is located and the positive distance L1 between the two points are calculated, specifically: Using the idea of ​​binary search, the distances between the main line design cross-section point and the starting point pile number, the middle point pile number, and the end point pile number of each plane line element of the ramp line are solved respectively; Each time the cycle is repeated, the pile number range is reduced to half of the original one, and the half of the pile number range with the smaller pile number is selected as the range for the next search; Until the difference between the end point and the starting point of the pile number interval is less than the error precision, the point with the minimum distance from the main line design cross-section point to the ramp line within the plane line element of this section is obtained; The above processing is applied to each plane line element, and the minimum value is selected from the minimum distances from all plane line elements to the main line design cross-section point. The plane line element pile number where the minimum value is located is the ramp point pile number, and the minimum value is the positive distance L1 between the ramp point and the main line design cross-section point.

7. A method for calculating the width of a main line subgrade at a ramp connection as claimed in claim 1, It is characterized in that The ramp linebed width design data is used to obtain the ramp linebed width at the ramp point and the north deflection angle of the ramp point, and the north deflection angle and right deflection angle of the main line point and the north deflection angle of the ramp point are used to determine the right deflection angle of the ramp point in the main line design cross-section direction, specifically: Using the ramp line width design data and plane design data, determine the north deflection angle of the ramp point, that is, the angle between the tangent line of the ramp point and the straight line in the true north direction; The right angle of the ramp point is determined by subtracting the north angle of the ramp point from the sum of the north angle and the right angle of the main line point, that is, the angle between the tangent line of the ramp point and the straight line of the main line design cross section.

8. A method for calculating the width of a main line subgrade at a ramp connection as claimed in claim 1, It is characterized in that The ramp point stake number, right deflection angle, north deflection angle and ramp line subgrade width are used to calculate the coordinates of the intersection of the design cross section where the ramp point is located and the edge of the ramp line subgrade on the side away from the splicing main line, which is the ramp design cross section point coordinates, specifically: Based on the coordinates corresponding to the stake number of the ramp point and the north deflection angle of the ramp point, the coordinates of the outer point on the roadbed cross section where the ramp point is located at a positive distance equal to the ramp line width are calculated; Based on the stake number of the ramp point, the north deflection angle of the ramp point and the width of the ramp line, the stake number of the next ramp point on the ramp line is cyclically solved by using the approximation method; Based on the stake number of the secondary ramp point and with the aid of ramp line plane design data, the coordinates of the secondary ramp point are determined; The roadbed cross section where the secondary ramp point is located intersects with the design cross section where the ramp point is located at the ramp design cross section point. The distance from the ramp design cross section point to the secondary ramp point is calculated based on the trigonometric function relationship in space. If the difference between the distance from the ramp design cross-section point to the secondary ramp point and the ramp line subgrade width is within the error range, the loop ends; based on the coordinates of the secondary ramp point and the north deflection angle of the secondary ramp point, the coordinates of the point on the sub-main line point subgrade cross section at a positive distance equal to the distance from the ramp design cross-section point to the secondary ramp point are calculated, which are the coordinates of the ramp design cross-section point; Otherwise, the pile number of the secondary ramp point is updated and adjusted according to the difference between the distance from the ramp design cross-section point to the secondary ramp point and the ramp linebed width, and then the process of calculating the pile number of the secondary ramp point is returned.