Excel VBA在道路工程测量中的应用
2020-03-13贺婧
贺婧


摘 要:在道路工程测量中,为了避免变坡点处的坡度出现急剧变化,保证车辆运行安全稳定,竖曲线的测设是至关重要的,其中竖曲线的曲线要素计算是测设的第一个关键步骤,以往大部分数据计算都由人工手算,计算过程繁琐、效率低、出错概率高。文章分析了竖曲线的计算原理,使用EXCEL表格中的VBA进行简单的程序编写,自动进行曲线要素的计算,为进行竖曲线测设提供了快速准确的数据。
关键词:道路工程测量;竖曲线;VBA
中图分类号:U412 文献标志码:A 文章编号:2095-2945(2020)08-0185-02
Abstract: In the road engineering survey, in order to avoid the sharp change of the slope at the slope change point and ensure the safe and stable operation of the vehicle, the measurement and design of the vertical curve is very important, in which the calculation of the curve elements of the vertical curve is the first key step of the survey. In the past, most of the data were calculated by manual, which has the advantages of tedious calculation process, low efficiency and high error probability. This paper analyzes the calculation principle of vertical curve, compiles a simple program with VBA in EXCEL table, and calculates the elements of curve automatically, which provides fast and accurate data for vertical curve measurement.
Keywords: road engineering survey; vertical curve; VBA
引言
線路纵断面是由许多不同坡度的坡段连接而成的。两个相邻的坡段相交时,同于坡段不同就出现了变坡点。为了避免变坡点处的坡度出现急剧变化,保证车辆运行安全平稳,公路纵坡变更处应设置圆曲线进行连接,这种在竖直面内连接相邻两坡段的圆曲线叫竖曲线。随着测量技术的不断进步,工程中竖曲线的测设大都由全站仪或GNSS来完成,但是在测设之前竖曲线曲线要素、高程值等数据的计算多由人工计算得到,效率低并且任务量繁重,因此利用VBA来编写一套竖曲线计算是非常有必要的。
1 竖曲线的计算原理
为了缓和坡度在变坡点处的急剧变化,使列车能平稳通过,变坡点的坡度代数差不应超过规定限值(国家I、II级铁路规定、III级铁路),若超过限值,则坡段间应以曲线连接。连接两相邻坡度线的竖曲线,可以用圆曲线,也可以用抛物线。目前,我国道路建设一般采用单圆曲线的竖曲线,竖曲线与平面曲线类似,首先要进行曲线要素的计算:……p>
