CN113032876B - Method and system for laying overpasses for automatic relocation of existing roads along railway lines - Google Patents

Method and system for laying overpasses for automatic relocation of existing roads along railway lines Download PDF

Info

Publication number
CN113032876B
CN113032876B CN202110295577.XA CN202110295577A CN113032876B CN 113032876 B CN113032876 B CN 113032876B CN 202110295577 A CN202110295577 A CN 202110295577A CN 113032876 B CN113032876 B CN 113032876B
Authority
CN
China
Prior art keywords
cell
cell set
path
search
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110295577.XA
Other languages
Chinese (zh)
Other versions
CN113032876A (en
Inventor
蒲浩
谢淑敏
梁柱
李伟
宋陶然
赵璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South University
Original Assignee
Central South University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Central South University filed Critical Central South University
Priority to CN202110295577.XA priority Critical patent/CN113032876B/en
Publication of CN113032876A publication Critical patent/CN113032876A/en
Application granted granted Critical
Publication of CN113032876B publication Critical patent/CN113032876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/23Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种铁路沿线自动改移既有道路的立交通道布设方法、系统、终端及可读存储介质,该方法包括:步骤S1:构建道路与铁道立交通道线路的优化模型;步骤S2:将研究区域进行单元网格划分,并将路径搜索分解为两段非交叉段搜索以及交叉段搜索;步骤S3:基于优化模型对两段非交叉段以及交叉段进行路径搜索;步骤S4:利用步骤S3中的N条路径、M条路径以及P条交叉段局部线路进行拼接整合构成若干条完整线路,并以优化函数为目标函数确定最优线路,并基于最优线路进行平面和纵断面的曲线拟合得到最终线路方案。本发明分解为非交叉段与交叉段的路径搜索,削弱连接点与交叉点的耦合相互作用,实现公路与铁道立交通道优化。

Figure 202110295577

The invention discloses a method, system, terminal and readable storage medium for laying an overpass for automatically relocating an existing road along a railway line. The method includes: step S1: constructing an optimization model of the road and railway overpass; step S2: Divide the study area into cell grids, and decompose the path search into two non-intersecting segment searches and intersecting segment searches; Step S3: perform path search on the two non-intersecting segments and intersecting segments based on the optimization model; Step S4: Utilize the step The N paths, M paths and P partial lines of intersections in S3 are spliced and integrated to form several complete lines, and the optimal line is determined with the optimization function as the objective function, and the plane and vertical section curves are carried out based on the optimal line. Fitting to get the final route scheme. The invention decomposes the path search into the non-intersection section and the intersection section, weakens the coupling interaction between the connection point and the intersection point, and realizes the optimization of the highway and the railway overpass.

Figure 202110295577

Description

铁路沿线自动改移既有道路的立交通道布设方法及系统Method and system for laying overpasses for automatic relocation of existing roads along railway lines

技术领域technical field

本发明属于铁路设计技术领域,具体涉及一种铁路沿线自动改移既有道路的立交通道布设方法、系统、终端及可读存储介质。The invention belongs to the technical field of railway design, and in particular relates to a method, system, terminal and readable storage medium for laying interchanges for automatically changing existing roads along a railway line.

背景技术Background technique

铁路是国家重要的基础设施,是国民经济的大动脉,在我国经济和社会发展中起着重要的作用。为了满足道路运输的需求,建成与在建的道路逐年增加,既有路网更加密集。使得在铁路的建设过程中,许多城市和地区的既有道路与既有或者新建的铁路线路出现了大量交叉,并受到交叉口的交叉角度、有效净空和线形等约束限制,为了确保既有道路的运输安全和通行能力,违规道路将不可避免的进行重建,在时间和精力有限的情况下,工程师往往仅凭自身经验主观对比几个满足约束,控制投资的可行方案进行最终决策,可能导致更有价值的方案被遗漏。因此,迫切需要提出一个既考虑道路建设,路网交叉等各项约束,又满足节省工程投资目标的道路与铁路立交通道智能设计方法。Railway is an important national infrastructure and the main artery of the national economy. It plays an important role in my country's economic and social development. In order to meet the needs of road transportation, the number of roads built and under construction has increased year by year, and the existing road network has become more dense. In the process of railway construction, a large number of existing roads and existing or newly-built railway lines intersect in many cities and regions, and are restricted by the intersection angle, effective clearance and alignment of the intersections. With limited transportation safety and traffic capacity, illegal roads will inevitably be rebuilt. Under the circumstance of limited time and energy, engineers often only rely on their own experience to subjectively compare several feasible solutions that satisfy constraints and control investment to make final decisions, which may lead to more serious problems. Valuable programs are left out. Therefore, it is urgent to propose an intelligent design method for road and railway interchanges that not only considers various constraints such as road construction and road network intersection, but also meets the goal of saving project investment.

道路与铁路立交通道优化属于线路优化框架下的一个类别,相较于两固定端点之间的线路优化,还需要考虑路网交叉,与既有道路连接的增强约束。国内外对于道路与铁路立交通道的研究主要分为三个阶段:第一阶段,对于每一个道路交叉点,仅提供接近最优解的备选方案集,在有限的方案中进行比选,选择满足约束与投资成本的最优线路方案,该方法包含设计者的主观性和随机性。第二阶段:提出精确解法,但是地形的变化和复杂的约束条件难以用显式函数表示,存在理论上的不足。第三阶段:随着优化方法的不断创新和计算机计算能力的增长,提出不依赖于显式函数的启发式算法,其中遗传算法在立交通道中得到广泛的应用,但仍然局限于需人工给定一个初始的线路方案,在确定线路起终点的情况下,在研究区域内进行线路的优化,寻找满足约束条件的线路方案,存在一定的局限性,难以应用于实际情况。Road and railway overpass optimization belongs to a category under the route optimization framework. Compared with the route optimization between two fixed endpoints, it is also necessary to consider the enhanced constraints of road network intersection and connection with existing roads. The research on road and railway interchanges at home and abroad is mainly divided into three stages: in the first stage, for each road intersection, only a set of alternative solutions close to the optimal solution is provided, and the limited solutions are compared and selected. The optimal route scheme that satisfies constraints and investment costs, the method includes the subjectivity and randomness of the designer. The second stage: An accurate solution is proposed, but the changes of terrain and complex constraints are difficult to be expressed by explicit functions, and there are theoretical shortcomings. The third stage: With the continuous innovation of optimization methods and the growth of computer computing power, a heuristic algorithm that does not rely on explicit functions is proposed. The genetic algorithm is widely used in interchanges, but it is still limited to manual setting. An initial route scheme, in the case of determining the start and end points of the route, optimizes the route in the study area and finds a route scheme that meets the constraints, which has certain limitations and is difficult to apply to the actual situation.

将线路的投资成本视为立交通道的起终点之间的特定距离,立交通道的设计可转换为起终点之间的最短路径搜索问题。本发明针对道路与铁道立交通道起终点均不固定的情况,如何实现线路优化是本发明的急需探讨的。Considering the investment cost of the line as the specific distance between the start and end points of the interchange, the design of the interchange can be transformed into a shortest path search problem between the start and the end. The present invention is aimed at the situation that the starting and ending points of the road and the railway overpass are not fixed, and how to realize the route optimization is an urgent need of the present invention.

发明内容SUMMARY OF THE INVENTION

本发明的目的是针对既有道路与新建铁路相交,为处治相交段立交通道建设使之满足道路设计,路网相交约束,维持既有道路的通行能力,重建局部道路,寻找最优重建方案问题,提供一种全新的技术思路来实现改建段设计,提出了一种分层优化策略求解改建段与既有道路连接点以及改建段与铁路交叉点的位置,通过将核心问题分解为非交叉段子优化和交叉端与非交叉段两阶段重组,使连接点与交叉点的变化相互独立,削弱两者的耦合相互作用,实现公路与铁道立交通道优化。The purpose of the present invention is to deal with the intersection of the existing road and the new railway, to deal with the construction of the intersection road and make it meet the road design, road network intersection constraints, maintain the traffic capacity of the existing road, rebuild the local road, and find the optimal reconstruction scheme problem , provides a new technical idea to realize the design of the reconstruction section, and proposes a hierarchical optimization strategy to solve the position of the connection point between the reconstruction section and the existing road and the intersection of the reconstruction section and the railway. By decomposing the core problem into non-intersecting sections The optimization and the two-stage reorganization of the intersection end and the non-intersection section make the changes of the connection point and the intersection independent of each other, weaken the coupling interaction between the two, and realize the optimization of highway and railway overpasses.

一方面,本发明提供的一种铁路沿线自动改移既有道路的立交通道布设方法,包括如下步骤:On the one hand, the present invention provides a method for laying an overpass for automatically relocating an existing road along a railway line, comprising the following steps:

步骤S1:构建道路与铁道立交通道线路的优化模型,所述优化模块包括:研究区域内的决策变量、约束条件以及优化函数;Step S1: constructing an optimization model of the road and railway overpass line, the optimization module includes: decision variables, constraints and optimization functions in the research area;

步骤S2:将研究区域进行单元网格划分,再根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索;Step S2: Divide the study area into cell grids, and then determine the connection start and end cell sets S, E and the cell sets L and L on the left and right sides of the railway in the study area according to the existing roads and railways. R, and then decompose the path search into two non-intersecting segment searches and cross segment searches;

其中,铁路同一侧的单元格集合S与单元格集合L之间的路径以及同一侧的单元格集合E与单元格集合R之间的路径为所述两段非交叉段路径;单元格集合L与单元格集合R之间的路径为交叉段路径;Among them, the path between the cell set S and the cell set L on the same side of the railway and the path between the cell set E and the cell set R on the same side are the two non-intersecting section paths; the cell set L The path with the cell set R is an intersection path;

步骤S3:基于所述优化模型对两段非交叉段以及交叉段进行路径搜索;Step S3: performing path search on two non-intersecting sections and intersecting sections based on the optimization model;

其中,对所述两段非交叉段进行线路搜索得到单元格集合S与单元格集合L之间的M条路径以及单元格集合E与单元格集合R之间的N条路径;以及对所述交叉段进行路径搜索得到H条交叉段局部线路;Wherein, performing a line search on the two non-intersecting segments to obtain M paths between the cell set S and the cell set L and N paths between the cell set E and the cell set R; and The path search is performed at the intersection to obtain H local lines of the intersection;

以所述优化模型中的优化函数作为目标函数进行搜索,且搜索得到的线路满足所述优化模型中的约束条件;Search with the optimization function in the optimization model as the objective function, and the route obtained by the search satisfies the constraints in the optimization model;

步骤S4:利用步骤S3中的所述N条路径、所述M条路径以及所述H条交叉段局部线路进行拼接整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路,并基于所述最优线路进行平面和纵断面的曲线拟合得到最终线路方案。Step S4: Using the N paths, the M paths, and the H cross-section local lines in step S3 to splicing and integrating to form several complete lines, and using the optimization function as the objective function to determine the optimal line , and perform the curve fitting of the plane and the longitudinal section based on the optimal route to obtain the final route scheme.

可选地,步骤S3中基于所述优化模型对两段非交叉段进行路径搜索的过程采用DT算法,并以所述优化函数定义DT算法中单元格的广义距离值,实现过程如下:Optionally, in step S3, the DT algorithm is used in the process of performing path search on two non-intersecting segments based on the optimization model, and the generalized distance value of the cell in the DT algorithm is defined with the optimization function, and the implementation process is as follows:

针对单元格集合S与单元格集合L之间的路径搜索过程:For the path search process between cell set S and cell set L:

A-1:将单元格集合L中的单元格作为固定端点,选取单元格集合L[L1,L2,...,Lp]中一个单元格Li作为S→L段路径的固定端点,p为单元格集合L中单元格总个数;A-1: Take the cell in the cell set L as the fixed endpoint, and select a cell Li in the cell set L[L 1 ,L 2 ,...,L p ] as the fixed point of the S→L segment path endpoint, p is the total number of cells in the cell set L;

A-2:以单元格Li为固定端点采用DT算法进行搜索得到单元格集合S中每个单元格的DT值,若单元格DT值为非正无穷,则保留所述单元格并形成一条局部路径;否则,摒弃所述单元格对应的一条局部路径,其中,以单元格Li为固定端点得到若干条可行路径;A-2: Take the cell Li as the fixed endpoint and use the DT algorithm to search to obtain the DT value of each cell in the cell set S. If the cell DT value is not positive infinity, keep the cell and form a line Partial path; otherwise, discard a partial path corresponding to the cell, wherein several feasible paths are obtained by taking the cell Li as the fixed endpoint;

A-3:从所述若干条可行路径中选择DT值最小的路径作为以单元格Li为固定端点的单元格集合S到单元格集合L的路径;A-3: Select the path with the smallest DT value from the several feasible paths as the path from the cell set S with the cell Li as the fixed endpoint to the cell set L;

A-4:遍历单元格集合L中的单元格,并重复步骤A-1-A-3,最终得到M条单元格集合S与单元格集合L之间的路径;A-4: Traverse the cells in the cell set L, and repeat steps A-1-A-3, and finally obtain M paths between the cell set S and the cell set L;

针对单元格集合E与单元格集合R之间的路径搜索过程:For the path search process between cell set E and cell set R:

B-1:将单元格集合R中的单元格作为固定端点,选取单元格集合R[R1,R2,...,Rq]中一个单元格Ri作为E→R段路径的固定端点,q为单元格集合R中单元格总个数;B-1: Take a cell in the cell set R as a fixed endpoint, and select a cell R i in the cell set R[R 1 ,R 2 ,...,R q ] as the fixed point of the E→R segment path endpoint, q is the total number of cells in the cell set R;

B-2:以单元格Ri为固定端点采用DT算法进行搜索得到单元格集合E中每个单元格的DT值,若单元格DT值大于0,则保留所述单元格并形成一条局部路径;否则,摒弃所述单元格对应的一条局部路径,其中,以单元格Ri为固定端点得到若干条可行路径;B-2: Use the DT algorithm to search with the cell R i as the fixed endpoint to obtain the DT value of each cell in the cell set E. If the cell DT value is greater than 0, the cell is reserved and a local path is formed ; otherwise, discard a local path corresponding to the cell, wherein, taking the cell R i as a fixed endpoint to obtain several feasible paths;

B-3:从所述若干条可行路径中选择DT值最小的路径作为以单元格Ri为固定端点的单元格集合E到单元格集合R的路径;B-3: Select the path with the smallest DT value from the several feasible paths as the path from the cell set E to the cell set R with the cell R i as the fixed endpoint;

B-4:遍历单元格集合R中的单元格,并重复步骤B-1-B-3,最终得到N条单元格集合E与单元格集合R之间的路径。B-4: Traverse the cells in the cell set R, and repeat steps B-1-B-3, and finally obtain N paths between the cell set E and the cell set R.

可选地,步骤A-2中以单元格Li为固定端点采用DT算法进行搜索得到单元格集合S中每个单元格的DT值的过程为:Optionally, in step A-2, taking cell Li as the fixed endpoint and adopting the DT algorithm to search to obtain the DT value of each cell in the cell set S as follows:

A-2-1:对搜索区域进行预处理,即搜索区域是依据单元格集合S所在一侧的研究区域而定,其中,搜索区域内的任一单元格到固定端点Li的距离在使用最大限制坡度imax和容许展线系数γ条件下,满足如下公式:A-2-1: Preprocess the search area, that is, the search area is determined according to the research area on the side where the cell set S is located, wherein the distance from any cell in the search area to the fixed endpoint Li is used Under the condition of the maximum limited slope i max and the allowable spread coefficient γ, the following formula is satisfied:

Figure GDA0003594874650000031
Figure GDA0003594874650000031

其中,R(Rx,Ry,Rz)表示搜索区域内任意一个单元格的xyz坐标,LR(LRx,LRy,LRz)表示固定端点Li的xyz坐标,imax表示道路最大限制坡,γ表示展线系数;Among them, R(R x , R y , R z ) represents the xyz coordinates of any cell in the search area, LR(LR x , LR y , LR z ) represents the xyz coordinates of the fixed endpoint Li, and i max represents the maximum road The limit slope, γ represents the spread coefficient;

若不满足,将搜索区域内所述单元格标记为禁止单元,不参与双向扫描过程;If it is not satisfied, mark the cell in the search area as a forbidden cell, and do not participate in the two-way scanning process;

A-2-2:初始化搜索区域内所有非禁止单元的单元格的广义距离值;A-2-2: Initialize the generalized distance value of all non-prohibited cells in the search area;

A-2-3:对搜索区域进行双向扫描,更新每个单元格的广义距离值形成广义距离图,所述广义距离图中每个单元格的广义距离值为单元格的DT值。A-2-3: Scan the search area in both directions, and update the generalized distance value of each cell to form a generalized distance map, where the generalized distance value of each cell in the generalized distance map is the DT value of the cell.

可选地,步骤A-2-3中构建所述广义距离图的过程如下:Optionally, the process of constructing the generalized distance map in step A-2-3 is as follows:

A-2-3-1:构建邻域模板,扫描每个单元格时,将所述邻域目标的中心位置放置在单元格上;A-2-3-1: construct a neighborhood template, when scanning each cell, place the center position of the neighborhood target on the cell;

其中,扫描到任意单元格P时,取P为局部线路起点,取邻域模板内任意一单元格G为局部线路终点;Among them, when any cell P is scanned, P is taken as the starting point of the local line, and any cell G in the neighborhood template is taken as the end point of the local line;

A-2-3-2:当单元格G不属于搜索区域内的S[S1,S2,...,Sm]时,使用直线将单元格G与P相连;或当单元格G属于S[S1,S2,...,Sm]时,使用曲线平滑连接,其中,a为与目标单元连接的前进路径方向,b为单元格G既有道路方向,m为单元格集合S中单元格的数量;A-2-3-2: When cell G does not belong to S[S 1 ,S 2 ,...,S m ] in the search area, use a straight line to connect cell G and P; or when cell G When it belongs to S[S 1 ,S 2 ,...,S m ], use curve smooth connection, where a is the forward path direction connected to the target cell, b is the existing road direction of cell G, and m is the cell the number of cells in the set S;

A-2-3-3:连接单元格P与G得到局部线路并形成带有结构物的局部线路方案,并判断所述局部路径方案是否满足约束,若不满足,摒弃所述局部线路,转入步骤A-2-3-1,重新选择领域模板内的单元格;若满足,转入步骤A-2-3-4;A-2-3-3: Connect cells P and G to obtain a local circuit and form a local circuit scheme with structures, and judge whether the local path scheme satisfies the constraints, if not, discard the local circuit, and transfer to Go to step A-2-3-1, reselect the cells in the field template; if satisfied, go to step A-2-3-4;

步骤A-2-3-4:计算单元格P与单元格G之间的广义距离值,并更新单元格P的广义距离值;Step A-2-3-4: Calculate the generalized distance value between cell P and cell G, and update the generalized distance value of cell P;

步骤A-2-3-5:迭代执行A2-3-1、A2-3-2、A2-3-3、A2-3-4所述扫描过程,直至每个单元格的广义距离值不再发生变化得到广义距离图。Step A-2-3-5: Iteratively execute the scanning process described in A 2-3-1 , A 2-3-2 , A 2-3-3 , and A 2-3-4 until the generalization of each cell is reached The distance value no longer changes to get a generalized distance map.

可选地,步骤S3中对所述交叉段进行路径搜索得到H条交叉段局部线路的过程为:迭代搜索单元格集合L与单元格集合R之间的局部线路,并保留满足约束条件的局部线路,具体如下:Optionally, in step S3, the process of performing a path search on the intersection to obtain H local lines of the intersection is as follows: iteratively searches for the local lines between the cell set L and the cell set R, and retains the local lines that meet the constraints. line, as follows:

以单元格集合L中任一单元格Li为中心,向铁路作垂线并以所述垂线为角平分线,将所述垂线分别向左向右旋转90°-Amin得到直线a与直线b,Amin为满足规范要求的最小交叉角;Taking any cell Li in the cell set L as the center, draw a vertical line to the railway and take the vertical line as the angle bisector, and rotate the vertical lines to the left and right by 90°-A min to obtain the straight line a and Straight line b, Amin is the minimum intersection angle that meets the requirements of the specification;

在单元格集合R中,直线a与直线b形成的扇形区域内包含的Q个单元格为扇形可行解单元格集合;In the cell set R, the Q cells contained in the fan-shaped area formed by the straight line a and the straight line b are the fan-shaped feasible solution cell set;

将单元格Li与所述扇形可行解单元格集合中的Q个单元格分别直线连接形成Q条局部线路;Connect the cell Li and the Q cells in the fan-shaped feasible solution cell set by straight lines respectively to form Q local lines;

检测所述Q条局部线路是否满足约束条件,若不满足,剔除;若满足,生成局部线路的平面、纵断面、桥梁和隧道线路方案;Detecting whether the Q local lines meet the constraint conditions, and if not, eliminating them; if so, generating the plane, longitudinal section, bridge and tunnel line schemes of the local lines;

按照上述过程迭代搜索单元格集合L中的所有单元格,生成P个交叉段的局部线路方案。Iteratively searches all cells in the cell set L according to the above process, and generates a local route scheme of P intersections.

可选地,步骤S4中基于所述最优线路方案进行平面和纵断面的曲线拟合得到最终线路方案的为:根据所述最优线路方案采用弦切支距法选取路径中的特征点作为平面交点,并根据规范匹配最小的圆曲线半径和缓和曲线长度,生成初始的平面线路;在平面初始线路方案基础上,根据土石方工程量最小初始化纵断面方案;最优,对线路进行整体优化得到最终的平面和纵断面优化线路方案,譬如采用非线性网格自适应直接搜索算法(Nonlinear optimization with the mesh adaptive direct search,NOMAD)进行线路的整体优化。由于该过程是现有技术实现过程,因此对其不进行具体的阐述。Optionally, in step S4, the curve fitting of the plane and the vertical section is performed based on the optimal route scheme to obtain the final route scheme: according to the optimal route scheme, the feature points in the path are selected by using the chord tangent distance method as Plane intersection, and match the minimum radius of circular curve and length of transition curve according to the specification to generate the initial plane line; on the basis of the plane initial line plan, initialize the longitudinal section plan according to the minimum amount of earthwork; the optimal, the overall optimization of the line is obtained The final plan and longitudinal section optimization route scheme, such as the use of nonlinear mesh adaptive direct search algorithm (Nonlinear optimization with the mesh adaptive direct search, NOMAD) for the overall optimization of the route. Since this process is an implementation process in the prior art, it will not be described in detail.

可选地,步骤S1中研究区域内的决策变量表示为:Optionally, the decision variables in the research area in step S1 are expressed as:

平面交点HIP's(XH,YH,RH,LH0,LH1);Plane intersection HIP's(X H ,Y H ,R H ,L H0 ,L H1 );

纵断面变坡点VIP's(KV,HV,RV);Vertical section slope point VIP's (K V ,H V ,R V );

改建线路上的桥梁和隧道MBU's(KBS,KBE,KUS,KUE);Reconstruction of bridges and tunnels on the line MBU's (KB S ,KB E ,KU S ,KU E );

改建线路的起终点和交叉点VCC's(I,S,E);The starting and ending points and intersection points of the reconstructed line VCC's (I, S, E);

XH和YH为平面交点的横坐标和纵坐标,RH为平面交点对应的交点半径,LH0和LH1为平面交点对应的前缓和曲线和后缓和曲线长度;KV和HV为变坡点的里程和高程,RV为变坡点对应的竖曲线的半径;KBS和KBE为桥梁对应的起始里程和终止里程,KUS和KUE为隧道对应的起始里程和终止里程;I表示优化线路方案与新建铁路交叉点,S表示优化线路方案在既有道路上的起始连接点,E表示优化线路方案在既有道路上的终止连接点;X H and Y H are the abscissa and ordinate of the plane intersection, R H is the intersection radius corresponding to the plane intersection, L H0 and L H1 are the lengths of the front and rear spirals corresponding to the plane intersection; K V and H V are The mileage and elevation of the changing slope point, R V is the radius of the vertical curve corresponding to the changing slope point; KB S and KB E are the starting and ending mileage corresponding to the bridge, KU S and KU E are the corresponding starting mileage and Termination mileage; I represents the intersection of the optimized route scheme and the new railway, S represents the initial connection point of the optimized route scheme on the existing road, and E represents the termination connection point of the optimized route scheme on the existing road;

步骤S1中优化函数为工程费用最小,其包括:土石方工程费、路面成本、路权费、桥梁工程费以及隧道工程费,表示如下:In step S1, the optimization function is the minimum engineering cost, which includes: earthwork engineering cost, road surface cost, right-of-way cost, bridge engineering cost and tunnel engineering cost, which are expressed as follows:

F(HPI's,VPI's,MBU's,VCC's)=min(CE+CP+CR+CB+CU)F(HPI's,VPI's,MBU's,VCC's)=min(C E +C P +C R +C B +C U )

式中,F(HPI's,VPI's,MBU's,VCC's)为决策变量基础上的工程费用,CE,CP,CR,CB,CU分别为土石方工程费、路面成本、路权费、桥梁工程费、隧道工程费;In the formula, F(HPI's, VPI's, MBU's, VCC's) is the engineering cost based on the decision variables, C E , C P , C R , C B , C U are the earthwork cost, pavement cost, road right fee, bridge Engineering fee, tunnel engineering fee;

所述优化模型中的约束条件包括:几何线形约束、交叉约束、连接约束与既有结构约束。The constraints in the optimization model include: geometric line constraints, intersection constraints, connection constraints and existing structural constraints.

可选地,步骤S2中将研究区域进行单元网格划分过程中,所述单元网格的宽度width的计算公式如下:Optionally, in step S2, in the process of dividing the research area into a unit grid, the calculation formula of the width width of the unit grid is as follows:

width=2Tmin+Jmin width=2T min +J min

Jmin表示最小夹直线长,Tmin表示最大转角时的最小切线长,通过如下公式计算:J min represents the minimum clip straight line length, and T min represents the minimum tangent length at the maximum turning angle, which is calculated by the following formula:

Figure GDA0003594874650000051
Figure GDA0003594874650000051

式中,αmax为线路设计允许最大转角,Rmin为道路最小曲线半径。In the formula, α max is the maximum allowable turning angle of the line design, and R min is the minimum curve radius of the road.

第二方面,本发明提供一种基于铁路沿线自动改移既有道路的立交通道布设方法的系统,包括:In a second aspect, the present invention provides a system of a method for laying interchanges based on automatically changing existing roads along a railway line, comprising:

优化模型构建模块,用于构建道路与铁道立交通道线路的优化模型,所述优化模块包括:研究区域内的决策变量、约束条件以及优化函数;The optimization model building module is used to construct the optimization model of the road and railway overpass, the optimization module includes: decision variables, constraints and optimization functions in the research area;

网格划分模块,用于将研究区域进行单元网格划分;The meshing module is used to mesh the study area with cells;

搜索路段划分模块,用于根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索;The search section division module is used to determine the starting and ending cell sets S, E and the cell sets L and R on the left and right sides of the railway in the study area for the connection between the local reconstruction road and the existing road in the study area according to the existing roads and railways, and then search the path. Decomposed into two non-intersecting segment searches and cross segment searches;

其中,铁路同一侧的单元格集合S与单元格集合L之间的路径以及同一侧的单元格集合E与单元格集合R之间的路径为所述两段非交叉段路径;单元格集合L与单元格集合R之间的路径为交叉段路径;Among them, the path between the cell set S and the cell set L on the same side of the railway and the path between the cell set E and the cell set R on the same side are the two non-intersecting section paths; the cell set L The path with the cell set R is an intersection path;

非交叉段路径搜索模块,用于基于所述优化模型对两段非交叉段进行路径搜索;a non-intersecting segment path search module, configured to perform a path search on two non-intersecting segments based on the optimization model;

交叉段路径搜索模块,用于对交叉段进行路径搜索;Cross segment path search module, which is used to perform path search on the cross segment;

其中,对所述两段非交叉段进行线路搜索得到单元格集合S与单元格集合L之间的M条路径以及单元格集合E与单元格集合R之间的N条路径;以及对所述交叉段进行路径搜索得到P条交叉段局部线路;Wherein, performing a line search on the two non-intersecting segments to obtain M paths between the cell set S and the cell set L and N paths between the cell set E and the cell set R; and The path search is performed at the intersection to obtain P partial lines of the intersection;

以所述优化模型中的优化函数作为目标函数进行搜索,且搜索得到的线路满足所述优化模型中的约束条件;Search with the optimization function in the optimization model as the objective function, and the route obtained by the search satisfies the constraints in the optimization model;

最优线路获取模块,利用步骤S3中的所述N条路径、所述M条路径以及所述P条交叉段局部线路进行拼接整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路;The optimal line acquisition module uses the N paths, the M paths and the P cross-section local lines in step S3 for splicing and integration to form several complete lines, and the optimization function is used as the objective function to determine optimal route;

最终线路方案获取模块,用于基于所述最优线路方案进行平面和纵断面的曲线拟合得到最终线路方案。The final route plan obtaining module is used for obtaining the final route plan by performing curve fitting on the plane and vertical section based on the optimal route plan.

第三方面,本发明还提供一种终端,包括处理器和存储器,所述存储器存储了计算机程序,所述处理器调用所述计算机程序以执行:一种铁路沿线自动改移既有道路的立交通道布设方法的步骤。In a third aspect, the present invention also provides a terminal, comprising a processor and a memory, the memory stores a computer program, and the processor invokes the computer program to execute: an interchange for automatically changing an existing road along a railway line The steps of the channel routing method.

第四方面,本发明还提供一种可读存储介质,存储了计算机程序,所述计算机程序被处理器调用以执行:一种铁路沿线自动改移既有道路的立交通道布设方法的步骤。In a fourth aspect, the present invention also provides a readable storage medium storing a computer program, the computer program being invoked by the processor to execute: the steps of a method for laying interchanges for automatically relocating existing roads along a railway line.

有益效果beneficial effect

本发明针对道路与铁路立交通道的设计过程中,改建道路的起终点和与新建铁路的交叉点均不固定,线路起终点受到连接约束,交叉点受到交叉约束和线路受到大量几何线形约束和既有结构约束的情况下,本发明提供的所述布设方法提出了道路与铁道立交通道线路的优化模型,优化模型包含了地理信息、优化函数、约束与决策变量的信息。基于优化模型的基础上引出了一种分层优化策略,将改建段的生成分为交叉点的生成与改建道路起终点的生成两个阶段,通过将核心问题分解为非交叉段子优化和交叉段与非交叉段两阶段重组,使连接点和交叉点的生成相互独立,削弱两者的耦合相互作用,简化优化问题,实现道路与铁道的立交通道智能优化。In the design process of the road and railway overpass, the starting and ending points of the reconstructed roads and the intersections with the newly built railways are not fixed, the starting and ending points of the lines are subject to connection constraints, the intersections are subject to cross constraints, and the lines are subject to a large number of geometric and linear constraints and both In the case of structural constraints, the layout method provided by the present invention proposes an optimization model of road and railway overpass lines, and the optimization model includes information of geographic information, optimization functions, constraints and decision variables. Based on the optimization model, a hierarchical optimization strategy is introduced, which divides the generation of the reconstruction segment into two stages: the generation of the intersection point and the generation of the start and end points of the reconstruction road. The two-stage reorganization with the non-intersection section makes the generation of connection points and intersections independent of each other, weakens the coupling interaction between the two, simplifies the optimization problem, and realizes the intelligent optimization of road and railway interchanges.

进一步将本发明所述布设方法生成的方案与经验丰富的人工设计方案进行比较,结果表明,该方法能够在满足所有约束条件的情况下,有效的改进局部改建道路工程造价,拥有自动化程度高、效率高、实用性强等优点。The scheme generated by the layout method of the present invention is further compared with the experienced manual design scheme, and the results show that the method can effectively improve the cost of local reconstruction road projects under the condition of satisfying all the constraints, and has a high degree of automation, High efficiency and strong practicability.

附图说明Description of drawings

图1是本发明实施例提供的研究区域示意图。FIG. 1 is a schematic diagram of a research area provided by an embodiment of the present invention.

图2是本发明实施例提供的道路与铁道的立交通道线路方案优化模型。FIG. 2 is an optimization model of a road and railway overpass route scheme provided by an embodiment of the present invention.

图3是本发明实施例提供的单元格宽度几何示意图。FIG. 3 is a geometric schematic diagram of a cell width provided by an embodiment of the present invention.

图4是本发明实施例提供的S、L、R、E单元格集合示意图。FIG. 4 is a schematic diagram of a set of S, L, R, and E cells provided by an embodiment of the present invention.

图5是本发明实施例提供的DT算法中邻域模板与双向扫描方向示意图。FIG. 5 is a schematic diagram of a neighborhood template and a bidirectional scanning direction in a DT algorithm provided by an embodiment of the present invention.

图6是本发明实施例提供的改建道路S→L,E→R中局部线路的连接示意图(1:P不属于S;2:P属于S)。6 is a schematic diagram of the connection of local lines in the reconstructed roads S→L and E→R provided by an embodiment of the present invention (1: P does not belong to S; 2: P belongs to S).

图7是本发明实施例提供的S→L段生成的优化路径树。FIG. 7 is an optimized path tree generated from S→L segments provided by an embodiment of the present invention.

图8是本发明实施例提供的改建道路L→R段局部线路连接示意图。FIG. 8 is a schematic diagram of a local line connection in the L→R section of a reconstructed road provided by an embodiment of the present invention.

图9是本发明实施例提供的弦切支距法示意图。FIG. 9 is a schematic diagram of a chord cut support distance method provided by an embodiment of the present invention.

图10是本发明实施例1提供的所述布设方法的流程示意图。FIG. 10 is a schematic flowchart of the layout method provided in Embodiment 1 of the present invention.

具体实施方式Detailed ways

本发明提供了一种铁路沿线自动改移既有道路的立交通道布设方法、系统、终端及可读存储介质,所述布设方法是针对既有道路与新建铁路交叉时,在维持既有道路的通信能力基础上,实现局部道路重建的设计问题,寻找到最优重建方案。下面将结合实施例对本发明做进一步的说明。The present invention provides a method, a system, a terminal and a readable storage medium for laying an overpass for automatically relocating an existing road along a railway line. Based on the communication ability, the design problem of local road reconstruction is realized, and the optimal reconstruction scheme is found. The present invention will be further described below with reference to the embodiments.

实施例1:Example 1:

如图10所示,本发明提供的一种铁路沿线自动改移既有道路的立交通道布设方法,包括如下步骤:As shown in FIG. 10 , the present invention provides a method for laying an overpass for automatically relocating an existing road along a railway line, comprising the following steps:

S1:建立道路与铁道立交通道线路的优化模型。S 1 : Establish an optimization model of road and railway overpass lines.

其中,建立研究区域的综合地理信息模型,引入道路的平面交点信息(包括交点坐标、半径、前后缓和曲线长)、纵断面变坡点位置(包括里程、高程和竖曲线半径)、桥梁和隧道位置(包括里程与高程)和改建道路与新建铁路的交叉点,与既有道路的两个连接点作为决策变量。以找出综合造价成本最低为优化函数(目标函数),并考虑各种约束条件(包括线形几何约束、交叉约束、连接约束和既有结构约束),建立道路与铁道立交通道线路方案优化模型。Among them, a comprehensive geographic information model of the study area is established, and the plane intersection information of the road (including the intersection coordinates, radius, and length of the front and rear transition curves), the position of the vertical section slope change point (including mileage, elevation and vertical curve radius), bridges and tunnels are introduced. The location (including mileage and elevation) and the intersection of the rebuilt road and the new railway, and the two connection points with the existing road are used as decision variables. Taking finding the lowest comprehensive cost as the optimization function (objective function), and considering various constraints (including linear geometric constraints, intersection constraints, connection constraints and existing structural constraints), an optimization model of road and railway overpass routes is established.

针对研究区域,本实施例1中在距离既有道路与新建铁路的交叉口位置I的X米处,(该距离一般由设计人员根据经验确定,由于道路与铁路立交通道间距均小于1km,本文取该距离为500m。)沿既有道路识别A,B两点,构造椭圆区域。取A,B两点为椭圆焦点,展线系数γ=2imax/iD为偏心率,其中iD为地面高程的平均坡度,imax为道路的最大限制坡度。取研究区域为该椭圆的外接四边形,将研究区域细分为宽度为w的单元方格,获取包括地形(高程)、地质(岩土特征)、单位成本(工程单价信息)、现有建筑(工厂、道路、铁路、居民区)等地理信息的综合地理信息模型(CGIM)。For the research area, in the present embodiment 1, at a distance of X meters from the intersection position I of the existing road and the new railway, (this distance is generally determined by the designer based on experience, since the distance between the road and the railway overpass is less than 1km, this paper Take this distance as 500m.) Identify points A and B along the existing road to construct an elliptical area. Take two points A and B as the ellipse focus, and the expansion line coefficient γ=2i max /i D is the eccentricity, where i D is the average slope of the ground elevation, and i max is the maximum restricted slope of the road. Take the study area as the circumscribed quadrilateral of the ellipse, subdivide the study area into cell squares with a width of w, and obtain information including topography (elevation), geology (geotechnical characteristics), unit cost (unit price information of the project), existing buildings ( Comprehensive geographic information model (CGIM) of geographic information such as factories, roads, railways, residential areas).

需要说明的是,上述地面高程的平均坡度iD,道路的最大限制坡度imax为针对研究区域内整条既有道路的参数。其他可行的实施例中,研究区域的范围可以依据既有道路以及新建铁路的位置选择其他规则确定,本发明对此不进行具体的限定。It should be noted that the average gradient i D of the above ground elevation and the maximum restricted gradient i max of the road are parameters for the entire existing road in the study area. In other feasible embodiments, the scope of the study area may be determined by selecting other rules according to the location of the existing road and the newly built railway, which is not specifically limited in the present invention.

通过确定决策变量,建立目标函数的数学表达式,其中,本实施例1所选择的决策变量表示为:By determining the decision variable, the mathematical expression of the objective function is established, wherein, the decision variable selected in this embodiment 1 is expressed as:

平面交点HIP's(XH,YH,RH,LH0,LH1);Plane intersection HIP's(X H ,Y H ,R H ,L H0 ,L H1 );

纵断面变坡点VIP's(KV,HV,RV);Vertical section slope point VIP's (K V ,H V ,R V );

改建段的桥梁和隧道MBU's(KBS,KBE,KUS,KUE);Bridges and tunnels MBU's (KB S ,KB E ,KU S ,KU E ) in the reconstruction section;

改建段的起终点和交叉点VCC's(I,S,E)。The start and end points of the reconstruction segment and the intersection point VCC's(I,S,E).

HIP中:XH和YH为平面交点的横坐标和纵坐标,RH为平面交点对应的交点半径,LH0和LH1为平面交点对应的前缓和曲线和后缓和曲线长度。In HIP: X H and Y H are the abscissa and ordinate of the plane intersection, R H is the intersection radius corresponding to the plane intersection, and L H0 and L H1 are the lengths of the front and rear transition curves corresponding to the plane intersection.

VIP中:KV和HV为变坡点的里程和高程,RV为变坡点对应的竖曲线的半径。In VIP: K V and H V are the mileage and elevation of the variable slope point, and R V is the radius of the vertical curve corresponding to the variable slope point.

MBU中:KBS和KBE为桥梁对应的起始里程和终止里程,KUS和KUE为隧道对应的起始里程和终止里程。In MBU: KB S and KB E are the starting mileage and ending mileage corresponding to the bridge, and KU S and KU E are the starting mileage and ending mileage corresponding to the tunnel.

VCC中:I表示优化线路方案与新建铁路交叉点,S表示优化线路方案在既有道路上的起始连接点,E表示优化线路方案在既有道路上的终止连接点。In VCC: I represents the intersection of the optimized route scheme and the new railway, S represents the initial connection point of the optimized route scheme on the existing road, and E represents the termination connection point of the optimized route scheme on the existing road.

本实施例1选择的目标函数为工程费用最低,其包含土石方工程费、路面成本、路权费、桥梁工程费和隧道工程费。即以工程费用构建综合造价最低的目标函数,具体表达式如下所示:The objective function selected in Embodiment 1 is the lowest engineering cost, which includes earthwork engineering cost, road surface cost, right-of-way cost, bridge engineering cost, and tunnel engineering cost. That is, the objective function with the lowest comprehensive cost is constructed by the engineering cost, and the specific expression is as follows:

F(HPI's,VPI's,MBU's,VCC's)=min(CE+CP+CR+CB+CU)F(HPI's,VPI's,MBU's,VCC's)=min(C E +C P +C R +C B +C U )

其中,土石方工程费CE,通过公式(1)计算:Among them, the earthwork cost C E is calculated by formula (1):

Figure GDA0003594874650000091
Figure GDA0003594874650000091

式中,

Figure GDA0003594874650000092
为挖方的单位成本,
Figure GDA0003594874650000093
为填方的单位成本,
Figure GDA0003594874650000094
为将土方运至填埋场的单位成本,
Figure GDA0003594874650000095
为从借土坑运土方的单位成本,
Figure GDA0003594874650000096
为挖方量,
Figure GDA0003594874650000097
为填方量,当计算将土方运至填埋场的全部费用时,
Figure GDA0003594874650000098
为运至填埋场的土石方总体积,当计算从借土坑运土方的全部费用时,
Figure GDA0003594874650000099
为从借土坑运借土的土石方总体积。In the formula,
Figure GDA0003594874650000092
is the unit cost of excavation,
Figure GDA0003594874650000093
is the unit cost of filling,
Figure GDA0003594874650000094
For the unit cost of moving earth to the landfill,
Figure GDA0003594874650000095
is the unit cost of moving earth from the borrow pit,
Figure GDA0003594874650000096
is the excavation amount,
Figure GDA0003594874650000097
is the fill volume, when calculating the full cost of transporting the earth to the landfill,
Figure GDA0003594874650000098
For the total volume of earth and stone transported to the landfill, when calculating the full cost of transporting earth from the borrow pit,
Figure GDA0003594874650000099
It is the total volume of earth and stone for borrowing soil from the borrowing pit.

路面成本CP,通过公式(2)计算:Pavement cost C P , calculated by formula (2):

CP=upWL (2)C P = up WL (2)

式中,up为路面的单位成本,W为路面宽度,L为路面长度。In the formula, up is the unit cost of the pavement , W is the width of the pavement, and L is the length of the pavement.

路权费CR,通过公式(3)计算:The right-of-way toll C R is calculated by formula (3):

CR=n×w2×uR (3)C R =n×w 2 ×u R (3)

式中,n为地理信息模型中被优化线路(改建段)占用的单元格总数,w2为单元格的面积,uR为路权的单位成本。In the formula, n is the total number of cells occupied by the optimized route (reconstruction section) in the geographic information model, w 2 is the area of the cell, and u R is the unit cost of the right of way.

桥梁工程费CB,通过公式(4)计算:The bridge engineering cost C B is calculated by formula (4):

Figure GDA00035948746500000910
Figure GDA00035948746500000910

式中,uBi为第i座桥梁的单位长度成本,LBi为第i座桥梁的桥梁长度,Ni为第i座桥梁的桥墩总数,CAi为桥墩的单位成本,z为桥梁个数。where u Bi is the unit length cost of the ith bridge, L Bi is the bridge length of the ith bridge, Ni is the total number of piers of the ith bridge, C Ai is the unit cost of the piers, and z is the number of bridges .

隧道工程费CU,通过公式(5)计算:The tunnel engineering cost C U is calculated by formula (5):

Figure GDA00035948746500000911
Figure GDA00035948746500000911

式中,uUi为第i个隧道的单位长度成本,LUi为第i个隧道的长度,h为隧道个数。In the formula, u Ui is the unit length cost of the ith tunnel, L Ui is the length of the ith tunnel, and h is the number of tunnels.

需要说明的是,本实施例1中考虑到成本问题,以改建的综合成本最低为目标函数,其他可行的实施例中,还可以从其他成本角度设定目标函数或者考虑更多因素构成综合成本,其根据实际需求可以进行适应性调整,本发明对此不进行具体的限定。It should be noted that, in this embodiment 1, considering the cost issue, the objective function is to take the lowest comprehensive cost of reconstruction as the objective function. In other feasible embodiments, the objective function may also be set from other cost perspectives or consider more factors to form the comprehensive cost. , which can be adaptively adjusted according to actual needs, which is not specifically limited in the present invention.

约束条件:通过查阅《道路线形设计规范》(JTGD20-2017),确定几何线形约束、交叉约束、连接约束与既有结构约束。Constraints: By consulting the "Code for Road Alignment Design" (JTGD20-2017), determine the geometric alignment constraints, intersection constraints, connection constraints and existing structural constraints.

(1):几何线形约束(1): geometric line constraints

1)记搜索路径在平面共有n1个交点(本实施例中采用DT算法得到的搜索路径本身就是折线形,折线的转折点视为交点),交点对应的平面曲线半径、夹直线长和转向角分别为Ri,Ri

