
==== Front
Sensors (Basel)
Sensors (Basel)
sensors
Sensors (Basel, Switzerland)
1424-8220
MDPI

10.3390/s24175857
sensors-24-05857
Article
Design and Development of an Automatic Layout Algorithm for Laser GNSS RTK
https://orcid.org/0009-0009-3616-0042
Tang Jiazhi Conceptualization Methodology Software Validation Formal analysis Investigation Writing – original draft Writing – review & editing 1
https://orcid.org/0000-0003-1634-5866
Sun Xuan 1*
Lu Xianjian Conceptualization Validation Resources 2
https://orcid.org/0009-0004-3934-6436
Jia Jiguang Formal analysis Supervision 1
Tang Shihua Conceptualization Methodology Resources Writing – review & editing Funding acquisition 2
Odolinski Robert Academic Editor
1 College of Mechanic and Control Engineering, Guilin University of Technology, Guilin 541004, China
2 College of Geomatics and Geoinformation, Guilin University of Technology, Guilin 541004, China
* Correspondence: sunxuan@glut.edu.cn
09 9 2024
9 2024
24 17 585711 6 2024
16 8 2024
06 9 2024
© 2024 by the authors.
2024
https://creativecommons.org/licenses/by/4.0/ Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
At the current stage, the automation level of GNSS RTK equipment is low, and manual operation leads to decreased accuracy and efficiency in setting out. To address these issues, this paper has designed an algorithm for automatic setting out that resolves the common problem of reduced accuracy in conventional RTK. First, the calculation of the laser rotation center is conducted using relevant parameters to calibrate the instrument’s posture and angle. Then, by analyzing the posture information, the relative position and direction of the instrument to the point to be set out are determined, and the rotation angles in the horizontal and vertical directions are calculated. Following this, the data results are analyzed, and the obtained rotation angles are output to achieve automatic control of the instrument. Finally, a rotating laser composed of servo motors and laser modules is used to control the GNSS RTK equipment to locate the set-out point, thereby determining its position on the ground and displaying it in real-time. Compared to traditional GNSS RTK equipment, the proposed automatic setting out algorithm and the developed GNSS laser RTK equipment reduce the setting out error from 15 mm to 10.3 mm. This reduces the barrier to using GNSS RTK equipment, minimizes human influence, enhances the work efficiency of setting out measurements, and ensures high efficiency and stability under complex conditions.

GNSS RTK
automatic layout
laser
rotation angle
Wuzhou Central Leading Local Science and Technology Development Fund202201001 Wuzhou Central Leading Local Science and Technology Development Fund Project Grant: No. 202201001.
==== Body
pmc1. Introduction

High-precision positioning is a critical issue for many applications, such as machine control, drones, and mobile mapping. In outdoor environments, the Global Positioning System (GPS [1]) Real-Time Kinematic (RTK [2]) has been proven to be a reliable and efficient tool that can provide centimeter-level [3] positioning accuracy after resolving carrier phase integer ambiguities [4]. Under open-sky conditions, the use of multi-GNSS receivers [5,6] can achieve rapid ambiguity resolution [7,8], but the high cost of multi-GNSS receivers makes many potential applications unfeasible. In the field of engineering measurement applications, pursuing cost-effective and precise solutions continues to be an important aspect of driving project development, especially in today’s era of informational development, where RTK layout [9,10] is gradually becoming the mainstream layout mode.

RTK layout includes the principles of GNSS RTK positioning [11,12] by using GNSS RTK equipment [13,14] to transfer the points and lines from design drawings onto the ground to facilitate construction according to the designs. It is currently the main equipment for layout work, widely used in various engineering constructions. The current RTK layout methods include traditional RTK layout [15], RTK layout with inertial navigation [16,17], and AR image RTK layout [18,19]. Although traditional RTK layout significantly reduces precision errors caused by manual calculations [20] and is easier to operate compared to total station layout, the process requires maintaining a vertical alignment of the RTK antenna phase center [21] with the alignment pole and the points to be laid out to correctly determine their positions. Manual use of the alignment pole [22] for point finding introduces errors due to human operation and results in low RTK layout efficiency. Especially since the real-time positioning error of RTK itself is generally around 1~2 cm, the tip of the centering pole approaches the layout point, and the distance between the pole tip and the layout point is within a few centimeters, the directional error [23] increases significantly as the distance decreases. It will be difficult to control the movement direction and slow the layout speed due to the impact on the layout accuracy. RTK layout with inertial navigation addresses the major issue of maintaining vertical alignment between the alignment pole and the layout points in traditional RTK layout, improving the efficiency of RTK layout to some extent, but it cannot solve the same issues that arise when the pole tip approaches the layout points in ordinary RTK layout. AR image [12] RTK layout represents the latest technology, based on the advantages of inertial navigation RTK layout. It does not require the use of an alignment pole to locate the layout points. Integrating machine vision technology [24,25], it can display the position of the layout points on the image in real time, significantly improving the speed and accuracy of measuring layout points. However, the issue with AR image RTK layout is that to ensure layout accuracy, it still requires moving the alignment pole, which has certain limitations.

To overcome the limitations of the current RTK layout method and meet new societal demands, this paper introduces a high-precision automatic layout computation method that integrates GNSS and inertial navigation systems (Figure 1 and Figure 2). Initially, the method precisely calculates the rotation center of the laser to calibrate the instrument’s orientation and angles, ensuring accurate measurement of the relative position and direction between the instrument and the setting-out points. Subsequently, the calculated rotation angles are converted into commands to drive the laser module via a servo motor, accurately guiding the GNSS RTK equipment to locate and mark the layout points. The innovation of this technique lies in its automation, which significantly reduces human error impacts, achieving rapid and precise marking of layout points, thereby enhancing efficiency and accuracy while simplifying operations. Moreover, this study meticulously records data collected from GNSS RTK devices and servo motor sensors, including positional coordinates and rotation angles, to ensure the accuracy and reliability of the results. This research not only provides practical technological solutions for professionals and non-professionals in the setting-out measurement field but also lays the groundwork for further development and innovation in the domain.

