High-precision measurement and automatic erection method suitable for allowance-free block of ship

By combining laser measurement and BP neural network prediction of deformation error in ship section docking technology, the problems of measurement error and attitude adjustment error are solved, and high-precision and high-quality ship section docking is achieved.

WO2024192784A1PCT designated stage expired Publication Date: 2024-09-26JIANGSU UNIV OF SCI & TECH

Patent Information

Application Number
PCT/CN2023/083576
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2023-03-24
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In the existing ship section docking technology, measurement errors, pose solution errors and attitude adjustment errors are large, resulting in low docking accuracy, and failure to effectively consider equipment installation errors and key point occlusion.

Method used

Using a method based on ship section measurement, data calculation, automatic attitude adjustment, compensation prediction and control feedback, the key point coordinates are measured by the first laser tracker and the second laser tracker, combined with the BP neural network to predict the deformation error, and use iteration The closest point ICP algorithm and the fifth-order polynomial fitting method perform precise rotation and translation matrix calculations to optimize the car's motion trajectory to achieve high-precision docking.

Benefits of technology

It improves the accuracy and quality of the docking of the ship's general section, reduces the impact of deformation and alignment of the bottom plate of the moving general section, and enhances the automation and stability of the docking process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023083576_26092024_PF_FP
    Figure CN2023083576_26092024_PF_FP
Patent Text Reader

Abstract

Disclosed in the present invention is a high-precision measurement and automatic erection method suitable for an allowance-free block of a ship, comprising: first, carrying out self-calibration on measurement devices, and measuring visible key points on block erection surfaces and the coordinate position of each trolley target ball; carrying out coarse matching on a fixed block and a movable block, obtaining an initial rotation matrix and an initial translation matrix of a key point set of each block erection surface, and obtaining a precise rotation matrix and a precise translation matrix; determining a movable block alignment manner, determining the position of each of trolleys relative to the movable block according to the coordinate position of the trolley target ball, and according to the precise rotation matrix and the precise translation matrix, obtaining a motion planning trajectory of the trolley; compensating a motion trajectory of the trolley to obtain a compensated path connection trajectory; and fusing position data of the trolley measured by two measurement devices, and feeding back and controlling the motion trajectory of the trolley. According to the method of the present invention, the automatic erection of the blocks of the ship is realized by means of self-calibration of the measurement devices, data resolution, automatic pose adjustment, compensation prediction, and control and feedback.
Need to check novelty before this filing date? Find Prior Art

Description

A high-precision measurement and automatic docking method suitable for ship's zero-margin sections Technical Field

[0001] The present invention relates to an automatic docking technology for ship sections, in particular to a high-precision measurement and automatic docking method suitable for ship sections. Background Art

[0002] In the shipbuilding industry, the docking of ship sections is directly related to the overall manufacturing level of the ship, and the quality of welding depends largely on the accuracy of the docking of ship sections. Many factors affect ship sections, of which three have the greatest impact: measurement error, position and posture solution error, and attitude adjustment error. Most patents reduce errors by proposing measurement and posture adjustment methods. For example, Chinese patent CN200810229112.9 discloses a method for docking two sections during shipbuilding. The method uses a laser theodolite to measure the coplanarity of the docking seam. However, it does not take into account the installation errors of the equipment used, the occlusion of key points in the section, and the data conversion error, which can affect the docking accuracy of the ship sections.

[0003] Summary of the Invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a high-precision measurement and automatic docking method suitable for ship sections. The method is an automatic docking method based on ship section measurement, data solution, automatic attitude adjustment, compensation prediction and control feedback.

[0005] Technical solution: The present invention provides a high-precision measurement and automatic docking method for a ship's non-residual section, comprising the following steps:

[0006] S1. Fix the fixed main section and place the mobile main section on the adjustable trolley. Set common reference points on the foundations on both sides of the fixed main section and the mobile main section, set corresponding key points on the interface between the fixed main section and the mobile main section, install measuring equipment, which includes a first laser tracker, a second laser tracker, and a laser rangefinder, calibrate the measuring equipment using the common reference points, calculate the position of the measuring equipment in the global coordinate system, use the first laser tracker to measure the coordinates of each key point, and use the second laser tracker to measure the three-degree-of-freedom moving plane position coordinates of the trolley; and convert the coordinates of each key point and the three-degree-of-freedom moving plane position coordinates of the trolley to the global coordinate system.

[0007] S2. Perform a rough match on the fixed segment and the mobile segment, and obtain the initial rotation matrix and initial translation matrix of the key point set of the fixed segment interface and the mobile segment interface, and use the iterative closest point ICP algorithm to further obtain the precise rotation matrix and precise translation matrix; including: taking the key points of the mobile segment as the center and the preset distance as the radius to draw a circle, and calculating the weight of each key point of the mobile segment according to the number of pipes in each circle; selecting three key points with the largest weight and non-collinearity to form a plane, and obtaining the center of mass of the plane; according to the concept of random combination, select three key points with the largest weight and non-collinearity other than the above combination , forming a plane, finding the center of mass of the plane, and then finding the center of mass corresponding to the key points of the moving total segment by analogy; using the same method to find the center of mass corresponding to the key points on the fixed total segment, select three pairs of center of mass on the fixed total segment and the moving total segment that correspond to each other and are not collinear, respectively establish the coordinate system of the mobile total segment interface and the coordinate system of the fixed total segment interface by the three-point alignment method, and solve the two coordinate systems to find the initial rotation matrix and the initial translation matrix, so as to achieve rough matching of the moving total segment and the fixed total segment; substitute the initial rotation matrix and the initial translation matrix into the iterative closest point ICP algorithm to solve the precise rotation matrix and the precise translation matrix;

[0008] S3. Determine the alignment method of the moving total segment. The alignment method of the moving total segment includes two stages: the first stage: adjusting the three-degree-of-freedom xyz displacement and the rotation direction around the xz direction of the moving total segment; the second stage: adjusting the y-direction displacement of the moving total segment; then, based on the three-degree-of-freedom moving plane position coordinates of the trolley in the global coordinate system obtained in step S1, determine the position of the trolley relative to the moving total segment, combine the precise rotation matrix and precise translation matrix obtained in step S2, and solve the distance that each degree of freedom of the trolley needs to move through inverse kinematics. The path docking trajectory of the trolley is planned using the fifth-order polynomial fitting method to obtain the trolley motion planning trajectory;

[0009] S4. Use a BP neural network to predict the deformation error generated at the connection between the trolley and the moving segment during the path docking adjustment process. The BP neural network is trained using historical data. The BP neural network includes an input layer, three hidden layers, and an output layer. Through training and prediction, the error values ​​of the deformation of the bottom structure of the moving segment caused by different speeds, accelerations, and weights under the same decision are obtained. Therefore, during the trolley path docking adjustment process, the distance required for each degree of freedom of the trolley obtained in step S3 to move is compensated, and the trolley motion planning trajectory in step S3 is recalculated to obtain a compensated path docking trajectory;

[0010] S5. When controlling the adjustment of the trolley, the second laser tracker measures the coordinates of the trolley target ball on each trolley, and the laser rangefinder measures the moving distance of each trolley in the three degrees of freedom direction. The data measured by the second laser tracker and the laser rangefinder are fused and processed, and the adjustment status of the trolley is fed back in real time until the actual path docking trajectory of the trolley is consistent with the path docking trajectory after compensation in step S4.

[0011] Furthermore, in step S1, target balls are respectively installed at each key point position and on the three-degree-of-freedom moving plane of the trolley, and the three-degree-of-freedom moving plane of the trolley includes the lower bottom surface, the middle surface, and the upper surface of the trolley; the first laser tracker is used to measure the coordinates of the target ball on each key point, and the second laser tracker is used to measure the coordinates of the target ball on the trolley on each degree-of-freedom moving plane of the trolley;

[0012] The number of the first laser trackers ensures that all key point target spheres can be measured, and the position of each first laser tracker ensures that the maximum number of key point target spheres can be measured;

[0013] The number of the second laser trackers ensures that the target balls on all three-degree-of-freedom moving planes of the trolley can be measured, and the position of each second laser tracker ensures that the target balls on the three-degree-of-freedom moving planes of the trolley can be measured at most.

[0014] Furthermore, the specific method of the rough matching in step S2 is:

