1. Introduction
In the current energy crisis and increasingly serious environmental problems, wind energy, as a pollution-free and clean energy source, has enormous potential for development. Offshore wind power, as an important component of clean energy, plays a crucial role in the global energy structure transformation [
1]. Single pile is the most commonly used supporting structure for offshore wind power, and its verticality relative to the standard horizontal plane directly affects the stability and long-term reliability of wind turbines [
2]. Therefore, accurately measuring the verticality of a single pile is of crucial importance for ensuring the safe operation of offshore wind power projects.
The verticality measurement technology for large single-pile structures can be primarily divided into four methods based on the different measuring instruments used: the inclinometer measurement method, total station measurement method, 3D laser scanning method, and visual measurement method.
The inclinometer measurement method involves installing an inclinometer on a single-pile structure and using data transmission technology to return and analyze the measured data to monitor the verticality information of the target pile. Wu H [
3] analyzed the current situation of wind turbine fault detection at home and abroad, and designed a wind turbine tower tilt monitoring device based on STM32 microcontroller, ADXL345 tilt sensor, and LoRa/WiFi technology. It is characterized by strong anti-interference ability, long transmission distance, and low power consumption. Koo S [
4] proposed an automatic verticality securing system for large circular steel pipes based on a verticality monitoring system. The experimental results prove that the system runs well and secures the verticality of less than 0.2° in the suction bucket-based model experiment.
The total station measurement method involves emitting a single laser beam towards a single target pile and receiving the light signal reflected back from the surface of the object. After analysis by the high-precision processing system inside the total station, the angle and distance information of the target point are obtained. Data from multiple target points is comprehensively analyzed to further obtain the verticality of a single pile. Liao J [
5] uses a two-point measurement station method based on a prism free total station to quickly assess the tilting of problem wind turbines caused by concrete damage. Mladen Zrinjski et al. [
6] used a total station sampling method to fit the cross-sectional ellipses of chimneys of different heights, and then used polynomial fitting to derive the axis information of the chimney to determine the verticality of the entire chimney structure.
The 3D laser scanning method collects and records high-density point cloud data by emitting a dense laser beam towards a single target pile, capturing the reflected light from the pile surface. Marjetič [
7] and Barazzetti [
8] captured the point cloud coordinates of the chimney using 3D laser scanning technology, processed the point cloud data on the same horizontal plane using the least squares method, fitted the 3D vector of the chimney’s central axis, and calculated the verticality of the chimney.
The visual measurement method refers to the use of a camera to capture surface features of a single pile, and the use of image processing techniques to analyze the position, shape, and other characteristic information of the single pile. Combined with camera parameter data, it achieves the measurement of the verticality of the single pile. Xue Wanting [
9] designed a verticality measurement system for land wind turbine towers, which uses a line laser to project laser lines as reference lines on the wind turbine tower. The system captures tower images with a camera and processes them. Combined with a laser rangefinder to obtain the relative distance between the camera and the tower, the system calculates the size and position of the cross-sectional circle at different heights of the wind turbine tower, completes the three-dimensional reconstruction of the wind turbine tower, and measures the verticality of the tower. Fugro, a foreign company [
10], has conducted earlier research in the field of monitoring the verticality of single piles at sea. The company has independently developed a high-precision and highly intelligent binocular vision monitoring system, which is specifically used to detect the verticality of single piles at sea. In practical applications, Fugro has accumulated a wealth of experience in monitoring the verticality of single piles.
The inclinometer measurement method can achieve remote monitoring of the verticality information of single piles at sea, with low installation cost and high accuracy of the obtained data. However, due to the sinking of a single pile at sea and the significant vibration generated by the pile body during the pile driving process, the installation of the inclinometer needs to consider structural stability and ensure that the inclinometer is aligned horizontally with the flange, which increases the difficulty of installation. The total station measurement method requires a high installation position for the instrument, which needs to be placed in a relatively stationary position relative to the standard horizontal plane, usually on the pile positioning platform or pile driving hull. However, the positioning platform space is usually narrow, and the pile driving vessel generates strong vibrations during engineering operations, requiring operators to adjust equipment parameters in real time and continuously operate the total station to obtain information from multiple measurement points, thereby increasing workload and reducing measurement efficiency. Although 3D laser scanning technology provides high-precision and fast measurement results, its expensive equipment and complex data processing process limit its widespread use.
Binocular stereo vision technology is widely used due to its high measurement accuracy, strong real-time performance, low cost, high efficiency, and non-contact measurement advantages [
11]. As an emerging application technology, it is crucial to study and analyze its measurement model. In order to clarify the principle of a binocular vision-based method for measuring the verticality of a single pile at sea, this paper starts from the imaging principle of a camera, studies the three-dimensional vector measurement model of a single pile in the ship’s coordinate system and the mapping model from the ship’s coordinate system to the global coordinate system, and derives a measurement model for the verticality of a single pile in the global coordinate system. To verify the correctness of the model, a testing experimental platform was built to simulate the verticality measurement experiment of a single pile on a ship under static and dynamic conditions. Compare the experimental results with the measurement results of the total station to verify the correctness of the measurement model.
3. Measurement Model Analysis
A deep understanding of the imaging model of monocular cameras is the foundation for exploring the principles of binocular vision imaging. By analyzing the binocular vision imaging model in the hull coordinate system, the three-dimensional vector of a single pile can be determined. Establishing a mapping model from the hull coordinate system to the global coordinate system, combined with the three-dimensional attitude angle of the ship itself, can map the three-dimensional vector information of a single pile in the hull coordinate system to the global coordinate system, thereby obtaining the verticality data of the single pile.
3.1. Camera Imaging Model
In the process of camera imaging, the three-dimensional points in space are linearly related to the projection points in the camera imaging plane, and satisfy the principle of pinhole imaging. The coordinate transformation from three-dimensional spatial points to image imaging points involves four coordinate systems [
12], as shown in
Figure 3.
The world coordinate system provides the absolute positions of spatial points in the real world, and the coordinate axes follow the right-hand rule. The camera coordinate system describes the position of a spatial point relative to the camera, measured in millimeters. It is a three-dimensional coordinate system established with the camera’s optical center Oc as the reference point and OcZc as the main optical axis of the camera. The image coordinate system o-xy is used to describe points on the camera image plane, in millimeters. o is the principal point where the camera optical axis intersects the imaging plane. The ox and oy axes of the image coordinate system are parallel to the OcXc and OcYc axes of the camera coordinate system, respectively. The pixel coordinate system oo-uv is used to locate pixels in digital images, with the unit being pixel. The coordinate origin of the pixel coordinate system is located in the upper left corner, with o0-u parallel to ox horizontally to the right and o0-v parallel to oy vertically downward.
The spatial point
P is mapped to the point
p on the actual imaging plane through pinhole imaging. In the world coordinate system, the coordinates of the spatial point
P are (X
w, Y
w, Z
w). In the pixel coordinate system, the coordinates of the imaging point
p are (
u,
v). According to the conversion relationship between different coordinate systems during camera imaging, the formula for the world coordinates of spatial point
P to the pixel coordinates of imaging point
p are as follows [
13]:
In the formula, Zc represents the component of spatial point P on the OcZc axis in the camera coordinate system. f represents the focal length from the camera’s optical center to the imaging plane, measured in millimeters. dx and dy, respectively, represent the physical dimensions of a unit pixel in the x-axis and y-axis directions of the image, measured in millimeters per pixel. (u0, v0) represents the principal point coordinates in the image pixel coordinate system; R and T, respectively, represent the rotation matrix and translation matrix from the world coordinate system to the camera coordinate system, M1 represents the internal parameter matrix of the camera, and M2 represents the external parameter matrix of the camera. M1M2 represents the imaging matrix of the camera.
3.2. Three-Dimensional Vector Measurement Model of Single Pile in Hull Coordinate System
Based on binocular vision imaging technology, the three-dimensional vector of a single pile relative to the ship’s coordinate system is measured. The specific solving process is divided into two steps: first, the normal vector of the object image plane along the axis of the single pile in the ship’s coordinate system is solved. Then, the two normal vectors solved are cross-multiplied to obtain the three-dimensional vector of the single pile in the ship’s coordinate system.
3.2.1. Solving the Normal Vector of the Object Image Plane in a Monocular Camera
The object image plane of the central axis refers to the plane formed by the central axis of a single pile and the image. As shown in
Figure 4, using the hull coordinate system as the world coordinate system, assuming the hull coordinate system is
Os-
XsYsZs, there is a point
P (
Xs,
Ys,
Zs) on the axis of the single pile, corresponding to point
p (
u,
v) in the camera pixel coordinate system
o0-
uv.
According to Equation (1), the mapping relationship between the spatial point
P in the hull coordinate system and the imaging point
p in the pixel coordinate system is
In the formula,
m11~
m34 are the elements of the camera imaging matrix. Assuming that the straight line expression of the central axis of a single pile in the camera pixel coordinate system is
u =
kv +
b, we can obtain
The normal vector of the central axis image plane is
According to Equations (2) and (4), it can be inferred that the normal vector of the central axis object image plane is independent of the translation matrix from the hull coordinate system to the camera coordinate system.
3.2.2. Obtaining the Three-Dimensional Vector of a Single Pile in the Hull Coordinate System
When the world coordinate system of the left and right cameras is the hull coordinate system, the three-dimensional vector of the single pile’s central axis in the hull coordinate system can be obtained by cross-multiplying the normal vectors of the central axis object plane from the perspectives of the two cameras, as shown in
Figure 5.
The normal vectors of the plane formed by the imaging of the single-pile axis and the left and right camera pixels in the hull coordinate system are
and
, respectively. Therefore, the expression of the three-dimensional vector
of the single-pile axis in the hull coordinate system is
In the formula, , , and , respectively, represent the components of the three-dimensional vector on the OsXs, OsYs, and OsZs axes of the hull coordinate system.
In summary, according to the principle of binocular vision imaging, it is possible to obtain the normal vectors of the single-pile axis object plane under binocular cameras separately. By cross-multiplying these two normal vectors, the three-dimensional vector of the single pile in ship coordinates can be obtained. Since the vector is a vector that only contains direction and magnitude information, it is independent of the translation matrix between different coordinate systems [
14]. Therefore, the three-dimensional coordinate system established in this article and the conversion between coordinate systems only consider the rotational relationship, while the translational relationship can be ignored.
3.3. Mapping Model from Hull Coordinate System to Global Coordinate System
Establish the hull coordinate system and at the same time establish the reference coordinate system with the plane parallel to the standard horizontal plane. The angle between the axis and the standard horizontal plane is denoted as the roll angle α, and the angle between the axis and the standard horizontal plane is denoted as the pitch angle β. The coordinate origin of the hull coordinate system coincides with the coordinate origin of the reference coordinate system, and the projection of the axis on the horizontal plane coincides with the axis.
Let the hull coordinate system rotate around , and then rotate around to obtain the reference coordinate system. The global coordinate system is set to . The plane is parallel to the standard horizontal plane, and the axis is opposite to the direction of gravity. The angle between the axis of the reference coordinate system and the axis is the yaw angle .
The rotation matrix from the hull coordinate system to the global coordinate system is [
15,
16]
3.4. Vertical Measurement Model of Single Pile in Global Coordinate System
The three-dimensional vector
of a single pile in the hull coordinate system was obtained in
Section 3.2, and the rotation matrix
from the hull coordinate system to the global coordinate system was obtained in
Section 3.3. The transformation model of the three-dimensional vector of a single pile in the hull coordinate system to the global coordinate system is shown in
Figure 6.
According to the rotation transformation between coordinate systems, the three-dimensional vector
of a single pile in the global coordinate system is
In the formula
,
respectively represent the components of the three-dimensional vector
on the
,
, and
axes of the global coordinate system. Therefore, the verticality q of a single pile is shown in Equation (8), and the schematic diagram of the verticality of a single pile is shown in
Figure 7.
In the actual engineering operation process, in order to adjust the verticality of a single pile to meet the engineering standards, it is necessary to decompose its verticality in the global coordinate system into roll angle and pitch angle, in order to obtain the tilt angle of the single pile in a specific direction and adjust its verticality to reach the predetermined angle. The roll angle
and pitch angle
of a single pile are shown in Equation (9), and the schematic diagram of the roll angle and pitch angle of a single pile is shown in
Figure 8.
In the process of calculating the three-dimensional vector , there is no constraint on its direction, which may result in two vector solutions with opposite directions. But there is no difference in the results for verticality , roll angle , and pitch angle of the single pile calculated using these two solutions, so there is no need to consider the influence of different solutions.
3.5. Error Model of Measurement System
In order to investigate the effect of the optical axis angle between binocular cameras on the verticality measurement of a single pile, assuming that the hull coordinate system is consistent with the global coordinate system, an ideal binocular camera model is established for analysis, as shown in
Figure 9. Assuming there is an error in the single axis obtained from the image of the left camera, and no error in the single axis obtained from the image of the right camera, the optical axis of the left camera intersects with the central axis of the single pile, and the optical center of the right camera forms a plane parallel to the
plane with the central axis of the single pile [
17].
The central axis angle error and displacement error obtained from the image of the left camera are set as
and
, respectively, and the central axis equation is expressed as
Let
and
r both be 0. Let the angle between the left camera’s optical axis and the
plane be
α, and the angle between the projection of the optical axis on the
plane and the
axis be
β. The intersection of the left and right camera’s optical centers with the plane formed by the single pile’s central axis in the global coordinate system yields the angle error
w between the single pile’s central axis vector and the ideal central axis vector.
In the formula, refers to the verticality error.
The impact on perpendicularity error is discussed separately.
3.5.1. The Impact of on Verticality Error
Let
, and Equation (11) can be expressed as
Due to the small value of
,
, then
When β approaches 90°, the error generated by will be very large. When β = 0°, that is, the two camera optical axes intersect orthogonally, and w and are close to the same order of magnitude, it can be seen that the closer the angle between the two camera optical axes is to 90°, the smaller the measurement error.
3.5.2. The Impact of on Verticality Error
Let
, and Equation (11) can be expressed as
Due to
, it can be inferred that
When β = 0°, the perpendicularity error is minimized. At this point, the impact of r on the perpendicularity error is relatively small and can be ignored.
According to Equations (13) and (15), assuming
or
,
is a fixed value, and the angle between the optical axes of the binocular cameras is
, then
.
changes with
, which can be expressed as
In the formula,
represents the perpendicularity error of the central axis of a single pile when the camera’s optical axis angle is
.
In the formula,
is proportional to
, and
is minimized when
. When
is taken as the maximum verticality error of 0.5° in the system indicators, the curve of the verticality error
of a single pile as a function of the camera angle
is shown in
Figure 10.
As shown in
Figure 10, the angle difference between the perpendicularity error
and
of the binocular camera within the range of 60°~120° is relatively small, with a maximum difference of 0.08°, which can be ignored. When the distance
S between the ship platform and the single pile is fixed, the larger the angle
between the optical axes of the binocular cameras, the greater the distance
L between the cameras, as shown in
Figure 11.
Due to the limited length of the ship’s load-bearing platform, the distance L between the cameras cannot be too large. Therefore, in order to ensure that the measurement error of the system’s verticality is small and the distance between the cameras cannot be too large, this article maintains the optical axis angle of the binocular camera within the range of 60°~90°.
When the distance
S between a single pile and the ship platform is determined, according to the geometric relationship, the distance
L between the cameras is
According to the system measurement indicators, the range of distance S between a single pile and the ship platform is 30 m~50 m. When the range of the binocular camera optical axis angle x is 60°~90°, the range of camera spacing L that meets the conditions is 58 m~60 m.
In summary, when the optical axes of binocular cameras satisfy the orthogonality condition, the measurement error is minimized. Therefore, under the condition of meeting the technical specifications of the measurement system, this article takes the camera spacing
L as 60 m, the camera’s optical axis angle
as 90°, and the distance
S between the hull and the single pile as 30 m as the research objective. According to the Pythagorean theorem, the distance
D between a single camera and a single pile is
4. Simulated Test
The overall structural layout of the testing experiment is shown in
Figure 12.
The dual axis inclinometer provides angle information for two axes, while the single axis inclinometer provides angle data for the third axis. When the inclinometer and protractor are fixed together with the binocular camera and the simulated ship platform, these devices form a rigid structure. The angle data output from inclinometers and angle sensors can be regarded as providing complete three-axis attitude data, which provides data support for obtaining the rotational mapping relationship between the simulated ship platform and the global coordinate system.
In order to meet the requirements of the testing experiment, the testing experiment process designed in this article is shown in
Figure 13.
Based on the technical specifications of the measurement system and the camera layout parameters determined in
Section 3.5, an experimental platform was built with an equal scale reduction of 20:1, as shown in
Figure 14. The platform mainly consists of two high-resolution industrial cameras, two 25 mm lenses, one dual axis inclinometer, one single axis angle meter, one total station, one simulated single pile, one simulated ship platform, one trailer, one GP400 checkerboard calibration board, and several ArUco code targets.
In order to better fit the actual measurement scenario, this article constrained the experimental parameters in the measurement system during the experimental process.
- (a)
Simulate a single pile
During the process of single-pile driving at sea, the pile body is fixed by a positioning platform, resulting in irrelevant interference information appearing at the bottom of the camera image, and ultimately only a portion of the pile body remains on the sea surface. Therefore, this article selects a PVC pipe with a height of 1.5 m and a diameter of 20 cm as a simulated single pile and simulates the visual interference effect of the positioning platform with a dark background at the bottom of the pile. Due to the constraint of camera field of view, the actual camera imaging shows more of the single color part of the pile, and the simulated single pile surface is designed in a uniform engineering orange color.
- (b)
The distance between binocular cameras and the angle between the camera’s optical axis
Due to the limitations of simulating ship structures, the distance between the two cameras is approximately 3 m. The cameras are fixed to the simulated ship and placed on the side of the simulated ship near the single pile. The angle between the optical axes of the two cameras is adjusted to be close to orthogonal, and the simulated single pile is ensured to be located at the intersection center of the binocular camera field of view.
- (c)
Simulate the dynamic process of ship hull
Using trailer control to simulate the lifting and movement of a ship’s body, in order to simulate the shaking of a ship’s body in the ocean. Due to the uncertain effects of sea breeze and waves on the hull, this article controls the lifting frequency and angle of the trailer within a rough range to simulate the actual dynamic process of the hull at sea as much as possible.
During the experiment, a static simulated single pile was selected as the experimental object, and the prism-free mode of the total station was used to laser dot the single pile, obtaining three-dimensional coordinate data of eight points on the same horizontal plane of the single pile. Using the principle of least squares, the cross-section of the single pile was fitted to obtain the three-dimensional coordinates of the fitted center [
18], and the three-dimensional coordinates of the centers of the top and bottom cross-sections were then determined to obtain the direction vector of the pile’s axis. The verticality information of the single pile in the global coordinate system is calculated as the standard truth value for the experiment and used to verify the accuracy of the measurement system.
4.1. Calibration Experiment of Internal Parameters of Binocular Camera
In the internal parameter calibration process of the camera, this article used a chessboard calibration board with a grid edge length of 30 mm and an internal angle point array of 11 × 8. By adjusting the distance and angle between the calibration board and the camera, 30 calibration images were collected by the left and right cameras, respectively, achieving the calibration of internal parameters of the camera. The specific process is as follows:
- (1)
Thirty images of the calibration board captured by the camera.
- (2)
Setting the array of interior corner points and the side length dimensions of the chessboard.
- (3)
Obtaining pixel coordinates of interior corners on a chessboard using corner detection algorithm.
- (4)
Solving the internal parameters of a camera without distortion.
- (5)
Using maximum likelihood estimation to improve calibration accuracy.
- (6)
Using the least squares method to solve the distortion coefficient.
- (7)
Using maximum likelihood method for overall parameter optimization.
- (8)
Solving the reprojection error.
After detecting the corner points of the chessboard calibration board, the origin of the world coordinate system is set at the first corner point in the upper left corner of the chessboard. The
component of the plane on which the chessboard is located in the world coordinate system
is always 0. The plane on which the chessboard is located moves to the right and downwards along the chessboard pattern. The world coordinates of the corner points from the upper left corner to the right and from top to bottom are (0,0,0), (30,0,0), (60,0,0), …, (300,210,0), in millimeters. The schematic diagram of chessboard corner point detection is shown in
Figure 15.
By utilizing the mapping relationship between the corner points of the calibration board in the world coordinate system and pixel coordinate system, the internal parameters of the left and right cameras were calibrated. The calibration results are shown in
Table 1.
The reprojection error can objectively evaluate the calibration accuracy of the system, and the reprojection error of the binocular camera is shown in
Table 2.
According to
Table 2, the reprojection errors of the system camera calibration are all less than 0.05 pixels, indicating that the internal parameter calibration of the camera is relatively accurate.
4.2. Calibration Experiment of External Parameters of Binocular Camera
Using a total station to establish a global coordinate system on a standard horizontal plane, the simulated ship body is kept in a stationary state. Assuming that the ship body coordinate system is consistent with the global coordinate system, the pose of the binocular camera and the total station are kept relatively stationary to complete the calibration of the external parameters of the binocular camera.
This article uses ArUco code targets with a side length of 30 cm and IDs of 0, 14, 144, and 197 on the central chessboard grid corner points for external parameter calibration of binocular cameras. The specific calibration process is as follows: four ArUco code targets with different IDs are placed in the common view of the left camera and the total station. The total station collects the three-dimensional information of the center point of the ArUco code target with a specific ID, and uses the camera to extract the corresponding pixel information of the target center point. By collecting the three-dimensional and pixel information of four different target center points, the external parameters of the left camera are calibrated. The calibration process for external parameters of the right camera is the same as that of the left camera.
The center points of the four sets of ArUco code targets extracted by the left and right cameras are shown in
Figure 16. The three-dimensional point coordinates and pixel information of the target center point extracted by the left and right cameras are shown in
Table 3 and
Table 4, respectively.
The EPnP algorithm was used to process the data in
Table 3 and
Table 4, in order to determine the pose mapping matrices from the hull coordinate system to the left and right camera coordinate systems, as shown in
Table 5.
4.3. Static Simulation Experiment for Measuring the Verticality of a Single Pile
In static simulation experiments, the simulated ship is in a stationary state, and the hull coordinate system is always consistent with the global coordinate system.
Use a total station to obtain the three-dimensional coordinates
and
of two points on the central axis of a single pile in the global coordinate system, and then obtain the three-dimensional vector information
of the single pile in the global coordinate system. Calculate the true values of the verticality
, roll angle
, and pitch angle
of the single pile.
Using measurement software to extract the central axis of a single pile from the left and right camera images, calculate the vector information
of the single pile in the global coordinate system, and calculate the verticality
, roll angle
, and pitch angle
of the single pile measured by the system.
According to the comparative analysis of the data from Equations (21) and (20), it can be concluded that the verticality error of the system is −0.1°, and the roll angle and pitch angle errors are 0.1° and −0.2°, respectively.
Change the posture of the simulated single pile and repeat the above process five times. The recorded verticality measurement results and errors of the single pile measured by the system as shown in
Table 6, and the roll angle and pitch angle measurement results and errors as shown in
Table 7.
According to the measurement results and errors of static simulation experiments, the maximum absolute error of the verticality of a single pile is 0.2°, the maximum absolute error of the roll angle is 0.3°, and the maximum absolute error of the pitch angle is 0.3°. The verticality measurement accuracy meets the requirements of the measurement technical indicators.
4.4. Dynamic Simulation Experiment for Verticality Measurement of Single Pile
This article combines the angle data provided by a dual-axis inclinometer and a single-axis inclinometer to calculate the rotation matrix from the hull coordinate system to the global coordinate system, in order to complete the experiment of simulating the dynamic process of the ship and measuring the verticality of a single pile.
4.4.1. Acquisition of Hull Coordinate System to Global Coordinate System
Simulate the initial state of the ship in a stationary state, establish a global coordinate system using a total station, and record the three-axis attitude angle output when the hull coordinate system is the same as the global coordinate system. Change the posture of the simulated ship, use a binocular camera to capture the sequence of single-pile images at this time, and record the three-axis posture angle output , where represents the i-th change in the posture of the simulated ship.
When the three-axis attitude angle outputs are all 0°, the attitude coordinate system is the reference coordinate system
. When the angle output of the three-axis attitude data is not 0°, according to Equation (6), the rotation matrix
from the attitude coordinate system to the reference coordinate system can be obtained.
The schematic diagram of the transformation from the attitude coordinate system to the reference coordinate system is shown in
Figure 17.
Without considering the translation matrix, according to the rigid body transformation, it can be concluded that
According to Equation (24), after the
i-th change in the ship’s attitude, the transformation relationship from the attitude coordinate system
to the attitude coordinate system
in the simulated ship’s initial stationary state is as follows:
Due to the fact that the dual-axis inclinometer, single-axis inclinometer, and the hull form a rigid body, the attitude coordinate system and the hull coordinate system are always in a relatively static state, and the reference coordinate system and the global coordinate system remain unchanged. Therefore, the rotation matrix from the hull coordinate system to the global coordinate system can be obtained.
4.4.2. Dynamic Simulation Experiment on Verticality Measurement of Single Pile
Place the single pile in a stationary position and use a total station to record the true verticality value
of the single pile as 83.3°, the true roll angle
and pitch angle
as −84.1° and 86.8°, respectively. Record the initial three-axis angle output
of the static simulation ship platform at this time. The rotation relationship between the attitude coordinate system
and the reference coordinate system
is known as
By changing the posture of the simulated ship and using a binocular camera to capture a sequence of single-pile images, the three-dimensional vector information of the single pile in the hull coordinate system can be calculated as
. At the same time, the three-axis angle output
is recorded. It can be seen that the rotation matrix from the attitude sensor coordinate system
to the reference coordinate system
is
Based on Equations (26) and (27), it can be concluded that the rotation matrix
from the hull coordinate system to the global coordinate system is
The three-dimensional vector
measured in the hull coordinate system is converted to the global coordinate system as follows:
If the three-dimensional vector of a single pile in the global coordinate system is known, the verticality of the single pile measured by the system is 83.6°, and the roll angle and pitch angle are −84.3° and 87.0°, respectively. When comparing it with the true value of the single-pile data measured by the total station, it can be seen that the verticality error of the system is 0.3°, and the measurement errors of roll angle and pitch angle are −0.2° and 0.2°.
According to the above process, the verticality of simulated single piles is measured in two different postures: one in which the single pile is placed almost vertically, and another in which it is placed in an arbitrary posture. Five repeated measurements were taken for the verticality of the single pile in each posture. The measurement results and errors of the verticality, roll angle, and pitch angle of the single pile measured by the system in these two postures are shown in
Table 8 and
Table 9.
According to the measurement results and errors of dynamic simulation experiments, the maximum absolute error of the verticality of a single pile is 0.4°, the maximum absolute error of the roll angle is 0.3°, and the maximum absolute error of the pitch angle is 0.3°.