Figure GDA0003594874650000105
具体约束表示如下:1) Note that the search path has n1 intersection points in the plane (in this embodiment, the search path obtained by using the DT algorithm is a polyline, and the turning point of the polyline is regarded as the intersection), and the plane curve radius, the length of the clip line and the steering angle corresponding to the intersection point are respectively is R i , R i ,
Figure GDA0003594874650000105
The specific constraints are expressed as follows:

Figure GDA0003594874650000101
Figure GDA0003594874650000101

Rmin、Lmin

Figure GDA0003594874650000106
分别为线路平面允许的最大曲线半径、线路平面允许的最小夹直线长、线路平面允许的最小转向角。R min , L min ,
Figure GDA0003594874650000106
They are the maximum curve radius allowed on the line plane, the minimum clip line length allowed on the line plane, and the minimum steering angle allowed on the line plane.

2)记搜索路径在纵断面共有n2个变坡点,变坡点对应的竖曲线半径、坡度和坡长分别为

Figure GDA0003594874650000102
具体约束表示如下:2) Note that the search path has n2 slope-changing points in the longitudinal section, and the vertical curve radius, slope and slope length corresponding to the slope-changing points are:
Figure GDA0003594874650000102
The specific constraints are expressed as follows:

Figure GDA0003594874650000103
Figure GDA0003594874650000103

