A kind of bed positioning data checking method, system, equipment and storage medium
By constructing an observation coordinate system and calculating the transformation matrix, the positioning data of the double oblique cut frame was quickly verified using SPD software, which solved the problem of difficulty in manual verification and realized rapid and simple verification and accurate judgment of the frame data.
Patent Information
- Application Number
- CN202310141549.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-02-20
AI Technical Summary
The calculation results of double-slant frame are difficult to verify manually, and the use of CATIA software requires hull data, which is usually not available for ships built by SPD, making the verification process cumbersome and unsuitable for large-scale application.
By acquiring the segmented jig diagrams, cross-sectional jig layout diagrams, and hull rib profile diagrams of the hull jig, an observation coordinate system is constructed and the transformation matrix is calculated. The correctness of the jig positioning data is then quickly verified using data generated by SPD software.
It simplifies the design process, allows for quick and easy verification of the accuracy of the jig data, and provides an accurate basis for subsequent work arrangements and decisions.
Smart Images

Figure CN116011120B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data checking, and particularly relates to a jig positioning data checking method and system, a computer device and a readable storage medium. BACKGROUND
[0002] SPD software is core and key software in ship design and construction, and the design of the hull block jig can also use SPD software.
[0003] Since the double-beveling jig base surface is transformed twice and has transverse inclination and longitudinal inclination, it is very difficult to manually check the jig data of the hull surface, and a commonly used way is to check it through CATIA. However, the precondition for checking by using CATIA software is to have corresponding hull data, and the ship built by SPD usually does not have a CATIA hull model. Even if it is checked by CATIA, the required time is relatively long, the design process is relatively cumbersome, and it is not suitable for large-scale use.
[0004] The plate positioning data is the positioning data of the hull plate in the jig, and has important reference significance. If the plate positioning data is correct, the entire jig positioning data is also basically correct, and the jig can be used for construction. If the plate positioning data is incorrect, the related jig pile height value in the local area containing the incorrect positioning point is also incorrect, so the calculation of the jig is incorrect, and the jig cannot be used for construction.
[0005] Therefore, by checking the plate positioning data, it can be quickly and simply judged whether the jig positioning data is correct, and accurate basis is provided for subsequent work arrangement and decision-making. SUMMARY
[0006] The present application provides a jig positioning data checking method, system, computer device and readable storage medium, to solve the technical problem of difficulty in manual checking of double-beveling jig calculation results, and to realize quick and simple judgment of the correctness of the jig data.
[0007] To solve the above technical problems, in a first aspect, the present application provides a jig positioning checking method, which comprises:
[0008] obtaining a block jig diagram, a transverse section jig arrangement diagram and a hull frame line diagram of a hull jig;
[0009] aligning and coinciding the plate joint lines and the rib lines corresponding to the transverse section jig arrangement drawing and the hull rib lines drawing, obtaining coordinates of the transverse section jig arrangement drawing in the hull coordinate system, and randomly selecting a first feature point, a second feature point and a third feature point which are not collinear on the jig base surface of the transverse section jig arrangement drawing, and constructing a plane equation of the jig base surface according to the coordinates of the first feature point, the second feature point and the third feature point in the hull coordinate system;
[0010] selecting a staking line passing through all the rib lines on the transverse section jig arrangement drawing, taking a projection line of the staking line on the jig base surface as an X axis, taking a projection point of an intersection of the staking line and a middle rib line on the jig base surface as an origin, determining a Z axis according to the origin and the intersection, determining a Y axis according to a right-hand rule, and establishing and determining an observation coordinate system according to the plane equation of the jig base surface;
[0011] calculating a transformation matrix of the hull coordinate system and the observation coordinate system;
[0012] extracting coordinates of each outer plate piece vertex in the hull coordinate system according to the segmented jig drawing, the transverse section jig arrangement drawing and the hull rib lines drawing, and obtaining coordinates of each outer plate piece vertex in the observation coordinate system according to the transformation matrix;
[0013] taking the coordinates of each outer plate piece vertex in the observation coordinate system as checking data to calculate error values of coordinates of each outer plate piece vertex in the segmented jig drawing, and if an absolute value of the error values is not greater than a threshold value, the jig positioning data checking of the segmented jig drawing is passed; otherwise, the checking is failed.
[0014] In further embodiments, the segmented jig drawing, the transverse section jig arrangement drawing and the hull rib lines drawing are all generated by an SPD software design.
[0015] In further embodiments, the randomly selecting a first feature point, a second feature point and a third feature point which are not collinear on the jig base surface of the transverse section jig arrangement drawing comprises:
[0016] on the transverse section jig arrangement drawing, setting an intersection line of a bow fairwater and the jig base surface as a first positioning line of the jig base surface, and setting an intersection line of a stern fairwater and the jig base surface as a second positioning line of the jig base surface;
[0017] selecting a staking line passing through all the rib lines, and taking an intersection of the second positioning line and the staking line as the first feature point;
[0018] taking an intersection of the second positioning line and an outermost staking line on one side as the second feature point;
[0019] The intersection of the first positioning line and the outermost chock line on the other side is the third feature point. The first feature point, the second feature point and the third feature point are selected on the base surface of the cross-sectional jig layout, including:
[0020] On the cross-sectional jig layout, the intersection line of the bow merging port and the base surface is set as the first positioning line of the base surface, and the intersection line of the stern merging port and the base surface is set as the second positioning line of the base surface.
[0021] The chock line passing through all the frame lines is selected, and the intersection of the second positioning line and the chock line passing through all the frame lines is the first feature point.
[0022] The intersection of the second positioning line and the outermost chock line on one side is the second feature point.
[0023] The intersection of the first positioning line and the outermost chock line on the other side is the third feature point.
[0024] In further embodiments, a plane equation of the base surface of the jig is constructed according to the coordinates of the first feature point, the second feature point and the third feature point in the ship coordinate system, including:
[0025] The plane equation of the base surface of the jig is established: ax+by+cz+d=0.
[0026] The coordinates of the first feature point, the second feature point and the third feature point in the ship coordinate system are substituted into the plane equation to obtain the coefficients a, b, c and d of the plane equation.
[0027] In further embodiments, the observation coordinate system is established and determined according to the plane equation of the base surface of the jig, including:
[0028] Jo represents the intersection of the chock line passing through all the frame lines and the intermediate frame line, and the coordinates (Jox, Joy, Joz) of Jo in the ship coordinate system are read;
[0029] Bo (Box, Boy, Boz) represents the origin of the observation coordinate system, and the coordinates of Bo in the ship coordinate system are calculated by the following formula:
[0030] Box= ((b 2 +c 2 )Jox-a(bJoy+cJoz+d)) / (a 2 +b 2 +c 2 );
[0031] Boy= ((a 2 +c 2)Joy-b(aJoz+d)) / (a 2 +b 2 +c 2 );
[0032] Boz=((a 2 +b 2 )Joz-c(aJox+bJoy+d)) / (a 2 +b 2 +c 2 )。
[0033] In further embodiments, the calculating the transformation matrix of the ship body coordinate system and the observation coordinate system comprises:
[0034] translating the ship body coordinate system so that the origin of the ship body coordinate system coincides with the origin of the observation coordinate system, and obtaining a translation transformation matrix through an arithmetic operation;
[0035] rotating the ship body coordinate system so that the coordinate axes of the ship body coordinate system coincide with the coordinate axes of the observation coordinate system, and obtaining a rotation transformation matrix through a linear transformation operation;
[0036] representing the translation transformation matrix and the rotation transformation matrix in homogeneous coordinates to obtain the transformation matrix of the ship body coordinate system and the observation coordinate system.
[0037] In further embodiments, the obtaining the coordinates of each outer plate piece vertex in the observation coordinate system according to the transformation matrix comprises:
[0038] multiplying the coordinates of each outer plate piece vertex in the ship body coordinate system by the transformation matrix to obtain the coordinates of each outer plate piece vertex in the observation coordinate system.
[0039] In a second aspect, an embodiment of the present application provides a jig positioning data checking system, which comprises:
[0040] an acquisition unit configured to acquire a segmented jig drawing, a transverse section jig arrangement drawing and a ship body frame line drawing of a ship body jig;
[0041] a first calculation unit configured to align and coincide the plate joint line and the frame line corresponding to the transverse section jig arrangement drawing and the ship body frame line drawing, to obtain the coordinates of the transverse section jig arrangement drawing in a ship body coordinate system, and to randomly select a first feature point, a second feature point and a third feature point that are not collinear on a jig base surface of the transverse section jig arrangement drawing, and to construct a plane equation of the jig base surface according to the coordinates of the first feature point, the second feature point and the third feature point in the ship body coordinate system;
[0042] An observation coordinate system construction unit is configured to select a projection line of a lofting line passing through all frame lines as an X axis on the cross-sectional lofting layout, set a projection point of an intersection of the lofting line passing through all frame lines and a middle frame line on a lofting base surface as an origin, determine a Z axis according to the origin and the intersection, determine a Y axis according to a right-hand rule, and establish and determine an observation coordinate system according to a plane equation of the lofting base surface;
[0043] A second calculation unit is configured to calculate a transformation matrix of the ship coordinate system and the observation coordinate system;
[0044] A third calculation unit is configured to extract coordinates of each outer plate piece vertex in the ship coordinate system according to the segmented lofting layout, the cross-sectional lofting layout and the ship frame line plan, and obtain coordinates of each outer plate piece vertex in the observation coordinate system according to the transformation matrix;
[0045] A checking unit is configured to take the coordinates of each outer plate piece vertex in the observation coordinate system as checking data to calculate an error value of coordinates of each outer plate piece vertex in the segmented lofting layout, and if an absolute value of the error value is not greater than a threshold value, the segmented lofting layout passes the checking; otherwise, the segmented lofting layout fails the checking.
[0046] In a third aspect, an embodiment of the present application further provides a computer device, characterized in that: the computer device comprises a memory, a processor and a transceiver which are connected through a bus; the memory is configured to store a set of computer program instructions and data, and can transmit the stored data to the processor; the processor can execute the program instructions stored in the memory to execute the method in the above claims.
[0047] In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, characterized in that: the computer readable storage medium stores a computer program, and when the computer program is executed, the method in the above claims is implemented.
[0048] The embodiment of the present application provides a kind of jig positioning data checking method, system, computer device and computer storage medium.The plate joint line and the rib line corresponding to the transverse jig layout and the ship body rib line drawing are aligned and coincided, the coordinate of transverse jig layout in ship body coordinate system is obtained, and three feature points not collinear are selected on the jig base surface of transverse jig layout, and the plane equation of jig base surface is calculated according to the three feature points.The projection line of stake line passing through all rib lines on the jig base surface is selected as X axis on the transverse jig layout, the projection point of the intersection of stake line passing through all rib lines and middle rib line on the jig base surface is set as origin, Z axis is determined according to origin and intersection, Y axis is determined according to right-hand rule, observation coordinate system is established, the transformation matrix of ship body coordinate system and observation coordinate system is calculated, the coordinate of each outer plate piece vertex in the observation coordinate system is calculated, which is used as checking data, the error value of each outer plate piece vertex coordinate in the section jig drawing is judged, and the jig positioning data of section jig drawing is checked according to the error value.The technical scheme of the present application simplifies the design procedure and design difficulty, quickly and simply judges whether jig data is correct, and provides accurate basis for subsequent work arrangement and decision. BRIEF DESCRIPTION OF DRAWINGS
[0049] Figure 1 It is a kind of jig positioning data checking method provided by the embodiment of the present application;
[0050] Figure 2 It is the section jig drawing of certain ship 802 provided by the embodiment of the present application;
[0051] Figure 3 It is the transverse jig layout provided by the embodiment of the present application;
[0052] Figure 4 It is the synthesis diagram of "transverse jig layout" and "ship body rib line drawing" provided by the embodiment of the present application;
[0053] Figure 5 It is the selection method schematic diagram of first feature point, second feature point and third feature point provided by the embodiment of the present application;
[0054] Figure 6 It is the schematic diagram of ship body coordinate system A and observation coordinate system B provided by the embodiment of the present application;
[0055] Figure 7 It is the transformation matrix calculation method schematic diagram of ship body coordinate system A and observation coordinate system B provided by the embodiment of the present application;
[0056] Figure 8 It is a kind of jig positioning data checking system provided by the embodiment of the present application;
[0057] Figure 9is a schematic diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0058] The embodiments of the present application are described below in detail with reference to the drawings. The embodiments are given only for illustrative purposes and should not be construed as limiting the present application. The accompanying drawings are used for reference and illustration only and should not be construed as limiting the scope of patent protection of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0059] Please refer to Figure 1 In an embodiment of the present application, a method for checking positioning data of a frame, the method comprises the following steps S1-S6, and the steps are as follows: Figure 2 The technical solutions are described in detail by taking a ship 802 section frame drawing as an example. The ship 802 section includes 802A and 802B plate pieces:
[0060] S1, obtaining a section frame drawing, a transverse section frame arrangement drawing and a hull frame line drawing of a hull frame.
[0061] In an embodiment of the present application, the section frame drawing and the transverse section frame arrangement drawing are generated by SPD software design, wherein Figure 2 is a section frame drawing, Figure 3 is a transverse section frame arrangement drawing. The hull frame line drawing can be generated by SPD software design or other design software. In an embodiment of the present application, the hull frame line drawing generated by SPD software design is taken as an example for description.
[0062] S2, aligning and coinciding the plate joint line and the frame line corresponding to the transverse section frame arrangement drawing and the hull frame line drawing, obtaining the coordinates of the transverse section frame arrangement drawing in the hull coordinate system, and arbitrarily selecting a first feature point, a second feature point and a third feature point which are not collinear on the frame base surface of the transverse section frame arrangement drawing, and constructing a plane equation of the frame base surface according to the coordinates of the first feature point, the second feature point and the third feature point in the hull coordinate system.
[0063] As Figure 4 described above, the transverse section frame arrangement drawing of the hull frame is translated into the hull frame line drawing in the CAD drawing software, the corresponding plate joint line and the frame are aligned and completely coincided, and the composite drawing of the transverse section frame arrangement drawing and the hull frame line drawing is obtained. At this time, all data on the transverse section frame arrangement drawing can be represented by the hull coordinate system in the hull frame line drawing.
[0064] In Figure 3In the "Cross-Sectional Mounting Layout Diagram" shown, locate the double-oblique-cut mounting base surface of the hull mounting. Then, arbitrarily select non-collinear first, second, and third feature points on this base surface. In this embodiment of the invention, for ease of calculation, clarity of illustration, and to improve the accuracy of the calculation results of the mounting base surface plane equation, as shown... Figure 5 As shown, the first feature point, the second feature point, and the third feature point are selected using the following method:
[0065] S201. On the cross-sectional jig arrangement drawing, the intersection line between the bow closure and the jig base surface is set as the first positioning line of the jig base surface, and the intersection line between the stern closure and the jig base surface is set as the second positioning line of the jig base surface.
[0066] S202. Select a stake line that passes through all the rib lines, and take the intersection of the second positioning line and the stake line that passes through all the rib lines as the first feature point.
[0067] S203. The intersection of the second positioning line and the outermost pile line on one side is taken as the second feature point.
[0068] S204. The intersection of the first positioning line and the outermost pile line on the other side is taken as the third feature point.
[0069] like Figure 3 The cross-sectional view of the jig arrangement shown indicates that L1 is the first positioning line of the jig base surface, and L2 is the second positioning line of the jig base surface. L3 is the stake line selected in this embodiment that passes through all rib lines. The intersection of L3 and L2 is J1, which is designated as the first feature point. The intersection of the second positioning line L2 and the outermost stake line in the northeast direction is J2, which is designated as the second feature point. The intersection of the first positioning line L1 and the outermost stake line on the other side is J3, which is designated as the third feature point. In this application, the selection of J1, J2, and J3 satisfies the requirement of non-collinearity, and J1, J2, and J3 are evenly distributed on different stake lines, including the stake line that passes through all rib lines. The planar equation of the jig base surface obtained by calculating J1, J2, and J3 is more accurate.
[0070] As mentioned above, Figure 4 In the composite diagram of the "Transverse Section Frame Arrangement Drawing" and the "Hyster Rib Line Drawing", all the data on the "Transverse Section Frame Arrangement Drawing" can be represented by the hull coordinate system in the "Hyster Rib Line Drawing". Therefore, the coordinates of feature points J1, J2 and J3 in the hull coordinate system can be read. Substituting the coordinates of J1, J2 and J3 in the hull coordinate system into the plane equation ax + by + cz + d = 0, the coefficients a, b, c and d of the plane equation can be obtained.
[0071] S3. On the cross-sectional jig layout drawing, select the projection line of the stake line passing through all the rib lines onto the jig base surface as the X-axis. Set the projection point of the intersection of the stake line passing through all the rib lines and the middle rib line onto the jig base surface as the origin. Determine the Z-axis based on the origin and the intersection point. Determine the Y-axis based on the right-hand rule. Establish and determine the observation coordinate system based on the plane equation of the jig base surface.
[0072] like Figure 3 The cross-sectional view of the jig arrangement shown is illustrated in this embodiment of the invention. L3 is the piling line passing through all the rib lines. The projection line of L3 onto the jig base surface is taken as the X-axis of the observation coordinate system. The intersection of L3 and the middle rib line is Jo. The coordinates of Jo in the hull coordinate system are (Jox, Joy, Joz). Figure 4 From the composite drawing of the "Transverse Section Frame Arrangement" and the "Hydrogen Rib Lines," the projection point of Jo onto the frame base plane is Bo. Taking Bo as the origin of the observation coordinate system, the coordinates of Bo in the hull coordinate system (Box, Boy, Boz) are calculated using the following formula:
[0073] Box = ((b 2 +c 2 )Jox-a(bJoy+cJoz+d)) / (a 2 +b 2 +c 2 (1)
[0074] Boy=((a 2 +c 2 )Joy-b(aJox+cJoz+d)) / (a 2 +b 2 +c 2 (2)
[0075] Boz=((a 2 +b 2 )Joz-c(aJox+bJoy+d)) / (a 2 +b 2 +c 2 (3)
[0076] The Z-axis of the observation coordinate system can be determined based on the origin Bo and the intersection point Jo. The X-axis of the observation coordinate system can be determined based on the origin Bo and J1. Therefore, according to the right-hand rule, the Y-axis of the observation coordinate system can be determined.
[0077] Let coordinate system A represent the ship's coordinate system, and coordinate system B represent the newly established observation coordinate system. The ship's coordinate system A and the observation coordinate system B are two independent three-dimensional coordinate systems. Figure 6As shown, the X, Y, Z coordinate axes corresponding to the ship coordinate system A are Ax, Ay, Az, and the origin is Ao; the X, Y, Z coordinate axes corresponding to the observation coordinate system B are Bx, By, Bz, and the origin is Bo.
[0078] S4, calculating the transformation matrix of the ship coordinate system and the observation coordinate system.
[0079] Based on the above calculation, all the parameters of the observation coordinate system B are expressed based on the ship coordinate system A, and the jig data must finally be expressed based on the observation coordinate system B.
[0080] In the spatial positional relationship between the ship coordinate system A and the observation coordinate system B, the origin Ao of the ship coordinate system A can be made to coincide with the origin Bo of the observation coordinate system B by translating the ship coordinate system A. Then, the ship coordinate system A is rotated to coincide with the corresponding axes x, y, z of the observation coordinate system B, as shown in Figure 7 The specific steps include the following steps:
[0081] S401, translating the ship coordinate system so that the origin of the ship coordinate system coincides with the origin of the observation coordinate system, and obtaining a translation transformation matrix through arithmetic operations.
[0082] Specifically, the coordinate system translation transformation is relatively simple, and the coordinate transformation can be realized through arithmetic operations on the corresponding point coordinate values. Let T1 represent the translation transformation matrix, and T1 is a 1X3 order submatrix.
[0083] S402, rotating the ship coordinate system so that the coordinate axes of the ship coordinate system coincide with the coordinate axes of the observation coordinate system, and obtaining a rotation transformation matrix through linear transformation operations.
[0084] The rotation transformation of the ship coordinate system A and the observation coordinate system B is relatively complex and can be solved by linear space theory. Let T2 represent the rotation transformation matrix, and T2 is a 3X3 order submatrix.
[0085] According to linear space theory, in an n-dimensional linear space V on a field F, a basis α1, …, α n Then any vector α in V has coordinates under this basis, and the coordinates are unique. In different bases, the coordinates are often different.
[0086] Let α1, …, α n and β1, …, β n be two bases of V, so each vector in β1, …, β n can be uniquely expressed as a linear combination of β1, …, β n :
[0087]
[0088] Let vector α lie on basis α1, ..., α2. n With basis β1, ..., β n The coordinates below are (x1, x2, ..., x). n ) and (y1, y2, ..., y n ),but
[0089] α = x1α1 + x2α2 + ... + x n α n = y1β1 + y2β2 + ... + y n β n (5)
[0090] Vertical writing is
[0091]
[0092] Then, equation (4) can be written as
[0093]
[0094] make
[0095] Then (β1, β2, ..., β) n )=α1,α2,…,α n M(8)
[0096] According to equations (4) and (8)
[0097]
[0098] Therefore, we obtain
[0099]
[0100] In summary, we can derive the transformation formula between the observation coordinate system B and the ship's coordinate system A in linear space as follows:
[0101]
[0102] T2 is the rotation transformation matrix.
[0103] S403. Represent the translation transformation matrix and the rotation transformation matrix using homogeneous coordinates to obtain the transformation matrix between the ship coordinate system and the observation coordinate system.
[0104] Homogeneous coordinates are an important tool in computer graphics. They can be used to clearly distinguish between vectors and points, and are also easier to use for affine (linear) geometric transformations. Homogeneous coordinates represent an n-dimensional vector using an (n+1)-dimensional vector. Homogeneous coordinates are mainly used in matrix transformations.
[0105] Graphics applications involve geometric transformations, primarily including translation, rotation, and scaling. When calculating these transformations using matrix expressions, the purpose of introducing homogeneous coordinates is mainly to combine multiplication and addition in matrix operations.
[0106] The three-dimensional homogeneous coordinate transformation matrix described in this article is:
[0107]
[0108] T is the transformation matrix between the observation coordinate system B and the ship's coordinate system A.
[0109] In summary, the normalized homogeneous coordinate transformation formula between the three-dimensional coordinates in the observation coordinate system B and the ship's coordinate system A is expressed as:
[0110] [Bx By Bz 1]=[Ax Ay Az 1]T.
[0111] S5. Based on the segmented jig diagram, the cross-sectional jig arrangement diagram, and the hull rib profile diagram, extract the coordinates of the vertex of each outer plate in the hull coordinate system, and obtain the coordinates of the vertex of each outer plate in the observation coordinate system according to the transformation matrix.
[0112] Specifically, with Figure 2 As shown in the section jig diagram of a certain ship (section 802), both the 802A and 802B outer plate jigs support two outer plate sections, each with four vertices. Since the two outer plate sections supported by the 802A and 802B jigs share a common edge, both jigs have six vertices. We use calculation points Q1, Q2, Q3, Q4, Q5, and Q6 to represent the vertices of the 802A outer plate jig. These calculation points Q1, Q2, Q3, Q4, Q5, and Q6 are the plate positioning points of the 802A outer plate jig in the section jig diagram.
[0113] according to Figure 2 The diagram shown is of section 802 of a certain ship's jig, and... Figure 4 The composite diagram of the "Cross Section Frame Arrangement Diagram" and the "Hyster Rib Line Diagram" shown can extract the coordinates of calculation points Q1, Q2, Q3, Q4, Q5, and Q6 in the hull coordinate system. Taking the 802A outer plate hull frame as an example, Table 1 shows the coordinates of all calculation points of the 802A outer plate hull frame.
[0114] Table 1
[0115] Name X Y Z J0 (center point) 91038.90 6317.65 8984.97 J1 (near X-axis) 89338.01 7974.43 7989.11 J2 (near) 89338.01 9004.61 9704.00 J3 (far) 92899.55 6688.12 10512.85 Q1 (calculation point) 89338.01 6423.61 7350.00 Q2 (calculation point) 92899.55 3545.33 7350.00 Q3 (calculation point) 89338.01 7354.00 9100.00 Q4 (calculation point) 92899.55 5065.53 9100.00 Q5 (calculation point) 89338.01 7983.00 10780.00 Q6 (calculation point) 92899.55 6029.69 10780.00
[0116] The product of the coordinates of the calculation points Q1, Q2, Q3, Q4, Q5 and Q6 in the ship coordinate system and the transformation matrix is calculated to obtain the coordinates of the calculation points Q1, Q2, Q3, Q4, Q5 and Q6 in the observation coordinate system.
[0117] S6, the coordinates of each outer plate piece vertex in the observation coordinate system are taken as the checking data to calculate the error value of the coordinates of each outer plate piece vertex in the segmented jig drawing, if the absolute value of the error value is not greater than a threshold value, the jig positioning data checking of the segmented jig drawing is passed, otherwise, the checking is failed.
[0118] The segmented jig drawing designed by the SPD software can read the coordinates of each outer plate piece vertex, and the coordinates of each outer plate piece vertex in the observation coordinate system are taken as the checking data, and the error value of the coordinates of each outer plate piece vertex in the segmented jig drawing is calculated according to the checking data, taking the 802A and 802B outer plate piece jigs as examples, Table 2 is a comparison error value table of the 802A outer plate piece jig checking data, and Table 3 is a comparison error value table of the 802B outer plate piece jig checking data.
[0119] Table 2
[0120]
[0121] Table 3
[0122]
[0123] In Table 2 and Table 3, the error of the X, Y and Z coordinates of each outer plate piece vertex is ΔX, ΔY and ΔH respectively. Due to the influence of different links such as coordinate measurement and calculation system, the calculation result will have some small errors, and for each outer plate piece vertex, the general error value is ≤±2mm, and the jig positioning data of the segmented jig drawing is determined to be correct. Therefore, in the embodiment of the application, the threshold value is set to 2mm, if the absolute value of the error value is not greater than the threshold value, the jig positioning data checking of the segmented jig drawing is passed, otherwise, the checking is failed.
[0124] From the comparison error value table of the two checking data in Table 2 and Table 3, it can be seen that the 802A jig positioning data is completely correct. The 802B jig positioning data is incorrect, obviously, the 802B segmented jig drawing cannot be used for construction, and the design method must be changed to correct the design result or change the construction scheme.
[0125] In the embodiment of the present application, in order to solve the problem of difficult artificial checking of the calculation result of the double-beveling jig frame, a jig positioning data checking method is provided. The plate seam line and the frame line corresponding to the transverse frame arrangement drawing and the hull frame line drawing are aligned and overlapped, the coordinates of the transverse frame arrangement drawing in the hull coordinate system are obtained, and three characteristic points not on the same line are selected on the frame base surface of the transverse frame arrangement drawing. The plane equation of the frame base surface is calculated according to the three characteristic points. The projection line of the staking line passing through all the frame lines on the frame base surface is the X axis, the projection point of the intersection of the staking line passing through all the frame lines and the middle frame line on the frame base surface is set as the origin, the Z axis is determined according to the origin and the intersection, the Y axis is determined according to the right-hand rule, the observation coordinate system is established, the transformation matrix of the hull coordinate system and the observation coordinate system is calculated, and the coordinates of each outer plate piece vertex in the observation coordinate system are calculated as the checking data. The error value of each outer plate piece vertex coordinate in the segmented frame drawing is judged, and the jig positioning data of the segmented frame drawing is checked according to the error value. The technical scheme of the present application simplifies the design process and design difficulty, quickly and simply judges whether the jig positioning data is correct, and provides accurate basis for subsequent work arrangement and decision-making.
[0126] Correspondingly, as shown in Figure 8 Based on the jig positioning data checking method, the embodiment of the present application further provides a jig positioning data checking system, which comprises:
[0127] The acquisition unit 1 is used for acquiring the segmented frame drawing of the hull jig frame, the transverse frame arrangement drawing and the hull frame line drawing;
[0128] The first calculation unit 2 is used for aligning and overlapping the plate seam line and the frame line corresponding to the transverse frame arrangement drawing and the hull frame line drawing, obtaining the coordinates of the transverse frame arrangement drawing in the hull coordinate system, and selecting three characteristic points not on the same line on the frame base surface of the transverse frame arrangement drawing. The plane equation of the frame base surface is constructed according to the coordinates of the first characteristic point, the second characteristic point and the third characteristic point in the hull coordinate system;
[0129] The observation coordinate system construction unit 3 is used for selecting the projection line of the staking line passing through all the frame lines on the frame base surface as the X axis on the transverse frame arrangement drawing, setting the projection point of the intersection of the staking line passing through all the frame lines and the middle frame line on the frame base surface as the origin, determining the Z axis according to the origin and the intersection, determining the Y axis according to the right-hand rule, and establishing and determining the observation coordinate system according to the plane equation of the frame base surface;
[0130] The second calculation unit 4 is used for calculating the transformation matrix of the hull coordinate system and the observation coordinate system;
[0131] The third calculation unit 5 is configured to extract coordinates of each outer plate piece vertex in the ship coordinate system according to the segmented jig drawing, the cross-sectional jig arrangement drawing and the ship frame line drawing, and obtain coordinates of each outer plate piece vertex in the observation coordinate system according to the transformation matrix;
[0132] The checking unit 6 is configured to take the coordinates of each outer plate piece vertex in the observation coordinate system as checking data to calculate error values of each outer plate piece vertex coordinate in the segmented jig drawing, and if an absolute value of the error values is not greater than a threshold value, the jig positioning data checking of the segmented jig drawing is passed; otherwise, the checking is failed.
[0133] The specific limitation of the jig positioning data checking system can refer to the limitation of the jig positioning data checking method, which will not be repeated here. Those skilled in the art can understand that the various modules and steps described in combination with the embodiments disclosed in the present application can be realized in hardware, software or combination of both. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0134] As shown in Figure 9 The computer device provided by the embodiment of the present application includes a memory, a processor and a transceiver which are connected through a bus; the memory is used to store a set of computer program instructions and data, and can transmit the stored data to the processor; the processor can execute the program instructions stored in the memory to execute the steps of the jig positioning data checking method described above.
[0135] The memory can include a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories; the processor can be a central processing unit, a microprocessor, an application specific integrated circuit, a programmable logic device or a combination thereof. By way of example but not limitation, the programmable logic device can be a complex programmable logic device, a field programmable logic gate array, a general array logic or any combination thereof.
[0136] In addition, the memory can be a physically independent unit, or can be integrated with the processor.
[0137] Those skilled in the art can understand that Figure 9 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have the same component arrangement.
[0138] In one embodiment, a computer readable storage medium storing one or more computer programs is provided, the one or more computer programs comprising program code for executing the above-described method for checking tire positioning data when the computer program is run on a computer.
[0139] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, an SSD), etc.
[0140] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments.
[0141] The embodiment of the present application discloses a kind of cradle positioning data checking method, system, computer device and computer storage medium, for the technical problem that double bevel cradle calculation result is difficult to artificially check.This application aligns and coincides the plate joint line and rib line corresponding to the cross section cradle layout and ship body rib line drawing, obtains the coordinate of cross section cradle layout in ship body coordinate system, and selects three feature points not collinear on the cradle base surface of cross section cradle layout, and calculates the plane equation of cradle base surface according to the three feature points.The projection line of stake line that is selected on the cross section cradle layout and passes through all rib lines is X axis, the projection point of intersection of stake line and middle rib line is set as origin, Z axis is determined according to origin and intersection, Y axis is determined according to right-hand rule, observation coordinate system is established, transformation matrix of ship body coordinate system and observation coordinate system is calculated, and the coordinate of each outer plate piece vertex in the observation coordinate system is calculated, which is used as checking data, the error value of each outer plate piece vertex coordinate in segmented cradle drawing is judged, and the cradle positioning data of segmented cradle drawing is checked according to error value.The technical scheme of the present application simplifies design procedure and design difficulty, quickly and simply judges whether cradle data is correct, and provides accurate basis for subsequent work arrangement and decision.
[0142] The above-described embodiments only express several preferred embodiments of the present application, and the description is more specific and detailed, but it should not be understood as limiting the scope of the patent. It should be noted that for ordinary skilled in the art, without departing from the technical principles of the present application, several improvements and replacements can be made, and these improvements and replacements should be considered as the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the protection scope of the claims.
Claims
1. A method of checking data of a jig positioning, characterized by, The method comprises: acquiring a segmented cradle drawing, a cross-sectional cradle layout and a hull frame line drawing of a hull cradle; aligning and coinciding plate joint lines and frame lines of the cross-sectional cradle layout and the hull frame line drawing, acquiring coordinates of the cross-sectional cradle layout in a hull coordinate system, and arbitrarily selecting a first feature point, a second feature point and a third feature point on a cradle base surface of the cross-sectional cradle layout, and constructing a plane equation of the cradle base surface according to coordinates of the first feature point, the second feature point and the third feature point in the hull coordinate system; selecting a staking line passing through all the frame lines as an X-axis on the projection line of the staking line on the cradle base surface, setting a projection point of an intersection of the staking line and a middle frame line on the cradle base surface as an origin, determining a Z-axis according to the origin and the intersection, determining a Y-axis according to a right-hand rule, and establishing and determining an observation coordinate system according to the plane equation of the cradle base surface; calculating a transformation matrix of the hull coordinate system and the observation coordinate system; extracting coordinates of each outer plate piece vertex in the hull coordinate system according to the segmented cradle drawing, the cross-sectional cradle layout and the hull frame line drawing, and acquiring coordinates of each outer plate piece vertex in the observation coordinate system according to the transformation matrix; taking the coordinates of each outer plate piece vertex in the observation coordinate system as checking data to calculate error values of coordinates of each outer plate piece vertex in the segmented cradle drawing, and if an absolute value of the error values is not greater than a threshold value, the cradle positioning data checking of the segmented cradle drawing is passed; otherwise, the checking is failed; the method comprises: in the cross-sectional cradle layout, setting an intersection line of a bow joint and a cradle base surface as a first positioning line of the cradle base surface, and setting an intersection line of a stern joint and the cradle base surface as a second positioning line of the cradle base surface; selecting a staking line passing through all the frame lines, and taking an intersection of the second positioning line and the staking line as the first feature point; taking an intersection of the second positioning line and an outermost staking line on one side as the second feature point; taking an intersection of the first positioning line and an outermost staking line on the other side as the third feature point.
2. A method of checking data for positioning a tire building former according to claim 1, wherein The segmented cradle drawing, the cross-sectional cradle layout and the hull frame line drawing are all generated by SPD software design.
3. A method of checking data for positioning a tire building former according to claim 1, wherein the method comprises: establishing a plane equation of the cradle base surface: ax+by+cz+d=0; substituting the coordinates of the first feature point, the second feature point and the third feature point in the hull coordinate system into the plane equation to obtain coefficients a, b, c and d of the plane equation.
4. A method of checking data for positioning a tire building former according to claim 3, wherein the method comprises: taking Jo to represent an intersection of the staking line and the middle frame line, and reading coordinates (Jox, Joy, Joz) of Jo in the hull coordinate system; Bo (Box, Boy, Boz) represents the origin of the observation coordinate system, and the coordinates of Bo in the ship coordinate system are calculated by the following formula: Box = ((b 2 +a 2 )Jox-a(bJoy+cJoz+d)) / (a 2 +b 2 +c 2 ); Boy = ((a 2 +c 2 )Joy - b(a 2 +b 2 +c 2 ) ; Boz = ((a 2 +b 2 )Joz - c(aJox + bJoy + d)) / (a 2 +b 2 +c 2 ).
5. The method of claim 1 wherein, The transformation matrix of the ship coordinate system and the observation coordinate system is calculated, including: The ship coordinate system is translated so that the origin of the ship coordinate system coincides with the origin of the observation coordinate system, and a translation transformation matrix is obtained by arithmetic operation; The ship coordinate system is rotated so that the coordinate axes of the ship coordinate system coincide with the coordinate axes of the observation coordinate system, and a rotation transformation matrix is obtained by linear transformation operation; The translation transformation matrix and the rotation transformation matrix are expressed in homogeneous coordinates to obtain the transformation matrix of the ship coordinate system and the observation coordinate system.
6. A method of checking data for positioning a tire building former according to claim 1, wherein The coordinates of each outer plate piece vertex in the observation coordinate system are obtained according to the transformation matrix, including: The coordinates of each outer plate piece vertex in the observation coordinate system are obtained by multiplying the coordinates of each outer plate piece vertex in the ship coordinate system by the transformation matrix.
7. A bed positioning data verification system, comprising: The system comprises: An acquisition unit is configured to acquire a segmented panel jig drawing, a cross-sectional panel jig arrangement drawing, and a ship frame line drawing of a ship panel jig; A first calculation unit is configured to align and coincide the panel joint lines and the frame lines corresponding to the cross-sectional panel jig arrangement drawing and the ship frame line drawing, to acquire the coordinates of the cross-sectional panel jig arrangement drawing in the ship coordinate system, and to randomly select a first feature point, a second feature point, and a third feature point that are not collinear on the panel jig base surface of the cross-sectional panel jig arrangement drawing, and to construct a plane equation of the panel jig base surface according to the coordinates of the first feature point, the second feature point, and the third feature point in the ship coordinate system; An observation coordinate system construction unit is configured to select a staking line that passes through all the frame lines on the cross-sectional panel jig arrangement drawing, to take the projection line of the staking line on the panel jig base surface as an X axis, to take the intersection point of the staking line and the middle frame line on the panel jig base surface as an origin, to determine a Z axis according to the origin and the intersection point, to determine a Y axis according to the right-hand rule, and to establish and determine an observation coordinate system according to the plane equation of the panel jig base surface; A second calculation unit is configured to calculate a transformation matrix of the ship coordinate system and the observation coordinate system; A third calculation unit is configured to extract the coordinates of each outer plate piece vertex in the ship coordinate system according to the segmented panel jig drawing, the cross-sectional panel jig arrangement drawing, and the ship frame line drawing, and to obtain the coordinates of each outer plate piece vertex in the observation coordinate system according to the transformation matrix; A checking unit is configured to take the coordinates of each outer plate piece vertex in the observation coordinate system as checking data to calculate an error value of the coordinates of each outer plate piece vertex in the segmented panel jig drawing, and if the absolute value of the error value is not greater than a threshold value, the panel jig positioning data of the segmented panel jig drawing passes the check; otherwise, the check fails. The first computing unit is further configured to set the intersection line between the bow merging port and the loft floor as a first positioning line of the loft floor, set the intersection line between the stern merging port and the loft floor as a second positioning line of the loft floor, select a layout line passing through all the frame lines, and set the intersection point between the second positioning line and the layout line passing through all the frame lines as the first feature point, set the intersection point between the second positioning line and the outermost layout line on one side as the second feature point, and set the intersection point between the first positioning line and the outermost layout line on the other side as the third feature point.
8. A computer device, comprising: The device comprises a memory, a processor and a transceiver, which are connected through a bus; the memory is used for storing a set of computer program instructions and data, and can transmit the stored data to the processor; the processor can execute the program instructions stored in the memory to perform the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented.