[0015] (101) Calculate the weight of each key point on the moving segment. Draw a circle with each key point as the center and 1 / 2 of the ship's deck width as the radius. The weight w of the i-th key point on the moving segment is: i for:

[0016] Among them, M is the total number of mobile section pipelines, N i is the circle R with the i-th key point on the moving segment as the center i The number of pipes containing the center of the pipe circle, where i is the number of the i-th key point on the moving segment; the weight set of all key points on the moving segment is W = {w1,...,w N}, N is the total number of key points on the moving segment;

[0017] From the weight set of all key points on the moving segment W={w1,...,w N}, first select the three key points with the largest sum of weights and non-collinearity, connect the three points end to end to form a plane triangle, and calculate the center of mass of the triangle as g1. According to the concept of random combination, select three key points with the largest sum of weights and non-collinearity other than the above combination, connect the three points end to end to form a plane triangle, and calculate the center of mass of the triangle as g2. Similarly, use this method to calculate the center of mass of the three key points corresponding to all possible combinations of all key points on the moving segment Where H is the number of groups where three key points are collinear;

[0018] Using the same method, calculate the center of mass corresponding to the key point on the fixed segment Move the three non-collinear centroids g on the total segment j ,g k ,g l The three mass centers g′ corresponding to the fixed total segment j ,g′ k ,g l 'The three-point alignment method is used for docking and matching to achieve rough matching of the mobile segment and the fixed segment.

[0019] Furthermore, the calculation method of the precise rotation matrix and the precise translation matrix in step S2 is:

[0020] Establish the coordinate system of the joint surface of the moving total section and the coordinate system of the joint surface of the fixed total section;

[0021] g j Point is the origin of coordinates, with g j to g k The direction vector is the x-axis, construct the unit vector:

[0022] Then g j to g l The cross product of the direction vector and the x-axis direction vector determines the y-axis and constructs the y-axis unit vector:

[0023] Finally, the cross product of e1 and e2 is used to determine the direction of the z-axis, and its unit vector is: e3=e1×e2

[0024] Then the coordinate system of the moving segment docking surface is: g -e1,e2,e3;

[0025] Similarly, the coordinate system of the fixed segment docking surface is determined as: g ' - e′1,e′2,e′3;

[0026] Calculate the initial rotation matrix and initial translation matrix;

[0027] By matching the measured data using the three-point alignment method, the initial rotation transformation matrix R0 of the key point set on the mobile segment interface and the fixed segment interface is expressed as: R0 = [e′1, e′2, e′3] * [e1, e2, e3] T

[0028] According to the initial rotation matrix R0, the initial translation matrix t0 is calculated as: t0 = g j '-gj R0

[0029] Substitute the initial rotation matrix R0 and the initial translation matrix t0 into the iterative closest point ICP algorithm, and solve the precise rotation matrix R and the precise translation matrix t through iterative calculation.

[0030] Furthermore, the trajectory planning of the moving total segment path docking in step S3 adopts a step-by-step posture adjustment method, specifically:

[0031] (31) Adjust the rotation angle of the moving section around the x direction by α, so that the moving section of the ship moves to a position horizontal to the x axis, rotate the moving section around the y direction by β, so that the moving section of the ship moves to a position parallel to the y axis, rotate the moving section around the z direction by γ, so that the moving section of the ship moves to a position parallel to the z axis, and simultaneously adjust the translation amount in the x and z directions of the two degrees of freedom;

[0032] (32) When the distance between the mobile segment and the fixed segment reaches the preset distance threshold, the translation in the y direction is adjusted to avoid interference in the adjustment process of the mobile segment due to the existence of the segment pipeline, and the fifth-order polynomial trajectory method is used to plan the path docking trajectory of the trolley.

[0033] Furthermore, step S4 is specifically as follows:

[0034] (41) Using BP neural network to predict the docking error caused by plate deformation caused by different weights of each moving section of each ship type under the same acceleration and speed, under the same assembly environment, the same speed acceleration, and the same support position of the trolley on the section, the control variable is the weight of the ship's moving section. By extracting the field data, the docking error caused by different weights of the moving section is predicted, and the docking error is solved to obtain the compensation amount in the three-degree-of-freedom direction of each trolley, and the compensation amount is added to the trolley path docking trajectory planned in step S3 to adjust the trolley path docking trajectory;

[0035] (42) The weight of the moving section of the ship is controlled, and the position and assembly environment of the trolley remain unchanged, so as to predict the docking deviation of the section at different accelerations and speeds, and compensate for the three-degree-of-freedom motion trajectory of each trolley. The input layer of the BP neural network contains five neurons for selecting weight, speed, acceleration, displacement, and material properties; the hidden layer is set to 3 layers, containing multiple neurons; the output layer is set to one neuron, which is the displacement compensation amount of each trolley in each direction.

[0036] Furthermore, step S5 is specifically as follows:

[0037] The second laser tracker measures the trolley target ball set on the trolley's three-degree-of-freedom moving plane, and at the same time uses a laser rangefinder to measure the trolley's three-degree-of-freedom movement, and fuses the data measured by the second laser tracker and the laser rangefinder. When the second laser tracker is measuring a trolley target ball and an occlusion occurs, the laser rangefinder is used to supplement the data; when the trolley loses power or fails, the trolley feedback measurement device records the trolley's current position; when the trolley is powered on or contacts a fault, the trolley path docking trajectory control continues until the docking of the moving total segment and the fixed total segment is completed.

[0038] The present invention provides a high-precision measurement and automatic docking system for ship sections without margins, comprising:

[0039] The data acquisition and processing module is used to calibrate the measuring equipment according to the set public reference points and calculate the position of the measuring equipment in the global coordinate system. The measuring equipment is used to measure the coordinates of the target spheres at the key points on the interface between the fixed and mobile segments, and the position coordinates of the three-degree-of-freedom moving plane of the trolley are measured at the same time. The coordinates of the key points and the three-degree-of-freedom moving plane of the trolley are converted to the global coordinate system through the singular value decomposition method SVD;

[0040] The coarse matching and precise matching modules are used to draw circles with the key points of the moving segment as the center and the preset distance as the radius, and calculate the weights of the key points of the moving segment according to the number of pipes in each circle; sort the key points of the moving segment from small to large according to the weight, and arbitrarily select three key points with the largest weight and non-collinearity to form a plane, and calculate the center of mass of the plane; according to the concept of random combination, select the weight and the largest and non-collinear three key points other than the above combination to form a plane, and calculate the center of mass of the plane, and so on to calculate the center of mass corresponding to the key points of the moving segment; the same method is used to calculate the center of mass of the key points on the fixed segment. The centroids corresponding to the points are selected, and three pairs of corresponding centroids on the moving total segment and the fixed total segment are selected to adopt the three-point alignment method. According to the three pairs of corresponding centroids on the selected moving total segment and the fixed total segment, the coordinate system of the moving total segment interface and the coordinate system of the fixed total segment interface are established respectively. The coordinate system of the moving total segment interface and the coordinate system of the fixed total segment interface are solved to obtain the initial rotation matrix and the initial translation matrix to achieve rough matching of the moving total segment and the fixed total segment; the initial rotation matrix and the initial translation matrix are substituted into the iterative closest point ICP algorithm to solve the precise rotation matrix and the precise translation matrix to achieve precise matching;

[0041] The path docking trajectory planning module determines the position of the trolley relative to the moving segment. The moving segment alignment method includes two stages. The first stage: adjusting the three-degree-of-freedom xyz displacement and rotation around the xz direction of the moving segment; the second stage: adjusting the y-direction displacement of the moving segment; based on the obtained three-degree-of-freedom moving plane position coordinates of the trolley in the global coordinate system, as well as the obtained precise rotation matrix and precise translation matrix, inverse kinematics is used to solve the distance that the trolley needs to move in each degree of freedom. Based on this distance data, the trolley is fitted with a fifth-order polynomial method for path docking trajectory planning.

[0042] The deformation compensation module uses a BP neural network to predict the deformation error of the bottom plate of the moving section generated at the connection between the trolley and the moving section during the path docking adjustment process. The BP neural network is trained using historical data. The BP neural network consists of an input layer, three hidden layers, and an output layer. Through training and prediction, the error values ​​of deformation caused by different speeds, accelerations, and weights under the same decision are obtained. Therefore, the movement of each degree of freedom of the trolley is compensated during the trolley path docking adjustment, and the path docking trajectory after deformation compensation is obtained;