Figure GDA0003594874650000104
分别为线路纵断面允许的最小竖曲线半径、线路纵断面允许的最大坡度、线路纵断面所允许的最小坡长、线路纵断面所允许的最大坡长。
Figure GDA0003594874650000104
They are the minimum vertical curve radius allowed for the line profile, the maximum slope allowed for the line profile, the minimum slope length allowed for the line profile, and the maximum slope length allowed for the line profile.

(2):交叉约束(2): Cross constraint

1)道路与新建铁路相交时,形成的交叉角AC不应超过规定的最小交叉角Amin,并尽可能的使道路与铁路正交:1) When the road intersects with the newly built railway, the formed intersection angle A C should not exceed the specified minimum intersection angle A min , and the road and the railway should be orthogonal as far as possible:

Amin≤AC≤90° (8)A min ≤A C ≤90° (8)

2)交叉口的净空应该保证道路与铁路之间有足够的距离,以保证车辆的行车安全:2) The clearance of the intersection should ensure that there is enough distance between the road and the railway to ensure the safety of vehicles:

Vh≤|Hroad-Hrail| (9)Vh≤|H road -H rail | (9)

3)道路在交叉口部分,其道路必须保持笔直,以保证行车时良好的可见度。3) When the road is at the intersection, the road must be kept straight to ensure good visibility when driving.