2. GNSS Laser RTK Calculation Principle

The laser module is mounted on a vertical servo motor, which is fixed together with a horizontal rotation motor. Two servo motors are installed on the GNSS RTK instrument. The alignment pole is marked with scales to determine the distance from the RTK phase center to the tip of the pole. Using GNSS RTK measurements, the coordinates of the RTK phase center are obtained along with the coordinates and inclination angles of the pole tip measured during calibration. These measurements are used to calculate the coordinates of the laser rotation center, the rotational angles between the vertical and horizontal directions of the point to be laid out, and the calibration direction.

2.1. IMU RTK Measurement Principles

Define the GNSS RTK phase center as a point A, the tip of the centering pole as a point O, and the distance from the RTK phase center to the tip of the centering pole as L. According to conventional layout, when a fixed solution is obtained by moving the RTK instrument left and right or walking a certain distance, inertial navigation is first initialized in order to convert the inertial heading angle to the geodetic azimuth value.

Let the RTK phase center coordinates be AxA,yA,zA. When the RTK is in any inclined state, there is an inclination angle between the centering pole and the ground. The posture of the GNSS RTK equipment is shown in Figure 3. It is necessary to perform a coordinate conversion for the coordinates of the tip of the centering pole.

Assuming the phase center A as the origin of the inertial navigation coordinate system, with the measurement coordinate system being O−XYZ and the Euler angles corresponding to the inertial navigation attitude being roll angle, pitch angle, and yaw angle, represented by symbols γ, θ, and ψ, respectively, their three-axis rotation matrix is as follows:

Rotation around the X-axis:(1) RZ(ψ)=cosψ−sinψ0sinψcosψ0001

Rotation around the Y-axis:(2) RY(θ)=cos0sinθ010−sinθ0cosθ

Rotation around the Z-axis:(3) Rx(γ)=1000cosγ−sinγ0sinγcosγ

The rotation matrix is:(4) R=RZψRYθRXγ=cosθcosψsinγsinθcosψ−cosγsinψcosγsinθcosψ+sinγsinψcosθsinψsinγsinθsinψ+cosγcosψcosγsinθsinψ−sinγcosψ−sinθsinγcosθcosγcosθ

After the initialization of the RTK inertial navigation, the N-axis of the inertial navigation coordinate system corresponds to the X-axis of the measurement coordinate system. In the inertial coordinate system, the unit length coordinate increment from the phase center to the tip of the centering pole is:(5) ΔxΔyΔz=R×001=cosθcosψsinγsinθcosψ−cosγsinψcosγsinθcosψ+sinγsinψcosθsinψsinγsinθsinψ+cosγcosψcosγsinθsinψ−sinγcosψ−sinθsinγcosθcosγcosθ×001=cosγsinθcosψ+sinγsinψcosγsinθsinψ−sinγcosψcosγcosθ

Taking into account the conversion relationship between the unit length coordinate increments in the inertial coordinate system and the measurement coordinate system δPx,δPy,δPz, it has:(6) δPxδPyδPz=10001000−1×ΔxΔyΔz=10001000−1×cosγsinθcosψ+sinγsinψcosγsinθsinψ−sinγcosψcosγcosθ=cosγsinθcosψ+sinγsinψcosγsinθsinψ−sinγcosψ−cosγcosθ

Let the distance of any point along the direction from the antenna phase center point A to the tip of the centering pole be L. The coordinate increment from the antenna phase center point A to the tip of the centering pole point O can be determined as follows:(7) dx=L×δPx=L×sinγsinψ+cosγsinθcosψdy=L×δPy=L×−sinγcosψ+cosγsinθsinψdz=L×δPz=−Lcosγcosθ

Thus, the three-dimensional coordinates of a point O can be obtained in real time. (8) xO=xA+dxyO=yA+dyzO=zA+dz

2.2. Laser Beam and Motor Assembly System Calibration

As shown in Figure 4, the horizontal rotation motor (green area) and the vertical rotation motor (light blue area) are integrated with the laser (orange area) in a specific arrangement. The horizontal motor is integrated onto the GNSS RTK instrument, with its rotation axis aligned with the alignment pole axis. The vertical rotation motor is attached below the horizontal motor using a mounting bracket, with its rotation axis perpendicular to the horizontal rotation axis. The laser device is mounted on the vertical rotation motor, set to emit in a direction perpendicular to the vertical rotation axis, ensuring that the direction of the laser emission is parallel to the axis of the alignment pole.

After initial alignment [26] is completed, the alignment pole is positioned vertically, putting the system in a plumb state (Figure 5). The laser is directed to align with a known coordinate point QxQ,yQ,zQ on the ground. The real-time ground coordinates of the phase center point A and the tip of the alignment pole O are xA,yA,zA and xO,yO,zO, respectively. At this time, the roll angle and pitch angle are close to zero, and the heading angle is ψ. OA is the length from the phase center point A to the ground, and L′ is the distance from the phase center point A along the direction of the alignment pole tip to the laser rotation point S.

Since the rotational range of 0 to 180 degrees for the horizontal rotation motor sufficiently meets the practical application needs during the overall structural design of the device, it is specified that when the internal motor of the instrument rotates within this designated angle range, the real-time coordinates of the laser rotation point are S=xS,yS,zS, and the yaw angle rotation matrix is:(9) RZ(ψ)=cosψ−sinψ0sinψcosψ0001