[0043] The motion feedback module is used to use the measuring equipment to measure the coordinates of the target ball in the three degrees of freedom of each trolley when controlling the adjustment of the trolley. At the same time, the measuring equipment is used to measure the plane distance moved in the three degrees of freedom of each trolley. The target ball coordinates in the three degrees of freedom of each trolley measured by the measuring equipment and the distance moved in the three degrees of freedom of each trolley are integrated and processed, and the adjustment status of the trolley is fed back in real time until the actual path docking trajectory of the trolley is consistent with the path docking trajectory after deformation compensation.

[0044] Preferably, the measuring equipment includes a first laser tracker, a second laser tracker and a laser rangefinder, and target balls are respectively installed at the key point position and on the three-degree-of-freedom moving plane of the trolley, and the three-degree-of-freedom moving plane of the trolley includes the bottom surface of the trolley, the middle surface and the upper surface; the first laser tracker is used to measure the coordinates of the target ball at each key point, and the second laser tracker is used to measure the coordinates of the trolley target ball on the trolley; the laser rangefinder is used to measure the plane movement distance of each trolley in the three-degree-of-freedom direction;

[0045] The number of the first laser trackers ensures that all key point target spheres can be measured, and the position of each first laser tracker ensures that the maximum number of key point target spheres can be measured;

[0046] The number of the second laser trackers ensures that the target balls on all three-degree-of-freedom moving planes of the trolley can be measured, and the position of each second laser tracker ensures that the target balls on the three-degree-of-freedom moving planes of the trolley can be measured at most.

[0047] A device of the present invention includes a memory and a processor, wherein:

[0048] a memory for storing computer programs capable of running on the processor;

[0049] The processor is used to execute the steps of the above-mentioned high-precision measurement and automatic docking method suitable for the total section of the ship without margin when running the computer program.

[0050] Beneficial Effects: Compared with the existing technology, the technical solution of the present invention has the following significant technical effects: To address the problem of complex ship piping, which makes alignment difficult or rarely aligned during docking, a weighting method is used to optimize the three-point alignment method, thereby making the final solved posture of the moving section more accurate. To address the problem of the easy deformation of the bottom plate of the ship's moving section in the contact area with the trolley, a BP-neural network is proposed to predict the error caused by the deformation of the bottom plate of the moving section under different conditions, thereby compensating for it during the trolley adjustment movement. This helps to reduce the impact of deformation of the bottom plate of the moving section on the alignment of the section, thereby improving the docking accuracy and quality of the two sections. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] FIG1 is a schematic flow chart of the docking method of the present invention;

[0052] FIG2 is a detailed flow chart of the docking method of the present invention;

[0053] FIG3 is a schematic diagram of a docking measurement system according to the present invention;

[0054] FIG4 is a schematic diagram of establishing various coordinate systems in the docking system of the present invention;

[0055] FIG5 is a schematic diagram showing the distribution of key points in the docking system of the present invention;

[0056] 6 is a schematic diagram showing the distribution of common reference points of the docking system of the present invention when viewed from above;

[0057] FIG7 is a schematic diagram of a weight matching method for each key point in the docking method of the present invention. DETAILED DESCRIPTION

[0058] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0059] As shown in Figures 1 and 2, the present invention is a high-precision measurement and automatic docking method suitable for ship sections. First, the first to fourth laser trackers are calibrated by measuring the common reference points on the same side as them. After the calibration is completed, the first laser tracker and the second laser tracker are used to measure the key point target balls of the two sections, and the third laser tracker and the fourth laser tracker are used to measure the trolley target balls on the four trolleys; then, according to the key point coordinates, the three-point alignment method combined with weight optimization and the ICP algorithm are used to solve the precise rotation matrix and precise translation matrix between the mobile section and the fixed section. At the same time, by measuring the trolley target balls on the four trolleys, the actual position of the trolley before movement is obtained; then the section alignment method is determined, and the theoretical requirements for the three degrees of freedom of the trolley are solved by inverse kinematics in combination with the above-mentioned precise rotation matrix, precise translation matrix and the actual position data of the trolley. The distance of movement is calculated, and then the trajectory of the trolley is planned using a fifth-order polynomial. The upper computer visualization is used to determine whether this trajectory planning will cause interference between the ship's moving section and the fixed section. If interference is caused, different path points are reselected for path planning of the trolley. If there is no interference, the BP-neural network is used to predict the error caused by the deformation of the bottom plate of the ship's moving section under different conditions, so as to solve the compensation required during the movement of the trolley, and then realize the trolley compensation through PLC control; finally, during the movement process, the laser tracker is used to measure the trolley target ball, and the laser rangefinder is used to measure the various planes of the trolley to solve the difference between the actual movement position and the theoretical movement position of the trolley, and then the movement position of the trolley is fed back, and the trolley is controlled to realize two-stage adjustment of the moving section, thereby realizing high-precision docking of the moving section.

[0060] The specific steps include:

[0061] S1. Fix the fixed total section and place the mobile total section on the adjustable trolley. Set common reference points on the foundations on both sides of the fixed total section and the mobile total section, where the common reference points are not easily deformed on the foundation. Set corresponding key points on the interface between the fixed total section and the mobile total section, install measuring equipment, which includes a first laser tracker, a second laser tracker, and a laser rangefinder. Calibrate the measuring equipment through the common reference points (i.e., use the first laser tracker, the second laser tracker, and the laser rangefinder to measure the common reference points to calibrate its own position), and calculate the position of the measuring equipment in the global coordinate system. After the measuring equipment is calibrated, use the first laser tracker to measure the coordinates of each key point on the interface between the mobile total section and the fixed total section, and use the second laser tracker to measure the actual position coordinates of the three-degree-of-freedom moving plane of each trolley before adjustment; convert the coordinates of each key point and the actual position coordinates of the three-degree-of-freedom moving plane of each trolley before adjustment to the global coordinate system.

[0062] As shown in Figure 3, among them: 1-fixed total section; 2-moving total section; 3-first laser tracker; 4-second laser tracker; 5-third laser tracker; 6-fourth laser tracker; 7-three-dimensional posture adjustment trolley; 8-trolley target ball; 9-laser rangefinder; 10-fixed support pier; 11-public reference point target ball; 12-key point target ball. The fixed section 1 is supported by four supporting piers 10, and the four supporting piers are symmetrical in pairs; the mobile section 2 is set on four three-dimensional attitude adjustment trolleys, and the four trolley three-degree-of-freedom moving planes are installed with trolley target balls for the laser tracker to measure and feedback the trolley adjustment distance, and the trolley three-degree-of-freedom moving plane includes the bottom surface, the middle surface and the upper surface of the trolley; six pairs of corresponding key point sets are set on the docking surface of the fixed section and the mobile section, and a key point target ball 12 is installed at each key point position for subsequent measurement by the first laser tracker; 8 pairs of public reference points are symmetrically provided on the foundations on both sides of the fixed section and the mobile section of the ship, and a public reference point target ball 11 is provided on each public reference point; the positions of the first and second laser trackers are set, and the positions of the first and second laser trackers should enable the laser trackers to be placed on as many key point target balls as possible; then the first and second laser trackers respectively measure the public reference point target balls on the same side as them, thereby determining the first and second laser trackers. The accurate position of the tracker at this time is used to calibrate the positions of the first and second laser trackers, and calculate the positions of the first and second laser trackers in the global coordinate system at this time. After calibration, the first and second laser trackers are used to measure the target spheres of the key points of the fixed total section and the moving total section; the third and fourth laser tracker brackets are controlled to descend, and the third and fourth laser trackers are placed in a position where they can measure the coordinates of the trolley target sphere without obstruction. These positions are fixed, and then the third and fourth laser trackers respectively measure the common reference point target sphere on the same side as them. The positions of the third and fourth laser trackers at this time are calibrated, and the positions of the third and fourth laser trackers in the global coordinate system are calculated at this time, and then the coordinates of the trolley target spheres on the four trolleys are measured; the measured target sphere coordinates of each key point of the fixed total section and the moving total section of the ship and the trolley target sphere coordinates on each trolley are converted to the global coordinate system through singular value decomposition (SVD) to obtain the coordinates of each key point target sphere and each trolley target sphere in the global coordinate system.

