CN118603052A - A terrain survey device for civil engineering - Google Patents
A terrain survey device for civil engineering Download PDFInfo
- Publication number
- CN118603052A CN118603052A CN202411081134.0A CN202411081134A CN118603052A CN 118603052 A CN118603052 A CN 118603052A CN 202411081134 A CN202411081134 A CN 202411081134A CN 118603052 A CN118603052 A CN 118603052A
- Authority
- CN
- China
- Prior art keywords
- error
- measurement results
- photogrammetry
- control
- stepping motor
- 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.)
- Granted
Links
- 238000005259 measurement Methods 0.000 claims abstract description 150
- 238000000034 method Methods 0.000 claims description 55
- 230000008569 process Effects 0.000 claims description 29
- 238000013528 artificial neural network Methods 0.000 claims description 18
- 238000004422 calculation algorithm Methods 0.000 claims description 15
- 239000013598 vector Substances 0.000 claims description 15
- 230000009467 reduction Effects 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 4
- 238000003064 k means clustering Methods 0.000 claims description 4
- 238000009434 installation Methods 0.000 description 13
- 238000012549 training Methods 0.000 description 5
- 238000013519 translation Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 210000002569 neuron Anatomy 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011478 gradient descent method Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000008570 general process Effects 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002922 simulated annealing Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000003466 welding Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G01C11/02—Picture taking arrangements specially adapted for photogrammetry or photographic surveying, e.g. controlling overlapping of pictures
- G01C11/025—Picture taking arrangements specially adapted for photogrammetry or photographic surveying, e.g. controlling overlapping of pictures by scanning the object
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G01C11/04—Interpretation of pictures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/30—Assessment of water resources
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明涉及摄影测量技术领域,具体涉及一种土木工程用地形勘测装置,包括:相机、升降步进电机、上云台、下云台、旋转步进电机;利用相机进行摄影测量的测量结果获得控制误差C1,利用控制误差C1控制上云台、下云台、升降步进电机以及旋转步进电机,再次利用相机进行摄影测量并获得下一时刻的测量结果t和测量结果t的误差C2,误差C2与控制误差C1的差值记为摄影测量误差,利用摄影测量误差修正测量结果t和历史测量结果得到下一时刻的测量结果;将修正后的测量结果以及下一时刻的测量结果重新作为历史测量结果,根据历史测量结果获得下一时刻后的下个时刻的测量结果。本发明避免了勘测设备固定或安装不稳定时测量不准确的问题。
The present invention relates to the field of photogrammetry technology, and in particular to a topographic survey device for civil engineering, comprising: a camera, a lifting stepper motor, an upper pan head, a lower pan head, and a rotating stepper motor; a control error C1 is obtained from the measurement result of photogrammetry using the camera, and the upper pan head, the lower pan head, the lifting stepper motor, and the rotating stepper motor are controlled by the control error C1; the camera is used again for photogrammetry to obtain the measurement result t at the next moment and the error C2 of the measurement result t; the difference between the error C2 and the control error C1 is recorded as the photogrammetry error; the measurement result t and the historical measurement result are corrected by the photogrammetry error to obtain the measurement result at the next moment; the corrected measurement result and the measurement result at the next moment are used as the historical measurement result again, and the measurement result at the next moment after the next moment is obtained according to the historical measurement result. The present invention avoids the problem of inaccurate measurement when the survey equipment is fixed or installed unstably.
Description
技术领域Technical Field
本发明涉及摄影测量技术领域,具体涉及一种土木工程用地形勘测装置。The invention relates to the technical field of photogrammetry, and in particular to a terrain surveying device for civil engineering.
背景技术Background Art
土木工程用地形勘测过程中往往需要对道路、桥梁、边坡等进行测量,获取其形状或者沉降与变形情况,例如CN116608829A公开的一种用于土木工程的道路桥梁沉降勘测装置及其使用方法,用于实现土木工程的勘测。In the process of topographic survey for civil engineering, it is often necessary to measure roads, bridges, slopes, etc. to obtain their shapes or settlement and deformation. For example, CN116608829A discloses a road and bridge settlement survey device for civil engineering and a method of using the same, which are used to realize civil engineering survey.
但是现有的勘测装置需要固定在稳定的地面上,但是由于勘测环境的多样性,有些场景下需要在船上或者是使用无人机搭载勘测装置进行勘测,无论是船或是无人机都不能为勘测装置提供稳定的支撑和固定的条件,导致难以获得准确的勘测结果。However, existing surveying equipment needs to be fixed on stable ground. However, due to the diversity of surveying environments, in some scenarios, it is necessary to conduct surveys on a ship or using a drone to carry out surveying. Neither the ship nor the drone can provide stable support and fixing conditions for the surveying equipment, which makes it difficult to obtain accurate surveying results.
发明内容Summary of the invention
为解决上述问题,本发明提供一种土木工程用地形勘测装置。In order to solve the above problems, the present invention provides a terrain surveying device for civil engineering.
本发明一个实施例提供了一种土木工程用地形勘测装置,包括相机、升降装置,升降装置包含螺丝杆、升降步进电机,升降装置还包括上底板、下底板、载物板,其中上底板和下底板外表面分别安装上云台和下云台,相机固定在相机底座上,相机底座固定在转轴丝杠上,转轴丝杠一端连接在旋转步进电机上,另一端固定在轴承上;旋转步进电机和轴承固定在载物板下方,其中上云台、下云台、升降步进电机、旋转步进电机由安装在控制盒内的处理器控制;An embodiment of the present invention provides a topographic survey device for civil engineering, comprising a camera and a lifting device, wherein the lifting device comprises a screw rod and a lifting stepping motor, and the lifting device further comprises an upper base plate, a lower base plate, and a loading plate, wherein an upper pan head and a lower pan head are respectively installed on the outer surfaces of the upper base plate and the lower base plate, the camera is fixed on a camera base, the camera base is fixed on a rotating shaft lead screw, one end of the rotating shaft lead screw is connected to a rotating stepping motor, and the other end is fixed to a bearing; the rotating stepping motor and the bearing are fixed below the loading plate, wherein the upper pan head, the lower pan head, the lifting stepping motor, and the rotating stepping motor are controlled by a processor installed in a control box;
处理器利用相机对目标物进行摄影测量,获得若干时刻下的目标物上所有位置的测量结果,记为历史测量结果,根据历史测量结果获得下一时刻目标物上所有位置的测量结果,包括:The processor uses the camera to perform photogrammetry on the target object, obtains the measurement results of all positions on the target object at several moments, records them as historical measurement results, and obtains the measurement results of all positions on the target object at the next moment based on the historical measurement results, including:
若干时刻下的历史测量结果的误差记为控制误差,将若干时刻下的控制误差输入卡尔曼滤波算法获取若干时刻之后的下一时刻的控制误差C1,处理器利用控制误差C1控制上云台、下云台、升降步进电机以及旋转步进电机,当控制过程执行完毕后,处理器再次利用相机进行摄影测量并获得下一时刻目标物上所有位置的测量结果t和测量结果t的误差C2,所述误差C2与控制误差C1的差值记为摄影测量误差,利用摄影测量误差修正测量结果t得到下一时刻目标物上所有位置的测量结果;The errors of historical measurement results at several moments are recorded as control errors. The control errors at several moments are input into the Kalman filter algorithm to obtain the control error C1 at the next moment after several moments. The processor uses the control error C1 to control the upper pan/tilt, the lower pan/tilt, the lifting stepper motor and the rotating stepper motor. When the control process is completed, the processor uses the camera to perform photogrammetry again and obtains the measurement results t of all positions on the target at the next moment and the error C2 of the measurement result t. The difference between the error C2 and the control error C1 is recorded as the photogrammetry error. The photogrammetry error is used to correct the measurement result t to obtain the measurement results of all positions on the target at the next moment.
用摄影测量误差修正历史测量结果;将修正后的历史测量结果以及下一时刻目标物上所有位置的测量结果重新作为历史测量结果,根据历史测量结果获得所述下一时刻之后的下个时刻的测量结果。The historical measurement results are corrected by using the photogrammetry error; the corrected historical measurement results and the measurement results of all positions on the target object at the next moment are used again as the historical measurement results, and the measurement results of the next moment after the next moment are obtained according to the historical measurement results.
优选的,所述勘测装置的外支架上包括上固定桩、下固定桩、侧固定桩。Preferably, the outer support of the surveying device includes an upper fixing pile, a lower fixing pile, and a side fixing pile.
优选的,所述螺丝杆是中空的,上云台、相机、旋转步进电机与处理器连接时,连接的数据线从螺丝杆上方穿入,经过螺丝杆中空的内部与处理器相连。Preferably, the screw rod is hollow, and when the upper gimbal, camera, rotary stepping motor and processor are connected, the connected data line is inserted from the top of the screw rod and connected to the processor through the hollow interior of the screw rod.
优选的,所述测量结果包括目标物每个位置的沉降量、变形量、与相机的距离以及目标物每个位置的点云,所述目标物包括:边坡、桥梁、基桩。Preferably, the measurement results include the settlement amount, deformation amount, distance from the camera and point cloud of each position of the target object, and the target objects include: slopes, bridges, and foundation piles.
优选的,所述控制误差的具体获取步骤如下:Preferably, the specific steps of obtaining the control error are as follows:
获取目标物每个位置的测量结果分别与每个位置的所有邻域位置的测量结果的差值,记为每个位置的差异特征,每个时刻下每个位置的差异特征与前后相邻的两个时刻下每个位置的差异特征的差值的均值记为每个时刻的目标差异特征,将历史测量结果中所有时刻下得到的每个位置的目标差异特征降维成一维,所有时刻下的一维降维结果记为每个位置的误差向量,将所有位置的误差向量聚类成若干个类别,获取每个类别中所有误差向量的均值,将所有类别的均值构成的一个向量记为控制误差。Obtain the difference between the measurement result of each position of the target object and the measurement results of all neighboring positions of each position, record it as the difference feature of each position, record the average of the difference between the difference feature of each position at each moment and the difference feature of each position at the two adjacent moments as the target difference feature at each moment, reduce the dimension of the target difference feature of each position obtained at all moments in the historical measurement results to one dimension, record the one-dimensional dimension reduction results at all moments as the error vector of each position, cluster the error vectors of all positions into several categories, obtain the mean of all error vectors in each category, and record a vector composed of the means of all categories as the control error.
优选的,所述利用控制误差C1控制上云台、下云台、升降步进电机以及旋转步进电机,包括的具体步骤如下:Preferably, the method of controlling the upper pan/tilt head, the lower pan/tilt head, the lifting stepping motor and the rotating stepping motor by using the control error C1 includes the following specific steps:
将控制误差C1输入到全连接神经网络中,全连接神经网络输出上云台、下云台、升降步进电机以及旋转步进电机的控制参数,上云台、下云台、升降步进电机以及旋转步进电机根据控制参数进行转动。The control error C1 is input into the fully connected neural network, and the fully connected neural network outputs the control parameters of the upper pan-tilt head, the lower pan-tilt head, the lifting stepper motor and the rotating stepper motor. The upper pan-tilt head, the lower pan-tilt head, the lifting stepper motor and the rotating stepper motor rotate according to the control parameters.
优选的,所述利用摄影测量误差修正测量结果t得到下一时刻目标物上所有位置的测量结果,包括的具体步骤如下:Preferably, the method of using the photogrammetry error to correct the measurement result t to obtain the measurement results of all positions on the target object at the next moment includes the following specific steps:
根据摄影测量误差获取高斯滤波核的宽度,使用所述宽度的高斯滤波核对下一时刻下目标物上所有位置的测量结果t进行高斯滤波,得到下一时刻下目标物上所有位置的测量结果。The width of the Gaussian filter kernel is obtained according to the photogrammetry error, and the Gaussian filter kernel of the width is used to perform Gaussian filtering on the measurement results t of all positions on the target object at the next moment to obtain the measurement results of all positions on the target object at the next moment.
优选的,所述降维时使用PCA降维算法。Preferably, the dimensionality reduction is performed using a PCA dimensionality reduction algorithm.
优选的,所述聚类时使用的是K-Means聚类算法。Preferably, the clustering uses a K-Means clustering algorithm.
优选的,所述根据摄影测量误差获取高斯滤波核的宽度,包括的具体步骤如下:Preferably, the step of obtaining the width of the Gaussian filter kernel according to the photogrammetry error comprises the following specific steps:
摄影测量误差中的所有元素进行线性归一化,归一化之后的元素的均值记为噪声程度,噪声程度乘以预设数值N,得到的结果记为P,将大于P且与P差值最小的一个奇数作为高斯滤波核的宽度。All elements in the photogrammetric error are linearly normalized, and the mean of the normalized elements is recorded as the noise level. The noise level is multiplied by the preset value N, and the result is recorded as P. An odd number greater than P and with the smallest difference from P is used as the width of the Gaussian filter kernel.
本发明的技术方案的有益效果是:The beneficial effects of the technical solution of the present invention are:
本发明的勘测装置可安装于船只或者无人机等固定或者安装不稳定的具有颠簸情况的场景。The surveying device of the present invention can be installed on a ship or a drone or other fixed or unstable installation with a bumpy scene.
利用相机进行摄影测量的测量结果获得控制误差C1,利用控制误差C1控制上云台、下云台、升降步进电机以及旋转步进电机,再次利用相机进行摄影测量并获得下一时刻的测量结果t;该过程一定程度的避免因固定或者安装不稳定导致的颠簸情况的干扰。The control error C1 is obtained from the measurement results of the photogrammetry using the camera, and the control error C1 is used to control the upper pan/tilt head, the lower pan/tilt head, the lifting stepper motor and the rotating stepper motor. The camera is used again for photogrammetry and the measurement result t at the next moment is obtained. This process avoids interference caused by bumps caused by unstable fixation or installation to a certain extent.
获取测量结果t的误差C2,误差C2与控制误差C1的差值记为摄影测量误差,利用摄影测量误差修正测量结果t和历史测量结果得到下一时刻的测量结果;该过程减少了一部分摄影测量的误差。The error C2 of the measurement result t is obtained, and the difference between the error C2 and the control error C1 is recorded as the photogrammetry error. The photogrammetry error is used to correct the measurement result t and the historical measurement results to obtain the measurement result at the next moment; this process reduces part of the photogrammetry error.
将修正后的测量结果以及下一时刻的测量结果重新作为历史测量结果,根据历史测量结果获得下一时刻后的下个时刻的测量结果。本发明避免了勘测设备固定或安装不稳定时测量不准确的问题。该过程保证后续的时刻可以对控制误差C1和摄影测量误差被更新。The corrected measurement result and the measurement result at the next moment are taken as the historical measurement result again, and the measurement result at the next moment after the next moment is obtained according to the historical measurement result. The present invention avoids the problem of inaccurate measurement when the survey equipment is fixed or installed unstably. This process ensures that the control error C1 and the photogrammetry error can be updated at subsequent moments.
综上所述,一方面上述虽然将历史测量结果的误差记为控制误差,用于描述安装或固定不稳定的颠簸情况的影响,但是这其中也必定包含的有摄影测量所存在的误差(也即摄影测量误差),因此只根据控制误差控制上云台、下云台、升降步进电机以及旋转步进电机是不准确的,但是控制误差中的颠簸情况的影响是主要的,摄影测量所存在的误差相对来说是次要的,因此即便是直接使用控制误差进行控制,也是能够消除一部分颠簸情况的影响的。另一方面,由于控制误差只能消除一部分颠簸情况的影响,因此上述获得的摄影测量误差也包含一定的颠簸情况的影响,因此利用摄影测量误差修正测量结果准确度依旧不高。基于这两方面,在修正后的测量结果上再次获得所述下一时刻之后的下个时刻的测量结果,这个过程中涉及到控制误差和摄影测量误差的重新计算,使得控制误差和摄影测量误差之间相互更新,使得勘测装置中上云台、下云台、升降步进电机以及旋转步进电机控制过程更加准确可靠,从而使得下一时刻之后的下个时刻的测量结果更加准确。In summary, on the one hand, although the errors of historical measurement results are recorded as control errors to describe the impact of unstable installation or fixation bumps, they must also include the errors in photogrammetry (i.e., photogrammetry errors). Therefore, it is inaccurate to control the upper pan/tilt, lower pan/tilt, lifting stepper motor, and rotating stepper motor based only on the control errors. However, the impact of bumps in the control errors is the main one, and the errors in photogrammetry are relatively minor. Therefore, even if the control errors are used directly for control, some of the impact of bumps can be eliminated. On the other hand, since the control errors can only eliminate some of the impact of bumps, the photogrammetry errors obtained above also include some impact of bumps. Therefore, the accuracy of the measurement results corrected using the photogrammetry errors is still not high. Based on these two aspects, the measurement result of the next moment after the next moment is obtained again on the corrected measurement result. This process involves the recalculation of the control error and the photogrammetry error, so that the control error and the photogrammetry error are updated with each other, making the control process of the upper pan-tilt head, lower pan-tilt head, lifting stepper motor and rotating stepper motor in the surveying device more accurate and reliable, thereby making the measurement result of the next moment after the next moment more accurate.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明一个实施例所提供的一种土木工程用地形勘测装置的第一轴测图;FIG1 is a first isometric view of a topographic survey device for civil engineering provided by one embodiment of the present invention;
图2为本发明一个实施例所提供的一种土木工程用地形勘测装置的第二轴测图;FIG2 is a second isometric view of a topographic survey device for civil engineering provided by one embodiment of the present invention;
图3为本发明一个实施例所提供的一种土木工程用地形勘测装置的主视图;FIG3 is a front view of a terrain survey device for civil engineering provided by one embodiment of the present invention;
图4为本发明一个实施例所提供的一种土木工程用地形勘测装置的左视图。FIG. 4 is a left side view of a terrain survey device for civil engineering provided by an embodiment of the present invention.
图中:1、上云台;2、下云台;3、螺丝杆;4、升降步进电机;5、载物板;6、上底板;7、下底板;8、相机底座;9、相机;10、转轴丝杠;11、轴承;12、旋转步进电机;13、控制盒;14、处理器;15、升降装置;16、外支架;1601、支架主体;1602、上固定桩;1603、侧固定桩;1604、下固定桩;17、安装架。In the figure: 1. upper gimbal; 2. lower gimbal; 3. screw rod; 4. lifting stepping motor; 5. loading plate; 6. upper base plate; 7. lower base plate; 8. camera base; 9. camera; 10. rotating shaft screw; 11. bearing; 12. rotating stepping motor; 13. control box; 14. processor; 15. lifting device; 16. external bracket; 1601. bracket body; 1602. upper fixing pile; 1603. side fixing pile; 1604. lower fixing pile; 17. mounting frame.
具体实施方式DETAILED DESCRIPTION
为了更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明提出的一种土木工程用地形勘测装置,其具体实施方式、结构、特征及其功效,详细说明如下。在下述说明中,不同的“一个实施例”或“另一个实施例”指的不一定是同一实施例。此外,一个或多个实施例中的特定特征、结构或特点可由任何合适形式组合。In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a topographic survey device for civil engineering proposed by the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
下面结合附图具体的说明本发明的一个实施例所提供的一种土木工程用地形勘测装置,如图1、图2、图3、图4所示,该装置包括:相机9、升降装置15,升降装置15包含螺丝杆3、升降步进电机4、上底板6、下底板7、载物板5;A topographic survey device for civil engineering provided by an embodiment of the present invention is described in detail below with reference to the accompanying drawings. As shown in FIG1, FIG2, FIG3, and FIG4, the device comprises: a camera 9, a lifting device 15, the lifting device 15 comprises a screw rod 3, a lifting stepping motor 4, an upper bottom plate 6, a lower bottom plate 7, and a loading plate 5;
本实施例中的升降步进电机4和螺丝杆3分别有四个,其它实施例中可以加装更多的螺丝杆3或升降步进电机4(例如六个)来保证升降装置15的稳定;螺丝杆3的下端与升降步进电机4连接,上端通过轴承固定在上底板6上;下底板7上固定的所有升降步进电机4同步转动,升降步进电机4转动时带动载物板5上下移动;In this embodiment, there are four lifting stepping motors 4 and four screw rods 3 respectively. In other embodiments, more screw rods 3 or lifting stepping motors 4 (for example, six) can be installed to ensure the stability of the lifting device 15; the lower end of the screw rod 3 is connected to the lifting stepping motor 4, and the upper end is fixed to the upper base plate 6 through a bearing; all the lifting stepping motors 4 fixed on the lower base plate 7 rotate synchronously, and when the lifting stepping motor 4 rotates, it drives the loading plate 5 to move up and down;
其中上底板6和下底板7外表面分别安装上云台1和下云台2,上云台1和下云台2绕中心轴同步转动,当上云台1和下云台2转动时,带动升降装置15转动。The upper platform 1 and the lower platform 2 are respectively installed on the outer surfaces of the upper base plate 6 and the lower base plate 7. The upper platform 1 and the lower platform 2 rotate synchronously around the central axis. When the upper platform 1 and the lower platform 2 rotate, the lifting device 15 is driven to rotate.
相机9固定在相机底座8上,本实施例使用的相机采集的图像是彩色图像,且每0.3秒采集一张图像,也即每隔0.3秒为一个时刻。相机底座8固定在转轴丝杠10上,转轴丝杠10一端连接在旋转步进电机12上,另一端固定在轴承11上;旋转步进电机12和轴承11通过安装架17固定在载物板5下方,当旋转步进电机12转动时,转轴丝杠10会带动相机底座8以及相机9转动,从而改变相机视角。The camera 9 is fixed on the camera base 8. The image captured by the camera used in this embodiment is a color image, and an image is captured every 0.3 seconds, that is, every 0.3 seconds is a moment. The camera base 8 is fixed on the rotating shaft screw 10, one end of the rotating shaft screw 10 is connected to the rotating stepping motor 12, and the other end is fixed to the bearing 11; the rotating stepping motor 12 and the bearing 11 are fixed under the object carrier 5 through the mounting frame 17. When the rotating stepping motor 12 rotates, the rotating shaft screw 10 will drive the camera base 8 and the camera 9 to rotate, thereby changing the camera viewing angle.
上云台1、下云台2、升降步进电机4、旋转步进电机12由安装在控制盒13内的处理器14控制,另外控制盒13内还有用于供电的锂电池。The upper pan-tilt platform 1, the lower pan-tilt platform 2, the lifting stepping motor 4, and the rotating stepping motor 12 are controlled by a processor 14 installed in a control box 13. In addition, the control box 13 also has a lithium battery for power supply.
螺丝杆3是中空的,上云台1、相机9、旋转步进电机12与处理器14连接时,连接的数据线从螺丝杆3上方穿入,经过螺丝杆3中空的内部与处理器14相连,保证数据线不会影响相机9的视野移动。The screw rod 3 is hollow. When the upper gimbal 1, the camera 9, the rotary stepping motor 12 and the processor 14 are connected, the connected data line is inserted from the top of the screw rod 3, and is connected to the processor 14 through the hollow interior of the screw rod 3, ensuring that the data line does not affect the movement of the field of view of the camera 9.
其工作原理是:将勘测装置安装在船上或者是无人机上,并遥控上云台1、下云台2、升降步进电机4、旋转步进电机12,使得相机9朝向目标物。目标物包括桥梁、边坡、基桩、建筑物等,本实施例以桥梁为例进行叙述。The working principle is: the survey device is installed on a ship or a drone, and the upper pan/tilt 1, the lower pan/tilt 2, the lifting stepper motor 4, and the rotating stepper motor 12 are remotely controlled to make the camera 9 face the target object. The target object includes bridges, slopes, piles, buildings, etc. This embodiment takes a bridge as an example for description.
然后处理器14读取相机采集的图像,并利用摄影测量方法获取目标物上不同位置的测量结果,所述测量结果为每个位置的变形量,其它实施例的测量结果还包括:目标物每个位置的沉降量、与相机的距离,其中目标物所有位置与相机的距离描述的是目标物的形状信息,另一些实施例的测量结果也可以是目标物每个位置的点云数据,可以将相机设置为双目相机用于获取目标物所有位置与相机的距离以及目标物每个位置的点云数据。Then the processor 14 reads the image captured by the camera, and uses the photogrammetry method to obtain the measurement results of different positions on the target object, wherein the measurement result is the deformation amount at each position, and the measurement results of other embodiments also include: the settlement amount at each position of the target object, and the distance from the camera, wherein the distance between all positions of the target object and the camera describes the shape information of the target object, and the measurement results of other embodiments may also be the point cloud data of each position of the target object, and the camera may be set as a binocular camera to obtain the distance between all positions of the target object and the camera and the point cloud data of each position of the target object.
摄影测量方法是地形勘测的常用方法,本实施例不再赘述其具体工作原理,例如通过数字图像相关法(Digital Image Correlation,DIC)获得同名像素点(也即每个位置)的形变量。The photogrammetry method is a commonly used method for topographic surveying, and its specific working principle is not described in detail in this embodiment. For example, the deformation of the pixels with the same name (that is, each position) is obtained by the digital image correlation (DIC) method.
勘测设备可能存在安装或固定不稳定的颠簸情况,本实施例连续多个时刻对同一个目标物进行摄影测量;例如测量形变量或者沉降量时需要在同一个位置连续多个时刻测量;再例如测量目标的点云数据时需要通过多个时刻下对目标物进行连续扫描。The survey equipment may be installed or fixed unstably and may be jolted. In this embodiment, photogrammetry is performed on the same target object at multiple times in a row. For example, when measuring deformation or settlement, it is necessary to measure at the same position at multiple times in a row. For another example, when measuring the point cloud data of the target, it is necessary to continuously scan the target object at multiple times.
其中若干时刻下的目标物上所有位置的测量结果记为历史测量结果。对于若干个时刻中的每个时刻,每个时刻下目标物上不同位置的测量结果会存在误差,这种误差主要是由于安装或固定不稳定导致的,例如船只或者无人机存在的颠簸导致的,理论上通过对上云台1、下云台2、升降步进电机4、旋转步进电机12进行合理的控制可以大幅的减少该误差,或者说这种误差是由于上云台1、下云台2、升降步进电机4、旋转步进电机12没有进行合理的控制或者没有根据安装或固定不稳定的情况做出对应的响应导致的,因此将若干时刻下的历史测量结果的误差记为控制误差。The measurement results of all positions on the target object at several moments are recorded as historical measurement results. For each of the several moments, there will be errors in the measurement results of different positions on the target object at each moment. This error is mainly caused by unstable installation or fixation, such as the bumps of ships or drones. In theory, the error can be greatly reduced by reasonably controlling the upper gimbal 1, the lower gimbal 2, the lifting stepper motor 4, and the rotating stepper motor 12. In other words, this error is caused by the upper gimbal 1, the lower gimbal 2, the lifting stepper motor 4, and the rotating stepper motor 12 not being reasonably controlled or not responding accordingly to the unstable installation or fixation. Therefore, the errors of the historical measurement results at several moments are recorded as control errors.
将若干时刻下的控制误差输入卡尔曼滤波算法获取若干时刻之后的下一时刻的控制误差C1。其中卡尔曼滤波算法是公知技术,本实施例不再具体赘述。The control errors at a certain time are input into the Kalman filter algorithm to obtain the control error C1 at the next time after a certain time. The Kalman filter algorithm is a well-known technology and will not be described in detail in this embodiment.
处理器14利用下一时刻的控制误差C1控制上云台1、下云台2、升降步进电机4以及旋转步进电机12。该过程利用过去的若干个时刻所存在的控制误差来进行下一时刻的控制。由于控制误差是由测量结果获得的,且该测量结果是受到安装或固定不稳定的情况影响的,因此通过在下一个时刻的控制误差C1对上云台1、下云台2、升降步进电机4以及旋转步进电机12进行控制可以消除一部分安装或固定不稳定所导致的噪声问题。The processor 14 uses the control error C1 at the next moment to control the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepper motor 4, and the rotating stepper motor 12. This process uses the control errors existing at several moments in the past to perform control at the next moment. Since the control error is obtained from the measurement result, and the measurement result is affected by the unstable installation or fixation, the noise problem caused by the unstable installation or fixation can be eliminated by controlling the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepper motor 4, and the rotating stepper motor 12 at the control error C1 at the next moment.
当对上云台1、下云台2、升降步进电机4以及旋转步进电机12执行的控制过程完毕之后,处理器14再次利用相机9进行摄影测量并获得目标物上不同位置的测量结果2和测量结果t的误差C2。将误差C2与控制误差C1的差值记为摄影测量误差。该过程考虑到控制完成之后虽然消除了一部分安装或固定不稳定所导致的噪声误差,但是测量结果t2依然还存在误差,此时的误差可能是由于摄影测量方法产生的,因此将误差C2与控制误差C1的差值记为摄影测量误差。最后利用摄影测量误差修正测量结果t得到下一时刻目标物上所有位置的测量结果。After the control process of the upper pan-tilt head 1, the lower pan-tilt head 2, the lifting stepper motor 4 and the rotating stepper motor 12 is completed, the processor 14 uses the camera 9 to perform photogrammetry again and obtains the measurement results 2 of different positions on the target object and the error C2 of the measurement result t. The difference between the error C2 and the control error C1 is recorded as the photogrammetry error. This process takes into account that although a part of the noise error caused by unstable installation or fixation is eliminated after the control is completed, there is still an error in the measurement result t2. The error at this time may be caused by the photogrammetry method. Therefore, the difference between the error C2 and the control error C1 is recorded as the photogrammetry error. Finally, the photogrammetry error is used to correct the measurement result t to obtain the measurement results of all positions on the target object at the next moment.
综合上所述,本实施例中的勘测装置应用于安装在船只或者无人机等固定条件不稳定的存在颠簸的场景下,同时可以使得勘测装置中上云台1、下云台2、升降步进电机4以及旋转步进电机12控制过程更加准确可靠,在一定程度下消除固定条件不稳定带来的影响,得到准确可靠的测量结果。To summarize the above, the surveying device in this embodiment is used to be installed in scenes where fixed conditions are unstable and there are bumps, such as ships or drones. At the same time, the control process of the upper gimbal 1, the lower gimbal 2, the lifting stepper motor 4 and the rotating stepper motor 12 in the surveying device can be made more accurate and reliable, eliminating the influence of unstable fixed conditions to a certain extent, and obtaining accurate and reliable measurement results.
进一步的,与上述应用场景相匹配的是,本实施例的勘测装置还包括外支架16,外支架16包括支架主体1601、焊接在支架主体1601上的上固定桩1602、下固定桩1604、侧固定桩1603。外支架16的作用在于使得勘测装置可以以不同的角度固定在不同的载体上,例如船只或无人机上,使得勘测装置的安装和固定更加多样性,本实施例不限定外支架16具体结构,只需上下和测量至少各一个固定桩即可,其中固定桩的作用是与载体进行连接和固定,例如使用螺栓与销钉固定或者使用轴承甚至是焊接固定,本实施例不具体限定固定桩的结构以及固定方法。Furthermore, matching the above application scenario, the surveying device of this embodiment further includes an external bracket 16, and the external bracket 16 includes a bracket body 1601, an upper fixing pile 1602 welded on the bracket body 1601, a lower fixing pile 1604, and a side fixing pile 1603. The function of the external bracket 16 is to enable the surveying device to be fixed on different carriers at different angles, such as a ship or a drone, so that the installation and fixation of the surveying device are more diverse. This embodiment does not limit the specific structure of the external bracket 16, and only needs at least one fixing pile each for the upper and lower parts and the measurement. The function of the fixing pile is to connect and fix with the carrier, such as fixing with bolts and pins or fixing with bearings or even welding. This embodiment does not specifically limit the structure and fixing method of the fixing pile.
其它实施例中可以不使用上述的外支架16,直接将上云台1、下云台2固定在无人机或者船只上即可。In other embodiments, the above-mentioned external bracket 16 may not be used, and the upper gimbal 1 and the lower gimbal 2 may be directly fixed on the drone or the vessel.
作为一种可选示例,控制误差的获取方法如下:As an optional example, the method for obtaining the control error is as follows:
本实施例的历史测量结果中的若干个时刻是指与当前时刻最近的15个时刻(包括当前时刻),其它实施例中也可以指定其它的时刻数量。The multiple moments in the historical measurement results of this embodiment refer to the 15 moments closest to the current moment (including the current moment), and other numbers of moments may also be specified in other embodiments.
对于目标物的每个位置,获取每个位置在若干个时刻的测量结果,将历史测量结果中的若干个时刻的测量结果拟合成一个多项式(例如3次多项式),其输入是时刻,输出是预测的测量结果,获取每个时刻的测量结果与预测测量结果的差值的平方,所有时刻对应的差值的平方的均值作为每个位置的误差大小,将所有位置的误差大小使用K-Means聚类算法聚类成10个类别(其它实施例中可聚类为其它数量的类别),获取每个类别的均值,将所有类别的均值构成的向量记为控制误差。For each position of the target object, the measurement results of each position at several moments are obtained, and the measurement results of several moments in the historical measurement results are fitted into a polynomial (for example, a cubic polynomial), whose input is the moment and the output is the predicted measurement result. The square of the difference between the measurement result at each moment and the predicted measurement result is obtained, and the mean of the squares of the differences corresponding to all moments is taken as the error size of each position. The error sizes of all positions are clustered into 10 categories using the K-Means clustering algorithm (other embodiments can be clustered into other numbers of categories), the mean of each category is obtained, and the vector composed of the means of all categories is recorded as the control error.
该控制误差描述了当勘测装置安装或固定不稳定的情况下不同位置所有具有的、偏离了原本测量规律的情况(也即上述差值的平方)。The control error describes the deviation from the original measurement law at different positions when the survey device is installed or fixed unstably (that is, the square of the above difference).
作为另一种可选示例,控制误差的获取方法如下:As another optional example, the method for obtaining the control error is as follows:
对于每个时刻下所有位置的测量结果,将每个位置的测量结果平移,使得不同位置下对应的所有测量结果之间的差异最小。具体方法是:For the measurement results of all positions at each moment, translate the measurement results of each position so that the difference between all the measurement results corresponding to different positions is minimized. The specific method is:
对于第i个时刻下的所有位置的测量结果均加上一个待定系数a(i),得到的结果记为第i个时刻下所有位置的平移测量结果,对于同一个位置在所有时刻的平移测量结果,计算这些平移测量结果的方差,记为每个位置的对齐差异。将所有位置的对齐差异求均值,其结果记为整体对齐差异,此时整体对齐差异是一个与待定系数a(i)相关的数据,利用随机梯度下降法(其它实施例可以使用模拟退火算法)获得使得整体对齐差异最小时的待定系数a(i),其中i=1、2、3、……、15;此时整体对齐差异最小时每个位置的对齐差异记为每个位置的误差大小,根据误差大小利用上述可选示例的方法获得控制误差。For the measurement results of all positions at the i-th moment, an undetermined coefficient a(i) is added, and the obtained result is recorded as the translation measurement result of all positions at the i-th moment. For the translation measurement results of the same position at all moments, the variance of these translation measurement results is calculated and recorded as the alignment difference of each position. The alignment differences of all positions are averaged, and the result is recorded as the overall alignment difference. At this time, the overall alignment difference is a data related to the undetermined coefficient a(i). The random gradient descent method (other embodiments can use the simulated annealing algorithm) is used to obtain the undetermined coefficient a(i) that minimizes the overall alignment difference, where i=1, 2, 3, ..., 15; at this time, the alignment difference of each position when the overall alignment difference is minimized is recorded as the error size of each position, and the control error is obtained according to the error size using the above optional example method.
该可选示例中,整体对齐差异最小表示将每个时刻的测量结果平移对齐,其目的在于考虑到不同时刻下每个位置存在变形或沉降情况,这些情况导致的每个位置的测量结果的变化是不能作为误差的,上述的平移对齐过程可以一定程度的避免变形或沉降情况被误认为误差的情况。In this optional example, the minimum overall alignment difference means that the measurement results at each moment are translated and aligned. The purpose is to take into account the deformation or settlement of each position at different times. The changes in the measurement results of each position caused by these conditions cannot be regarded as errors. The above-mentioned translation alignment process can avoid the situation where deformation or settlement is mistaken for error to a certain extent.
其它实施例中,为了进一步的避免变形或沉降情况被误认为误差的情况,可以将上述的“所有位置的对齐差异求均值”替换成:相邻时刻的对齐差异求差值的绝对值,然后所有相邻时刻的该绝对值再求均值。In other embodiments, in order to further avoid deformation or settlement being mistaken for errors, the above-mentioned "average of alignment differences at all positions" can be replaced by: finding the absolute value of the alignment differences at adjacent moments, and then averaging the absolute values at all adjacent moments.
但是该过程需要付出较大的计算量(会影响勘测装置的续航能力)。However, this process requires a large amount of computing power (which will affect the endurance of the survey equipment).
作为一种优选示例,控制误差的获取方法如下:As a preferred example, the method for obtaining the control error is as follows:
获取目标物每个位置的测量结果分别与每个位置的所有领域位置的测量结果的差值,记为每个位置的差异特征,每个时刻下每个位置的差异特征与前后相邻的两个时刻下每个位置的差异特征的差值的均值记为每个位置的目标差异特征,将每个位置的目标差异特征利用PCA算法降维成一维,历史测量结果中的若干个时刻下的一维降维结果记为每个位置的误差向量,将所有位置的误差向量使用K-means聚类算法聚类成10个类别,获取每个类别中所有误差向量的均值,将所有类别的均值首尾拼接构成的一个向量记为控制误差。Obtain the difference between the measurement result of each position of the target object and the measurement results of all field positions of each position, record it as the difference feature of each position, the average of the difference between the difference feature of each position at each moment and the difference feature of each position at the two adjacent moments is recorded as the target difference feature of each position, reduce the dimension of the target difference feature of each position to one dimension using the PCA algorithm, record the one-dimensional reduction results at several moments in the historical measurement results as the error vector of each position, cluster the error vectors of all positions into 10 categories using the K-means clustering algorithm, obtain the mean of all error vectors in each category, and record a vector formed by splicing the means of all categories end to end as the control error.
需要说明的是,每个时刻下没有前后相邻时刻时,只考虑相邻的前一时刻和后一时刻。It should be noted that when there are no adjacent moments before and after each moment, only the adjacent previous moment and next moment are considered.
其它实施例中可以将每个位置的误差向量中的元素求和得到每个位置的误差大小,进而根据上述可选示例中的方法获得控制误差。In other embodiments, the elements in the error vector at each position may be summed to obtain the error magnitude at each position, and then the control error may be obtained according to the method in the above optional example.
作为一种优选示例,利用控制误差C1控制上云台1、下云台2、升降步进电机4以及旋转步进电机12,包括的方法为:As a preferred example, the control error C1 is used to control the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepper motor 4 and the rotating stepper motor 12, including the following method:
构建一个具有3个隐藏层是全连接神经网络,其中每个隐藏层5个神经元,该全连接神经网络的输入层是控制误差,输出是控制误差C1控制上云台1、下云台2、升降步进电机4以及旋转步进电机12的控制参数,例如转动角度。其它实施例中可设置其它结构的神经网络,或者将引入其它的控制参数,例如转动的速度。本实施例不进行具体限定。A fully connected neural network with three hidden layers is constructed, wherein each hidden layer has five neurons, the input layer of the fully connected neural network is the control error, and the output is the control error C1 to control the control parameters of the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepping motor 4, and the rotating stepping motor 12, such as the rotation angle. In other embodiments, neural networks of other structures may be set, or other control parameters may be introduced, such as the rotation speed. This embodiment is not specifically limited.
训练该神经网络,包括:Training the neural network includes:
在实验室环境下或者是使用模拟器模拟勘测装置的各种颠簸动作,例如使用三轴的机械臂或者转台控制勘测装置随机的做出上下左右和俯仰运动,并记录上下左右和俯仰运动的角度或高度,在模拟各种程度的颠簸动作时,对目标物进行摄影测量,利用本实施例的上述方法获得控制误差。模拟过程中得到的控制误差作为样本,将记录上下左右和俯仰运动的角度或高度(将高度换算为升降步进电机的旋转角度)作为样本对应的标签,所有的样本和标签作为数据集,利用数据集训练全连接神经网络,训练时使用的损失函数为均方差损失函数,全连接神经网络的参数更新方法为随机梯度下降法。全连接神经网络的具体训练方法是公知的,本实施例不再进行具体赘述。In a laboratory environment or using a simulator to simulate various jolting movements of the surveying device, for example, using a three-axis robotic arm or turntable to control the surveying device to randomly make up, down, left, right, and pitch movements, and record the angles or heights of the up, down, left, right, and pitch movements. When simulating jolting movements of various degrees, perform photogrammetry on the target object, and use the above method of this embodiment to obtain the control error. The control error obtained during the simulation process is used as a sample, and the angle or height of the up, down, left, right, and pitch movements (the height is converted into the rotation angle of the lifting stepper motor) is recorded as the label corresponding to the sample. All samples and labels are used as a data set, and the data set is used to train a fully connected neural network. The loss function used in training is the mean square error loss function, and the parameter update method of the fully connected neural network is the stochastic gradient descent method. The specific training method of the fully connected neural network is well known, and this embodiment will not be described in detail.
需要说明的是,本实施例使用模拟器来模拟各种程度的颠簸动作和模拟目标物,所述的模拟器包括虚幻五、unity等引擎。这种方法无需投入太多的成本,方便快捷。It should be noted that the present embodiment uses a simulator to simulate various degrees of bumping actions and simulated targets, and the simulator includes engines such as Unreal Five and Unity. This method does not require too much investment and is convenient and fast.
将上述得到的控制误差输入到训练后的全连接神经网络中,得到上云台1、下云台2、升降步进电机4以及旋转步进电机12的控制参数。然后依据控制参数上云台1、下云台2、升降步进电机4以及旋转步进电机12执行控制动作,例如上云台1、下云台2转动带动相机9左右运动,升降步进电机4转动带动相机9上下运动,旋转步进电机12转动带动相机俯仰运动。The control error obtained above is input into the trained fully connected neural network to obtain the control parameters of the upper gimbal 1, the lower gimbal 2, the lifting stepper motor 4 and the rotating stepper motor 12. Then, according to the control parameters, the upper gimbal 1, the lower gimbal 2, the lifting stepper motor 4 and the rotating stepper motor 12 perform control actions, for example, the upper gimbal 1 and the lower gimbal 2 rotate to drive the camera 9 to move left and right, the lifting stepper motor 4 rotates to drive the camera 9 to move up and down, and the rotating stepper motor 12 rotates to drive the camera to pitch.
需要说明的是,上述全连接神经网络的训练过程虽然花费较大计算量,但是训练过程是在勘测设备之外的计算机上完成的,勘测设备在具体工作时只需运行训练后的全连接神经网络即可,因此不会对勘测设备的续航能力产生较大影响。其它实施例中如果需要进一步的增加续航能力,可以全连接神经网络的隐藏层改为2层,或者每个隐藏层的神经元设置为3个。It should be noted that although the training process of the above-mentioned fully connected neural network takes a large amount of calculation, the training process is completed on a computer outside the surveying equipment. The surveying equipment only needs to run the trained fully connected neural network during specific work, so it will not have a significant impact on the endurance of the surveying equipment. In other embodiments, if it is necessary to further increase the endurance, the hidden layer of the fully connected neural network can be changed to 2 layers, or the number of neurons in each hidden layer can be set to 3.
作为一个可选示例,利用控制误差C1控制上云台1、下云台2、升降步进电机4以及旋转步进电机12,包括的方法为:As an optional example, the control error C1 is used to control the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepper motor 4, and the rotating stepper motor 12, including the following method:
在相机底座8上加装加速度传感器和陀螺仪,依据加速度传感器和陀螺仪利用惯性导航系统解算出相机底座8的运动轨迹(运动轨迹包含每个时刻的位置)。该运动轨迹可以描述勘测设备待在的相机9在颠簸时的轨迹,但是考虑到加速度传感器和陀螺仪采集的数据含有噪声且惯性导航系统也含有误差,因此需要将运动轨迹与上述的控制误差C1融合在一起进行控制,具体方法是:将最近若干个时刻的(例如最近3个时刻的)运动轨迹和控制误差C1拼接成一个向量作为全连接神经网络的输入,进而利用全连接神经网络获得控制参数,并控制控制上云台1、下云台2、升降步进电机4以及旋转步进电机12。An acceleration sensor and a gyroscope are installed on the camera base 8, and the motion trajectory of the camera base 8 is solved by the inertial navigation system based on the acceleration sensor and the gyroscope (the motion trajectory includes the position at each moment). The motion trajectory can describe the trajectory of the camera 9 where the survey equipment is located when it is bumpy, but considering that the data collected by the acceleration sensor and the gyroscope contain noise and the inertial navigation system also contains errors, it is necessary to merge the motion trajectory with the above-mentioned control error C1 for control. The specific method is: the motion trajectory of several recent moments (for example, the latest 3 moments) and the control error C1 are spliced into a vector as the input of the fully connected neural network, and then the control parameters are obtained by using the fully connected neural network, and the upper pan-tilt platform 1, the lower pan-tilt platform 2, the lifting stepper motor 4 and the rotating stepper motor 12 are controlled.
其中惯性导航系统是现有技术,本实施例不再赘述其具体原理。The inertial navigation system is a prior art, and its specific principle will not be described in detail in this embodiment.
但是该方法虽然控制过程更加准确,但是需要加装额外的传感器设备,同时需要设置更多的全连接神经网络的参数(例如需要每个隐藏层7个神经元),不利于勘测设备的长时间的续航。However, although this method has a more accurate control process, it requires the installation of additional sensor equipment and the setting of more parameters of the fully connected neural network (for example, 7 neurons are required in each hidden layer), which is not conducive to the long-term endurance of the surveying equipment.
当控制过程执行完毕后,再次利用相机9进行摄影测量并获得下一时刻目标物上不同位置的测量结果t和测量结果t的误差C2,其中误差C2的获取方法与上述的“若干时刻下的历史测量结果的误差”的过程同理(也即与控制误差的获取过程同理),只需将下一时刻目标物上不同位置的测量结果t也添加到历史测量结果中即可,其具体过程本实施例不再重复赘述。When the control process is completed, the camera 9 is used again to perform photogrammetry and obtain the measurement results t of different positions on the target object at the next moment and the error C2 of the measurement result t, wherein the method for obtaining the error C2 is the same as the above-mentioned process of "errors of historical measurement results at several moments" (that is, the same as the process of obtaining the control error). It is only necessary to add the measurement results t of different positions on the target object at the next moment to the historical measurement results. The specific process will not be repeated in this embodiment.
由于测量结果t是在上云台1、下云台2、升降步进电机4以及旋转步进电机12做出控制之后得到的,消除了一部分安装或固定不稳定的颠簸情况的影响,此时误差C2与控制误差C1的差值记为摄影测量误差,摄影测量误差主要描述的是摄影测量算法本身所具有的误差,例如图像噪声等导致的噪声。Since the measurement result t is obtained after the upper gimbal 1, the lower gimbal 2, the lifting stepper motor 4 and the rotating stepper motor 12 are controlled, the influence of some bumps caused by unstable installation or fixation is eliminated. At this time, the difference between the error C2 and the control error C1 is recorded as the photogrammetry error. The photogrammetry error mainly describes the error of the photogrammetry algorithm itself, such as the noise caused by image noise.
进一步的,利用摄影测量误差修正测量结果t得到下一时刻目标物上所有位置的测量结果,可以保证下一时刻的测量结果既能消除一部分安装或固定不稳定的颠簸情况的对测量结果的影响,又能消除一部分摄影测量算法本身所具有的误差。保证了测量结果的准确性。Furthermore, the measurement results t are corrected by using the photogrammetry error to obtain the measurement results of all positions on the target at the next moment, which can ensure that the measurement results at the next moment can eliminate the influence of the bumpy situation of unstable installation or fixation on the measurement results, and can also eliminate some errors of the photogrammetry algorithm itself, thus ensuring the accuracy of the measurement results.
作为一种优选示例,利用摄影测量误差修正测量结果t得到下一时刻目标物上所有位置的测量结果,包括:As a preferred example, the measurement results of all positions on the target object at the next moment are obtained by correcting the measurement result t using the photogrammetry error, including:
将摄影测量误差中的所有元素进行线性归一化,归一化之后的元素的均值记为噪声程度,该噪声程度乘以预设数值N,得到的结果记为P,将大于P且与P差值最小的一个奇数作为高斯滤波核的宽度,使用该高斯滤波核对下一时刻下目标物上所有位置的测量结果t进行高斯滤波,得到下一时刻下目标物上所有位置的测量结果。上述滤波的过程就是对测量结果t的修正过程。All elements in the photogrammetric error are linearly normalized, and the mean of the normalized elements is recorded as the noise level. The noise level is multiplied by the preset value N, and the result is recorded as P. An odd number greater than P and with the smallest difference from P is used as the width of the Gaussian filter kernel. The Gaussian filter kernel is used to perform Gaussian filtering on the measurement results t of all positions on the target at the next moment, and the measurement results of all positions on the target at the next moment are obtained. The above filtering process is the correction process of the measurement result t.
本实施例以N=21为例进行叙述,其它实施例可设置为其它值,本实施例不进行具体赘述。This embodiment is described by taking N=21 as an example. Other embodiments may be set to other values, which will not be described in detail in this embodiment.
进一步的,利用上述的方法,用摄影测量误差修正历史测量结果得到修正后的测量结果。然后将修正后的测量结果以及下一时刻目标物上所有位置的测量结果重新作为历史测量结果,根据历史测量结果获得所述下一时刻之后的下个时刻的测量结果。其过程与上述同理,大致过程是:Furthermore, the above method is used to correct the historical measurement results with the photogrammetry error to obtain the corrected measurement results. Then the corrected measurement results and the measurement results of all positions on the target at the next moment are used as the historical measurement results again, and the measurement results of the next moment after the next moment are obtained based on the historical measurement results. The process is the same as above, and the general process is:
若干时刻下的历史测量结果的误差重新记为控制误差,根据若干时刻下的控制误差利用卡尔曼滤波算法获取若干时刻之后的下一时刻(也即上述下一个时刻之后的下一个时刻)的控制误差,并重新记为C1,利用控制误差C1控制上云台1、下云台2、升降步进电机4以及旋转步进电机12,当控制过程执行完毕后,再次利用相机9进行摄影测量并获得下一时刻后的下个时刻的目标物上不同位置的测量结果t,测量结果t的误差重新记为C2,误差C2与控制误差C1的差值记为摄影测量误差,利用摄影测量误差修正测量结果t得到下一时刻的下个时刻的测量结果。同时用摄影测量误差再次修正历史测量结果得到修正后的历史测量结果;The errors of historical measurement results at certain moments are recorded as control errors again. The control errors at certain moments are obtained by using the Kalman filter algorithm to obtain the control errors at the next moment after certain moments (that is, the next moment after the above-mentioned next moment), and recorded as C1 again. The control error C1 is used to control the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepping motor 4, and the rotating stepping motor 12. When the control process is completed, the camera 9 is used again to perform photogrammetry and obtain the measurement results t of different positions on the target object at the next moment after the next moment. The error of the measurement result t is recorded as C2 again. The difference between the error C2 and the control error C1 is recorded as the photogrammetry error. The photogrammetry error is used to correct the measurement result t to obtain the measurement result at the next moment of the next moment. At the same time, the photogrammetry error is used to correct the historical measurement results again to obtain the corrected historical measurement results.
接着,将修正后的历史测量结果以及下一时刻的下个时刻的测量结果重新作为历史测量结果,以此类推,进行后续的摄影测量。Then, the corrected historical measurement results and the measurement results at the next moment after the next moment are taken as historical measurement results again, and so on, for subsequent photogrammetry.
上述过程考虑到的情况是,一方面上述虽然将历史测量结果的误差记为控制误差,用于描述安装或固定不稳定的颠簸情况的影响,但是这其中也必定包含的有摄影测量所存在的误差(也即摄影测量误差),因此只根据控制误差控制上云台1、下云台2、升降步进电机4以及旋转步进电机12是不准确的,但是控制误差中的颠簸情况的影响是主要的,摄影测量所存在的误差相对来说是次要的,因此即便是直接使用控制误差进行控制,也是能够消除一部分颠簸情况的影响的。另一方面,由于控制误差只能消除一部分颠簸情况的影响,因此上述获得的摄影测量误差也包含一定的颠簸情况的影响,因此利用摄影测量误差修正测量结果准确度依旧不高。基于这两方面,本实施例后续在修正后的测量结果上再次获得所述下一时刻之后的下个时刻的测量结果,这个过程中涉及到控制误差和摄影测量误差的重新计算,使得控制误差和摄影测量误差之间相互更新,使得勘测装置中上云台1、下云台2、升降步进电机4以及旋转步进电机12控制过程更加准确可靠,从而使得下一时刻之后的下个时刻的测量结果更加准确。The above process takes into account the following situation: on the one hand, although the error of the historical measurement result is recorded as the control error to describe the influence of the unstable installation or fixation bumpy situation, it must also contain the error existing in the photogrammetry (i.e., the photogrammetry error). Therefore, it is inaccurate to control the upper pan/tilt platform 1, the lower pan/tilt platform 2, the lifting stepper motor 4, and the rotating stepper motor 12 only according to the control error. However, the influence of the bumpy situation in the control error is the main one, and the error existing in the photogrammetry is relatively minor. Therefore, even if the control error is directly used for control, it is possible to eliminate part of the influence of the bumpy situation. On the other hand, since the control error can only eliminate part of the influence of the bumpy situation, the photogrammetry error obtained above also contains a certain influence of the bumpy situation. Therefore, the accuracy of the measurement result corrected by the photogrammetry error is still not high. Based on these two aspects, this embodiment subsequently obtains the measurement result of the next moment after the next moment based on the corrected measurement result. This process involves recalculation of the control error and the photogrammetry error, so that the control error and the photogrammetry error are updated with each other, making the control process of the upper pan-tilt platform 1, the lower pan-tilt platform 2, the lifting stepping motor 4 and the rotating stepping motor 12 in the surveying device more accurate and reliable, thereby making the measurement result of the next moment after the next moment more accurate.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411081134.0A CN118603052B (en) | 2024-08-08 | 2024-08-08 | A topographic survey device for civil engineering |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411081134.0A CN118603052B (en) | 2024-08-08 | 2024-08-08 | A topographic survey device for civil engineering |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118603052A true CN118603052A (en) | 2024-09-06 |
| CN118603052B CN118603052B (en) | 2024-10-01 |
Family
ID=92552205
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411081134.0A Active CN118603052B (en) | 2024-08-08 | 2024-08-08 | A topographic survey device for civil engineering |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118603052B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019205299A1 (en) * | 2018-04-27 | 2019-10-31 | 中国农业大学 | Vision measurement system structure parameter calibration and affine coordinate system construction method and system |
| CN113340271A (en) * | 2021-06-29 | 2021-09-03 | 上海良相智能化工程有限公司 | Ground target positioning error real-time estimation method based on unmanned aerial vehicle micro-cluster |
| CN115683170A (en) * | 2023-01-04 | 2023-02-03 | 成都西物信安智能系统有限公司 | Calibration method based on radar point cloud data fusion error |
| WO2024114119A1 (en) * | 2022-11-29 | 2024-06-06 | 中车南京浦镇车辆有限公司 | Sensor fusion method based on binocular camera guidance |
-
2024
- 2024-08-08 CN CN202411081134.0A patent/CN118603052B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019205299A1 (en) * | 2018-04-27 | 2019-10-31 | 中国农业大学 | Vision measurement system structure parameter calibration and affine coordinate system construction method and system |
| CN113340271A (en) * | 2021-06-29 | 2021-09-03 | 上海良相智能化工程有限公司 | Ground target positioning error real-time estimation method based on unmanned aerial vehicle micro-cluster |
| WO2024114119A1 (en) * | 2022-11-29 | 2024-06-06 | 中车南京浦镇车辆有限公司 | Sensor fusion method based on binocular camera guidance |
| CN115683170A (en) * | 2023-01-04 | 2023-02-03 | 成都西物信安智能系统有限公司 | Calibration method based on radar point cloud data fusion error |
Non-Patent Citations (1)
| Title |
|---|
| 雷晓云;张志安;杜忠华;: "基于改进无迹卡尔曼滤波的弹道射程修正算法研究", 兵工学报, no. 09, 15 September 2018 (2018-09-15) * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118603052B (en) | 2024-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110940354B (en) | Calibration method for strapdown inertial navigation installation attitude of photoelectric tracking system | |
| CN110969663A (en) | Static calibration method for external parameters of camera | |
| CN112629431A (en) | Civil structure deformation monitoring method and related equipment | |
| CN117953007B (en) | A Linear Motion Compensation Control Method Based on Image Matching | |
| CN113066120A (en) | Intelligent pole and tower inclination detection method based on machine vision | |
| CN106814753A (en) | A kind of target location antidote, apparatus and system | |
| CN111932637B (en) | Vehicle body camera external parameter self-adaptive calibration method and device | |
| CN115878939A (en) | High-precision dynamic measurement method based on aircraft control surface deflection | |
| CN114842090A (en) | Visual inertia calibration system based on precise angle reference and calibration method thereof | |
| CN119363199B (en) | A method and system for autonomous pointing calibration and optimization of laser payload | |
| CN112798014A (en) | An Inertial Navigation Self-Alignment Method Based on Spherical Harmonic Model of Gravity Field to Compensate Vertical Deviation | |
| CN110555813A (en) | rapid geometric correction method and system for remote sensing image of unmanned aerial vehicle | |
| CN115618749A (en) | Error compensation method for real-time positioning of large unmanned aerial vehicle | |
| CN118603052B (en) | A topographic survey device for civil engineering | |
| CN116772739B (en) | A deformation monitoring method and device for large-sized structures in a vacuum environment | |
| CN120780031B (en) | Binocular camera-based gimbal tracking method, device, and storage medium | |
| KR102506411B1 (en) | Method and apparatus for estimation of location and pose on vehicle and record medium for this | |
| CN112346485B (en) | Photoelectric tracking control method, system, electronic equipment and storage medium | |
| CN117405123A (en) | A UAV trajectory planning method and system based on lightweight three-dimensional model | |
| CN114779660A (en) | A hardware-in-the-loop simulation method for flight position difference compensation | |
| CN117707206B (en) | Unmanned aerial vehicle aerial survey operation method, unmanned aerial vehicle aerial survey operation device and computer storage medium | |
| CN113156450A (en) | Active rotating laser radar system on unmanned aerial vehicle and control method thereof | |
| CN120740915B (en) | Method for measuring attitude angle of freely thrown object in wind tunnel test by binocular system | |
| CN115409888B (en) | Intelligent positioning method and device for pole tower in inspection of distribution network unmanned aerial vehicle | |
| CN116597015B (en) | Calibration method of monitoring equipment, terminal equipment and computer storage medium |
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 |