In Figure 6, Δx and Δy are the offsets of the laser rotation point S from the RTK phase center point A when the instrument is in its internal limit position. The length of L′ can be determined from the positional relationship between point S and point A.

By substituting into the rotation matrix RZ(ψ), the three-dimensional coordinates of the laser rotation point S=xS,yS,zS can be obtained:(10) xSySzS=RZ(ψ)×xA+ΔxyA+ΔyzA−L′=cosψ−sinψ0sinψcosψ0001×xA+ΔxyA+ΔyzA−L′

The azimuth angle of OQ can be derived as follows:(11) αOQ=arctanyQ−yOxQ−xO

(12) SOQ=(xQ−xO)2+(yQ−yO)2

The angle between the laser direction and the vertical line is expressed as follows:(13) η=arctanSOQL−L′

At this time, the angles of the horizontal and vertical motors are set according to the aforementioned azimuth and tilt angles. The rotation direction of the laser, using the vertical motor’s axis as a reference, is positive when rotating clockwise and negative when rotating counterclockwise. Considering that the layout point is generally within a few centimeters from the centering pole, the angle of the vertical motor relative to the horizontal motor can typically be controlled within a range of about ±10° to meet practical application needs effectively.

Theoretically, larger angles could be used, but considering that in actual staking work, the centering pole needs to be as close as possible to the stakeout point, and the staking accuracy decreases as the distance between the centering pole and the stakeout point increases, an angle of ±10° is already sufficient given that the centering pole is usually around 1.8 m.

2.3. The Angle of Inclination of the Centering Rod in Any State

Based on the coordinates of the tip of the alignment pole and the instrument’s roll, pitch, and heading angles, the inclination of the alignment pole relative to the ground can be calculated (Figure 7).

From Equation (5), the correction amounts for unit length coordinates in three axes can be obtained. Multiplying these three unit length coordinate corrections by the RTK alignment pole length L yields the projected lengths along the respective axes. Let the inclination angle of the pole be β, and the azimuth angle from the phase center projected onto the ground to the direction of the pole tip be α. (14) α=arctanδPyδPx

(15) β=arccosδPz

2.4. Principle of Motor Rotation Angle Calculation

When the alignment pole is in a tilted position, the rotation plane of the horizontal motor always aligns with the inclined plane of the RTK phase center; therefore, the normal vector of the horizontal motor’s rotation plane should be the normal vector of the RTK phase center’s inclined plane.

As shown in Figure 8, the diagram illustrates the motor rotation point relationship:Plane ρ is the horizontal plane, and plane λ is an inclined plane.

OA represents the rotation axis of the alignment pole in any state, with its direction vector.

Point O′ is the intersection perpendicular to OA through the laser rotation point, with a known length r.

A circle with radius r centered at a point O′ lies on a plane λ.

Point P is the point to be laid out with known specific coordinates; a perpendicular from point P to the plane λ intersects at point P′.

Point K is the intersection of O′P′ and the laser rotation radius, where O′P′ intersects with ⊙O′ at point K.

Through point P′, tangents from point P′ to ⊙O′ are drawn at points U and V, and perpendiculars from points U and V to plane ρ intersect at points M and N, respectively.

Figure 8 Schematic diagram of motor rotation points.

The coordinates and orientation of the RTK phase center AxA,yA,zA can be obtained in real time. The coordinates and orientation of the perpendicular intersection point O′xo′,yo′,zo′ with the axis of the alignment pole can also be acquired in real time. By calculating the tip of the alignment pole O and the RTK phase center point A, the unit vector of OA is obtained as dpx,dpy,dpz. Therefore, the three-dimensional coordinates of the point O′ are expressed as follows:(16) X′Y′Z′=xA+L′∗dpxyA+L′∗dpyzA+L′∗dpz

PxP,yP,zP is the ground point to be laid out. From Equation (8), the coordinates of the point OxO,yO,zO are known. The equation for plane λ, which passes through O′ and is perpendicular to the alignment pole:(17) dpx(x−X′)+dpyy−Y′+dpzz−Z′=0

With the substitutions of A=dpx, B=dpy, and C=dpz, Equation (17) can be written as:(18) A(x−X′)+By−Y′+Cz−Z′=0

or (19) Ax+By+Cz−AX′+BY′+CZ′=0

D=−AX′+BY′+CZ′; the above equation can be obtained the following way:(20) Ax+By+Cz+D=0

The coordinates of the point PxP,yP,zP on an inclined plane λ, which is perpendicular to the ground point P′=xP′,yP′,zP′, are expressed as follows:(21) xP′yP′zP′=xP−A(Ax+By+Cz+D)yP−B(Ax+By+Cz+D)zP−C(Ax+By+Cz+D)

The length of O′P′:(22) SO′P′=xP′−X′2+yP′−Y′2+zP′−Z′2

(23) O′P′→=(Δx,Δy,Δz)

(24) O′K→=rO′P′→·[Δx,Δy,Δz]′

Calculate the azimuth angle of the horizontal motor rotation:(25) αO′P′=arctanΔyΔx

U and V are the tangent points on the circular path of the horizontal motor through P′. If the laser point is to precisely land on the layout point P, the horizontal motor needs to rotate to this position. Here, P′U⊥O′U, P′V⊥O′V, and ∠KO′U=∠KO′V=φ. (26) φ=arccosrSO′P′

On this inclined plane, by rotating the vector O′K→ by ±φ degrees, the spatial positions of points U and V where the laser rotation point needs to move can be obtained.

Let the vectors O′K→=F and n→=A,B,C be the normal vectors of the plane λ. Using Rodrigues’ rotation formula [27]. For space vectors, the coordinates of the two tangent points can be calculated:(27) U=Fcosφ+(F×n)sinφ+n(F•n)cosφ+O′

(28) V=Fcosφ−(F×n)sinφ+n(F•n)cosφ+O′