[0063] As shown in Figure 4, establish the global coordinate system O-XYZ, establish the fixed total section coordinate system O1-X1Y1Z1, and the mobile total section coordinate system O2-X2Y2Z2. Select the key points P1 to P6 to be measured on the fixed total section interface and the key points Q1 to Q6 on the mobile total section interface according to the design drawings and key position coordinates of the design drawings. The key points P1 to P6 correspond to Q1 to Q6 one by one. The positions and distribution of the key points are shown in Figure 5. Set 16 specific public reference points on the total section assembly foundation, and the first 8 public reference points M1 to M8 and the last 8 public reference points M9 to M10 are the same as the reference points M1 to M11. 16The position and distribution of the public reference points are relatively symmetrical about the center line of the Y1 axis of the fixed section of the ship. The position and distribution of the public reference points are shown in Figure 6. The four laser trackers are placed at stations Ⅰ to Ⅳ respectively. The first laser tracker is placed at station Ⅰ, the second laser tracker is placed at station Ⅱ, the third laser tracker is placed at station Ⅲ, and the fourth laser tracker is placed at station Ⅳ. The first laser tracker measures the public reference points M1 to M8 on the foundation. The accurate position of the first laser tracker is obtained by measuring the public reference points, and the coordinate system O3-X3Y3Z3 of the first laser tracker station Ⅰ is established. The first laser tracker placed at station Ⅰ is then used to measure the key points of the fixed section and the mobile section of the ship, and the coordinate positions of the measurable key points P1, P2, P3 of the fixed section and the measurable key points Q1, Q2, Q3 of the mobile section of the ship in the coordinate system of the first laser tracker station Ⅰ are obtained. Similarly, the second laser tracker measures the public reference points M9 to M8 by measuring the public reference points M9 to M8. 16 Measure and obtain the accurate position of the second laser tracker, establish the coordinate system O4-X4Y4Z4 of the second laser tracker station II, use the second laser tracker to measure the coordinate positions of the measurable key points P4, P5, P6 of the fixed total section of the ship and the measurable key points Q4, Q5, Q6 of the mobile total section of the ship in the coordinate system of the second laser tracker station II, and fuse and solve the coordinates of the key points of the mobile total section and the fixed total section. Use the singular value decomposition (SVD) method to transform the key point coordinates of the key points P1, P2, P3, Q1, Q2, Q3 in the coordinate system O3-X3Y3Z3 of the first laser tracker station I and the key point coordinates of the key points P4, P5, P6, Q4, Q5, Q6 in the coordinate system O4-X4Y4Z4 of the second laser tracker station II to the global coordinate system to obtain the coordinates of each key point in the global coordinate system.

[0064] Similarly, the third laser tracker and the fourth laser tracker measure the common reference points M1 to M8 and M9 to M1 on the same side of the foundation respectively. 16 By measuring the common reference point, the accurate positions of the third laser tracker and the fourth laser tracker are obtained, and the coordinate system O5-X5Y5Z5 of the third laser tracker station III and the coordinate system O6-X6Y6Z6 of the fourth laser tracker station IV are established respectively. Then, the third laser tracker and the fourth laser tracker are used to measure the actual coordinates of the trolley target ball on the trolley on the same side as them. The obtained trolley target ball coordinates are converted to the global coordinate system through the singular value decomposition (SVD) method to obtain the actual position of the trolley before movement.

[0065] S2. Perform a rough match on the fixed total segment and the mobile total segment, and obtain the initial rotation matrix and initial translation matrix of the key point set of the fixed total segment interface and the mobile total segment interface, and use the iterative closest point (ICP) algorithm to further obtain the precise rotation matrix and precise translation matrix; including: taking the key points of the fixed total segment as the center and the preset distance as the radius to draw a circle, and calculating the weight of each key point of the fixed total segment according to the number of pipelines in each circle; arbitrarily select three key points with the largest weight and non-collinearity to form a plane, and calculate the center of mass of the plane; according to the concept of random combination, select three key points with the largest weight and non-collinearity other than the above combination to form a plane, and calculate the center of mass of the plane. The center of mass of the plane is calculated, and the center of mass corresponding to the key points of the fixed section is calculated by analogy. The center of mass corresponding to the key points of the mobile section is calculated using the same method. Three pairs of corresponding and non-collinear center of mass are selected on the fixed and mobile sections. The coordinate system of the mobile section interface and the coordinate system of the fixed section interface are respectively established through the three-point alignment method. The coordinate system of the mobile section interface and the coordinate system of the fixed section interface constructed by the three-point alignment method are solved to obtain the initial rotation matrix and initial translation matrix, thus achieving a rough matching of the mobile section and the fixed section. The initial rotation matrix and initial translation matrix are substituted into the iterative closest point (ICP) algorithm to solve the precise rotation matrix and precise translation matrix. This method, based on the completion of the end-to-end docking of ships, enables more pipelines to be accurately docked, solving the problem of difficult pipeline docking and the low number of accurate dockings.

[0066] First, the measurement data in step S1 is solved. The data solution is to fit and solve the coordinates of the key points measured on the fixed and mobile sections. The fitting solution first uses a three-point alignment method to perform rough matching on the key point set measured after the docking surface of the mobile and fixed sections of the ship. The rough matching method is optimized by combining it with the pipeline docking; it includes:

[0067] (101) With the key points of the moving section as the center and the preset distance as the radius, a circle is drawn, and the weight of each key point of the fixed section is calculated according to the number of pipelines in each circle; the key points of the moving section are sorted from small to large according to the weight, and three key points with the largest weight and not collinear are selected to form a plane, and the center of mass of the plane is obtained; then, three non-collinear points with the largest weight on the moving section of the ship are selected in sequence except for the above-mentioned group of combinations, and the center of mass corresponding to the remaining key points of the moving section is obtained by analogy; the center of mass corresponding to each key point on the fixed section is obtained by the same method, and three pairs of non-collinear centers of mass corresponding to each other on the moving section and the fixed section are selected, and the coordinate system of the moving section interface and the coordinate system of the fixed section interface are respectively established by the three-point alignment method, and the coordinate system of the moving section interface and the coordinate system of the fixed section interface constructed by the three-point alignment method are solved to obtain the initial rotation matrix and the initial translation matrix, so as to achieve a rough matching of the moving section and the fixed section.

[0068] When docking a ship's main section, the accuracy of the pipe docking within the main section must be considered. Pipeline measurement is performed manually using tools such as a ruler, based on the nearest construction. The reference for ship pipeline measurement is generally the robust construction of the ship's main section docking surface. Key points for ship section measurement are generally located at the intersection of the constructions. Therefore, key point weights are introduced to better control the accuracy of pipe docking and ensure that more pipes can be docked completely. As shown in Figure 7, for ease of illustration, this embodiment uses four key points (Q1, Q2, Q4, and Q5) from the six key points of the ship's mobile main section docking surface. The same method can be applied to multiple key points with more than four key points. This method assigns weights to each key measurement point by calculating the number of pipes within each circle. The specific weighting is as follows: For Q1, a circle R1 is drawn with Q1 as the center and, preferably, a radius R of 1 / 2 the width of the fixed main section deck. The maximum radius selected must not exceed the diagonal distance of the fixed main section. Similarly, with Q2, Q4, and Q5 as the center and R as the radius, corresponding circles R2, R4, and R5 are drawn, respectively. The total number of pipelines in the moving section of the ship is M; the circle R with the i-th key point on the moving section as the center i The number of pipes containing the center of the pipe circle is N i In this embodiment, i = 1, 2, 4, 5. Then the weight w of the i-th key point on the moving segment is i for:

[0069] Among them, M is the total number of mobile section pipelines, N i is the circle R with the i-th key point on the moving segment as the center i The number of pipes containing the center of the pipe circle, where i is the number of the i-th key point on the moving segment; the weight set of all key points on the moving segment is W = {w1,...,w N}, N is the total number of key points on the moving segment.

[0070] (102) From the weight set of all key points on the moving segment W = {w1,...,w N}, first select three key points with the largest sum of weights and non-collinearity, connect the three points end to end to form a plane triangle, and calculate the center of mass of the triangle as g1. According to the concept of random combination, select three key points with the largest sum of weights and non-collinearity other than the above combination to form a plane, and calculate the center of mass g2 of the plane. Similarly, calculate the center of mass corresponding to the key points on the moving segment according to this method Where H is the number of collinear groups of key points. Randomly select three key points from N key points and use the random combination concept: Represents all combinations of three key points; then H represents the number of groups of three-point combinations that will appear collinear, and their difference is the number of all groups of three-point random combinations that are not collinear.