(3):连接约束:(3): Connection constraints:

局部改建道路与既有的道路连接时,为了保证改建道路能够顺利连接,需要保证改建道路的起终点位于既有道路上,改建道路与既有道路在连接点处的方位角应该保持一致:When a partially reconstructed road is connected to an existing road, in order to ensure the smooth connection of the reconstructed road, it is necessary to ensure that the starting and ending points of the reconstructed road are located on the existing road, and the azimuth angle of the connecting point between the reconstructed road and the existing road should be consistent:

αexist=αcross (10)α exist = α cross (10)

αexist、αcross为既有道路与改建道路相交点上的既有道路的线路方位角、相同位置上改建道路(即改建道路起点)的线路方位角。α exist and α cross are the line azimuth of the existing road at the intersection of the existing road and the reconstructed road, and the line azimuth of the reconstructed road at the same position (ie, the starting point of the reconstructed road).

(4):既有结构约束既有结构约束可分为综合地理信息模型中确定的既有建筑的禁区和新建建筑的结构要求两种。(4): Existing Structural Constraints Existing structural constraints can be divided into two types: the restricted area of existing buildings determined in the comprehensive geographic information model and the structural requirements of new buildings.

1)禁区:搜索路径应该避免干扰综合地理模型(CGIM)中的既有结构。取集合UF为所有表示CGIM中表示禁区的单元格;集合UC为搜索路径所占用的单元格。为保证搜索路径绕避禁区,UF与UC的交集必须为空:1) Forbidden areas: The search path should avoid interfering with existing structures in the Comprehensive Geographic Model (CGIM). Take the set UF as all the cells representing the forbidden area in the CGIM ; set UC as the cells occupied by the search path. To ensure that the search path avoids the forbidden area, the intersection of UF and UC must be empty:

Figure GDA0003594874650000111
Figure GDA0003594874650000111

2)结构要求:桥梁的高度和长度,隧道的孔径应该满足《道路线形设计规范》(JTGD20-2017)中规定。2) Structural requirements: The height and length of the bridge and the aperture of the tunnel should meet the requirements in the "Code for Road Alignment Design" (JTGD20-2017).

S2:将研究区域进行单元网格划分,再根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索。本实施例中,步骤S2的具体执行过程如下:S 2 : Divide the study area into cell grids, and then determine the connection start and end cell sets S and E of the connection between the partially reconstructed roads and the existing roads in the study area and the cell sets L and L on the left and right sides of the railway according to the existing roads and railways. R, and then decompose the path search into two non-intersecting segment searches and intersecting segment searches. In this embodiment, the specific execution process of step S2 is as follows:

S2-1:获取矩形研究区域。S 2-1 : Obtain a rectangular study area.

S2-2:将矩形研究区域分为宽度为width的单元格,以保证两个单元格之间满足最小夹直线长与切线长的要求。width计算公式如下:S 2-2 : Divide the rectangular research area into cells with a width of width to ensure that the minimum clip line length and tangent length between the two cells are met. The formula for calculating width is as follows:

width=2Tmin+Jmin (12)width=2T min +J min (12)

Jmin表示最小夹直线长,Tmin表示最大转角时的最小切线长,通过如下公式计算:J min represents the minimum clip straight line length, and T min represents the minimum tangent length at the maximum turning angle, which is calculated by the following formula:

Figure GDA0003594874650000112
Figure GDA0003594874650000112

式中,αmax为线路设计允许最大转角,一般取70°~90°,Rmin为道路最小曲线半径。In the formula, α max is the maximum allowable turning angle of the line design, generally taking 70° to 90°, and R min is the minimum curve radius of the road.

S2-3:定义局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R。其中,以新建铁路为基线,为了增加线路方案的多样性,取新建铁路前进方向左侧第1列与第2列单元格,为铁路附近左侧单元格集合L[L1,L2,...,Lp],同理,取新建铁路前进方向右侧第1列与第2列单元格,为铁路附近右侧单元格集合R[R1,R2,...,Rq]。以新建铁路线为界,将与L[L1,L2,...,Lp]同侧的既有道路穿越的单元格集合,取为局部改建道路与既有道路的连接起点集S[S1,S2,...,Sm],将与R[R1,R2,...,Rq]同侧的既有道路穿越的单元格集合,取为局部改建道路与既有道路的连接终点集E[E1,E2,...,En]。其他可行的实施例中,基于既有道路以及新建铁路的位置可以对其单元格集合的范围进行适应性调整,本发明对此不进行具体的限定,如沿着既有道路扩大单元格范围或沿着新建铁路扩大单元格范围。S 2-3 : Define the start and end cell sets S and E of the connection between the partially reconstructed road and the existing road, and the cell sets L and R on the left and right sides of the railway. Among them, taking the newly built railway as the baseline, in order to increase the diversity of line schemes, the cells in the first column and the second column on the left side of the forward direction of the newly built railway are taken as the set of cells on the left near the railway L[L 1 ,L 2 ,. ..,L p ], in the same way, take the cells in the first column and the second column on the right side of the new railway's forward direction, which is the set of cells on the right near the railway R[R 1 ,R 2 ,...,R q ] . Taking the new railway line as the boundary, the set of cells that cross the existing road on the same side as L[L 1 ,L 2 ,...,L p ] is taken as the connection starting point set S of the local reconstruction road and the existing road [S 1 ,S 2 ,...,S m ], the set of cells that cross the existing road on the same side as R[R 1 ,R 2 ,...,R q ] is taken as the local reconstruction road and the The set E[E 1 ,E 2 ,...,E n ] of connecting end points of existing roads. In other feasible embodiments, the range of the set of cells can be adaptively adjusted based on the location of the existing road and the newly built railway, which is not specifically limited in the present invention, such as expanding the range of cells along the existing road or Expand the range of cells along the newly built railway.

S3:利用DT算法对两非交叉段进行线路搜索。本实施例中,针对单元格集合S与单元格集合L之间的路径以及同一侧的单元格集合E与单元格集合R之间的路径采用DT算法进行路径搜索,其他可行的实施例中,在以目标函数为基础以及满足约束条件的基础上,得到立两段非交叉段的路径的方式也可以适用于本发明的。S 3 : Use the DT algorithm to perform line search on two non-intersecting segments. In this embodiment, the DT algorithm is used to search the path between the cell set S and the cell set L and the path between the cell set E and the cell set R on the same side. In other feasible embodiments, On the basis of the objective function and satisfying the constraints, the method of obtaining the path of two non-intersecting segments can also be applied to the present invention.

针对单元格集合S与单元格集合L之间的路径搜索过程:For the path search process between cell set S and cell set L:

A-1:将单元格集合L中的单元格作为固定端点,选取单元格集合L[L1,L2,...,Lp]中一个单元格Li作为S→L段路径的固定端点,p为单元格集合L中单元格总个数;A-1: Take the cell in the cell set L as the fixed endpoint, and select a cell Li in the cell set L[L 1 ,L 2 ,...,L p ] as the fixed point of the S→L segment path endpoint, p is the total number of cells in the cell set L;