where point U rotates counterclockwise by θ degrees and point V rotates clockwise by θ degrees.

Vectors D1=U−O′ and D2=V−O′, according to the coordinates of the tangent points, can have their azimuth angles to the point O′ calculated. These represent the horizontal rotation angles of the motor. (29) αO′U=arctanD1(2,1)D1(1,1)

(30) αO′V=arctanD2(2,1)D2(1,1)

When rotating the motor, it can be set to rotate to the position that has the smallest angular difference from the current motor position (azimuth). If the motor rotates to point U, let the vertical motor’s tilt rotation angle be τ, which is equal to the angle between and the unit vector i=0,0,1. (31) UP→=P−U

(32) τU=arccosUP→·iUP→

(33) VP→=P−V

(34) τV=−arccosVP→·iVP→

3. Example Verification

Perform data validation for the GNSS Laser RTK fusion algorithm, obtaining RTK attitude data and the coordinates of the point to be laid out in any inclined state to calculate the horizontal and vertical rotation angles of the motor. The steps are as follows:Obtain the RTK phase center coordinates and the coordinates of the point to be laid out based on the RTK attitude, with related data shown in Table 1.

2. After initialization, the IMU attitude (in radians) is expressed as follows:γ=0.0872662, θ=0.1523596, ψ=0.9830746

The phase center height is 1.800 m, and the starting position of the laser rotation point relative to the phase center design is (−0.046, 0, −0.058).

3. Coordinates of the pole tip O and point O′ are shown in Table 2.

4. Center the rod shaft unit vector n.

n=A,B,C=0.156363, 0.077499, −0.984654

5. Calculate the coordinates of the intersection point P′ perpendicular to the inclined plane through the ground point P; compute the length of O′P′ as well as the azimuth angle αO′P′ of the horizontal motor rotation. Relevant data are shown in Table 3 and Table 4.

6. Coordinates of points U and V are shown in Table 5.

7. The values for the horizontal motor angle and the vertical motor tilt angle are as follows, with relevant data shown below, see Table 6:

4. Error Analysis

Considering the effects of inertial navigation on attitude errors, installation errors, etc., the following analysis examines the impact of these errors on the laser rotation point.

4.1. Effect of Laser Rotation Point Error

Rotation matrix R=RZψRZθRZγ (35) R=cosθcosψcosγsinψ+sinγsinθcosψ−sinγsinψ+cosγsinθcosψcosθsinψ−cosγcosψ+sinγsinθsinψ sinγcosψ+cosγsinθsinψsinθ−sinγcosθ−cosγcosθ

The design coordinates of the laser rotation point S relative to the phase center Ax0,y0,z0 be S(Δx,Δy,Δz), then the real-time three-dimensional coordinates of S:(36) xSySzS=R×ΔxΔyΔz×+x0y0z0

Expand the above formula to obtain:(37) xSySzS=cosθcosψcosγsinψ+sinγsinθcosψ−sinγsinψ+cosγsinθcosψcosθsinψ−cosγcosψ+sinγsinθsinψsinγcosψ+cosγsinθsinψsinθ−sinγcosθ−cosγcosθΔxΔyΔz+x0y0z0

(38) xS=Δxcosθcosψ+Δy(cosγsinψ+sinγsinθcosψ)+Δz(cosγsinθcosψ−sinγsinψ)+x0yS=Δxcosθsinψ+Δy(sinγsinθsinψ−cosγcosψ)+Δz(sinγcosψ+cosγsinθsinψ)+y0zS=Δxsinθ−Δysinγcosθ−Δzcosγcosθ+y0

The impact of the component design coordinates S(Δx,Δy,Δz) along with production and installation errors, set this fixed error to Mg=±1.5 mm. Assuming that the error of the RTK phase center coordinates themselves is not considered. According to the law of error propagation [28], it can be obtained:(39) dxS=Δycosγsinθcosψ−Δysinγsinψ−Δzsinγsinθcosψ−Δzcosγsinψdγ+Δysinγcosθcosψ+Δzcosγcosθcosψ−Δxsinθcosψdθ+Δycosγcosψ−Δysinγsinθsinψ−Δzsinγcosψ−Δxcosθsinψ−Δzcosγsinθsinψdψ

(40) dyS=Δysinγcosψ+Δycosγsinθsinψ+Δzcosγcosψ−Δzsinγsinθsinψdγ+Δysinγcosθsinψ−Δxsinθsinψ+Δzcosγcosθsinψdθ+Δxcosθcosψ+Δycosγsinψ+Δysinγsinθcosψ−Δzsinγsinψ+Δzcosγsinθcosψdψ

(41) dzS=Δzsinγcosθ−Δycosγcosθdγ+Δxcosθ+Δysinγsinθ+Δzcosγsinθdθ

Assuming the errors of the attitude angles are mγ, mθ, mψ, and mγ=mθ=m, it can be derived that:(42) MxS2=Δysinγcosψ+Δycosγsinθsinψ+Δzcosγcosψ−Δzsinγsinθsinψ2mγ2+Δysinγcosθsinψ−Δxsinθsinψ+Δzcosγcosθsinψ2mθ2+Δxcosθcosψ+Δycosγsinψ+Δysinγsinθcosψ−Δzsinγsinψ+Δzcosγsinθcosψ2mψ2

(43) MyS2=[Δysinγcosψ+Δycosγsinθsinψ+Δzcosγcosψ−Δzsinγsinθsinψ2+Δysinγcosθsinψ−Δxsinθsinψ+Δzcosγcosθsinψ2]m2+Δxcosθcosψ+Δycosγsinψ+Δysinγsinθcosψ−Δzsinγsinψ+Δzcosγsinθcosψ2mψ2