[0071] (103) Using the same method as above, calculate the center of mass corresponding to the key point on the fixed total segment Move the three non-collinear centroids g on the total segment j ,g k ,g l The three mass centers g corresponding to the fixed total segment j ′,g k ′,g l 'The three-point alignment method is used for docking and matching to achieve rough matching of the mobile segment and the fixed segment.

[0072] Secondly, the initial rotation transformation matrix and initial translation matrix of the key point set of the mobile segment interface and the fixed segment interface are obtained, and the precise rotation matrix and precise translation matrix are solved;

[0073] (201) Establishing a coordinate system of the joint surface of the movable segment and a coordinate system of the joint surface of the fixed segment;

[0074] g j Point is the origin of coordinates, with g j to g k The direction vector is the x-axis, construct the unit vector:

[0075] Then g j to g l The cross product of the direction vector and the x-axis direction vector determines the y-axis and constructs the y-axis unit vector:

[0076] Finally, the cross product of e1 and e2 is used to determine the direction of the z-axis, and its unit vector is: e3=e1×e2

[0077] Then the coordinate system of the moving segment docking surface is: g -e1,e2,e3;

[0078] Similarly, the coordinate system of the fixed segment docking surface is determined as: g ' - e′1,e′2,e′3;

[0079] (202) calculating an initial rotation matrix and an initial translation matrix;

[0080] By matching the measured data using the three-point alignment method, the initial rotation transformation matrix R0 of the key point set on the mobile segment interface and the fixed segment interface is expressed as: R0 = [e′1, e′2, e′3]* [ e1,e2,e3] T

[0081] According to the initial rotation matrix R0, the initial translation matrix t0 is calculated as: t0 = g j '-g j R0

[0082] The initial rotation matrix R0 and the initial translation matrix t0 are substituted into the iterative closest point (ICP) algorithm, and the precise rotation matrix R and the precise translation matrix t are solved through iterative calculation, thereby laying the foundation for ship trajectory planning.

[0083] In this embodiment, after calculating the weights of each point, the first step is to select three non-collinear key points with the largest sum of weights. These three points are connected in sequence to form a plane, and the plane's centroid is calculated as g1. Then, three non-collinear key points with the largest sum of weights, other than the aforementioned combination, are selected on the moving segment. These three points are connected in sequence to form a plane, and the plane's centroid is calculated as g2. Finally, three non-collinear key points with the largest sum of weights, other than the aforementioned two combinations, are selected on the moving segment. These three points are connected end to end to form a plane, and the plane's centroid is calculated as g3. Similarly, the three centroids corresponding to the fixed segment are: g1′, g2′, and g3′. These three pairs of centroids are used to achieve a coarse match using the three-point alignment method.

[0084] With point g1 as the coordinate origin and the direction vector from g1 to g2 as the x-axis, construct a unit vector:

[0085] Then determine the y-axis by taking the cross product of the direction vector from g1 to g3 and the x-axis direction vector, and construct the y-axis unit vector:

[0086] Finally, the cross product of e1 and e2 is used to determine the direction of the z-axis, and its unit vector is: e3=e1×e2

[0087] Then the coordinate system of the moving segment docking surface is: g -e1,e2,e3

[0088] Similarly, the coordinate system of the fixed segment docking surface is determined as: g′- e′1,e′2,e′3

[0089] The initial rotation matrix of the measurement point set of the mobile segment interface and the fixed segment interface can be expressed as: R0 = [e′1, e′2, e′3]* [ e1,e2,e3] T

[0090] According to the obtained initial rotation matrix R0, determine the initial translation matrix t0: t0 = g1'-g1R0

[0091] The initial rotation matrix R0 and the initial translation matrix t0 are solved and substituted into the iterative closest point (ICP) algorithm for iterative calculation to solve the precise rotation matrix R and the precise translation matrix t, thus laying the foundation for ship trajectory planning.

[0092] S3. First, establish the alignment method of the ship's moving section. The docking of the ship's section is different from the docking of other objects. Due to the large area, it needs to be adjusted in steps, and it is necessary to ensure that there is no interference during the docking and posture adjustment. Therefore, the docking process of the moving section is divided into two stages: the first stage is to adjust the rotation of the moving section around the three-degree-of-freedom xyz axis and the translation in the xz direction until the ship's moving section reaches the target position of the first stage; the second stage is to adjust the translation of the moving section in the y-axis direction; and finally complete the alignment of the moving section. The rotation of the moving section around x can be achieved by the coordinated movement of four carts in the yz directions. Similarly, the rotation of the moving section around y can be achieved by the coordinated movement of four carts in the xz directions. The rotation of the moving section around z can be achieved by the coordinated movement of four carts in the xy directions. The translation of the ship's section in the xyz directions can be achieved by the simultaneous translation of the four carts in the xyz directions. After determining the alignment method of the moving total segment, the actual position of the trolley before movement obtained in step S1 above is combined with the precise rotation matrix and precise translation matrix solved in step S2 above, and the distance that each degree of freedom of the trolley needs to move during the docking process of the total segment is calculated through inverse kinematics. Finally, the trajectory of the trolley is planned using the fifth-order polynomial fitting method to obtain the trolley motion planning trajectory.

[0093] The trajectory planning of the ship's mobile segment adopts a step-by-step attitude adjustment method. The first step is to adjust the rotation angle of the mobile segment around the x-direction by α, so that the ship's mobile segment moves to a position horizontal to the x-axis. The mobile segment rotates around the y-direction by β, so that the ship's mobile segment moves to a position parallel to the y-axis. The mobile segment rotates around the z-direction by γ, so that the ship's mobile segment moves to a position parallel to the z-axis. The translation of the two degrees of freedom in the x and z directions is adjusted simultaneously until the mobile segment reaches the first-stage target position. The second step is to adjust the translation of the mobile segment in the y direction. According to the actual position of the trolley target ball measured above (i.e., the actual position of the trolley before movement) and the specific alignment method of the mobile segment, inverse kinematics is used to solve the distances that the trolley needs to move in the three degrees of freedom respectively, and then the trajectory of the trolley is planned using the fifth-order polynomial trajectory fitting method. The two-stage alignment method of the mobile segment avoids interference caused by the existence of the segment pipeline. After trajectory planning is complete, the upper computer software visualization function determines whether interference will occur during the adjustment process. If interference occurs, the vehicle trajectory planning strategy is changed by reselecting different path points. If interference does not occur, the vehicle's specific trajectory is determined to be the vehicle trajectory solved by the current quintic polynomial fitting method, and the vehicle's movement is finally controlled by the PLC. The quintic polynomial fitting method solves the vehicle trajectory, making the vehicle's speed and acceleration smoother, avoiding problems such as errors caused by sudden acceleration and motor damage.

[0094] S4. After determining the planned motion trajectory of the moving section without interference, the error caused by the deformation of the bottom plate of the moving section is predicted and compensated, and the above error is compensated by adjusting the difference in the moving distance of the trolley and the motion trajectory; since the overall mass of different moving sections is different, when the trolley supports the bottom of the moving section, the different weights of moving sections will cause different degrees of deformation of the ship bottom and the trolley. The difference in acceleration and speed of the trolley adjustment will also cause slight deformation of the supporting part of the moving section during the adjustment process. The compensation of the deformation amount is achieved through the BP-neural network. First, by controlling the adjustment speed and acceleration, assembly environment, and material of the bottom plate of the moving section, the deformation data of the bottom plate of the moving section caused by the moving sections of ships with different weights are measured, recorded, and trained in large quantities. Second, by measuring, recording, and training in large quantities the deformation data of the bottom plate of the moving section caused by different adjustment speeds and accelerations provided by different types of sections, the error caused by the deformation of the bottom plate of the moving section under different factors of different ship types is obtained. The distance that the trolley that needs to compensate for the deformation of the moving section plate is output through the neural network. The error caused by the deformation of the bottom plate of the moving section of the ship is compensated by adjusting the actual motion trajectory of the trolley. The BP-neural network is trained with historical data. The BP-neural network includes an input layer, three hidden layers, and an output layer. The error values ​​of deformation caused by different speeds, accelerations, and different weights under the same decision are predicted through training, so that the movement of each degree of freedom of the trolley is compensated before the trolley motion is adjusted. The motion trajectory of the trolley in step S3 is recalculated to obtain the compensated path docking trajectory.

