Offshore jacket construction positioning method based on binocular vision target self-recognition and tracking
Through binocular visual target self-identification and tracking technology, combined with GNSS and total station, the automated and precise positioning of offshore jackets is realized, which solves the problems of high manual operation requirements and complex operations in traditional methods, and improves construction efficiency and safety.
Patent Information
- Application Number
- CN202410896220.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Traditional offshore jacket construction positioning methods have problems such as high manual operation requirements, low work efficiency and high safety risks. Especially in harsh marine environments, it is difficult to ensure measurement accuracy and safety.
An offshore jacket construction positioning method based on binocular visual target self-identification and tracking is adopted. The target pixel information is obtained through the left and right cameras. Combined with GNSS positioning and total station, a custom target recognition detection algorithm and Staple algorithm are used to track and locate the target in real time. Calculate the three-dimensional information of the target in the hull and geodetic coordinate systems to achieve precise positioning of the jacket.
Automated positioning is achieved, construction efficiency and accuracy are improved, safety risks are reduced, requirements for stable conditions of construction ships are reduced, and dangers of working at heights are avoided.
Smart Images

Figure CN118442973B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of marine engineering, and in particular relates to an offshore jacket construction positioning method based on binocular vision target self-identification and tracking. Background Art
[0002] The ocean is rich in resources, including oil, natural gas, wind energy and tidal energy. The rational development and utilization of offshore energy requires a stable platform support structure. As a common platform support structure, the offshore jacket can provide stable support and wind and wave resistance. It uses three-pile foundation, four-pile foundation, suction bucket foundation and other forms to fix itself on the seabed. This design enables the offshore jacket to remain stable in harsh marine environments, reduce platform shaking and tilting, and thus provide a safe working environment. As marine development develops towards deep water and large-scale development, offshore jackets will be increasingly adopted.
[0003] In marine development, accurate positioning during the installation and construction of the jacket is very critical, and the accuracy of positioning directly affects the installation and use of the subsequent underwater production system. The jacket is composed of hollow piles and vertical and horizontal bars connecting the piles, on which a fixed platform is overlapped. During the installation process, the jacket is prefabricated on land and then towed to the sea for installation. Generally, the jacket in shallow water is installed by vertical lifting and launching; the jacket in deep water is heavy and is installed by sliding launching; under specific conditions, the horizontal lifting and floating and righting installation method is used. During the installation and construction of the jacket, the position and heading of the jacket need to be measured in real time.
[0004] At present, the position and heading measurement of the offshore jacket during construction is mainly monitored by total station combined with GNSS positioning and orientation instrument. One way is that when the jacket is launched only a few meters away from the seabed, the positioning personnel take the equipment and board the jacket by transport boat, install the GNSS positioning and orientation instrument on the jacket, and transmit the data to the construction ship through long cables or wireless communications, which increases the working time and safety risks, resulting in higher requirements for the quality of the operators. Another way is to first use the total station to obtain the three-dimensional position of the jacket in the construction ship coordinate system, and then use the GNSS positioning and orientation instrument on the ship to convert the coordinates in the ship coordinate system to the geodetic coordinate system. The total station observation method is a relatively common method at present because its measurement principle and process are relatively simple and it is easier to control the accuracy. However, the total station can only operate under the condition that the measurement platform (construction ship) is relatively stable, and the requirements for the operation window are relatively high. At the same time, multiple people and multiple total stations are required to observe synchronously, which greatly limits the efficiency of the operation.
[0005] It can be seen that the traditional offshore jacket construction positioning method has the following shortcomings: First, the demand for manual operation is high. The current positioning method usually involves positioning personnel boarding the jacket installation equipment and then installing the GNSS positioning and orientation instrument on the jacket. This process increases working time and safety risks, and requires high quality of operators. Positioning personnel need to operate equipment in an offshore environment and need to have sufficient skills and experience to ensure safety and accuracy. In addition, since positioning personnel need to board the jacket, there is also the risk of high-altitude operation during the operation, which increases the danger and uncertainty of the operation. Secondly, the operation is complicated. The traditional total station observation method needs to be operated under relatively stable conditions of the construction ship. This requires the ship to remain relatively stable at sea, which is not always feasible in the marine environment. The weather and ocean conditions at sea may cause the ship to shake and sway, affecting the measurement accuracy of the total station. In addition, the total station observation method also requires multiple people and multiple total stations to observe synchronously, which limits the efficiency of the operation. The need to coordinate and synchronize the work of multiple devices increases the complexity and difficulty of the operation.
[0006] In summary, the traditional positioning method for offshore jacket construction has the problems of high manual operation requirements, low work efficiency and high safety risks. In view of these problems, a more efficient, accurate and safe positioning method is needed to meet the needs of offshore jacket construction. Summary of the invention
[0007] In view of the problems existing in the prior art, the present invention provides an offshore jacket construction positioning method based on binocular vision target self-recognition and tracking, which solves the problems of high manual operation requirements and complex operations existing in traditional offshore jacket construction positioning methods.
[0008] The present invention is implemented as follows: a method for positioning an offshore jacket construction based on binocular vision target self-recognition and tracking, characterized in that it includes the following steps:
[0009] S1. Prepare the left and right cameras and obtain the intrinsic parameters of the left and right cameras, and establish the left and right camera coordinate systems respectively;
[0010] S2, establishing a catheter rack coordinate system, fixing N positioning targets on the catheter rack, and determining the position offset of each positioning target in the catheter rack coordinate system;
[0011] S3. Establish the ship coordinate system, set up the GNSS positioning and orientation instrument and total station on the construction ship, determine the position offset and bow offset of the GNSS positioning and orientation instrument and total station in the ship coordinate system, and fix the left and right cameras on the side of the construction ship close to the jacket position. The camera is 30-50m away from the jacket, and the field of view angle of the left and right cameras is 70°-110°;
[0012] S4. Arrange a moving target in the common viewing angle in front of the left and right cameras, take N images of the moving target at different positions, use a total station to record the three-dimensional information of the moving target in the hull coordinate system, and obtain the rotation matrix and translation matrix from the hull coordinate system to the left and right camera coordinate systems;
[0013] S5. Use a custom target recognition and detection algorithm to extract pixel information of the positioning target on the catheter rack in the left and right cameras; and use the Staple algorithm to track the positioning target in real time;
[0014] S6. Using the least square method, the three-dimensional information of the positioning target in the hull coordinate system of the construction vessel is calculated in real time;
[0015] S7, converting the three-dimensional information of the positioning target in the hull coordinate system into the three-dimensional information in the earth coordinate system;
[0016] S8. According to the three-dimensional information and position offset of the positioning target, the real-time geodetic coordinates and heading of the jacket are obtained.
[0017] In the above technical scheme, preferably, the positioning target is an Aruco positioning target with a black and white corner point at the center; the center of the Aruco positioning target is located by Aruco positioning target detection combined with a black and white corner point recognition algorithm to obtain the center corner point position of each Aruco positioning target, the Staple algorithm is used to track the black and white center corner points of the Aruco positioning target in real time, the least squares method is used to calculate in real time the three-dimensional information of the black and white corner points at the center of the positioning target in the hull coordinate system of the construction vessel, and the three-dimensional information of the black and white corner points at the center of the positioning target in the hull coordinate system is converted into three-dimensional information in the earth coordinate system.
[0018] In the above technical solution, preferably, the intrinsic parameters of the left and right cameras are obtained respectively using the checkerboard calibration method, and the intrinsic parameter matrix of the camera is K As shown below:
[0019]
[0020] express Direction and In each direction, a pixel occupies a length unit. represents the coordinates of the camera's principal point, Represents the focal length of the camera. Let the intrinsic parameter matrices of the left and right cameras be .
[0021] In the above technical solution, preferably, 10 Aruco positioning targets are evenly distributed and fixed on each leg of the conductor frame; a conductor frame coordinate system is established with the center of the conductor frame as the coordinate origin, the main direction of the conductor frame as the longitudinal axis, and the starboard direction of the conductor frame as the horizontal axis; a hull coordinate system is established with the center of the stern as the coordinate origin, the bow direction of the construction ship as the longitudinal axis, and the starboard side of the construction ship as the horizontal axis.
[0022] In the above technical solution, preferably, images of the moving target at different positions are taken 6 times in front of the left and right cameras as data, and the direct linear transformation calibration algorithm is used to obtain the rotation matrix from the hull coordinate system to the left and right camera coordinate systems. , translation matrix ;
[0023] Assume that the position of the moving target center in the ship coordinate system is measured by the total station:
[0024] ,
[0025] The synchronous projection point of the moving target center in the camera coordinate system is:
[0026] ,
[0027] Scale Factor , solve the external rotation matrix of its camera , translation matrix ;
[0028] The process is:
[0029] ,
[0030] Arranged:
[0031] ,
[0032] In the formula, m 11 -m 34 is the relationship coefficient between the spatial coordinate system and the pixel coordinate system;
[0033] According to the linear solution equation, the rotation matrix from the hull coordinate system to the camera coordinate system is obtained , translation matrix .
[0034] In the above technical solution, preferably, the detection of the black and white corner points at the center of the positioning target uses two Gaussian kernel filters to process the image, namely, filters parallel to the image and filters at 45° to the image to process the pixels in the image, and each filter is provided with four Gaussian kernels, namely , and perform convolution on it to obtain ,in,
[0035] ,
[0036] Among them, among them, and Represent the possibility of two corner point forms of prototype i, is the summation and average of the convolution processing, is the probability of judging whether a pixel is a corner point. When it is greater than the set threshold, it is regarded as the center of the black and white corner.
[0037] In the above technical solution, preferably, 10 positioning targets are provided, and the three-dimensional information of the positioning targets in the hull coordinate system is:
[0038] ,
[0039] The following formula is obtained:
[0040] ,
[0041] Simplify the above formula to:
[0042] ,
[0043] in, A and B are all known quantities, then X The least squares solution of is:
[0044] ,
[0045] The three-dimensional coordinates of the center point of each positioning target in the hull coordinate system are obtained.
[0046] In the above technical solution, preferably, the three-dimensional information of the two positioning antenna caps GNSS1 and GNSS2 of the GNSS positioning and orientation instrument in the geodetic coordinate system is obtained in real time. , and substitute the offset of the GNSS positioning and orientation instrument in the ship coordinate system, translate and rotate through the Bursa formula, and correct the three-dimensional information of the center point of the black and white corner points of the positioning target in the ship coordinate system to the earth coordinate system;
[0047] The Bursa formula is expressed as:
[0048] ,
[0049] Further stated:
[0050] ,
[0051] in, It is known that it can be solved. is the translation matrix from the hull coordinate system to the earth coordinate system, is the rotation angle from the hull coordinate system to the geodetic coordinate system; the least square method is used to solve in real time the translation matrix and rotation angle from the hull coordinate system to the geodetic coordinate system, and the real-time coordinate data of the positioning target in the hull coordinate system in the geodetic coordinate system is obtained.
[0052] Advantages and effects
[0053] The present invention is based on the principle of binocular vision stereo imaging. The binocular camera is used to simultaneously extract the black and white pixels of the centers of 10 positioning targets on the offshore jacket. The rotation matrix and translation matrix of the binocular camera are used to accurately calculate the three-dimensional coordinates of the target center in the hull coordinate system. Subsequently, the GNSS positioning and orientation instrument is used to convert the hull coordinate system to the geodetic coordinate system in real time, and then the three-dimensional coordinates of the target center in the geodetic coordinate system are obtained, thereby realizing the precise positioning of the offshore jacket.
[0054] Through this method, the three-dimensional coordinates and heading data of the jacket can be obtained in real time and accurately, thereby guiding the installation and construction of the offshore jacket. This method uses the Aruco target ID as the target identifier, and uses the black and white center corner point recognition detection extraction algorithm and the Staple target tracking algorithm to achieve automatic and continuous determination of the target position. Compared with traditional methods, the present invention has the following advantages and effects:
[0055] 1. Automated positioning: The binocular visual target automatic recognition and tracking technology is used to realize the automated positioning of the offshore jacket. It is no longer necessary for positioning personnel to board the jacket for operation. After the measurement begins, no manual participation and post-processing calculations are required, which greatly reduces the demand for manual operation and improves construction efficiency.
[0056] 2. High precision: The black and white pixels of the target center obtained by the binocular camera, combined with the rotation matrix and translation matrix of the ship coordinate system to the binocular camera, and the precise calculation of the GNSS positioning and orientation instrument to convert the ship coordinate system to the earth coordinate system, achieve high-precision measurement of the jacket position and ensure accurate positioning of the construction.
[0057] 3. Improved work efficiency: Automated target recognition and tracking technology greatly improves the work efficiency of offshore jacket installation and construction. Compared with the traditional total station observation method, this method has lower requirements for the stability of the construction ship and does not require multiple people and multiple total stations to observe synchronously, which reduces the requirements for the operation window and improves the efficiency of the operation.
[0058] 4. Reduced safety risks: This method no longer requires positioning personnel to climb onto the conductor frame for operation, which reduces the risk of working at heights, while also reducing uncertainty in operations and improving construction safety.
[0059] In summary, the offshore jacket construction positioning method based on binocular vision target self-recognition and tracking provides a more efficient, accurate and safe positioning method for the installation and construction of offshore jackets through its advantages and effects in terms of automated positioning, improved accuracy, improved work efficiency and reduced safety risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a schematic diagram of the positioning method flow of the present invention;
[0061] Figure 2 It is a schematic diagram of the layout and distribution of the equipment and devices implemented in the present invention;
[0062] Figure 3 A schematic diagram of the connection of the positioning system equipment implemented in the present invention;
[0063] Figure 4 A perspective view of an offshore jacket with an Aruco positioning target implemented for the present invention;
[0064] Figure 5 A top view schematic diagram of an offshore jacket with an Aruco positioning target implemented in the present invention;
[0065] Figure 6 A schematic diagram of the Aruco targeting used in the present invention;
[0066] Figure 7 A schematic diagram of the central black and white corner points used in the present invention;
[0067] Figure 8 Schematic diagram of left and right camera imaging of the black and white corner points at the center of the Aruco positioning target implemented in the present invention;
[0068] Fig. 9 The diagram is a schematic diagram of the conversion from the hull coordinate system to the earth coordinate system implemented in the present invention. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0070] In order to solve the problems of high manual operation requirements and complex operation in traditional offshore jacket construction positioning methods, the present invention provides an offshore jacket construction positioning method based on binocular vision target self-recognition and tracking. This construction positioning method achieves the effects of automated positioning, high accuracy, improved work efficiency and reduced safety risks, and provides a more efficient, accurate and safe positioning solution for the installation and construction of offshore jackets.
[0071] In order to further illustrate the structure of the present invention, the detailed description is as follows in conjunction with the accompanying drawings:
[0072] See also Figure 1 and Figure 2 , an offshore jacket construction positioning method based on binocular vision target self-recognition and tracking, characterized by comprising the following steps:
[0073] S1. Prepare the left and right cameras and obtain the intrinsic parameters of the left and right cameras, and establish the left and right camera coordinate systems respectively;
[0074] S2, establishing a catheter rack coordinate system, fixing N positioning targets on the catheter rack, and determining the position offset of each positioning target in the catheter rack coordinate system;
[0075] S3. Establish the hull coordinate system, set up the GNSS positioning and orientation instrument and total station on the construction ship, determine the position offset and bow offset of the GNSS positioning and orientation instrument and total station in the hull coordinate system, and fix the left and right cameras on the side of the construction ship close to the jacket position. The camera is between 30-50m away from the jacket, and the field of view angle of the left and right cameras is between 70° and 110°;
[0076] S4. Arrange a moving target in the common viewing angle in front of the left and right cameras, take N images of the moving target at different positions, use a total station to record the three-dimensional information of the moving target in the hull coordinate system, and obtain the rotation matrix and translation matrix from the hull coordinate system to the left and right camera coordinate systems;
[0077] S5. Use a custom target recognition and detection algorithm to extract pixel information of the positioning target on the catheter rack in the left and right cameras; and use the Staple algorithm to track the positioning target in real time;
[0078] S6. Using the least square method, the three-dimensional information of the positioning target in the hull coordinate system of the construction vessel is calculated in real time;
[0079] S7, converting the three-dimensional information of the positioning target in the hull coordinate system into the three-dimensional information in the earth coordinate system;
[0080] S8. According to the three-dimensional information and position offset of the positioning target, the real-time geodetic coordinates and heading of the jacket are obtained.
[0081] Specifically,
[0082] S1. Obtain the internal parameters of the left and right cameras, that is, camera internal parameter calibration.
[0083] Camera intrinsic calibration refers to obtaining the internal parameters of the camera, including focal length, principal point coordinates, lens distortion and other parameters, by performing calibration operations on the camera. These internal parameters are inherent properties of the camera imaging process and play an important role in subsequent image processing and calculation. In this embodiment, the camera intrinsic calibration uses the checkerboard calibration method in the land calibration field to obtain the intrinsic parameters of the left and right cameras respectively, where the camera distortion coefficient is ignored.
[0084] Specifically, in the land calibration field, Zhang Zhengyou's chessboard calibration method is used to obtain the intrinsic parameters of the left and right cameras. The camera lens uses a low-distortion lens, and the camera distortion coefficient is negligible. The camera's intrinsic parameter matrix K As shown below:
[0085] ,
[0086] express Direction and In each direction, a pixel occupies a length unit. represents the principal point coordinates of the camera, Represents the focal length of the camera. Assume that the intrinsic parameter matrices of the left and right cameras are .
[0087] S2. Establish the coordinate system of the jacket: Figure 4 , Figure 5 As shown in FIG. 1 , 10 Aruco positioning targets are evenly distributed and fixed on each leg of the jacket. The IDs corresponding to the positioning targets are self-defined and coded from small to large as 1-10.
[0088] Establish a jacket coordinate system with the jacket center as the coordinate origin (0,0,0), the jacket main direction (AB direction) as the longitudinal axis, and the jacket starboard direction (1-2 direction) as the transverse axis. Use a total station and a steel ruler to accurately measure the jacket ship parameters, including length, width, height, and the three-dimensional position (also known as offset) of each positioning target center point in the jacket coordinate system.
[0089] S3. Establish the coordinate system of the ship: Figure 2As shown, the positioning antenna caps of the GNSS positioning and orientation instrument are GNSS1 and GNSS2 respectively. GNSS1 and GNSS2 are arranged at the stern and bow of the construction ship, and two cameras and a prismless total station are fixedly installed on one side close to the jacket mounting position. The distance between the two cameras and the jacket mounting position is 30-50m, and the field of view angle of the left and right cameras is between 70° and 110°.
[0090] Establish a hull coordinate system with the center of the stern of the construction ship as the coordinate origin (0,0,0), the bow direction of the construction ship as the longitudinal axis, and the starboard side of the ship as the transverse axis. Use a total station and a steel ruler to accurately measure the ship's ship parameters, including the length and width of the ship, and the position of the positioning antenna cap GNSS1, GNSS2 and the total station in the hull coordinate system (also known as the offset).
[0091] S4. Calibration of camera coordinate system and ship coordinate system: Figure 2 As shown in the figure, within the common viewing angle directly in front of the left and right cameras, 6 different positions are designed, and a mobile target is arranged and fixed at the above positions in turn. The lateral distribution range of the 6 different positions should be no less than 20m, and the longitudinal distribution range should be no less than 10m. The position of the total station in the hull coordinate system is input into the total station, and its angle is set to be consistent with the bow direction of the ship. The accuracy of the total station is checked by measuring the positions of the GNSS1 and GNSS2 of the positioning antenna cap. When the water surface is relatively calm and the hull shaking can be ignored, the total station and the left and right cameras are used to synchronously measure the center position of the mobile target for more than 6 times to realize the calibration of the camera coordinate system and the hull coordinate system. Six sets of data are selected, and the direct linear transformation calibration algorithm (Direct Linear Transformation, DTL) is used to obtain the rotation matrix R and translation matrix T from the hull coordinate system to the left and right camera coordinate systems.
[0092] Assume that the position of the moving target center in the ship coordinate system is measured by a reflectorless total station:
[0093] ,
[0094] The synchronous projection point of the moving target center in the camera coordinate system is:
[0095] ,
[0096] Scale Factor , solve the external parameter matrix of its camera , .
[0097] The process is as follows:
[0098]
[0099] Further sorting can be obtained:
[0100] ,
[0101] Right now:
[0102] ,
[0103] In the formula, m 11 -m 34 is the relationship coefficient between the spatial coordinate system and the pixel coordinate system.
[0104] There are 6 groups of equations in total. According to the linear solution equation, the rotation matrix from the hull coordinate system to the camera coordinate system can be obtained: With the translation matrix .
[0105] Assume that the rotation matrices from the hull coordinate system to the left and right camera coordinate systems are , the translation matrices are .
[0106] make
[0107] ,
[0108] ,
[0109] After calibration, the pixel coordinates measured by the binocular camera are output as the hull coordinate system.
[0110] S5. Automatic identification, extraction and tracking of positioning target corner points: After the offshore jacket is hoisted or slid into the water, the righting operation is performed. When the positioning target on the jacket enters the field of view of the binocular camera, a custom target recognition and detection algorithm is used to extract the pixel information of the positioning target on the jacket in the left and right cameras. The custom target recognition and detection algorithm is a currently known computer vision technology based on deep learning, which is used to identify and detect specific custom targets or targets in images or videos. Through the Aruco target detection combined with the black and white corner point recognition algorithm, the center of the target is accurately located, and the center corner point position of each target is accurately obtained. The Staple algorithm is used to track each Aruco target identified in the first frame in real time, and only the black and white center corner points inside the tracked Aruco target are detected, avoiding the time waste caused by detecting the corner points of the entire image.
[0111] like Figure 6As shown in the figure, the Aruco target is a square with a black background. The white pattern inside the square is used to indicate the uniqueness of the mark and store some information. The black border of Aruco is conducive to the detection of graphic marks. Since different Aruco codes have unique IDs, different Aruco codes can be used as target-specific identifiers. Considering the impact of the target size, the Aruco code with a predefined dictionary specification of 4*4 is selected as the target identifier.
[0112] For each successful detection of the target, the four corner points of the target are detected in the order of upper left, upper right, lower right and lower left, and the Aruco diagonal intersection pixel is used as the target center point position. However, when the target is curved or wrinkled, it is difficult to obtain the precise coordinates of the target center point. In order to solve this problem, the Aruco target used in the present invention selects a target whose central corner point is a black and white corner point, such as Figure 7 As shown, by further extracting the target center using the black and white corner point extraction algorithm, accurate pixel information of the target center corner point can be obtained.
[0113] The detection of black and white corners in the center of the positioning target uses two Gaussian kernel filters to process the image, one is parallel to the image and the other is at 45 degrees to the image. Each filter has four Gaussian kernels, which are , and perform convolution on it to obtain .in:
[0114] ,
[0115] in, and Represent the possibility of two corner point forms of prototype i, is the summation and average of the convolution processing, is the probability of judging whether a pixel is a corner point. When it is greater than the set threshold, it is regarded as the center of the black and white corner point. When the distance between the pixel at the center of the corner point and the pixel at the intersection of the Aruco diagonal is the shortest, it is regarded as the three-dimensional positioning point of the target. Considering the camera viewing angle, pixel and camera lens focal length, the pixels selected in this way meet the requirements of camera pixel extraction.
[0116] By extracting the ID of the Aruco target and the location of the central black and white corner points, the target identification can be customized and the central black and white corner points can be accurately extracted. Assume that the pixels of the same black and white center point extracted by the left and right cameras are:
[0117] .
[0118] The Staple algorithm is based on the HOG template gradient feature to describe the target appearance and the color histogram to describe the target color attribute. By fusing these two features, it can adapt to different tracking environments and track 10 targets at the same time. The formula steps are as follows:
[0119]
[0120]
[0121]
[0122] Among them, among them, Describes the function for the target template, is the target color description function, R(x) is the overall description function of the target, is the set of pixels in the template window, Is the template in position The weight of is in position gradient characteristics. It’s the color The frequency in the target model histogram, is in position Colors in the color histogram probability. is a weight parameter used to balance the two features.
[0123] S6, real-time calculation of the three-dimensional information of the positioning target in the hull coordinate system: Figure 8 As shown, the three-dimensional information of the 10 positioning target points in the ship coordinate system is , we can get the following formula:
[0124] ,
[0125] The above formula can be simplified as:
[0126] ,
[0127] in, A and B All of them can be calculated. If they are known quantities, then X The least squares solution of is:
[0128] ,
[0129] What is calculated is the three-dimensional coordinates of the center points of each positioning target in the hull coordinate system.
[0130] S7. Convert the hull coordinates of the positioning target into geodetic coordinates: Figure 3 As shown, all devices are correctly connected to obtain the three-dimensional information of the positioning antenna cap GNSS1 and GNSS2 in the real geodetic coordinate system in real time. , and substitute the offsets of GNSS1 and GNSS2 in the ship coordinate system, translate and rotate through the Bursa formula, and correct the three-dimensional information of the center point of the black and white corner points of the positioning target in the ship coordinate system to the earth coordinate system.
[0131] like Fig. 9 As shown, the Bursa formula is expressed as:
[0132] ,
[0133] Further stated:
[0134] ,
[0135] in, It is known that it can be solved. is the translation matrix from the hull coordinate system to the earth coordinate system, is the rotation angle from the ship coordinate system to the earth coordinate system.
[0136] The least squares method can be used to solve the translation matrix and rotation angle from the hull coordinate system to the geodetic coordinate system in real time, and then the real-time coordinate data of the target point in the hull coordinate system in the geodetic coordinate system can be obtained.
[0137] S8. Real-time calculation of the position and heading data of the jacket to guide the construction and installation operations: Based on the position offsets of the 10 targets in the jacket coordinate system and their respective geodetic coordinates, multiple sets of geodetic coordinates of the jacket center points and the jacket main direction (i.e., heading) can be calculated. After eliminating gross errors, the average value of multiple sets of data is calculated as the current position and heading data of the jacket, and the position and azimuth deviation values from the design requirements are calculated, and the construction commander is informed to adjust the position and azimuth. If the jacket position and azimuth are within the design deviation range during the tracking measurement process, the jacket will be slowly lowered until the jacket is lowered to the seabed.
[0138] Features and beneficial effects of the present invention: Based on the principle of binocular vision stereo imaging, the present invention can simultaneously extract the black and white pixels of the centers of 10 positioning targets on the offshore jacket at a time, and use the rotation matrix and translation matrix from the hull coordinate system to the binocular camera to obtain the three-dimensional coordinates of the target center in the hull coordinate system. Then, the GNSS positioning and orientation instrument is used to convert the hull coordinate system to the earth coordinate system in real time, and then the three-dimensional coordinates of the target center in the earth coordinate system are obtained. Finally, the position offsets of the 10 target centers on the jacket are used to calculate the current three-dimensional coordinates and heading data of the jacket, which are used to guide the installation and construction of the offshore jacket.
[0139] This method uses Aruco target ID as target identification, black and white center corner extraction and Staple algorithm target tracking to automatically obtain the three-dimensional position of the target in the geodetic coordinate system, greatly improving the work efficiency and detection accuracy of offshore jacket installation and construction, and reducing safety risks.
[0140] 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 and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for positioning offshore jacket construction based on binocular vision target self-recognition and tracking, characterized in that The following steps are involved: S1. Prepare the left and right cameras and obtain the intrinsic parameters of the left and right cameras, and establish the left and right camera coordinate systems respectively; S2, establishing a catheter rack coordinate system, fixing N positioning targets on the catheter rack, and determining the position offset of each positioning target in the catheter rack coordinate system; S3. Establish the hull coordinate system, set up the GNSS positioning and orientation instrument and total station on the construction ship, determine the position offset and bow offset of the GNSS positioning and orientation instrument and total station in the hull coordinate system, and fix the left and right cameras on the side of the construction ship close to the jacket position. The camera is 30-50m away from the jacket, and the field of view angle of the left and right cameras is 70°-110°; S4. Arrange a moving target in the common viewing angle in front of the left and right cameras, take N images of the moving target at different positions, use a total station to record the three-dimensional information of the moving target in the hull coordinate system, and obtain the rotation matrix and translation matrix from the hull coordinate system to the left and right camera coordinate systems; S5. Using a custom target recognition and detection algorithm, extract pixel information of the positioning target located on the catheter rack in the left and right cameras; And use the Staple algorithm to track and locate the target in real time; S6. Using the least square method, the three-dimensional information of the positioning target in the hull coordinate system of the construction vessel is calculated in real time; S7, converting the three-dimensional information of the positioning target in the hull coordinate system into the three-dimensional information in the earth coordinate system: Real-time acquisition of the three-dimensional information of the two positioning antenna caps GNSS1 and GNSS2 of the GNSS positioning and orientation instrument in the geodetic coordinate system , and substitute the offset of the GNSS positioning and orientation instrument in the ship coordinate system, translate and rotate through the Bursa formula, and correct the three-dimensional information of the center point of the black and white corner points of the positioning target in the ship coordinate system to the earth coordinate system; The Bursa formula is expressed as: , Further stated: , in, It is known that it can be solved. is the translation matrix from the hull coordinate system to the earth coordinate system, is the rotation angle from the hull coordinate system to the earth coordinate system; the least square method is used to solve the translation matrix and rotation angle from the hull coordinate system to the earth coordinate system in real time, and the real-time coordinate data of the positioning target in the hull coordinate system in the earth coordinate system is obtained; S8. According to the three-dimensional information and position offset of the positioning target, the real-time geodetic coordinates and heading of the jacket are obtained.
2. The offshore jacket construction positioning method based on binocular vision target self-recognition and tracking according to claim 1 is characterized in that: The positioning target is an Aruco positioning target with a black and white corner point at its center. The center of the Aruco positioning target is located by Aruco positioning target detection combined with a black and white corner point recognition algorithm to obtain the center corner point position of each Aruco positioning target. The Staple algorithm is used to track the black and white center corner points of the Aruco positioning target in real time. The least squares method is used to calculate in real time the three-dimensional information of the black and white corner points at the center of the positioning target in the hull coordinate system of the construction vessel, and the three-dimensional information of the black and white corner points at the center of the positioning target in the hull coordinate system is converted into three-dimensional information in the earth coordinate system.
3. The offshore jacket construction positioning method based on binocular vision target self-recognition and tracking according to claim 1 is characterized in that: Use the checkerboard calibration method to obtain the intrinsic parameters of the left and right cameras respectively, and the intrinsic parameter matrix of the camera K As shown below: express Direction and In each direction, a pixel occupies a length unit. represents the principal point coordinates of the camera, Represents the focal length of the camera. Let the intrinsic parameter matrices of the left and right cameras be .
4. The offshore jacket construction positioning method based on binocular vision target self-recognition and tracking according to claim 2 is characterized in that: The 10 Aruco positioning targets are evenly distributed and fixed on each leg of the jacket. A jacket coordinate system is established with the jacket center as the origin, the jacket main direction as the longitudinal axis, and the jacket starboard direction as the transverse axis. A hull coordinate system is established with the stern center as the origin, the bow direction of the construction ship as the longitudinal axis, and the starboard side of the construction ship as the transverse axis.
5. The offshore jacket construction positioning method based on binocular vision target self-recognition and tracking according to claim 2 is characterized in that: The images of the moving target at different positions are taken 6 times in front of the left and right cameras as data, and the direct linear transformation calibration algorithm is used to obtain the rotation matrix from the hull coordinate system to the left and right camera coordinate systems. , translation matrix ; Assume that the position of the moving target center in the ship coordinate system is measured by the total station: , The synchronous projection point of the moving target center in the camera coordinate system is: , Scale Factor , solve the external rotation matrix of its camera , translation matrix ; The process is: , Arranged: , In the formula, m 11 -m 34 is the relationship coefficient between the spatial coordinate system and the pixel coordinate system. The rotation matrix from the hull coordinate system to the camera coordinate system is obtained by linear solution equation. , translation matrix .
6. The offshore jacket construction positioning method based on binocular vision target self-recognition and tracking according to claim 2 is characterized in that: The detection of the black and white corner points at the center of the positioning target uses two Gaussian kernel filters to process the image, namely, filters parallel to the image and filters at 45° to the image to process the pixels in the image. Each filter has four Gaussian kernels, which are , and perform convolution on it to obtain ,in, , in, and Represent the possibility of two corner point forms of prototype i, is the summation and average of the convolution processing, is the probability of judging whether a pixel is a corner point. When it is greater than the set threshold, it is regarded as the center of the black and white corner.
7. The offshore jacket construction positioning method based on binocular vision target self-recognition and tracking according to claim 6 is characterized in that: There are 10 positioning targets, and the three-dimensional information of the positioning targets in the hull coordinate system is: , The following formula is obtained: , Simplify the above formula to: , in, A and B are all known quantities, then X The least squares solution of is: , The three-dimensional coordinates of the center point of each positioning target in the hull coordinate system are obtained.