Since the impact of the error at the laser rotation point is independent of the magnitude of the heading angle, cosψ can be set to 1 and sinψ to 0. The above formula can be simplified to:(44) MxS2=[Δycosγsinθ−Δzsinγsinθ2+Δysinγcosθ+Δzcosγcosθ−Δxsinθ2]m2+Δycosγ−Δzsinγ2mψ2

(45) MyS2=[Δysinγ+Δzcosγ2m2+Δxcosθ+Δysinγsinθ+Δzcosγsinθ2mψ2

(46) MzS2=[Δzsinγcosθ−Δycosγcosθ2+Δxcosθ+Δysinγsinθ+Δzcosγsinθ2]m2

The coordinate error of the laser rotation point relative to the phase center:(47) MS=±MxS2+MyS2+MzS2+Mg2

Typically, Δx=Δy=0.05m, Δz=0.10m, mγ=mθ=0.05~0.1°, and mψ=0.2~1.0° are used for calculations. Some of the calculated results are as follows:(1) mγ=mθ=0.05°, mψ=0.2°, β=0°~30°, and the average error obtained is ±1.55 mm (Figure 9).

(2) mγ=mθ=0.05°, mψ=1.0°, β=0°~30°, and the average error obtained is ±2.35 mm (Figure 10).

(3) mγ=mθ=0.1°, mψ=0.2°, β=0°~30°, and the average error obtained is ±1.56 mm (Figure 11).

(4) mγ=mθ=0.1°, mψ=1.0°, β=0°~30°, and the average error obtained is ±2.36 mm (Figure 12).

When Δx=Δy=0 and Δz=1.8 m, the calculation formula for the measurement error of conventional inertial RTK tilt sampling using a pole can be applied. The error distribution diagram is as follows:(1) mγ=mθ=0.1°, mψ=0.5°, β=0°~30°, and the average error obtained is ±3.51 mm (Figure 13).

(2) mγ=mθ=0.1°, mψ=1.0°, β=0°~30°, and the average error obtained is ±11.40 mm (Figure 14).

(3) mγ=mθ=0.2°, mψ=0.5°, β=0°~30°, and the average error obtained is ±5.15 mm (Figure 15).

(4) mγ=mθ=0.2°, mψ=1.0°, β=0°~30°, and the average error obtained is ±12.11 mm (Figure 16).

From the above Figure, it is evident that during conventional inertial RTK layout measurements using an alignment pole, the inclination angle of the pole is generally within 10°. Therefore, the coordinate error MS of the pole tip caused by errors such as attitude angles is approximately ±10 mm, and the error ML due to moving the alignment pole to the point is generally around ±5 mm. Considering that the real-time coordinate error of the RTK phase center is generally within ±5~15 mm, with MA taken as ±10 mm, the coordinate error for conventional inertial RTK layout is:(48) MP=±MA2+MS2+ML2=±15 mm

4.2. Effect of Motor Rotation Error

Based on the scheme described in the document and illustrated in the diagram, during laser RTK automatic sampling:

The pole tilt angle is represented by β.

The laser rotation point is denoted as SxS,yS,zS.

The azimuth angle of the horizontal rotation motor is αQS′=α.

The rotation angle of the vertical rotation motor is τ.

The actual sampling point’s position is denoted as PxP,yP,zP.

The motor rotation angle errors be mτ=mγ=m′.

S′ represents the projection of S onto the horizontal plane, and its coordinates are xS′,yS′,zS′.

From Figure 17, that the following can be obtained:(49) xS′=xSyS′=ySzS′=zS−htanβ

(50) S′S=QScosβ=hcosβ

(51) S′P=S′Stanτ=hcosβtanτ

(52) αS′P=αS′Q−90°=αS′Q±180−90°=α+90°α−270°

Since sinα+90°=sinα−270° and cosα+90°=cosα−270°, the discussion below will only consider the case of sinα+90°. At the same time, only the impact of errors in the horizontal and vertical motor rotation angles will be considered:(53) xP=xS′+S′PcosαMP=xS−hcosβtanτsinαyP=yS′+S′PsinαMP=yS+hcosβtanτcosαzP=zS′=zS−htanβ

(54) dxP=dxS−hcosβsec2τsinαdτ−hcosβtanτcosαdαdyP=dyS+hcosβsec2τcosαdτ−hcosβtanτsinαdαdzP=0

(55) MxP2=MxS2+hcosβsec2τsinα2mτ2+hcosβtanτcosα2mα2

(56) MyP2=MyS2+hcosβsec2τcosα2mτ2+hcosβtanτsinα2mα2

The comprehensive error of the laser layout point is:(57) MP2=MxP2+MyP2+MzP2=MxS2+MyS2+MzS2+hcosβsec2τsinα2mτ2+hcosβtanτcosα2mα2+hcosβsec2τcosα2mτ2+hcosβtanτsinα2mα2=MS2+hcosβsec2τ2+hcosβtanτ2m′2=MS2+MD2

The following discussion focuses on the impact of motor rotation errors on the coordinates of the layout points:(58) MD=±m′×hcosβsec2τ2+hcosβtanτ2

In normal circumstances, the distance from the layout point to the tip of the alignment pole OP can be controlled within approximately 0.1 m to 0.3 m, meaning the vertical motor rotation angle τ is generally within a range of 2°~10°. The inclination angle β is typically within 10°, with motor rotation angle error m′=0.02°~0.05°, and h set at 1.8 m. Based on the above formulas, within a certain range, by considering the relationship between the inclination angle β of the alignment pole and the vertical motor rotation angle τ, the distribution diagram of the layout point position error MD caused by motor rotation errors is shown below.

(1) With m′ = 0.02°, the average error is ±0.64 mm (Figure 18).

(2) With m′=0.05°, the average error is ±1.60 mm (Figure 19).

From the error analysis diagram above, under general conditions, the error of laser-aided automatic layout relative to the antenna phase center can approximately be ±2 mm, and the error caused by motor rotation is ±1.6 mm. Considering the antenna phase center error when using network CORS for RTK measurements, the comprehensive error of the automatic laser inertial RTK layout is:(59) MP=MA2+MS2+MD2=10.3 mm

It can be concluded that under existing technical conditions, compared to the phase center, the accuracy of conventional RTK inertial tilt layout using network CORS generally lies within ±10~15 mm. Therefore, the laser-aided automatic layout method proposed in this paper exceeds the precision of conventional RTK layout and offers higher work efficiency.

5. Experimental Analysis

As shown in Figure 20, this experiment uses the laser GNSS RTK prototype developed based on the aforementioned content. Figure 21 shows that four control points P1 to P4 were set up around the test field, and their coordinates were accurately determined using the Leica TS30 total station (Leica, Wetzlar, Germany), which are used for coordinate parameter conversion in RTK. See Table 7.

A set of coordinates for set-out points was designed, initially marked using both conventional RTK and laser automatic RTK. After the set-out is completed, the Leica TS30 total station is used to precisely measure the coordinates of these points and compare them with the designed coordinates to calculate the error m. This provides an objective evaluation of the actual set-out accuracy. The data are shown in Table 8. (60) Δx=Xdesign−XlayΔy=Ydesign−Ylay

(61) Δ=Δx2+Δy2

(62) m=±∑Δ2n−1

Network Continuous Operational Reference System Was Used for RTK Layout

After confirming the markers using conventional inertial RTK with the Continuous Operational Reference System (CORS) network, the coordinates obtained by precise measurement with the total station are, see Table 9.

After confirming the markers with the laser automatic RTK using the CORS network, the coordinates obtained by precise measurement with the total station are, see Table 10.

Compare with two different RTK layout data, see Table 11.

Due to the measurement errors associated with using the total station, the results calculated from experimental data are slightly larger than the theoretical error values. It can be seen that the laser inertial RTK automatic setting out designed in this paper has higher accuracy compared to conventional inertial RTK layout.

6. Conclusions

This paper is based on the fusion algorithm of GNSS RTK and inertial navigation technology, and by utilizing a laser to indicate the location of the points to be laid out, proposes a new theory and implementation method for RTK laser automatic layout. The core idea involves using a new fusion parameter calculation method within traditional RTK layout measurements. It obtains the RTK phase center coordinates of the instrument and the three-dimensional spatial position of the tip of the alignment pole under tilt conditions via inertial navigation offsets. By using mathematical transformations, the specific position of the laser rotation center is determined, and subsequently, the rotational angles between the vertical and horizontal directions of the point to be laid out and the calibration direction are calculated. Finally, two servo motors in the vertical and horizontal directions automatically complete the real-time layout measurement of the designated point, verifying the feasibility of this method. The measurement results meet design requirements, enhancing the positioning accuracy and work efficiency of layout measurements.

The GNSS RTK inertial navigation laser layout method proposed in this paper, compared to current traditional layout, inertial-guided RTK layout, and AR-RTK layout, offers better timeliness and cost-effectiveness, with strong comprehensive surveying capabilities, and is easy to automate. However, there are still some shortcomings in this method, such as accuracy being affected in irregular terrain situations, necessitating further research into corresponding solutions and correction algorithms.

Author Contributions

Conceptualization, J.T., X.S. and S.T; investigation, J.T.; resources, S.T. and X.L.; methodology, J.T., X.S. and S.T.; software, J.T. and J.J.; formal analysis J.T. and J.J.; validation, J.T. and X.L.; writing—original draft, J.T.; writing—review and editing, J.T., X.S., S.T and X.L. supervision, X.S. and S.T.; project administration, J.T.; funding acquisition, X.S. and S.T. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

Figure 1 GNSS laser RTK inertial navigation schematic.

Figure 2 Main content.

Figure 3 Centering pole inclined posture.

Figure 4 (a) Front view of the motor and laser installation method; (b) Left view of the motor and laser installation method; (c) Top view of the motor and laser installation method.

Figure 5 System in plumb state.

Figure 6 Top view of the center of laser rotation with RTK phase center in plumb case.

Figure 7 Schematic diagram of the pole tip inclination angle.

Figure 9 The error distribution chart when the roll angle and pitch angle error are 0.05 degrees and the heading angle error is 0.2 degrees.

Figure 10 The error distribution chart when the roll angle and pitch angle error are 0.05 degrees and the heading angle error is 1.0 degrees.

Figure 11 The error distribution chart when the roll angle and pitch angle error are 0.1 degrees and the heading angle error is 0.2 degrees.

Figure 12 The error distribution chart when the roll angle and pitch angle error are 0.1 degrees and the heading angle error is 1.0 degrees.

Figure 13 The error distribution chart when the roll angle and pitch angle error are 0.05 degrees and the heading angle error is 0.2 degrees.

Figure 14 The error distribution chart when the roll angle and pitch angle error are 0.05 degrees and the heading angle error is 1.0 degrees.

Figure 15 The error distribution chart when the roll angle and pitch angle error are 0.1 degrees and the heading angle error is 0.2 degrees.

Figure 16 The error distribution chart when the roll angle and pitch angle error are 0.1 degrees and the heading angle error is 1.0 degrees.

Figure 17 Schematic diagram of motor rotation error.

Figure 18 Motor rotation angle error m′=0.02°.

Figure 19 Motor rotation angle error m′=0.05°.

Figure 20 GNSS laser RTK automatic layout engineering prototype.

Figure 21 P1–P15 point distribution.

sensors-24-05857-t001_Table 1 Table 1 Coordinates of RTK phase center points A and P to be staked out.

Point Name	X (m)	Y (m)	Z (m)	
A	2,797,820.603	430,599.348	150.500	
P	2,797,820.786	430,599.133	148.706	

sensors-24-05857-t002_Table 2 Table 2 Coordinates of the cusp O and O′ of the centering rod.

Point Name	X (m)	Y (m)	Z (m)	
O	2,797,820.888	430,599.488	148.702	
O′	2,797,820.587	430,599.315	150.436	

sensors-24-05857-t003_Table 3 Table 3 Coordinates of point P′.

Point Name	Point Data	
xP′m	2,797,820.517	
yP′m	430,598.999	
zp′m	150.400	

sensors-24-05857-t004_Table 4 Table 4 Lengths of O′P′ and angles φ and αO′P′.

Point Name	Point Data	
SO′P′m	0.325	
φDMS	81°51′14.0″	
αO′P′DMS	257°29′36.2″	

sensors-24-05857-t005_Table 5 Table 5 Coordinates of tangent points U and V.

Point Name	X (m)	Y (m)	Z (m)	
U	2,797,820.560	430,599.355	150.486	
V	2,797,820.645	430,599.330	150.498	

sensors-24-05857-t006_Table 6 Table 6 Rotation angle of horizontal motor and tilt rotation angle of vertical motor.

Location	Horizontal Motor
Angle Value	Vertical Motor
Angle Value	
U	αO′U=175°38′22.2″	τU=11°37′16.0″	
V	αO′V=339°20′50.2″	τV=−11°37′16.0″	

sensors-24-05857-t007_Table 7 Table 7 Coordinate parameter calibration points.

Point Name	X (m)	Y (m)	Z (m)	
P1	2,798,011.193	431,052.745	154.008	
P2	2,798,009.418	431,062.020	154.012	
P3	2,798,019.385	431,067.850	154.024	
P4	2,798,018.965	431,054.765	154.028	

sensors-24-05857-t008_Table 8 Table 8 Design the loft point coordinates.

Point Name	X (m)	Y (m)	
P5	2,798,013.516	431,053.557	
P6	2,798,011.330	431,055.442	
P7	2,798,011.012	431,058.822	
P8	2,798,012.405	431,061.685	
P9	2,798,014.713	431,057.192	
P10	2,798,016.503	431,054.846	
P11	2,798,016.026	431,059.975	
P12	2,798,018.573	431,062.162	
P13	2,798,016.304	431,063.395	
P14	2,798,017.618	431,065.343	
P15	2,798,013.902	431,064.398	

sensors-24-05857-t009_Table 9 Table 9 Network CORS conventional inertial navigation RTK layout coordinates.

Point Name	X (m)	Y (m)	
P5	2,798,013.520	431,053.574	
P6	2,798,011.314	431,055.448	
P7	2,798,011.022	431,058.809	
P8	2,798,012.416	431,061.697	
P9	2,798,014.71	431,057.209	
P10	2,798,016.516	431,054.835	
P11	2,798,016.01	431,059.971	
P12	2,798,018.559	431,062.17	
P13	2,798,016.321	431,063.391	
P14	2,798,017.626	431,065.327	
P15	2,798,013.895	431,064.383	

sensors-24-05857-t010_Table 10 Table 10 Network CORS laser inertial navigation RTK automatic layout coordinates.

Point Name	X (m)	Y (m)	
P5	2,798,013.527	431,053.561	
P6	2,798,011.323	431,055.451	
P7	2,798,011.020	431,058.831	
P8	2,798,012.412	431,061.694	
P9	2,798,014.704	431,057.184	
P10	2,798,016.509	431,054.856	
P11	2,798,016.019	431,059.965	
P12	2,798,018.565	431,062.17	
P13	2,798,016.295	431,063.404	
P14	2,798,017.612	431,065.353	
P15	2,798,013.909	431,064.408	

sensors-24-05857-t011_Table 11 Table 11 Comparison of two different RTK layouts of network CORS.

Number	Conventional Inertial Navigation RTK	Laser Inertial Navigation RTK	
ΔX (m)	ΔY (m)	Δ (m)	ΔX (m)	ΔY (m)	Δ	
1	−0.004	−0.017	0.017	−0.011	−0.004	0.012	
2	0.016	−0.006	0.017	0.007	−0.009	0.011	
3	−0.01	0.013	0.016	−0.008	−0.009	0.012	
4	−0.011	−0.012	0.016	−0.007	−0.009	0.011	
5	0.003	−0.017	0.017	0.009	0.008	0.012	
6	−0.013	0.011	0.017	−0.006	−0.01	0.012	
7	0.016	0.004	0.017	0.007	0.01	0.012	
8	0.014	−0.008	0.016	0.008	−0.008	0.011	
9	−0.017	0.004	0.018	0.009	−0.009	0.013	
10	−0.008	0.016	0.018	0.006	−0.01	0.012	
11	0.007	0.015	0.017	−0.007	−0.01	0.012	
m	0.017	0.012	

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
==== Refs
References

1. Nair P. Abd Sukor S. A Review on Application of Global Positioning System in Construction Industry Prog. Eng. Appl. Technol. 2022 3 249 259
2. Li X. Huang J. Li X. Shen Z. Han J. Li L. Wang B. Review of PPP–RTK: Achievements, challenges, and opportunities Satell. Navig. 2022 3 28 10.1186/s43020-022-00089-9
3. Li X. Ge M. Dai X. Ren X. Fritsche M. Wickert J. Schuh H. Accuracy and reliability of multi-GNSS real-time precise positioning: GPS, GLONASS, BeiDou, and Galileo J. Geod. 2015 89 607 635 10.1007/s00190-015-0802-8
4. Chang G. Xu T. Wang Q. Li S. Deng K. GNSS attitude determination method through vectorisation approach IET Radar Sonar Navig. 2017 11 1477 1482 10.1049/iet-rsn.2017.0160
5. Janos D. Kuras P. Evaluation of Low-Cost GNSS Receiver under Demanding Conditions in RTK Network Mode Sensors 2021 21 5552 10.3390/s21165552 34450997
6. Hamza V. Stopar B. Ambrozic T. Turk G. Sterle O. Testing Multi-Frequency Low-Cost GNSS Receivers for Geodetic Monitoring Purposes Sensors 2020 20 4375 10.3390/s20164375 32764406
7. He H. Li J. Yang Y. Xu J. Guo H. Wang A. Performance assessment of single- and dual-frequency BeiDou/GPS single-epoch kinematic positioning GPS Solut. 2014 18 393 403 10.1007/s10291-013-0339-3
8. Tian Y. Ge M. Neitzel F. Particle filter-based estimation of inter-frequency phase bias for real-time GLONASS integer ambiguity resolution J. Geod. 2015 89 1145 1158 10.1007/s00190-015-0841-1
9. Dabove P. The usability of GNSS mass-market receivers for cadastral surveys considering RTK and NRTK techniques Geod. Geodyn. 2019 10 282 289 10.1016/j.geog.2019.04.006
10. Qiu H. Application and accuracy analysis of GNSS-RTK technology in data acquisition J. Comput. Electron. Inf. Manag. 2023 10 21 23
11. Shang R. Gao C. Gan L. Zhang R. Gao W. Meng X. Multi-GNSS Differential Inter-System Bias Estimation for Smartphone RTK Positioning: Feasibility Analysis and Performance Remote Sens. 2023 15 1476 10.3390/rs15061476
12. Kim H. Hyun C.-U. Park H.-D. Cha J. Image Mapping Accuracy Evaluation Using UAV with Standalone, Differential (RTK), and PPP GNSS Positioning Techniques in an Abandoned Mine Site Sensors 2023 23 5858 10.3390/s23135858 37447708
13. Kim K. Choi J. Chung J. Koo G. Bae I.-H. Sohn H. Structural displacement estimation through multi-rate fusion of accelerometer and RTK-GPS displacement and velocity measurements Measurement 2018 130 223 235 10.1016/j.measurement.2018.07.090
14. Zhang X. Li X. Li P. GNSS precision single-point positioning technology and application progress Acta Geod. Cartogr. Sin. 2017 46 1399 1407
15. Odolinski R. Teunissen P.J.G. Best integer equivariant estimation: Performance analysis using real data collected by low-cost, single- and dual-frequency, multi-GNSS receivers for short- to long-baseline RTK positioning J. Geod. 2020 94 91 10.1007/s00190-020-01423-2
16. Dai Q. Sui L. Wang L. Zeng T. Tian Y. An efficiency algorithm on Gaussian mixture UKF for BDS/INS navigation system Geod. Geodyn. 2018 9 169 174 10.1016/j.geog.2017.12.001
17. Zhou W.-D. Cai J.-N. Sun L. Shen C. Time–space difference based GPS/SINS ultra-tight integrated navigation method Measurement 2014 58 87 92 10.1016/j.measurement.2014.08.033
18. Liu J. Feng Z. Yang L. Mannan A. Khan T. Zhao Z. Cheng Z. Extraction of Sample Plot Parameters from 3D Point Cloud Reconstruction Based on Combined RTK and CCD Continuous Photography Remote Sens. 2018 10 1299 10.3390/rs10081299
19. Ren Y. Wang Z. A Novel Scene Matching Algorithm via Deep Learning for Vision-based UAV Absolute Localization Proceedings of the 2022 International Conference on Machine Learning, Cloud Computing and Intelligent Mining (MLCCIM) Xiamen, China 5–7 August 2022 211 218
20. Niu X. Chen Q. Zhang Q. Zhang H. Niu J. Chen K. Shi C. Liu J. Using Allan variance to analyze the error characteristics of GNSS positioning GPS Solut. 2014 18 231 242 10.1007/s10291-013-0324-x
21. Liu K. Tang S. Zhang Y. Li H. Lv F. Tilt RTK attitude solving based on complementary filtering algorithm Sci. Technol. Eng. 2022 22 10402 10408
22. Gao K. Ren S. Yi G. Zhong J. Wang Z. An Improved ACKF/KF Initial Alignment Method for Odometer-Aided Strapdown Inertial Navigation System Sensors 2018 18 3896 10.3390/s18113896 30424552
23. Chen Q. Lin H. Guo R. Niu X. Rapid and accurate initial alignment of the low-cost MEMS IMU chip dedicated for tilted RTK receiver GPS Solut. 2020 24 119 10.1007/s10291-020-01032-8
24. Gallo E. Barrientos A. Long-Distance GNSS-Denied Visual Inertial Navigation for Autonomous Fixed-Wing Unmanned Air Vehicles: SO(3) Manifold Filter Based on Virtual Vision Sensor Aerospace 2023 10 708 10.3390/aerospace10080708
25. Hua T. Pei L. Li T. Yin J. Liu G. Yu W. M2C-GVIO: Motion manifold constraint aided GNSS-visual-inertial odometry for ground vehicles Satell. Navig. 2023 4 13 10.1186/s43020-023-00102-9
26. Chang L. Li J. Chen S. Initial Alignment by Attitude Estimation for Strapdown Inertial Navigation Systems IEEE Trans. Instrum. Meas. 2015 64 784 794 10.1109/TIM.2014.2355652
27. Dai J.S. Rodrigues formula variations, quaternion conjugation and intrinsic connections Mech. Mach. Theory 2015 92 144 152 10.1016/j.mechmachtheory.2015.03.004
28. Singh A. Chaturvedi P. Error Propagation Reson 2021 26 853 861 10.1007/s12045-021-1185-1