[0095] Specifically, a BP-neural network is used to predict the docking error caused by plate deformation caused by different weights of ship moving sections under the same acceleration and speed. Under the same environment, the same acceleration speed, and the same support position of the trolley on the section, the control variable is the weight of the ship moving section. By extracting field data, the deformation of the bottom plate caused by different weights of moving sections is predicted, thereby causing docking errors. The error is solved by the host computer software to obtain the compensation amount in the three degrees of freedom direction of each trolley. The adjustment value is added to the compensation amount during the control of the trolley movement, thereby reducing the number of alignments and making the docking of the ship section more efficient. Similarly, the weight of the ship moving section, the trolley position, and the docking environment are controlled unchanged to predict the docking deviation of the section under different accelerations and speeds. The upper computer solves the error and compensates the three-degree-of-freedom motion value of each trolley during the control of the trolley movement. This error compensation system includes a BP neural network input layer, a BP neural network hidden layer and a BP neural network output layer. The input layer contains five neurons for selecting weight, speed, acceleration, displacement, and material properties; the hidden layer is set to 3 layers, containing multiple neurons; the output layer is set to one neuron, which is the displacement compensation amount for each direction of each car.

[0096] S5. Finally, during adjustment control, a second laser tracker is used to measure the target ball of each car in the three degrees of freedom direction, and a laser rangefinder is used to measure the moving distance of each car in the three degrees of freedom direction. After the two devices measure, the measurement data are processed to control the adjustment status of the car for real-time feedback until the actual adjustment of the car is consistent with the target adjustment data, that is, the actual path docking trajectory of the car is consistent with the path docking trajectory after compensation in step S4.

[0097] Specifically, during the movement of the trolley, the laser rangefinder measures the movement distance of the trolley's three degrees of freedom planes in real time. After the mobile segment completes the first stage of adjustment, the adjustment process is paused. The third and fourth laser trackers of the segment measure the trolley target balls set on the three moving planes of the four adjustable trolleys. The data is then integrated with the data measured by the laser rangefinder, and the average value is taken to ensure the accuracy of the data. The data is compared with the theoretical distance the trolley needs to move. This difference is superimposed on the adjustment process of the second stage of the mobile segment, and then feedback is given on the trolley's movement position. The mobile segment is further adjusted to rotate around xyz and translate xz; it is determined whether the two segments have reached the first stage target position. If not, the mobile segment is readjusted to rotate around xyz and translate xz until the two segments reach the first stage target position; if so, the mobile segment is adjusted to translate in the y direction.

[0098] The trolley is controlled by a PLC. The moving section of the ship has a large mass and inertia, and the docking requirements are high. By setting a target ball at a fixed position in the direction of each degree of freedom adjustment, a laser tracker is used to measure the target ball in the direction of each degree of freedom of the trolley. A laser rangefinder is set in each degree of freedom direction of the trolley to measure the movement distance of each degree of freedom. The laser tracker measurement data and the laser rangefinder measurement data are processed. By taking the average of the two data to reduce the measurement error caused by a single measurement system, the error value between the actual movement distance of the trolley and the theoretical distance is calculated by combining the theoretical distance required for the trolley to move obtained by the low four-step method, and the movement of the trolley is fed back and guided. When the laser tracker is measuring a target ball of the trolley and the target ball is blocked, the laser rangefinder measurement data is used as a supplement to prevent the loss of measurement data, thereby enhancing the robustness of the trolley motion feedback guidance data acquisition. For each degree of freedom stroke that has not moved to the determined position, data feedback and guidance are provided.

[0099] Although laser trackers offer high accuracy, they can be obstructed during measurement. Therefore, when it's difficult to measure a specific vehicle target, data from a laser rangefinder is used to supplement the measurement, ensuring data integrity. Furthermore, in the event of a vehicle power outage or malfunction, the vehicle's feedback measurement device can record its current position. This data is then stored and analyzed by the host computer. Once the vehicle is powered on or the fault is resolved, motion control, adjustment, and testing continue until the final segment docking is complete, achieving high-precision and automated docking.

[0100] A laser rangefinder and a laser tracker are used to jointly measure and feedback the movement of the car in all directions. It can also ensure the correct feedback and recording of data in the event of occlusion, power outage, failure, etc., and it also has good robustness.

[0101] The present invention provides a high-precision measurement and automatic docking system for ship sections without margins, comprising:

[0102] The data acquisition and processing module is used to calibrate the measuring equipment according to the set public reference points and calculate the position of the measuring equipment in the global coordinate system. The measuring equipment is used to measure the coordinates of the target spheres at the key points on the interface between the fixed and mobile segments, and the position coordinates of the three-degree-of-freedom moving plane of the trolley are measured at the same time. The coordinates of the key points and the three-degree-of-freedom moving plane of the trolley are converted to the global coordinate system through the singular value decomposition method SVD;

[0103] The coarse matching and precise matching modules are used to draw circles with the key points of the moving segment as the center and the preset distance as the radius, and calculate the weights of the key points of the moving segment according to the number of pipes in each circle; sort the key points of the moving segment from small to large according to the weight, and arbitrarily select three key points with the largest weight and non-collinearity to form a plane, and calculate the center of mass of the plane; according to the concept of random combination, select the weight and the largest and non-collinear three key points other than the above combination to form a plane, and calculate the center of mass of the plane, and so on to calculate the center of mass corresponding to the key points of the moving segment; the same method is used to calculate the center of mass of the key points on the fixed segment. The centroids corresponding to the points are selected, and three pairs of corresponding centroids on the moving total segment and the fixed total segment are selected to adopt the three-point alignment method. According to the three pairs of corresponding centroids on the selected moving total segment and the fixed total segment, the coordinate system of the moving total segment interface and the coordinate system of the fixed total segment interface are established respectively. The coordinate system of the moving total segment interface and the coordinate system of the fixed total segment interface are solved to obtain the initial rotation matrix and the initial translation matrix to achieve rough matching of the moving total segment and the fixed total segment; the initial rotation matrix and the initial translation matrix are substituted into the iterative closest point ICP algorithm to solve the precise rotation matrix and the precise translation matrix to achieve precise matching;

[0104] The path docking trajectory planning module determines the position of the trolley relative to the moving segment. The moving segment alignment method includes two stages. The first stage: adjusting the three-degree-of-freedom xyz displacement and rotation around the xz direction of the moving segment; the second stage: adjusting the y-direction displacement of the moving segment; based on the obtained three-degree-of-freedom moving plane position coordinates of the trolley in the global coordinate system, as well as the obtained precise rotation matrix and precise translation matrix, inverse kinematics is used to solve the distance that the trolley needs to move in each degree of freedom. Based on this distance data, the trolley is fitted with a fifth-order polynomial method for path docking trajectory planning.

[0105] The deformation compensation module uses a BP neural network to predict the deformation error of the bottom plate of the moving section generated at the connection between the trolley and the moving section during the path docking adjustment process. The BP neural network is trained using historical data. The BP neural network consists of an input layer, three hidden layers, and an output layer. Through training and prediction, the error values ​​of deformation caused by different speeds, accelerations, and weights under the same decision are obtained. Therefore, the movement of each degree of freedom of the trolley is compensated during the trolley path docking adjustment, and the path docking trajectory after deformation compensation is obtained;

[0106] The motion feedback module is used to use the measuring equipment to measure the coordinates of the target ball in the three degrees of freedom of each trolley when controlling the adjustment of the trolley. At the same time, the measuring equipment is used to measure the plane distance moved in the three degrees of freedom of each trolley. The target ball coordinates in the three degrees of freedom of each trolley measured by the measuring equipment and the distance moved in the three degrees of freedom of each trolley are integrated and processed, and the adjustment status of the trolley is fed back in real time until the actual path docking trajectory of the trolley is consistent with the path docking trajectory after deformation compensation.

[0107] Preferably, the measuring equipment includes a first laser tracker, a second laser tracker and a laser rangefinder, and target balls are respectively installed at the key point position and on the three-degree-of-freedom moving plane of the trolley, and the three-degree-of-freedom moving plane of the trolley includes the bottom surface of the trolley, the middle surface and the upper surface; the first laser tracker is used to measure the coordinates of the target ball at each key point, and the second laser tracker is used to measure the coordinates of the trolley target ball on the trolley; the laser rangefinder is used to measure the plane movement distance of each trolley in the three-degree-of-freedom direction;