A-2:以单元格Li为固定端点采用DT算法进行搜索得到单元格集合S中每个单元格的DT值,若单元格DT值为非正无穷,则保留所述单元格并形成一条局部路径;否则,摒弃所述单元格对应的一条局部路径,其中,以单元格Li为固定端点得到若干条可行路径;A-2: Take the cell Li as the fixed endpoint and use the DT algorithm to search to obtain the DT value of each cell in the cell set S. If the cell DT value is not positive infinity, keep the cell and form a line Partial path; otherwise, discard a partial path corresponding to the cell, wherein several feasible paths are obtained by taking the cell Li as the fixed endpoint;

A-3:从所述若干条可行路径中选择DT值最小的路径作为以单元格Li为固定端点的单元格集合S到单元格集合L的路径;A-3: Select the path with the smallest DT value from the several feasible paths as the path from the cell set S with the cell Li as the fixed endpoint to the cell set L;

A-4:遍历单元格集合L中的单元格,并重复步骤A-1-A-3,最终得到M条单元格集合S与单元格集合L之间的路径,M≤p。A-4: Traverse the cells in the cell set L, and repeat steps A-1-A-3, and finally obtain M paths between the cell set S and the cell set L, M≤p.

同理,针对单元格集合E与单元格集合R之间的路径搜索得到N条单元格集合E与单元格集合R之间的路径,N≤q,q为单元格集合L中单元格总个数。Similarly, for the path search between the cell set E and the cell set R, N paths between the cell set E and the cell set R are obtained, N≤q, q is the total number of cells in the cell set L number.

其中,上述提到的DT算法的基本原理如下:Among them, the basic principles of the DT algorithm mentioned above are as follows:

距离变换是图像学中的一种常用变换,将一幅图像转换为一幅灰度图像(距离图),在这幅灰度图像中,每个单元格的灰度值是该单元格到其最近背景点(目标点)的最小距离。邻域模板则由n×n个单元格组合而成,可用一个的矩阵Md表示,其中每个元素d(r→c)的值表示模板中心和它邻域内的像素(第r行,第c列的单元格)之间的局部距离。在线路设计中,将工程费扩展成广义距离。使用邻域模板对研究区域进行正反双向扫描。Distance transformation is a common transformation in imagery, which converts an image into a grayscale image (distance map), in which the grayscale value of each cell is the distance from the cell to its Minimum distance to the closest background point (target point). The neighborhood template is composed of n × n cells, which can be represented by a matrix M d , where the value of each element d (r→c) represents the center of the template and the pixels in its neighborhood (the rth row, the th the local distance between cells in column c). In the route design, the engineering cost is extended into a generalized distance. Use the neighborhood template to scan the study area in both forward and reverse directions.

基于上述DT算法的原理,本发明利用DT算法进行搜索的过程如下:Based on the principle of the above-mentioned DT algorithm, the process that the present invention utilizes the DT algorithm to search is as follows:

S3-2-1:对新建铁路线左侧的研究区域进行预处理。S 3-2-1 : Preprocess the study area on the left side of the newly built railway line.

研究区域中的单元格应该满足高度可访问性,以单元格集合L[L1,L2,...,Lp]中一个单元格Li作为固定端点,对单元格集合S进行路径搜索的过程为例,即研究区域任意一单元格到固定端点Li的距离必须保证在使用最大限制坡度imax和容许展线系数γ条件下,能够克服两单元格之间的高差,即满足:The cells in the study area should be highly accessible, and a cell L i in the cell set L[L 1 ,L 2 ,...,L p ] is used as a fixed endpoint to perform a path search on the cell set S The process of , as an example, that is, the distance from any cell in the study area to the fixed endpoint Li must ensure that the height difference between the two cells can be overcome under the condition of using the maximum limit slope i max and the allowable spread coefficient γ, that is, it satisfies:

Figure GDA0003594874650000131
Figure GDA0003594874650000131

其中R(Rx,Ry,Rz)表示左侧研究区域中任意一个单元格的坐标,LR(LRx,LRy,LRz)表示铁路附近单元L中选定作为固定端点Li的坐标,imax表示道路最大限制坡,γ表示展线系数。如果有单元格未通过高度可访问性检测,即与公式14冲突,则将该单元格标记为禁止单元,在S3-3-2中所述的双向扫描过程中将忽略该禁区的扫描。where R(R x , R y , R z ) represents the coordinates of any cell in the study area on the left, and LR(LR x , LR y , LR z ) represents the selected fixed endpoint Li in the unit L near the railway Coordinates, i max represents the maximum restricted slope of the road, and γ represents the extension coefficient. If there is a cell that fails the high accessibility check, i.e. it conflicts with Formula 14, the cell is marked as a forbidden cell, and the scanning of this forbidden area will be ignored during the bidirectional scanning process described in S 3-3-2 .

S3-2-2:初始化左侧研究区域所有单元格的广义距离值VDT,如公式15所示,即固定端点为0,其他像素点均为正无穷。广义距离表示将距离变化中的距离概念拓展到综合代价,即前述(CE+CP+CR+CB+CU)确定的综合造价,其数字表示广义距离值,D表示自由单元,其广义距离值为正无穷,LR表示固定端点,其广义距离值为零,如下公式(15):S 3-2-2 : Initialize the generalized distance value V DT of all cells in the study area on the left, as shown in formula 15, that is, the fixed endpoint is 0, and other pixels are positive infinity. Generalized distance means extending the concept of distance in distance change to comprehensive cost, that is, the comprehensive cost determined by (C E +C P +C R +C B +C U ), the number of which represents the generalized distance value, D represents the free unit, Its generalized distance value is positive infinity, LR represents a fixed endpoint, and its generalized distance value is zero, as shown in the following formula (15):

Figure GDA0003594874650000132
Figure GDA0003594874650000132

S3-2-3:从图像的左上角开始,按先正向(从上至下,从左至右),再反向(从下至上,从右至左)的顺序扫描非禁止单元的所有像素,更新像素点的广义距离值,形成广义距离图。S 3-2-3 : Starting from the upper left corner of the image, scan the non-prohibited cells in the order of forward (from top to bottom, left to right), and then reverse (from bottom to top, right to left). For all pixels, update the generalized distance value of the pixel point to form a generalized distance map.

其中,广义距离图的构建过程包括如下步骤:Among them, the construction process of the generalized distance map includes the following steps:

S3-2-3-1:构建5×5的邻域模板,在扫描每一个单元格的时候,将邻域模板的中心放置在单元格上。当扫描到任意单元格P时,取P为局部线路起点,使邻域模板的中心与P重合。取邻域模板内任意一单元格G为局部线路终点。S 3-2-3-1 : Build a 5×5 neighborhood template. When scanning each cell, place the center of the neighborhood template on the cell. When any cell P is scanned, take P as the starting point of the local line, and make the center of the neighborhood template coincide with P. Take any cell G in the neighborhood template as the end point of the local line.

S3-2-3-2:为了确保局部线路PG满足步骤S1-4所述连接约束规定,进行局部线路连接时,P与G的连接类型根据G是否属于S[S1,S2,...,Sm]分为两种情况分别进行处理,详见附图6:S 3-2-3-2 : In order to ensure that the local line PG satisfies the connection constraint regulations described in step S 1-4 , when the local line is connected, the connection type between P and G is based on whether G belongs to S[S 1 , S 2 , ...,S m ] are divided into two cases to be dealt with respectively, see Figure 6 for details:

(1):当单元格G不属于S[S1,S2,...,Sm]时,使用直线将单元格G与P相连。(1): When cell G does not belong to S[S 1 ,S 2 ,...,S m ], use a straight line to connect cell G and P.

(2):当单元格G属于S[S1,S2,...,Sm]时,使用曲线平滑连接,其中a为与目标单元连接的前进路径方向,b为单元格G现有的道路方向。同时,需要满足步骤S1-4所述几何线形约束规定。(2): When cell G belongs to S[S 1 ,S 2 ,...,S m ], use curve smooth connection, where a is the forward path direction connected to the target cell, and b is the existing path of cell G road direction. At the same time, it is necessary to satisfy the geometrical line constraint regulations described in step S1-4 .

S3-2-3-3:连接单元格P与G之后会形成一个平纵面线性,即根据局部路径设置桥隧和路基,判断该局部线路是否满足平面线路所要求的转角约束、自交叉约束、绕避约束与必经约束;纵断面线路所要求的限制坡度约束、高程可达性约束、高程趋势约束和跨越约束;桥梁的桥高约束、桥长约束与净空约束;根据线隧挖深分界标准自动布设生成的隧道是否满足隧长约束、地质条件约束;路基段是否满足坡度坡向要求和地质条件要求。不满足则剔除该局部线路方案,转入步骤S3-2-4-1,重新选择邻域模板内单元格。S 3-2-3-3 : After connecting the cells P and G, a plane longitudinal plane will be formed, that is, the bridge tunnel and roadbed will be set according to the local path, and it will be judged whether the local line meets the corner constraint and self-intersection required by the plane line. Constraints, avoidance constraints and must pass constraints; limited slope constraints, elevation accessibility constraints, elevation trend constraints and spanning constraints required by longitudinal section lines; bridge height constraints, bridge length constraints and clearance constraints; tunnel excavation according to the line Whether the tunnel generated by the automatic layout of the deep demarcation standard meets the constraints of tunnel length and geological conditions; whether the subgrade section meets the requirements of slope aspect and geological conditions. If it is not satisfied, the local route scheme is eliminated, and the process goes to step S3-2-4-1 , and the cells in the neighborhood template are reselected.

S3-2-3-4:满足步骤S3-2-3-3所述各类约束,计算P与G之间的广义距离值,如果满足:S 3-2-3-4 : satisfy the various constraints described in step S 3-2-3-3 , calculate the generalized distance value between P and G, if it satisfies:

VDT(G)+d(P→G)<VDT(P) (16)V DT (G)+d(P→G)<V DT (P) (16)

则更新当前单元格P的广义距离值VDT(P),使VDT(P)=VDT(G)+d(P→G),并记录P与G之间的行列差(ΔR,ΔC),将距离值从单元格P传播到单元格G。否则,不更新并转入步骤S3-2-3-1,重新选择邻域模板内单元格。Then update the generalized distance value V DT (P) of the current cell P, so that V DT (P)=V DT (G)+d(P→G), and record the row and column difference between P and G (ΔR,ΔC ) to propagate the distance value from cell P to cell G. Otherwise, do not update and go to step S3-2-3-1 , and reselect the cells in the neighborhood template.

S3-2-3-5:迭代执行S3-2-3-1、S3-2-3-2、S3-2-3-3、S3-2-3-4所述扫描过程,直至每个单元格的广义距离值不再发生变化,形成最终的距离图。 S3-2-3-5 : Iteratively execute the scanning process described in S3-2-3-1 , S3-2-3-2 , S3-2-3-3 , S3-2-3-4 , until the generalized distance value of each cell no longer changes, forming the final distance map.

S3-2-4:通过步骤S3-2-3形成的广义距离图,寻找处于S集合内所有单元格的DT值,将DT值最小的单元格(Si)作为以Li为目标点的最短路径终点,通过ΔR,ΔC递推出单元格Si到目标点的最短路径方案,其中,递推过程为现有技术,通过递推得到的每个邻域模板内中心位置在邻域模板内的局部最优线路。S 3-2-4 : Through the generalized distance map formed in step S 3-2-3 , find the DT values of all cells in the S set, and take the cell (Si) with the smallest DT value as the target point of Li At the end point of the shortest path, the shortest path scheme from the cell Si to the target point is recursively derived through ΔR and ΔC. The recursion process is the prior art, and the center position of each neighborhood template obtained by recursion is within the neighborhood template. local optimal route.

S4:迭代搜索得到交叉段的局部线路。本实施例1中,先执行非交叉段搜索,再执行交叉段搜索,其他可行的实施例中,先执行交叉段搜索,再执行非交叉段搜索或者两者并列同步执行也是可以的。S 4 : Iteratively searches to obtain the local line of the intersection. In this embodiment 1, the non-intersecting segment search is performed first, and then the intersecting segment search is performed. In other feasible embodiments, the intersecting segment search is performed first, and then the non-intersecting segment search is performed, or both are performed concurrently and synchronously.

所述步骤S4具体包括以下步骤: The step S4 specifically includes the following steps:

S4-1:如附图8所示,取L中第i(i=1,2,3…,M)个单元格Li,以该单元格中心,向新建铁路作垂线,并以该垂线为角平分线,将垂线分别向左向右旋转90°-Amin,称其为直线a与直线b,直线a,b与新建铁路之间夹角为Amin(满足规范要求的最小交叉角)。直线a,b形成的扇形区域中包含Q个R[R1,R2,...,Rq]中单元格,称该Q个单元格为扇形可行解单元格集合。 S4-1 : As shown in FIG. 8, take the i-th (i=1, 2, 3..., M) cell Li in L, draw a vertical line to the new railway from the center of the cell, and use the The vertical line is the angle bisector, and the vertical lines are rotated to the left and right by 90°-A min respectively, which are called straight line a and straight line b. cross angle). The sector area formed by the straight lines a and b contains Q cells in R[R 1 , R 2 ,...,R q ], and the Q cells are called a sector-shaped feasible solution cell set.

S4-2:将Li与扇形可行解单元格集合中任意单元格Rj用直线相连,形成局部线路。Li与该Q个单元格分别连接,形成的Q条局部线路,其交叉点处一定满足交叉角约束。S 4-2 : Connect Li and any cell Rj in the fan-shaped feasible solution cell set with a straight line to form a local circuit. Li and the Q cells are respectively connected to form Q local lines whose intersections must satisfy the intersection angle constraint.