[0108] The number of the first laser trackers ensures that all key point target spheres can be measured, and the position of each first laser tracker ensures that the maximum number of key point target spheres can be measured;

[0109] The number of the second laser trackers ensures that the target balls on all three-degree-of-freedom moving planes of the trolley can be measured, and the position of each second laser tracker ensures that the target balls on the three-degree-of-freedom moving planes of the trolley can be measured at most.

[0110] A device of the present invention includes a memory and a processor, wherein:

[0111] a memory for storing computer programs capable of running on the processor;

[0112] The processor is used to execute the steps of the above-mentioned high-precision measurement and automatic docking method suitable for the total section of the ship without margin when running the computer program.

Claims

1. A high-precision measurement and automatic docking method suitable for ship's non-residue total section, characterized in that: The following steps are involved: S1. Fix the fixed section and place the mobile section on the adjustable trolley. Set common reference points on the foundations on both sides of the fixed section and the mobile section, set corresponding key points on the docking surfaces of the fixed section and the mobile section, install measuring equipment, which includes a first laser tracker, a second laser tracker and a laser rangefinder, calibrate the measuring equipment through the common reference points, calculate the position of the measuring equipment in the global coordinate system, use the first laser tracker to measure the coordinates of each key point, and use the second laser tracker to measure the position coordinates of the three-degree-of-freedom moving plane of the trolley; convert the coordinates of each key point and the position coordinates of the three-degree-of-freedom moving plane of the trolley to the global coordinate system; S2. Roughly match the fixed total section and the mobile total section, and obtain the initial rotation matrix and initial translation matrix of the key point set of the fixed total section interface and the mobile total section interface, and use the iterative closest point ICP algorithm to further obtain the precise rotation matrix and precise translation matrix; including: taking the key points of the mobile total section as the center and the preset distance as the radius to draw a circle, and calculating the weight of each key point of the mobile total section according to the number of pipelines in each circle; selecting three weights and the largest and non-collinear key points to form a plane, and obtaining the center of mass of the plane, and selecting the weights and the largest and non-collinear three key points other than the above combination according to the concept of random combination. , forming a plane, finding the center of mass of the plane, and then finding the center of mass corresponding to the key points of the moving total segment by analogy; finding the center of mass corresponding to the key points on the fixed total segment in the same way, selecting three pairs of center of mass that correspond to each other and are not collinear on the fixed total segment and the moving total segment, respectively establishing the coordinate system of the mobile total segment docking surface and the coordinate system of the fixed total segment docking surface by the three-point alignment method, and solving the two coordinate systems to find the initial rotation matrix and the initial translation matrix, and realize the rough matching of the moving total segment and the fixed total segment; substituting the initial rotation matrix and the initial translation matrix into the iterative closest point ICP algorithm to solve the precise rotation matrix and the precise translation matrix; S3, determine the alignment method of the moving total segment, which includes two stages: the first stage: adjusting the xyz displacement of the three degrees of freedom of the moving total segment and the rotation direction around the xz direction; the second stage: adjusting the y-direction displacement of the moving total segment; then, according to the three-degree-of-freedom moving plane position coordinates of the trolley in the global coordinate system obtained in step S1, determine the position of the trolley relative to the moving total segment, combine the precise rotation matrix and precise translation matrix obtained in step S2, solve the distance that each degree of freedom of the trolley needs to move through inverse kinematics, use the fifth-order polynomial fitting method to plan the path docking trajectory of the trolley, and obtain the trolley motion planning trajectory; S4, using BP neural network to predict the deformation error caused by the connection between the trolley and the mobile segment during the path docking adjustment process, the BP neural network is trained through historical data. The BP neural network includes an input layer, three hidden layers, and an output layer. Through training and prediction, the error values ​​of the deformation caused to the bottom structure of the mobile segment under different speeds, accelerations, and different weights under the same decision are obtained, so as to correct the deformation error of step S3 during the trolley path docking adjustment process. The distances required for each degree of freedom of the car are compensated, and the motion planning trajectory of the car in step S3 is recalculated to obtain the compensated path docking trajectory; S5. When controlling the adjustment of the trolley, the second laser tracker measures the coordinates of the trolley target ball on each trolley, and the laser rangefinder measures the moving distance of each trolley in the three-degree-of-freedom direction. The data measured by the second laser tracker and the laser rangefinder are fused and processed, and the adjustment status of the trolley is fed back in real time until the actual path docking trajectory of the trolley is consistent with the path docking trajectory after compensation in step S4.

2. A high-precision measurement and automatic docking method suitable for ship zero-residue total sections according to claim 1, characterized in that: In step S1, target balls are respectively installed at the positions of each key point and on the three-degree-of-freedom moving plane of the trolley, and the three-degree-of-freedom moving plane of the trolley includes the lower bottom surface, the middle surface and the upper surface of the trolley; the first laser tracker is used to measure the coordinates of the target ball on each key point, and the second laser tracker is used to measure the coordinates of the target ball on the trolley on each degree-of-freedom moving plane of the trolley; The number of the first laser trackers ensures that all key point target spheres can be measured, and the position of each first laser tracker ensures that the most key point target spheres can be measured; The number of the second laser trackers ensures that the target balls on all three-degree-of-freedom moving planes of the trolley can be measured, and the position of each second laser tracker ensures that the target balls on the most three-degree-of-freedom moving planes of the trolley can be measured.

3. A high-precision measurement and automatic docking method suitable for ship zero-residue total sections according to claim 1, characterized in that: The specific method of rough matching in step S2 is: (101) Calculate the weight of each key point on the moving segment. Draw a circle with each key point as the center and 1 / 2 of the width of the ship deck as the radius. The weight w of the i-th key point on the moving segment is: i for: Where M is the total number of mobile section pipelines, N i is the circle R with the i-th key point on the moving segment as the center i The number of pipelines containing the center of the pipeline circle, where i is the number of the i-th key point on the moving segment; the weight set of all key points on the moving segment is W = {w1,...,w N }, N is the total number of key points on the moving segment; (102) From the weight set of all key points on the moving segment W = {w1, ..., w N }, first select three key points with the largest sum of weights and non-collinearity, connect the three points end to end to form a plane triangle, and calculate the centroid of the triangle as g1. According to the concept of random combination, select three key points with the largest sum of weights and non-collinearity other than the above combination. The points are connected end to end to form a plane triangle, and the centroid of the triangle is calculated as g2. Similarly, the centroids of the three key points corresponding to all possible combinations of all key points on the moving segment are calculated in the same way. Where H is the number of groups where three key points will be collinear; (103) Using the same method, calculate the centroid corresponding to the key point on the fixed segment Move the three non-collinear centroids g on the total segment j ,g k ,g l The three mass centers g′ corresponding to the fixed total segment j ,g′ k ,g′ l The three-point alignment method is used for docking and matching to achieve rough matching of the mobile segment and the fixed segment.

4. A high-precision measurement and automatic docking method suitable for ship zero-residue total sections according to claim 3, characterized in that: The calculation method of the precise rotation matrix and the precise translation matrix in step S2 is: (201) Establishing a coordinate system of the joint surface of the movable segment and a coordinate system of the joint surface of the fixed segment; In g j Point is the origin of coordinates, with g j to g k With the direction vector as the x-axis, construct a unit vector: Then g j to g l The cross product of the direction vector and the x-axis direction vector determines the y-axis and constructs the y-axis unit vector: Finally, the cross product of e1 and e2 is used to determine the direction of the z-axis, and its unit vector is: e3=e1×e2 Then the coordinate system of the moving segment docking surface is: g -e1,e2,e3; Similarly, the coordinate system of the fixed segment joint surface is determined as: g′ -e′1,e′2,e′3; (202) calculating an initial rotation matrix and an initial translation matrix; By matching the measured data using the three-point alignment method, the initial rotation transformation matrix R0 of the key point set on the mobile segment docking surface and the fixed segment docking surface is expressed as: R0=[e′1,e′2,e′3]*[e1,e2,e3] T According to the initial rotation matrix R0, the initial translation matrix t0 is calculated as: t0=g j '-g j R0 (203) Substitute the initial rotation matrix R0 and the initial translation matrix t0 into the iterative closest point ICP algorithm, and solve the precise rotation matrix R and the precise translation matrix t through iterative calculation.

5. A high-precision measurement and automatic docking method suitable for ship zero-residue total sections according to claim 1, characterized in that: The trajectory planning of the mobile segment path docking in step S3 adopts a step-by-step posture adjustment method, specifically: (31) adjusting the rotation angle of the moving section around the x direction by α, so that the moving section of the ship moves to a position horizontal to the x-axis, rotating the moving section around the y direction by β, so that the moving section of the ship moves to a position parallel to the y-axis, rotating the moving section around the z direction by γ, so that the moving section of the ship moves to a position parallel to the z-axis, and adjusting the translation amounts in the x and z directions of the two degrees of freedom at the same time; (32) When the distance between the mobile segment and the fixed segment reaches the preset distance threshold, the translation in the y direction is adjusted to avoid interference in the adjustment process of the mobile segment due to the existence of the segment pipeline, and the fifth-order polynomial trajectory method is used to plan the trajectory of the trolley path docking.

6. A high-precision measurement and automatic docking method suitable for ship zero-residue total sections according to claim 1, characterized in that: Step S4 is specifically as follows: (41) The BP neural network is used to predict the docking error caused by the deformation of the plate caused by the same acceleration and speed for each mobile section of each ship type with different weights. Under the same assembly environment, the same speed acceleration, and the same support position of the trolley on the section, the control variable is the weight of the ship's mobile section. By extracting the field data, the docking error caused by the mobile sections of different weights is predicted, and the docking error is solved to obtain the compensation amount in the three-degree-of-freedom direction of each trolley, and the compensation amount is added to the trolley path docking trajectory planned in step S3 to adjust the trolley path docking trajectory; (42) The weight of the moving section of the ship is controlled, and the position and assembly environment of the trolley remain unchanged, so as to predict the docking deviation of the section at different accelerations and speeds, and compensate for the three-degree-of-freedom motion trajectory of each trolley. The input layer of the BP neural network contains five neurons for selecting weight, speed, acceleration, displacement, and material properties; the hidden layer is set to 3 layers, including multiple neurons; the output layer is set to one neuron, which is the displacement compensation amount of each trolley in each direction.

7. A high-precision measurement and automatic docking method for ship zero-residue sections according to claim 1, characterized in that: Step S5 is specifically as follows: The second laser tracker measures the target ball of the trolley set on the three-degree-of-freedom moving plane of the trolley. At the same time, the laser rangefinder is used to measure the motion of the three-degree-of-freedom of the trolley and the data measured by the second laser tracker and the laser rangefinder are compared. The data is integrated. When the second laser tracker measures a target ball of a certain car and there is an occlusion, the laser rangefinder is used to supplement the data. When the car loses power or fails, the car feeds back the measuring device to record the current position of the car. When the car is powered on or contacts a fault, the car path docking trajectory control continues until the docking of the mobile total section and the fixed total section is completed.

8. A high-precision measurement and automatic docking system suitable for ship's non-residue total section, characterized in that: include: The data acquisition and processing module is used to calibrate the measuring equipment according to the set common reference points, calculate the position of the measuring equipment in the global coordinate system, use the measuring equipment to measure the target ball coordinates of each key point on the interface between the fixed and mobile segments, and measure the position coordinates of the three-degree-of-freedom moving plane of the trolley at the same time, and convert the coordinates of each key point and the three-degree-of-freedom moving plane position coordinates of the trolley into the global coordinate system through the singular value decomposition method SVD; The rough matching and precise matching modules are used to draw circles with the key points of the moving total section as the center and the preset distance as the radius, and calculate the weights of the key points of the moving total section according to the number of pipelines in each circle; sort the key points of the moving total section from small to large according to the weight, and arbitrarily select three key points with the largest weight and not collinear to form a plane, and find the center of mass of the plane; according to the concept of random combination, select the weight and the largest and not collinear three key points other than the above combination to form a plane, and find the center of mass of the plane, and so on to find the center of mass corresponding to the key points of the moving total section; the key points on the fixed total section are found in the same way. The centroids corresponding to the points are selected, and three pairs of corresponding centroids on the mobile segment and the fixed segment are selected to adopt the three-point alignment method. According to the three pairs of corresponding centroids on the selected mobile segment and the fixed segment, the mobile segment docking surface coordinate system and the fixed segment docking surface coordinate system are established respectively, and the mobile segment docking surface coordinate system and the fixed segment docking surface coordinate system are solved to obtain the initial rotation matrix and the initial translation matrix to achieve rough matching of the mobile segment and the fixed segment; the initial rotation matrix and the initial translation matrix are substituted into the iterative closest point ICP algorithm to solve the precise rotation matrix and the precise translation matrix to achieve precise matching; The path docking trajectory planning module determines the position of the trolley relative to the moving segment. The moving segment alignment method includes two stages. The first stage: adjusting the three-degree-of-freedom xyz displacement and rotation around the xz direction of the moving segment; the second stage: adjusting the y-direction displacement of the moving segment; based on the three-degree-of-freedom moving plane position coordinates of the trolley in the global coordinate system, as well as the precise rotation matrix and precise translation matrix obtained, inverse kinematics is used to solve the distance that the trolley needs to move in each degree of freedom, and based on this distance data, the quintic polynomial fitting method is used to plan the path docking trajectory for the trolley. The deformation compensation module is used to use BP neural network to predict the deformation error of the bottom plate of the moving section generated at the connection between the trolley and the moving section during the path docking adjustment process. The BP neural network is trained through historical data. The BP neural network includes an input layer, three hidden layers, and an output layer. Through training and prediction, the error values ​​of deformation caused by different speeds, accelerations, and different weights under the same decision are obtained, so as to compensate for the deformation error during the trolley path docking adjustment. The movement of each degree of freedom of the car is compensated to obtain the path docking trajectory after deformation compensation; The motion feedback module is used to use the measuring equipment to measure the target ball coordinates of each trolley in the three-degree-of-freedom direction when controlling the adjustment of the trolley, and at the same time use the measuring equipment to measure the plane distance moved in the three-degree-of-freedom direction of each trolley, and fuse the target ball coordinates of each trolley in the three-degree-of-freedom direction and the moving distance data of each trolley in the three-degree-of-freedom direction measured by the measuring equipment to provide real-time feedback on the adjustment status of the trolley until the actual path docking trajectory of the trolley is consistent with the path docking trajectory after deformation compensation.

9. A high-precision measurement and automatic docking system suitable for ship's zero-residue section according to claim 8, characterized in that: The measuring equipment includes a first laser tracker, a second laser tracker and a laser rangefinder. Target balls are installed at key point positions and on the three-degree-of-freedom moving plane of the trolley respectively. The three-degree-of-freedom moving plane of the trolley includes the bottom surface, the middle surface and the upper surface of the trolley. The first laser tracker is used to measure the coordinates of the target ball at each key point, and the second laser tracker is used to measure the coordinates of the trolley target ball on the trolley. The laser rangefinder is used to measure the moving distance of each trolley in the three-degree-of-freedom direction plane. The number of the first laser trackers ensures that all key point target spheres can be measured, and the position of each first laser tracker ensures that the most key point target spheres can be measured; The number of the second laser trackers ensures that the target balls on all three-degree-of-freedom moving planes of the trolley can be measured, and the position of each second laser tracker ensures that the target balls on the most three-degree-of-freedom moving planes of the trolley can be measured.

10. A device, characterized in that: comprising a memory and a processor, wherein: A memory for storing computer programs that can be run on the processor; A processor is used to execute the steps of a high-precision measurement and automatic docking method suitable for a ship's zero-residue section as described in any one of claims 1 to 7 when running the computer program.

Citation Information

Patent Citations

  • Dual-module cooperative robot coordinated assembly system for 3C assembly and planning method

    CN111522305A

  • Flexible compliant six-degree-of-freedom positioning device for ship block butt joint

    CN112157383A

  • Monocular vision-based large rigid body component automatic integration method

    CN112381881A

  • Segmented pose detection and docking device and method for large underwater robot

    CN114379742A

  • Ship block docking system and docking method based on digital measurement field

    CN115675784A

Cited By

  • Plane CT system parameter calibration method and device under non-ideal condition

    CN118914253A

  • Laser measurement system building method for ultra-large aviation process equipment

    CN119714067A

  • Ring section displacement method

    CN119734806A

  • Motion track prediction method and device, electronic equipment and storage medium

    CN120952059A

  • Multi-point coordinate measurement method and system integrating rotary scanning angle measurement and distance measurement

    CN121252650A