S4-3:检测该交叉段局部线路交叉点I处垂直净空约束,具体见约束条件中的交叉约束规定,未通过检测即剔除该交叉段局部方案,转至S4-6。通过检测则按顺序进行步骤S4-4 S4-3 : Detect the vertical clearance constraint at the intersection point I of the local line of the intersection, see the cross constraint regulation in the constraint conditions for details, if the detection fails, the local scheme of the intersection is rejected, and go to S4-6 . Step S4-4 is performed in sequence if the detection is passed.

S4-4:采用与S3-2-3-3相同步骤生成Li与Rj之间详细的平面、纵断面、桥梁和隧道线路方案。S 4-4 : Use the same steps as S 3-2-3-3 to generate detailed plan, longitudinal section, bridge and tunnel route scheme between Li and R j .

S4-5:重复进行步骤S4-2、S4-3、S4-4、S4-5,迭代Li与扇形可行解单元格集合中单元格的连接,最终生成不多于Q个交叉段局部线路方案。S 4-5 : Repeat steps S 4-2 , S 4-3 , S 4-4 , and S 4-5 , iterate the connection between Li and the cells in the fan-shaped feasible solution cell set, and finally generate no more than Q pieces Cross section local route scheme.

S4-6:迭代搜索L中所有单元格,重复进行S4-1、S4-2、S4-3、S4-4、S4-5步骤,生成不多于M*Q个交叉段局部线路方案,即H条交叉段局部线路。S 4-6 : iteratively search all cells in L, repeat steps S 4-1 , S 4-2 , S 4-3 , S 4-4 , S 4-5 to generate no more than M*Q intersections Section local line scheme, that is, H cross section local lines.

S5:对生成的两段非交叉段和交叉段进行整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路,并基于所述最优线路进行平面和纵断面的曲线拟合得到最终线路方案。具体包括如下步骤:S5: Integrate the generated two non - intersecting sections and intersecting sections to form several complete lines, and use the optimization function as an objective function to determine an optimal line, and perform plane and vertical section curves based on the optimal line Fitting to get the final route scheme. Specifically include the following steps:

S5-1:将每个交叉段局部方案中单元格Li对应的S→L段路径,单元格Rj对应的E→R段路径进行组合,构成完整线路,刷新线路S→L→R→E的广义距离值,记录为Di,j,将Di,j加入距离集UDi,j S5-1 : Combine the S→L segment path corresponding to the cell Li and the E→R segment path corresponding to the cell Rj in the local scheme of each intersection to form a complete line, and refresh the line S→L→R→E The generalized distance value of , recorded as D i,j , is added to the distance set U Di,j .

S5-2:重复步骤S5-1,直至M*Q个交叉段局部线路方案得到对应的完整局部线路广义距离值。S 5-2 : Repeat step S 5-1 until the M*Q cross-section local line schemes obtain the corresponding generalized distance value of the complete local line.

S5-3:将广义距离值集合UDi,j按广义距离值从小到大进行排序,最小广义距离方案min(Di,j)为综合造价最低的最优方案,表示L中第i个单元格与R中第j个单元格相连,结合S→L与E→R段路径,形成最优线路。S 5-3 : Sort the generalized distance value set U Di,j according to the generalized distance value from small to large, and the minimum generalized distance scheme min(D i,j ) is the optimal scheme with the lowest comprehensive cost, indicating the ith in L The cell is connected to the jth cell in R, and the S→L and E→R segment paths are combined to form the optimal route.

S5-4:根据步骤S5-3得的最优线路,采用弦切支距法选取路径中的特征点作为平面交点,并根据规范匹配最小的圆曲线半径和缓和曲线长度,生成初始的平面线路。S 5-4 : According to the optimal route obtained in step S 5-3 , the feature points in the path are selected as plane intersection points by using the chord tangent distance method, and the minimum radius of the circular curve and the length of the transition curve are matched according to the specification to generate an initial flat line.

S5-5:在平面初始线路方案基础上,根据土石方工程量最小初始化纵断面方案。S 5-5 : On the basis of the initial route plan on the plane, initialize the longitudinal section plan according to the minimum amount of earthwork.

S5-6:在道路与铁路的立交通道线路方案优化模型的基础上,采用非线性网格自适应直接搜索算法(Nonlinear optimization with the mesh adaptive direct search,NOMAD)进行线路的整体优化,得到最终的平面和纵断面优化线路方案。S 5-6 : On the basis of the road and railway overpass route scheme optimization model, the nonlinear mesh adaptive direct search algorithm (Nonlinear optimization with the mesh adaptive direct search, NOMAD) is used to carry out the overall optimization of the route, and the final result is obtained. The plan and profile optimization route scheme.

如图9所示,得到最终线路方案,由于上述步骤的实现过程是现有技术,因此对其不进行具体的阐述。As shown in FIG. 9 , the final circuit scheme is obtained. Since the implementation process of the above steps is in the prior art, it will not be described in detail.

综上所述,本发明实施例1提供的布设方法将路径搜索问题分割为交叉段和非交叉段的路径搜索,使连接点和交叉点的生成相互独立,削弱两者的耦合相互作用,简化优化问题,实现道路与铁道的立交通道智能优化。To sum up, the layout method provided in Embodiment 1 of the present invention divides the path search problem into path searches of intersecting segments and non-intersecting segments, so that the generation of connection points and intersecting points are independent of each other, weaken the coupling interaction between the two, and simplify the Optimization problem, realize intelligent optimization of interchange between roads and railways.

实施例2:Example 2:

在实施例1的基础上,本发明实施例2提供一种基于铁路沿线自动改移既有道路的立交通道布设方法的系统,包括:On the basis of Embodiment 1, Embodiment 2 of the present invention provides a system of a method for laying interchanges based on automatic relocation of existing roads along a railway line, including:

优化模型构建模块,用于构建道路与铁道立交通道线路的优化模型,所述优化模块包括:研究区域内的决策变量、约束条件以及优化函数;The optimization model building module is used to construct the optimization model of the road and railway overpass, the optimization module includes: decision variables, constraints and optimization functions in the research area;

网格划分模块,用于将研究区域进行单元网格划分;The meshing module is used to mesh the study area with cells;

搜索路段划分模块,用于根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索;The search section division module is used to determine the starting and ending cell sets S, E and the cell sets L and R on the left and right sides of the railway in the study area for the connection between the local reconstruction road and the existing road in the study area according to the existing roads and railways, and then search the path. Decomposed into two non-intersecting segment searches and cross segment searches;

其中,铁路同一侧的单元格集合S与单元格集合L之间的路径以及同一侧的单元格集合E与单元格集合R之间的路径为所述两段非交叉段路径;单元格集合L与单元格集合R之间的路径为交叉段路径;Among them, the path between the cell set S and the cell set L on the same side of the railway and the path between the cell set E and the cell set R on the same side are the two non-intersecting section paths; the cell set L The path with the cell set R is an intersection path;

非交叉段路径搜索模块,用于基于所述优化模型对两段非交叉段进行路径搜索;a non-intersecting segment path search module, configured to perform a path search on two non-intersecting segments based on the optimization model;

交叉段路径搜索模块,用于对交叉段进行路径搜索;Cross segment path search module, which is used to perform path search on the cross segment;

其中,对所述两段非交叉段进行线路搜索得到单元格集合S与单元格集合L之间的M条路径以及单元格集合E与单元格集合R之间的N条路径;以及对所述交叉段进行路径搜索得到H条交叉段局部线路;Wherein, performing a line search on the two non-intersecting segments to obtain M paths between the cell set S and the cell set L and N paths between the cell set E and the cell set R; and The path search is performed at the intersection to obtain H local lines of the intersection;

以所述优化模型中的优化函数作为目标函数进行搜索,且搜索得到的线路满足所述优化模型中的约束条件;Search with the optimization function in the optimization model as the objective function, and the route obtained by the search satisfies the constraints in the optimization model;

最优线路获取模块,利用步骤S3中的所述N条路径、所述M条路径以及所述H条交叉段局部线路进行拼接整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路;The optimal line acquisition module uses the N paths, the M paths and the H cross-section local lines in step S3 for splicing and integration to form several complete lines, and the optimization function is used as the objective function to determine optimal route;

最终线路方案获取模块,用于基于所述最优线路方案进行平面和纵断面的曲线拟合得到最终线路方案。The final route plan obtaining module is used for obtaining the final route plan by performing curve fitting on the plane and vertical section based on the optimal route plan.

其中,各个模块的实现过程请参照前述方法阐述,在此不再赘述。应当理解,上述单元模块的具体实现过程参照方法内容,本发明在此不进行具体的赘述,且上述功能模块单元的划分仅仅是一种逻辑功能的划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。同时,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Wherein, the implementation process of each module is described with reference to the foregoing method, and details are not repeated here. It should be understood that the specific implementation process of the above-mentioned unit modules refers to the content of the method, and the present invention will not go into details here, and the division of the above-mentioned functional module units is only a division of logical functions, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. Meanwhile, the above-mentioned integrated units may be implemented in the form of hardware, and may also be implemented in the form of software functional units.

实施例3:Example 3:

在实施例1的基础上,本发明实施例提供一种终端,其包括处理器和存储器,存储器存储了计算机程序,处理器调用计算机程序以执行:On the basis of Embodiment 1, an embodiment of the present invention provides a terminal, which includes a processor and a memory, the memory stores a computer program, and the processor invokes the computer program to execute:

S1:建立道路与铁道立交通道线路的优化模型。S2:将研究区域进行单元网格划分,再根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索。S3:利用DT算法对两非交叉段进行线路搜索。S4:迭代搜索得到交叉段的局部线路。S5:对生成的两段非交叉段和交叉段进行整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路,并基于所述最优线路进行平面和纵断面的曲线拟合得到最终线路方案。S 1 : Establish an optimization model of road and railway overpass lines. S 2 : Divide the study area into cell grids, and then determine the connection start and end cell sets S and E of the connection between the partially reconstructed roads and the existing roads in the study area and the cell sets L and L on the left and right sides of the railway according to the existing roads and railways. R, and then decompose the path search into two non-intersecting segment searches and intersecting segment searches. S 3 : Use the DT algorithm to perform line search on two non-intersecting segments. S 4 : Iteratively searches to obtain the local line of the intersection. S5: Integrate the generated two non - intersecting sections and intersecting sections to form several complete lines, and use the optimization function as an objective function to determine an optimal line, and perform plane and vertical section curves based on the optimal line Fitting to get the final route scheme.

其中,各个步骤的实现过程请参照前述方法的具体实现过程,在此不再赘述。For the implementation process of each step, please refer to the specific implementation process of the foregoing method, which will not be repeated here.

实施例4:Example 4:

在实施例1的基础上,本发明实施例提供一种可读存储介质,其存储了计算机程序,该计算机程序被处理器调用以执行:S1:建立道路与铁道立交通道线路的优化模型。S2:将研究区域进行单元网格划分,再根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索。S3:利用DT算法对两非交叉段进行线路搜索。S4:迭代搜索得到交叉段的局部线路。S5:对生成的两段非交叉段和交叉段进行整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路,并基于所述最优线路进行平面和纵断面的曲线拟合得到最终线路方案。On the basis of Embodiment 1, the embodiment of the present invention provides a readable storage medium, which stores a computer program, and the computer program is invoked by a processor to execute: S 1 : Establish an optimization model of road and railway interchange. S 2 : Divide the study area into cell grids, and then determine the connection start and end cell sets S and E of the connection between the partially reconstructed roads and the existing roads in the study area and the cell sets L and L on the left and right sides of the railway according to the existing roads and railways. R, and then decompose the path search into two non-intersecting segment searches and intersecting segment searches. S 3 : Use the DT algorithm to perform line search on two non-intersecting segments. S 4 : Iteratively searches to obtain the local line of the intersection. S5: Integrate the generated two non - intersecting sections and intersecting sections to form several complete lines, and use the optimization function as an objective function to determine an optimal line, and perform plane and vertical section curves based on the optimal line Fitting to get the final route scheme.

其中,各个步骤的实现过程请参照前述方法的具体实现过程,在此不再赘述。For the implementation process of each step, please refer to the specific implementation process of the foregoing method, which will not be repeated here.

应当理解,在本发明实施例中,所称处理器可以是中央处理单元(CentralProcessing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。It should be understood that, in this embodiment of the present invention, the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The memory, which may include read-only memory and random access memory, provides instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information.

所述可读存储介质为计算机可读存储介质,其可以是前述任一实施例所述的控制器的内部存储单元,例如控制器的硬盘或内存。所述可读存储介质也可以是所述控制器的外部存储设备,例如所述控制器上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述可读存储介质还可以既包括所述控制器的内部存储单元也包括外部存储设备。所述可读存储介质用于存储所述计算机程序以及所述控制器所需的其他程序和数据。所述可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The readable storage medium is a computer-readable storage medium, which may be an internal storage unit of the controller described in any of the foregoing embodiments, such as a hard disk or a memory of the controller. The readable storage medium may also be an external storage device of the controller, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on the controller card, flash card (Flash Card) and so on. Further, the readable storage medium may also include both an internal storage unit of the controller and an external storage device. The readable storage medium is used to store the computer program and other programs and data required by the controller. The readable storage medium can also be used to temporarily store data that has been output or is to be output.

需要强调的是,本发明所述的实例是说明性的,而不是限定性的,因此本发明不限于具体实施方式中所述的实例,凡是由本领域技术人员根据本发明的技术方案得出的其他实施方式,不脱离本发明宗旨和范围的,不论是修改还是替换,同样属于本发明的保护范围。It should be emphasized that the examples described in the present invention are illustrative rather than restrictive, so the present invention is not limited to the examples described in the specific implementation manner, and all the examples obtained by those skilled in the art according to the technical solutions of the present invention Other embodiments that do not depart from the spirit and scope of the present invention, whether modified or replaced, also belong to the protection scope of the present invention.

Claims (8)

1.一种铁路沿线自动改移既有道路的立交通道布设方法,其特征在于:包括如下步骤:1. an overpass laying method for automatically changing existing roads along a railway line, is characterized in that: comprise the steps: 步骤S1:构建道路与铁道立交通道线路的优化模型,所述优化模型包括:研究区域内的决策变量、约束条件以及优化函数;Step S1: constructing an optimization model of the road and railway overpass line, the optimization model includes: decision variables, constraints and optimization functions in the research area; 步骤S2:将研究区域进行单元网格划分,再根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索;Step S2: Divide the study area into cell grids, and then determine the connection start and end cell sets S, E and the cell sets L and L on the left and right sides of the railway in the study area according to the existing roads and railways. R, and then decompose the path search into two non-intersecting segment searches and cross segment searches; 其中,铁路同一侧的单元格集合S与单元格集合L之间的路径以及同一侧的单元格集合E与单元格集合R之间的路径为两段非交叉段路径;单元格集合L与单元格集合R之间的路径为交叉段路径;Among them, the path between cell set S and cell set L on the same side of the railway and the path between cell set E and cell set R on the same side are two non-intersecting section paths; cell set L and cell set The path between lattice sets R is a cross-segment path; 步骤S3:基于所述优化模型对两段非交叉段以及交叉段进行路径搜索;Step S3: performing path search on two non-intersecting sections and intersecting sections based on the optimization model; 其中,对所述两段非交叉段进行线路搜索得到单元格集合S与单元格集合L之间的M条路径以及单元格集合E与单元格集合R之间的N条路径;以及对所述交叉段进行路径搜索得到H条交叉段局部线路;Wherein, performing a line search on the two non-intersecting segments to obtain M paths between the cell set S and the cell set L and N paths between the cell set E and the cell set R; and The path search is performed at the intersection to obtain H local lines of the intersection; 以所述优化模型中的优化函数作为目标函数进行搜索,且搜索得到的线路满足所述优化模型中的约束条件;Search with the optimization function in the optimization model as the objective function, and the route obtained by the search satisfies the constraints in the optimization model; 步骤S4:利用步骤S3中的所述N条路径、所述M条路径以及所述H条交叉段局部线路进行拼接整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路,并基于所述最优线路进行平面和纵断面的曲线拟合得到最终线路方案;Step S4: Using the N paths, the M paths, and the H cross-section local lines in step S3 to splicing and integrating to form several complete lines, and using the optimization function as the objective function to determine the optimal line , and perform the curve fitting of the plane and the longitudinal section based on the optimal route to obtain the final route scheme; 步骤S2中将研究区域进行单元网格划分过程中,所述单元网格的宽度width的计算公式如下:In step S2, the research area is divided into unit grids, and the calculation formula of the width width of the unit grid is as follows: width=2Tmin+Jmin width=2T min +J min Jmin表示最小夹直线长,Tmin表示最大转角时的最小切线长,通过如下公式计算:J min represents the minimum clip straight line length, and T min represents the minimum tangent length at the maximum turning angle, which is calculated by the following formula:
Figure RE-FDA0003594874640000011
Figure RE-FDA0003594874640000011
式中,αmax为线路设计允许最大转角,Rmin为道路最小曲线半径;In the formula, α max is the maximum allowable turning angle of the line design, and R min is the minimum curve radius of the road; 步骤S3中对所述交叉段进行路径搜索得到H条交叉段局部线路的过程为:迭代搜索单元格集合L与单元格集合R之间的局部线路,并保留满足约束条件的局部线路,具体如下:In step S3, the process of performing a path search on the intersection section to obtain H local lines of the intersection section is: iteratively search for the local lines between the cell set L and the cell set R, and retain the local lines that meet the constraints, as follows. : 以单元格集合L中任一单元格Li为中心,向铁路作垂线并以所述垂线为角平分线,将所述垂线分别向左向右旋转90°-Amin得到直线a与直线b,Amin为满足规范要求的最小交叉角;Taking any cell Li in the cell set L as the center, draw a vertical line to the railway and take the vertical line as the angle bisector, and rotate the vertical lines to the left and right by 90°-A min to obtain the straight line a and Straight line b, Amin is the minimum intersection angle that meets the requirements of the specification; 在单元格集合R中,直线a与直线b形成的扇形区域内包含的Q个单元格为扇形可行解单元格集合;In the cell set R, the Q cells contained in the fan-shaped area formed by the straight line a and the straight line b are the fan-shaped feasible solution cell set; 将单元格Li与所述扇形可行解单元格集合中的Q个单元格分别直线连接形成Q条局部线路;Connect the cell Li and the Q cells in the fan-shaped feasible solution cell set by straight lines respectively to form Q local lines; 检测所述Q条局部线路是否满足约束条件,若不满足,剔除;若满足,生成局部线路的平面、纵断面、桥梁和隧道线路方案;Detecting whether the Q local lines meet the constraint conditions, if not, eliminating them; if so, generating the plane, longitudinal section, bridge and tunnel line schemes of the local lines; 按照上述过程迭代搜索单元格集合L中的所有单元格,生成H个交叉段的局部线路方案。Iteratively searches all cells in the cell set L according to the above process, and generates a local route scheme of H intersections.
2.根据权利要求1所述的方法,其特征在于:步骤S3中基于所述优化模型对两段非交叉段进行路径搜索的过程采用DT算法,并以所述优化函数定义DT算法中单元格的广义距离值,实现过程如下:2. method according to claim 1, is characterized in that: in step S3, the process of carrying out path search to two non-intersecting segments based on described optimization model adopts DT algorithm, and defines cell in DT algorithm with described optimization function The generalized distance value of , the realization process is as follows: 针对单元格集合S与单元格集合L之间的路径搜索过程:For the path search process between cell set S and cell set L: A-1:将单元格集合L中的单元格作为固定端点,选取单元格集合L[L1,L2,...,Lp]中一个单元格Li作为S→L段路径的固定端点,p为单元格集合L中单元格总个数;A-1: Take the cell in the cell set L as the fixed endpoint, and select a cell Li in the cell set L[L 1 ,L 2 ,...,L p ] as the fixed point of the S→L segment path endpoint, p is the total number of cells in the cell set L; A-2:以单元格Li为固定端点采用DT算法进行搜索得到单元格集合S中每个单元格的DT值,若单元格DT值为非正无穷,则保留所述单元格并形成一条局部路径;否则,摒弃所述单元格对应的一条局部路径,其中,以单元格Li为固定端点得到若干条可行路径;A-2: Take the cell Li as the fixed endpoint and use the DT algorithm to search to obtain the DT value of each cell in the cell set S. If the cell DT value is not positive infinity, keep the cell and form a line Partial path; otherwise, discard a partial path corresponding to the cell, wherein several feasible paths are obtained by taking the cell Li as the fixed endpoint; A-3:从所述若干条可行路径中选择DT值最小的路径作为以单元格Li为固定端点的单元格集合S到单元格集合L的路径;A-3: Select the path with the smallest DT value from the several feasible paths as the path from the cell set S with the cell Li as the fixed endpoint to the cell set L; A-4:遍历单元格集合L中的单元格,并重复步骤A-1-A-3,最终得到M条单元格集合S与单元格集合L之间的路径;A-4: Traverse the cells in the cell set L, and repeat steps A-1-A-3, and finally obtain M paths between the cell set S and the cell set L; 针对单元格集合E与单元格集合R之间的路径搜索过程:For the path search process between cell set E and cell set R: B-1:将单元格集合R中的单元格作为固定端点,选取单元格集合R[R1,R2,...,Rq]中一个单元格Ri作为E→R段路径的固定端点,q为单元格集合R中单元格总个数;B-1: Take a cell in the cell set R as a fixed endpoint, and select a cell R i in the cell set R[R 1 ,R 2 ,...,R q ] as the fixed point of the E→R segment path endpoint, q is the total number of cells in the cell set R; B-2:以单元格Ri为固定端点采用DT算法进行搜索得到单元格集合E中每个单元格的DT值,若单元格DT值为非正无穷,则保留所述单元格并形成一条局部路径;否则,摒弃所述单元格对应的一条局部路径,其中,以单元格Ri为固定端点得到若干条可行路径;B-2: Use the DT algorithm to search with the cell R i as the fixed endpoint to obtain the DT value of each cell in the cell set E. If the cell DT value is not positive infinity, keep the cell and form a line Partial path; otherwise, discard a partial path corresponding to the cell, wherein several feasible paths are obtained by taking the cell R i as the fixed endpoint; B-3:从所述若干条可行路径中选择DT值最小的路径作为以单元格Ri为固定端点的单元格集合E到单元格集合R的路径;B-3: Select the path with the smallest DT value from the several feasible paths as the path from the cell set E to the cell set R with the cell R i as the fixed endpoint; B-4:遍历单元格集合R中的单元格,并重复步骤B-1-B-3,最终得到N条单元格集合E与单元格集合R之间的路径。B-4: Traverse the cells in the cell set R, and repeat steps B-1-B-3, and finally obtain N paths between the cell set E and the cell set R. 3.根据权利要求2所述的方法,其特征在于:步骤A-2中以单元格Li为固定端点采用DT算法进行搜索得到单元格集合S中每个单元格的DT值的过程为:3. method according to claim 2 is characterized in that: in step A-2, take cell L i as fixed endpoint and adopt DT algorithm to search and obtain the process of the DT value of each cell in cell set S is: A-2-1:对搜索区域进行预处理,其中,搜索区域内的任一单元格到固定端点Li的距离在使用最大限制坡度imax和容许展线系数γ条件下,满足如下公式:A-2-1: Preprocess the search area, where the distance from any cell in the search area to the fixed endpoint Li satisfies the following formula under the condition of using the maximum restricted slope i max and the allowable spread coefficient γ:
Figure RE-FDA0003594874640000031
Figure RE-FDA0003594874640000031
其中,R(Rx,Ry,Rz)表示搜索区域内任意一个单元格的xyz坐标,LR(LRx,LRy,LRz)表示固定端点Li的xyz坐标,imax表示道路最大限制坡,γ表示展线系数;Among them, R(R x , R y , R z ) represents the xyz coordinates of any cell in the search area, LR(LR x , LR y , LR z ) represents the xyz coordinates of the fixed endpoint Li, and i max represents the maximum road The limit slope, γ represents the spread coefficient; 若不满足,将搜索区域内所述单元格标记为禁止单元,不参与双向扫描过程;If it is not satisfied, mark the cell in the search area as a forbidden cell, and do not participate in the two-way scanning process; A-2-2:初始化搜索区域内所有非禁止单元的单元格的广义距离值;A-2-2: Initialize the generalized distance value of all non-prohibited cells in the search area; A-2-3:对搜索区域进行双向扫描,更新每个单元格的广义距离值形成广义距离图,所述广义距离图中每个单元格的广义距离值为单元格的DT值。A-2-3: Scan the search area in both directions, and update the generalized distance value of each cell to form a generalized distance map, where the generalized distance value of each cell in the generalized distance map is the DT value of the cell.
4.根据权利要求3所述的方法,其特征在于:步骤A-2-3中构建所述广义距离图的过程如下:4. method according to claim 3 is characterized in that: the process of building described generalized distance map in step A-2-3 is as follows: A-2-3-1:构建邻域模板,扫描每个单元格时,将邻域目标的中心位置放置在单元格上;A-2-3-1: Build a neighborhood template, when scanning each cell, place the center position of the neighborhood target on the cell; 其中,扫描到任意单元格P时,取P为局部线路起点,取邻域模板内任意一单元格G为局部线路终点;Among them, when any cell P is scanned, P is taken as the starting point of the local line, and any cell G in the neighborhood template is taken as the end point of the local line; A-2-3-2:当单元格G不属于搜索区域内的S[S1,S2,...,Sm]时,使用直线将单元格G与P相连;或当单元格G属于S[S1,S2,...,Sm]时,使用曲线平滑连接,其中,a为与目标单元连接的前进路径方向,b为单元格G既有道路方向,m为单元格集合S中单元格的数量;A-2-3-2: When cell G does not belong to S[S 1 ,S 2 ,...,S m ] in the search area, use a straight line to connect cell G and P; or when cell G When it belongs to S[S 1 ,S 2 ,...,S m ], use curve smooth connection, where a is the forward path direction connected to the target cell, b is the existing road direction of cell G, and m is the cell the number of cells in the set S; A-2-3-3:连接单元格P与G得到局部线路并形成带有结构物的局部线路方案,并判断所述局部路径方案是否满足约束,若不满足,摒弃所述局部线路,转入步骤A-2-3-1,重新选择领域模板内的单元格;若满足,转入步骤A-2-3-4;A-2-3-3: Connect cells P and G to obtain a local circuit and form a local circuit scheme with structures, and judge whether the local path scheme satisfies the constraints, if not, discard the local circuit, and transfer to Go to step A-2-3-1, reselect the cells in the field template; if satisfied, go to step A-2-3-4; 步骤A-2-3-4:计算单元格P与单元格G之间的广义距离值,并更新单元格P的广义距离值;Step A-2-3-4: Calculate the generalized distance value between cell P and cell G, and update the generalized distance value of cell P; 步骤A-2-3-5:迭代执行A2-3-1、A2-3-2、A2-3-3、A2-3-4所述扫描过程,直至每个单元格的广义距离值不再发生变化得到广义距离图。Step A-2-3-5: Iteratively execute the scanning process described in A 2-3-1 , A 2-3-2 , A 2-3-3 , and A 2-3-4 until the generalization of each cell is reached The distance value no longer changes to get a generalized distance map. 5.根据权利要求1所述的方法,其特征在于:步骤S1中研究区域内的决策变量表示为:5. The method according to claim 1, wherein: the decision variable in the research area in step S1 is expressed as: 平面交点HIP's(XH,YH,RH,LH0,LH1);Plane intersection HIP's(X H ,Y H ,R H ,L H0 ,L H1 ); 纵断面变坡点VIP's(KV,HV,RV);Vertical section slope point VIP's (K V ,H V ,R V ); 改建线路上的桥梁和隧道MBU's(KBS,KBE,KUS,KUE);Reconstruction of bridges and tunnels on the line MBU's (KB S ,KB E ,KU S ,KU E ); 改建线路的起终点和交叉点VCC's(I,S,E);The starting and ending points and intersection points of the reconstructed line VCC's (I, S, E); XH和YH为平面交点的横坐标和纵坐标,RH为平面交点对应的交点半径,LH0和LH1为平面交点对应的前缓和曲线和后缓和曲线长度;KV和HV为变坡点的里程和高程,RV为变坡点对应的竖曲线的半径;KBS和KBE为桥梁对应的起始里程和终止里程,KUS和KUE为隧道对应的起始里程和终止里程;I表示优化线路方案与新建铁路交叉点,S表示优化线路方案在既有道路上的起始连接点,E表示优化线路方案在既有道路上的终止连接点;X H and Y H are the abscissa and ordinate of the plane intersection, R H is the intersection radius corresponding to the plane intersection, L H0 and L H1 are the lengths of the front and rear spirals corresponding to the plane intersection; K V and H V are The mileage and elevation of the slope-changing point, R V is the radius of the vertical curve corresponding to the slope-changing point; KB S and KB E are the starting and ending mileage corresponding to the bridge, and KU S and KU E are the corresponding starting mileage and Termination mileage; I represents the intersection of the optimized route scheme and the new railway, S represents the initial connection point of the optimized route scheme on the existing road, and E represents the termination connection point of the optimized route scheme on the existing road; 步骤S1中优化函数为工程费用最小,其包括:土石方工程费、路面成本、路权费、桥梁工程费以及隧道工程费,表示如下:In step S1, the optimization function is the minimum engineering cost, which includes: earthwork engineering cost, road surface cost, right-of-way cost, bridge engineering cost and tunnel engineering cost, which are expressed as follows: F(HPI's,VPI's,MBU's,VCC's)=min(CE+CP+CR+CB+CU)F(HPI's,VPI's,MBU's,VCC's)=min(C E +C P +C R +C B +C U ) 式中,F(HPI's,VPI's,MBU's,VCC's)为决策变量基础上的工程费用,CE,CP,CR,CB,CU分别为土石方工程费、路面成本、路权费、桥梁工程费、隧道工程费;In the formula, F(HPI's, VPI's, MBU's, VCC's) is the engineering cost based on the decision variables, C E , C P , C R , C B , C U are the earthwork cost, pavement cost, road right fee, bridge Engineering fee, tunnel engineering fee; 所述优化模型中的约束条件包括:几何线形约束、交叉约束、连接约束与既有结构约束。The constraints in the optimization model include: geometric line constraints, intersection constraints, connection constraints and existing structural constraints. 6.一种基于权利要求1-5任一项所述方法的系统,其特征在于:包括:6. A system based on the method of any one of claims 1-5, characterized in that: comprising: 优化模型构建模块,用于构建道路与铁道立交通道线路的优化模型,所述优化模型 包括:研究区域内的决策变量、约束条件以及优化函数;The optimization model building module is used to construct the optimization model of the road and railway overpass line, and the optimization model includes: decision variables, constraints and optimization functions in the research area; 网格划分模块,用于将研究区域进行单元网格划分;The meshing module is used to mesh the study area with cells; 搜索路段划分模块,用于根据既有道路以及铁路确定研究区域内局部改建道路与既有道路的连接起终点单元格集合S、E以及铁路左右侧的单元格集合L、R,进而将路径搜索分解为两段非交叉段搜索以及交叉段搜索;The search section division module is used to determine the starting and ending cell sets S, E and the cell sets L and R on the left and right sides of the railway in the study area for the connection between the local reconstruction road and the existing road in the study area according to the existing roads and railways, and then search the path. Decomposed into two non-intersecting segment searches and cross segment searches; 其中,铁路同一侧的单元格集合S与单元格集合L之间的路径以及同一侧的单元格集合E与单元格集合R之间的路径为所述两段非交叉段路径;单元格集合L与单元格集合R之间的路径为交叉段路径;Among them, the path between the cell set S and the cell set L on the same side of the railway and the path between the cell set E and the cell set R on the same side are the two non-intersecting section paths; the cell set L The path with the cell set R is an intersection path; 非交叉段路径搜索模块,用于基于所述优化模型对两段非交叉段进行路径搜索;a non-intersecting segment path search module, configured to perform a path search on two non-intersecting segments based on the optimization model; 交叉段路径搜索模块,用于对交叉段进行路径搜索;The cross section path search module is used to perform path search on the cross section; 其中,对所述两段非交叉段进行线路搜索得到单元格集合S与单元格集合L之间的M条路径以及单元格集合E与单元格集合R之间的N条路径;以及对所述交叉段进行路径搜索得到H条交叉段局部线路;Wherein, performing a line search on the two non-intersecting segments to obtain M paths between the cell set S and the cell set L and N paths between the cell set E and the cell set R; and Perform path search at the intersection to obtain H local lines of the intersection; 以所述优化模型中的优化函数作为目标函数进行搜索,且搜索得到的线路满足所述优化模型中的约束条件;Search with the optimization function in the optimization model as the objective function, and the route obtained by the search satisfies the constraints in the optimization model; 最优线路获取模块,利用步骤S3中的所述N条路径、所述M条路径以及所述H条交叉段局部线路进行拼接整合构成若干条完整线路,并以所述优化函数为目标函数确定最优线路;The optimal line acquisition module uses the N paths, the M paths and the H cross-section local lines in step S3 for splicing and integration to form several complete lines, and the optimization function is used as the objective function to determine optimal route; 最终线路方案获取模块,用于基于所述最优线路方案进行平面和纵断面的曲线拟合得到最终线路方案;a final route plan acquisition module, used for obtaining the final route plan by performing curve fitting on the plane and longitudinal section based on the optimal route plan; 其中在网格划分模块中,单元网格的宽度width的计算公式如下:In the grid division module, the calculation formula of the width width of the unit grid is as follows: width=2Tmin+Jmin width=2T min +J min Jmin表示最小夹直线长,Tmin表示最大转角时的最小切线长,通过如下公式计算:J min represents the minimum clip line length, and T min represents the minimum tangent length at the maximum turning angle, which is calculated by the following formula:
Figure RE-FDA0003594874640000051
Figure RE-FDA0003594874640000051
式中,αmax为线路设计允许最大转角,Rmin为道路最小曲线半径;In the formula, α max is the maximum allowable turning angle of the line design, and R min is the minimum curve radius of the road; 其中在交叉段路径搜索模块中,对所述交叉段进行路径搜索得到H条交叉段局部线路为:迭代搜索单元格集合L与单元格集合R之间的局部线路,并保留满足约束条件的局部线路,具体如下:Wherein, in the intersection path search module, the path search is performed on the intersection section to obtain H local lines of the intersection section: iteratively searches for the local lines between the cell set L and the cell set R, and retains the local lines that meet the constraints. line, as follows: 以单元格集合L中任一单元格Li为中心,向铁路作垂线并以所述垂线为角平分线,将所述垂线分别向左向右旋转90°-Amin得到直线a与直线b,Amin为满足规范要求的最小交叉角;Taking any cell Li in the cell set L as the center, draw a vertical line to the railway and take the vertical line as the angle bisector, and rotate the vertical lines to the left and right by 90°-A min to obtain the straight line a and Straight line b, Amin is the minimum intersection angle that meets the requirements of the specification; 在单元格集合R中,直线a与直线b形成的扇形区域内包含的Q个单元格为扇形可行解单元格集合;In the cell set R, the Q cells contained in the fan-shaped area formed by the straight line a and the straight line b are the fan-shaped feasible solution cell set; 将单元格Li与所述扇形可行解单元格集合中的Q个单元格分别直线连接形成Q条局部线路;Connect the cell Li and the Q cells in the fan-shaped feasible solution cell set by straight lines to form Q local lines; 检测所述Q条局部线路是否满足约束条件,若不满足,剔除;若满足,生成局部线路的平面、纵断面、桥梁和隧道线路方案;Detecting whether the Q local lines meet the constraint conditions, if not, eliminating them; if so, generating the plane, longitudinal section, bridge and tunnel line schemes of the local lines; 按照上述过程迭代搜索单元格集合L中的所有单元格,生成H个交叉段的局部线路方案。Iteratively searches all cells in the cell set L according to the above process, and generates a local route scheme of H intersections.
7.一种终端,其特征在于:包括处理器和存储器,所述存储器存储了计算机程序,所述处理器调用所述计算机程序以执行:权利要求1-5任一项所述方法的步骤。7. A terminal, characterized by comprising a processor and a memory, wherein the memory stores a computer program, and the processor invokes the computer program to execute: the steps of the method according to any one of claims 1-5. 8.一种可读存储介质,其特征在于:存储了计算机程序,所述计算机程序被处理器调用以执行:权利要求1-5任一项所述方法的步骤。8. A readable storage medium, characterized in that: a computer program is stored, and the computer program is invoked by a processor to execute: the steps of the method according to any one of claims 1-5.
CN202110295577.XA 2021-03-19 2021-03-19 Method and system for laying overpasses for automatic relocation of existing roads along railway lines Active CN113032876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110295577.XA CN113032876B (en) 2021-03-19 2021-03-19 Method and system for laying overpasses for automatic relocation of existing roads along railway lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110295577.XA CN113032876B (en) 2021-03-19 2021-03-19 Method and system for laying overpasses for automatic relocation of existing roads along railway lines

Publications (2)

Publication Number Publication Date
CN113032876A CN113032876A (en) 2021-06-25
CN113032876B true CN113032876B (en) 2022-05-24

Family

ID=76471688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110295577.XA Active CN113032876B (en) 2021-03-19 2021-03-19 Method and system for laying overpasses for automatic relocation of existing roads along railway lines

Country Status (1)

Country Link
CN (1) CN113032876B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746529B (en) * 2021-08-16 2023-02-17 飞天联合(北京)系统技术有限公司 Switching method of airborne satellite network
CN114162185A (en) * 2021-12-28 2022-03-11 上海电气集团智能交通科技有限公司 Public transport line network operation method based on magnetic nail track
CN114692352B (en) * 2022-04-06 2023-02-03 中南大学 Intelligent layout method for highway network in mountain railway construction
CN116305678B (en) * 2022-12-08 2023-12-15 西南交通大学 Fine optimization method for high-density urban railway line based on low-carbon emission
CN116756808B (en) * 2023-05-23 2024-04-23 济青高速铁路有限公司 Railway line shape optimization method and device, electronic equipment and storage medium
CN117852964B (en) * 2024-01-10 2024-08-27 高速铁路建造技术国家工程研究中心 Comprehensive coordination evaluation method for railway major engineering point-line-mesh design scheme
CN118245978B (en) * 2024-05-20 2024-08-06 中南大学 Multi-trend identification optimization method, medium and equipment for intelligent railway line selection scheme group

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109084798A (en) * 2018-08-29 2018-12-25 武汉环宇智行科技有限公司 Network issues the paths planning method at the control point with road attribute

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7324102B2 (en) * 2005-10-12 2008-01-29 Autodesk, Inc. Method for generating unified three-dimensional models of complex infrastructure configurations
CN104504476B (en) * 2014-12-30 2017-12-22 中南大学 A kind of complex mountainous rail track moves towards automatic generation method
CN112231870B (en) * 2020-09-23 2022-08-02 西南交通大学 Intelligent generation method for railway line in complex mountain area

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109084798A (en) * 2018-08-29 2018-12-25 武汉环宇智行科技有限公司 Network issues the paths planning method at the control point with road attribute

Also Published As

Publication number Publication date
CN113032876A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN113032876B (en) Method and system for laying overpasses for automatic relocation of existing roads along railway lines
Pu et al. A three‐dimensional distance transform for optimizing constrained mountain railway alignments
CN112883474B (en) A layout method, system, terminal and readable storage medium for intelligent reconstruction of existing track lines
CN104899357B (en) A kind of topological data extracting method based on AutoCAD level-crossing engineering drawings
Effat et al. Designing and evaluation of three alternatives highway routes using the Analytical Hierarchy Process and the least-cost path analysis, application in Sinai Peninsula, Egypt
CN101782399B (en) Method and device for topologically partitioning road network in navigation electronic map
CN101685471B (en) Highway Route CAD Aided Design System
CN109359350B (en) Wind power plant road intelligent design method for optimizing fine construction cost
CN102435200B (en) Rapid path planning method
CN102235873B (en) Processing method and device of navigation electronic map, navigator
CN111597621B (en) Railway line double-layer optimization method based on GIS and differential evolution algorithm
CN101630463A (en) Method for automatic vectorization of road network digital raster map
CN111858810B (en) A modeling elevation point screening method for road DEM construction
CN101650191B (en) Road network topology aggregation method and device
CN107389079A (en) High-precision paths planning method and system
CN105928535A (en) Vehicle routing planning method capable of avoiding road restrictions
CN113706715B (en) Random controllable city generation method
CN110046213A (en) A kind of electric power selection method for taking path distortion correction and scissors crossing correction into account
CN107092978A (en) A kind of shortest path hierarchical reconfiguration planning method of the Virtual earth
CN113190892B (en) A longitudinal section line layout method, system, terminal and readable storage medium
CN109558643B (en) A traffic scene modeling and model single method
CN101561286A (en) Trans-regional map data loading and displaying method
CN105243233A (en) Line-station collaborative optimization method for railway in complicated mountain area
CN107782323B (en) A Generation Method of High-level Navigation Road Network Based on Optimal Routes Between Cities
CN104504476B (en) A kind of complex mountainous rail track moves towards automatic generation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant