Body-in-white measuring point direction determination method and system and storage medium

By introducing a rectangular space box composed of six-sided reference planes into the determination of the vehicle body measurement point direction, the automatic screening and calculating the relevant parts of the measurement point are solved, and the traditional manual processing is time-consuming, labor-intensive and error-prone determination is achieved, and efficient and accurate determination of the measurement point direction is promoted, which shortens the vehicle research and development and production cycle.

CN120252598AActive Publication Date: 2025-07-04DEEPAL AUTOMOBILE TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510744921.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-07-04
Estimated Expiration
2045-06-05

AI Technical Summary

Technical Problem

Traditional manual processing of vehicle body measurement point information is time-consuming and labor-intensive, error-prone and difficult to ensure consistency, affecting vehicle quality evaluation and production efficiency.

Method used

A rectangular space box composed of six reference planes is used to determine the size of the enclosure box by measuring the distance between the parts and the reference plane, and the parts related to the measurement point are selected, and the direction of the measurement point is calculated based on the selected parts, and the calculation amount and human error are reduced using an automated process.

Benefits of technology

It significantly shortens the time to determine the direction of the measurement point, reduces the error rate, improves the consistency and standardization of the normal information of the measurement point, and improves vehicle research and development and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120252598A_ABST
    Figure CN120252598A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle design, in particular to a body-in-white measuring point direction determination method and system and a storage medium, and the method comprises the steps: creating six reference surfaces, and measuring the distance from each part on a body-in-white to the six reference surfaces to obtain the size of a bounding box of the part; comparing the coordinate of the measuring point with the size of a bounding box of all parts on the body-in-white, and determining parts related to the measuring point; selecting one of all the parts related to the measuring point as a selected part of the measuring point; the direction of the measuring point is calculated based on the selected part. According to the invention, the problem of low efficiency caused by too large calculation amount in an automatic measurement process is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automotive design, and particularly to a method, a system and a storage medium for determining the measuring point direction of a white body in white (BIW). Background Art

[0002] In the field of modern automotive manufacturing, the design of body measuring points is a key link in the automotive R & D and production processes, and its accuracy and efficiency directly affect the overall quality and production cycle of the vehicle. As an important benchmark for evaluating the body structure strength, assembly accuracy, and conducting quality inspections, the accuracy and rationality of body measuring points are crucial. In actual operation, in order to clarify the measurement path and ensure the accuracy of measurement, it is necessary to accurately output the normal information of the body measuring points (i.e., the vertical direction of the measuring points in three-dimensional space).

[0003] However, with the continuous development of the automotive industry, the body structure has become increasingly complex, and the number of measuring points has increased sharply, often exceeding 2,000. Traditional manual processing methods face huge challenges. Specifically, designers need to manually process the normal information of each measuring point one by one in tools such as CATIA (a three-dimensional CAD software widely used in automotive design and manufacturing). This process is not only time-consuming and laborious, usually taking about 4.5 working days to complete a single project, but also extremely prone to errors or omissions in the measuring point direction due to human negligence, thereby affecting subsequent measurement and analysis work. In addition, the manual processing method is also difficult to ensure the consistency and standardization of the measuring point normal information, increasing the difficulty of design verification and proofreading.

[0004] Therefore, it is necessary to develop a new method, a system and a storage medium for determining the measuring point direction of a white body in white (BIW). Summary of the Invention

[0005] The purpose of the present invention is to provide a method, a system and a storage medium for determining the measuring point direction of a white body in white (BIW), which can greatly shorten the time for determining the measuring point direction.

[0006] In a first aspect, a method for determining the measuring direction of a body measuring point in the present invention includes: Create six reference planes, measure the distances from each part on the BIW to the six reference planes to obtain the dimensions of the bounding box of the part; Compare the coordinates of the measuring point with the dimensions of the bounding boxes of all parts on the BIW to determine the parts related to the measuring point; Among all the parts related to the measuring point, select one part as the selected part of the measuring point; Calculate the direction of the measuring point based on the selected part.

[0007] Optionally, the six reference planes are respectively the reference plane X+, the reference plane X-, the reference plane Y+, the reference plane Y-, the reference plane Z+ and the reference plane Z-. A cuboid space box is formed by the six reference planes. The formation of the cuboid space box provides a clear reference system for subsequent coordinate comparison and distance measurement, making the determination of the measuring point direction more intuitive and accurate. By introducing the cuboid space box, the amount of calculation can be effectively reduced and the efficiency of automated processing can be improved.

[0008] Optionally, measure the distance from each part on the white body to the six reference planes to obtain the size of the bounding box of the part, specifically: Surround the entire white body with a cuboid space box; Define the coordinate values of the reference plane X+ and the reference plane X- in the X direction, define the coordinate values of the reference plane Y+ and the reference plane Y- in the Y direction, and define the coordinate values of the reference plane Z+ and the reference plane Z- in the Z direction; Measure the distance from each part to the six reference planes, that is, measure the distance between each reference plane and the corresponding surface of the part to obtain the size of the bounding box of the part. By accurately measuring the distance between the part and the reference plane, the size of the bounding box of each part is determined, which provides key data for subsequent measuring point direction calculation. Through the definition of coordinate values and distance measurement, the position and range of the part in the three-dimensional space can be accurately calculated, so as to determine the relative position between the measuring point and the part.

[0009] Optionally, compare the coordinates of the measuring point with the sizes of the bounding boxes of all parts on the white body to determine the parts related to the measuring point, specifically: Obtain the coordinates (x i , y i , z i ) of the measuring point i to be analyzed; Obtain the sizes of the bounding boxes of all parts on the white body. Among them, the value ranges of the coordinates of the bounding box of part j in the three dimensions of X, Y, and Z are [X j1 , X j2 , [Y j1 , Y j2 , [Z j1 , Z j2 ; Compare the measurement points with the dimensions of the bounding boxes of each part to determine all the parts related to the measurement points. By comparing the coordinates of the measurement points with the dimensions of the part bounding boxes, the association between the measurement points and the parts is determined. Through coordinate comparison, parts that match the position of the measurement points can be quickly screened out. Using this method, more than 99% of the parts that do not need to participate in geometric calculations can be excluded in advance, greatly simplifying the originally huge and complex calculation task and only performing precise calculations on the parts that really need to be processed. This intelligent screening mechanism effectively avoids the waste of invalid computing resources, makes the automated processing process more efficient and smooth, and significantly shortens the overall calculation time.

[0010] Optionally, comparing the measurement points with the dimensions of the bounding boxes of the parts specifically includes: Judge whether x i is within the interval [X j1 , X j2 , whether y i is within the interval [Y j1 , Y j2 , and whether z i is within the interval [Z j1 , Z j2 ; If x i is within the interval [X j1 , X j2 , y i is within the interval [Y j1 , Y j2 , and z i is within the interval [Z j1 , Z j2 , it means that the measurement point i is located inside the bounding box of the part j, and the part j is determined as the part related to the measurement point i; otherwise, the part j is determined as the part not related to the measurement point i. By judging whether the coordinates of the measurement point are within the interval of the part's bounding box, the association between the measurement point and the part can be accurately determined.

[0011] Optionally, when judging whether the coordinates of the measurement point i are inside the bounding box of the part j, a preset error range is allowed; if the absolute value of the difference between the coordinates of the measurement point i and the endpoint value of the interval is less than the error range, it is determined that the coordinates of the measurement point i are within the corresponding interval. By allowing coordinate matching within a certain error range, the small deviations in actual production can be accommodated to ensure the accuracy of the calculation.

[0012] Optionally, after obtaining the dimensions of the bounding box of the part, store the serial number, part number, level, and dimensions of the bounding box of the part in an XML file. In this embodiment, the part information is stored in an XML file, realizing the efficient management and rapid access of data.

[0013] Optionally, when it is determined that there are M parts related to the measurement point i, obtain the sizes of the parameter files of the M parts, and select the part corresponding to the parameter file with the smallest storage capacity as the selected part. When it is determined that there are multiple parts related to the measurement point i, the present invention innovatively uses the storage capacity of the parameter file as a key decision indicator for selecting parts, and preferentially selects the part corresponding to the parameter file with the smallest storage capacity. Since the storage capacity is closely negatively correlated with the access speed, a parameter file with a small storage capacity can significantly shorten the data loading time, and compress the response delay that may originally occur due to reading large files to the extreme. In a complex vehicle R & D and production collaboration environment, this time optimization at the millisecond or even microsecond level can significantly improve the data interaction efficiency between various links, enabling seamless connection of processes such as design, verification, and production, and avoiding process stagnation caused by data waiting.

[0014] Optionally, calculating the direction of the measurement point based on the selected part includes: If the measurement point is on the surface of the part, then draw the normal line of the surface through the measurement point, which is the direction of the measurement point. By calculating the normal line of the measurement point on the surface of the part, the direction of the measurement point can be accurately determined.

[0015] Optionally, calculating the direction of the measurement point based on the selected part further includes: If the measurement point is on the edge of the part, and if the edge is a curve, then draw the tangent line of the edge of the part through the measurement point, draw the normal line of the upper surface of the part through the measurement point, and rotate the normal line of the upper surface of the part by 90 degrees around the tangent line of the edge. If the rotated normal line direction points outside the part, then the rotated normal line direction is the direction of the measurement point; if the rotated normal line direction points inside the part, then the opposite direction of the rotated normal line direction is the direction of the measurement point; If the edge is a straight line, draw the normal line of the upper surface of the part through the measurement point, and rotate the normal line of the upper surface of the part by 90° around the edge of the part. If the rotated normal line direction points outside the part, then the rotated normal line direction is the direction of the measurement point; if the rotated normal line direction points inside the part, then the opposite direction of the rotated normal line direction is the direction of the measurement point. This method can ensure the accuracy and reliability of calculating the direction of the measurement point on the edge of the part, and avoid the errors that may exist in the traditional method.

[0016] In a second aspect, a system for determining the direction of white body measurement points according to the present invention includes a memory and a controller. The memory stores a computer-readable program, and when the computer-readable program is called by the controller, it can execute the steps of the method for determining the direction of white body measurement points as described in the present invention.

[0017] In a third aspect, a storage medium according to the present invention stores a computer-readable program, and when the computer-readable program is called, it can execute the steps of the method for determining the direction of white body measurement points as described in the present invention.

[0018] Advantages of the present invention: (1) Greatly improved efficiency: Under the traditional manual processing method, in the face of up to 1,000 or even more vehicle body measurement points, designers need to manually process the normal information of each measurement point in tools such as CATIA. The time-consuming for a single project is about 4.6 working days, and the efficiency is extremely low. However, by using a six-sided auxiliary to pre-obtain the bounding box of the part, the present invention accurately excludes more than 99% of the parts that do not need to participate in geometric calculations through mathematical calculations, greatly reducing the calculation scope and significantly shortening the automated calculation time. The entire process only takes about 0.5 working days in total. Compared with the traditional method, the design time is shortened by nearly 81%, significantly improving the efficiency of determining the vehicle body measurement point direction and effectively promoting the shortening of the vehicle R & D and production cycle.

[0019] (2) Significantly reduced error rate: The traditional manual processing method highly depends on the operation of designers and is extremely prone to errors or omissions in the measurement point direction due to human negligence. Once such an error occurs, it will have a chain reaction on subsequent measurement and analysis work, seriously affecting the overall quality assessment of the vehicle. Through the automated processing flow, the present invention avoids the randomness and subjectivity of manual operations, fundamentally reducing the errors caused by human factors. Further ensuring the accuracy of the normal information of the measurement points, effectively reducing the error rate, and providing a reliable data basis for subsequent work such as vehicle body structure strength assessment, assembly precision control, and quality inspection.

[0020] (3) Enhanced consistency and standardization: It is difficult to ensure the consistency and standardization of the normal information of the measurement points in the manual processing method. Among different designers, or even for the same designer when processing at different times, the normal information of the measurement points may show diversity due to differences in operation habits and understandings, which undoubtedly increases the difficulty of design verification and proofreading. The present invention uses a unified algorithm and calculation rules to process all measurement points, ensuring the consistency of the normal information of the measurement points. At the same time, through the standardized processing flow, the output format and accuracy of the normal information of the measurement points conform to the unified standard, greatly simplifying the design verification and proofreading work, improving work efficiency and accuracy, and providing strong support for standardized production in the vehicle manufacturing process. Description of the drawings

[0021] Figure 1 It is a schematic diagram of the white body product structure tree in the embodiment of the present application; Figure 2 It is a flowchart of the method for determining the measurement direction of the white body measurement points in the embodiment of the present application; Figure 3 It is a schematic diagram of a cuboid space box in the embodiment of the present application; Figure 4 It is the schematic diagram for calculating the size of the part bounding box in the embodiment of the present application; Figure 5 It is the schematic diagram for calculating the measuring point direction in the embodiment of the present application; Figure 6 It is the principle block diagram of the system for determining the measuring direction of the body-in-white measuring points in the embodiment of the present application; In the figure: 1 - surface measuring point, 2 - hole measuring point, 3 - edge measuring point. Detailed implementation manners

[0022] The following will describe the implementation manners of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention rather than for limiting the protection scope of the present invention.

[0023] As Figure 1 shown, it is the schematic diagram of the body-in-white product structure tree. Usually, there are about 500 parts on the body-in-white (such as: Part-01-01-01, Part-01-01-02, etc.), and they inherit from the assemblies (such as: Product, Product-01, etc.) (there are about 1500 assemblies on the body-in-white). The sum of about 500 parts + about 1500 assemblies is about 2000 nodes. It is extremely time-consuming to find the part where the measuring point is located among about 2000 pieces of a large amount of data; there are 1000 measuring points on the body-in-white, and the single measurement takes about 0.2 s. The total duration is 2000 * 1000 * 0.2, which is approximately equal to 111 hours, equivalent to 4.6 days.

[0024] As Figure 2 shown, to solve the above problems, in the embodiment of the present application, a method for determining the measuring direction of the body-in-white measuring points includes the following steps: Create six reference planes, measure the distance from each part on the body-in-white to the six reference planes to obtain the size of the part bounding box. Compare the coordinates of the measuring point with the sizes of the bounding boxes of all parts on the body-in-white to determine all the parts related to the measuring point. Among all the parts related to the measuring point, select one part as the selected part of the measuring point. And calculate the direction of the measuring point based on the selected part.

[0025] In the embodiments of the present application, by introducing six reference planes, the precise enclosure of the body-in-white parts and the unification of the coordinate system are achieved. These six reference planes respectively correspond to the positive and negative references in the X, Y, and Z directions, forming a cuboid space box that can accurately cover the geometric range of the entire body-in-white. This method can determine the size of the bounding box of the part by measuring the distance between the part and the reference plane, and then determine the relevance between the measurement point and the part by comparing the measured point coordinates with the size of the part bounding box. This method significantly improves the efficiency of measuring the direction of the measurement points, avoids the time-consuming process of searching for parts one by one in a large amount of data, and reduces the calculation time from several days to several hours.

[0026] As Figure 3 shown, in a possible embodiment, the six reference planes are respectively the reference plane X+, the reference plane X-, the reference plane Y+, the reference plane Y-, the reference plane Z+ and the reference plane Z-. A cuboid space box is formed by the six reference planes. In this embodiment, the cuboid space box in the three-dimensional space is utilized. Through the definition of the six reference planes, it is ensured that the cuboid space box can completely enclose the body-in-white, providing a basis for the subsequent calculation of the measurement point direction. The formation of the cuboid space box provides a clear reference system for the subsequent coordinate comparison and distance measurement, making the determination of the measurement point direction more intuitive and accurate. By introducing the cuboid space box, this method can effectively reduce the amount of calculation and improve the efficiency of automated processing.

[0027] In a possible embodiment, measure the distance from each part on the body-in-white to the six reference planes to obtain the size of the bounding box of the part. Specifically: Enclose the entire body-in-white with the cuboid space box. Define the coordinate values of the reference plane X+ and the reference plane X- in the X direction, define the coordinate values of the reference plane Y+ and the reference plane Y- in the Y direction, and define the coordinate values of the reference plane Z+ and the reference plane Z- in the Z direction. Measure the distance from each part to the six reference planes, that is, measure the distance between each reference plane and the corresponding surface of the part, and obtain the size of the bounding box of the part. In this embodiment, by accurately measuring the distance between the part and the reference plane, the size of the bounding box of each part is determined, which provides key data for the subsequent calculation of the measurement point direction. Through the definition of the coordinate values and the distance measurement, the position and range of the part in the three-dimensional space can be accurately calculated, thereby determining the relative position between the measurement point and the part.

[0028] In a possible embodiment, compare the coordinates of the measurement point with the sizes of the bounding boxes of all parts on the body-in-white to determine the parts related to the measurement point. Specifically: Obtain the coordinates (x i , y i , z i); Obtain the dimensions of the bounding boxes of all parts on the white vehicle body. Among them, the value ranges of the coordinates of the bounding box of part j in the three dimensions of X, Y, and Z are respectively [X j1 , X j2 , [Y j1 , Y j2 , [Z j1 , Z j2 . Compare the measurement points with the dimensions of the bounding boxes of each part respectively to determine all the parts related to the measurement points. By comparing the coordinates of the measurement points with the dimensions of the part bounding boxes, the relevance judgment between the measurement points and the parts is realized. This method can quickly screen out the parts that match the measurement points through coordinate comparison. Through this method, more than 99% of the parts that do not need to participate in geometric calculations can be excluded in advance, greatly simplifying the originally huge and complex calculation task, and only performing precise calculations on the parts that really need to be processed. This intelligent screening mechanism effectively avoids the waste of invalid computing resources, makes the automated processing process more efficient and smooth, and significantly shortens the overall calculation time.

[0029] In a possible embodiment, comparing the measurement points with the dimensions of the bounding boxes of the parts specifically includes: Judge whether x i is within the interval [X j1 , X j2 , whether y i is within the interval [Y j1 , Y j2 , and whether z i is within the interval [Z j1 , Z j2 ; if x i is within the interval [X j1 , X j2 , y i is within the interval [Y j1 , Y j2 , and z i is within the interval [Z j1 , Z j2 , it means that the measurement point i is located inside the bounding box of part j, determine that part j is the part related to the measurement point i, otherwise determine that part j is the part not related to the measurement point i. By judging whether the coordinates of the measurement point are within the interval of the part bounding box, the relevance between the measurement point and the part can be accurately determined.

[0030] In a possible embodiment, when judging whether the coordinates of the measurement point i are within the bounding box of part j, a preset error range is allowed; if the absolute value of the difference between the coordinates of the measurement point i and the interval endpoint value is less than the error range, it is determined that the coordinates of the measurement point i are within the corresponding interval. By allowing coordinate matching within a certain error range, it can adapt to the small deviations in actual production and ensure the accuracy of the calculation.

[0031] In a possible embodiment, after obtaining the dimensions of the bounding box of the part, the serial number, part number, hierarchy level of the part, and the dimensions of the bounding box are stored in an XML file. By storing part information in an XML file in this embodiment, efficient management and rapid access of data are achieved.

[0032] In a possible embodiment, when it is determined that there are M parts related to measurement point i, the sizes of the parameter files of the M parts are obtained, and the part corresponding to the parameter file with the smallest storage capacity is selected as the selected part. When it is determined that there are multiple parts related to measurement point i, the storage capacity of the parameter file is used as the key decision-making index for the selected part, and the part corresponding to the parameter file with the smallest storage capacity is preferentially selected. Since there is a strong negative correlation between storage capacity and access speed, a parameter file with a small storage capacity can significantly shorten the data loading time, and compress the response delay that might originally occur due to reading large files to the extreme. In a complex collaborative environment of vehicle R & D and production, this time optimization at the millisecond or even microsecond level can significantly improve the data interaction efficiency between various links, enabling seamless connection of processes such as design, verification, and production, and avoiding process stagnation caused by data waiting.

[0033] In a possible embodiment, calculating the direction of the measurement point based on the selected part includes: If the measurement point is on the surface of the part (see surface measurement point 1 and hole measurement point 2 in Figure 5 ), then the normal line of the surface is made through the measurement point, which is the direction of the measurement point. By calculating the normal line of the measurement point on the part surface, the direction of the measurement point can be accurately determined.

[0034] The parts on the white body are sheet metal parts, and the measurement points are usually set on the upper surface of the sheet metal parts. If the measurement point is on the edge of the part (see edge measurement point 3 in Figure 5 ), if the edge is a curve, then the tangent of the edge of the part is made through the measurement point, the normal line of the upper surface of the part is made through the measurement point, and the normal line of the upper surface of the part is rotated 90 degrees around the tangent of the edge. If the rotated normal line direction points outside the part, then the rotated normal line direction is the direction of the measurement point; if the rotated normal line direction points inside the part, then the opposite direction of the rotated normal line direction is the direction of the measurement point. If the edge is a straight line, the normal line of the upper surface of the part is made through the measurement point, and the normal line of the upper surface of the part is rotated 90° around the edge of the part. If the rotated normal line direction points outside the part, then the rotated normal line direction is the direction of the measurement point; if the rotated normal line direction points inside the part, then the opposite direction of the rotated normal line direction is the direction of the measurement point.

[0035] This method can ensure the accuracy and reliability of calculating the direction of the measurement point on the part edge, and avoid the possible errors in the traditional method.

[0036] The following uses CATIA secondary development as a tool to elaborate on this method in detail.

[0037] S1. Since the CATIA software itself does not have the function of measuring the position information of parts, but has the function of measuring the distance between parts, and this function can be developed and called. In this method, a cuboid space box with six reference planes is introduced (see Figure 3 ), and the entire white body is surrounded by the cuboid space box.

[0038] S2. Measure the distance from each part to the six reference planes, that is, measure the distance between each reference plane and the corresponding surface of the part, and finally obtain the size of the bounding box of the part.

[0039] For example, Figure 4 as shown, defining the coordinate values of the reference plane X+ and the reference plane X- in the X direction as +A and -A respectively, if the measured distance from the test part to the reference plane X+ is 140 cm and the distance from the part to the reference plane X- is 230 cm, then for the part, X1 = -A + 230, X2 = +A - 140, with the unit of cm.

[0040] According to the above method, calculate Y1, Y2, Z1, Z2 of the part, and store the part number, part ID, level, and the size of the bounding box, as shown in Table 1.

[0041] Table 1

[0042] For example: The size of the bounding box of the part with the part ID of 5421101 - FL01 is (X1 = 375.9, X2 = 3698.8, Y1 = -947.3, Y2 = -498.7, Z1 = -83, Z2 = 1113.3).

[0043] The size of the bounding box of the part with the part ID of 5421102 - FL01 is (X1 = 501.6, X2 = 545.5, Y1 = -848.4, Y2 = -810, Z1 = 513.2, Z2 = 578.2).

[0044] When calculating the size of the bounding box of each part, it needs to be measured and calculated six times. Assemble the six designed reference planes into the assembly, and activate visualization for measuring the distance to each part, and then remove them after measurement.

[0045] During testing, turn on the measurement system of the CATIA software, create two measurement objects, circularly measure the distance between each part and each surface of the cuboid space box, obtain the size of the bounding box of the part, and store it in the XML file in the format shown in Table 1.

[0046] S3. Calculate the single measurement point with the bounding box of each part.

[0047] Taking the measuring point i as an example, compare the dimensions of the measuring point i with those of the bounding boxes of all parts, specifically as follows: Assume the coordinates of the measuring point i are (x i , y i , z i ). Determine whether x i is within the interval [X j1 , X j2 , whether y i is within the interval [Y j1 , Y j2 , and whether z i is within the interval [Z j1 , Z j2 ; if x i is within the interval [X j1 , X j2 , y i is within the interval [Y j1 , Y j2 , and z i is within the interval [Z j1 , Z j2 , it means that the measuring point i is located within the bounding box of part j, determine part j as the part related to the measuring point i, and then consider this measuring point i and this part for subsequent calculations; otherwise, determine part j as the part not related to the measuring point i.

[0048] To minimize the calculation amount, when the measuring point i is within the bounding boxes of M parts, select the part corresponding to the parameter file with the smallest storage amount (used to store the relevant parameters of the part, the larger the part, the larger the storage amount of the parameter file of this part) for measurement. Assume the measuring point i is related to four parts, and the direction of the measuring point i (i.e., the direction of the measuring point i) can be calculated through the parameter file of any one of the four parts. To improve efficiency, select the part with the smallest storage amount of the parameter file.

[0049] Assume there are four parts related to the measuring point i, namely part A, part B, part C, and part D. When the CATIA software accesses the storage addresses of the parameter files of part A, part B, part C, and part D, first read the sizes of the four parameter files. Assume the storage amount of the parameter file of part A is aM, the storage amount of the parameter file of part B is bM, the storage amount of the parameter file of part C is cM, and the storage amount of the parameter file of part D is dM, where a < b < c < d, that is, the parameter file of part A is the one with the smallest storage amount among the four parameter files, then the CATIA software directly calls the parameter file of part A.

[0050] The CATIA software has an interface that can directly access the address of the parameter file through the structure tree, thereby accessing the size of the parameter file. The size of the parameter file is proportional to the running time. Therefore, in order to shorten the time, the part corresponding to the parameter file with the smallest storage capacity is selected as the selected part.

[0051] S4. Calculate the direction of the measurement point based on the selected part. For example, use the.ReferenceProduct.Parent method (a common object property access method used to navigate and obtain related objects in a hierarchical structure) to obtain the part and its document, and use the CATIA graphics factory in the CATIA part module to create a normal with a point as a reference and obtain the direction.

[0052] Since the calculations of S2 and S3 are both mathematical calculations and can be completed by the computer within one millionth of a second. After S2 and S3 are completed, more than 99% of the parts can be excluded, and only one or a few parts related to the measurement point i remain. After finding all the parts related to the measurement point i, perform a graphic operation measurement (about 300 seconds) under the part to obtain the measurement point direction corresponding to the measurement point. That is, it takes about 300 seconds to calculate the direction of one measurement point to automatically update the body-in-white boundary, which greatly reduces the number of geometric calculations and is automatic and efficient.

[0053] Due to structural anomalies and non-standard data normalization issues, it is not possible to guarantee that specific results will be obtained for every operation. Therefore, manual acquisition and 3D display are added to facilitate filling in the gaps and visually checking the accuracy of the information.

[0054] Adopting the method for determining the body-in-white measurement point direction in the embodiments of the present application can bring the following technical effects: (1) Greatly improved efficiency: Under the traditional manual processing method, in the face of up to 1000 or even more body measurement points, designers need to manually process the normal information of the measurement points one by one in tools such as CATIA. The time-consuming for a single project is about 4.6 working days, and the efficiency is extremely low. However, in the present invention, by using a six-sided auxiliary to pre-obtain the bounding box of the part and accurately excluding more than 99% of the parts that do not need to participate in geometric calculations through mathematical calculations, the calculation range is greatly reduced, and the automated calculation time is significantly shortened. The entire process only takes about 0.5 working days in total. Compared with the traditional method, the design time is shortened by nearly 81%, significantly improving the efficiency of determining the body measurement point direction and effectively promoting the shortening of the vehicle R & D and production cycle.

[0055] (2) Significantly reduced error rate: The traditional manual processing method highly relies on the operation of designers and is extremely prone to errors in the measurement point direction or omission due to human negligence. Once such an error occurs, it will have a chain reaction on subsequent measurement and analysis work, seriously affecting the overall quality assessment of the vehicle. The present invention avoids the randomness and subjectivity of manual operations through an automated processing flow, fundamentally reducing errors caused by human factors. It further ensures the accuracy of the normal vector information of the measurement points, effectively reducing the error rate, and provides a reliable data basis for subsequent work such as vehicle body structure strength assessment, assembly precision control, and quality inspection.

[0056] (3)Enhanced consistency and standardization: It is difficult for the manual processing method to ensure the consistency and standardization of the normal vector information of the measurement points. Among different designers, or even for the same designer during different processing times, the normal vector information of the measurement points may show diversity due to differences in operating habits and understandings, which undoubtedly increases the difficulty of design verification and proofreading. This method processes all measurement points using a unified algorithm and calculation rules to ensure the consistency of the normal vector information of the measurement points. At the same time, through a standardized processing flow, the output format and precision of the normal vector information of the measurement points conform to a unified standard, greatly simplifying the design verification and proofreading work, improving work efficiency and accuracy, and providing strong support for standardized production in the vehicle manufacturing process.

[0057] As Figure 6 shown, in the embodiment of the present application, a system for determining the direction of white body measurement points includes a memory and a controller. When a computer-readable program stored in the memory is called by the controller, it can execute the steps of the method for determining the direction of white body measurement points in the embodiment of the present application.

[0058] In the embodiment of the present application, a storage medium stores a computer-readable program, which can execute the steps of the method for determining the direction of white body measurement points in the embodiment of the present application when called.

[0059] In an embodiment of the present application, the storage medium may be a tangible storage medium that can contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. The storage medium may be a machine-readable signal storage medium or a machine-readable storage medium. The storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specific examples of the storage medium would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0060] The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement methods and are all included in the protection scope of the present invention.

Claims

1. A method for determining the measuring point direction of a body in white, characterized in that Including: Create six datum planes, measure the distances from each part on the white body to the six datum planes to obtain the dimensions of the bounding box of the part; Compare the coordinates of the measuring point with the dimensions of the bounding boxes of all parts on the white body to determine the parts related to the measuring point; Among all the parts related to the measuring point, select one part as the selected part of the measuring point; Calculate the direction of the measuring point based on the selected part.

2. The method for determining the measuring point direction of a white body according to claim 1, characterized in that, The six datum planes are respectively the datum plane X+, the datum plane X-, the datum plane Y+, the datum plane Y-, the datum plane Z+ and the datum plane Z-. A cuboid space box is formed by the six datum planes.

3. The method for determining the measuring point direction of a white body according to claim 2, wherein, Measure the distances from each part on the white body to the six datum planes to obtain the dimensions of the bounding box of the part. Specifically: Surround the entire white body with the cuboid space box; Define the coordinate values of the datum plane X+ and the datum plane X- in the X direction, define the coordinate values of the datum plane Y+ and the datum plane Y- in the Y direction, and define the coordinate values of the datum plane Z+ and the datum plane Z- in the Z direction; Measure the distances from each part to the six datum planes, that is, measure the distances between each datum plane and the corresponding surface of the part to obtain the dimensions of the bounding box of the part.

4. The method for determining the measuring point direction of a white body according to claim 3, characterized in that Compare the coordinates of the measuring point with the dimensions of the bounding boxes of all parts on the white body to determine the parts related to the measuring point. Specifically: Obtain the coordinates (x i , y i , z i ) of the measurement point i to be analyzed; Obtain the dimensions of the bounding boxes of all parts on the white body. Among them, the value ranges of the coordinates of the bounding box of part j in the three dimensions of X, Y, and Z are [X j1 , X j2 , [Y j1 , Y j2 , and [Z j1 , Z j2 ; Compare the measuring point with the dimensions of the bounding box of each part respectively to determine all the parts related to the measuring point.

5. The method for determining the measuring point direction of a white body according to claim 4, characterized in that Compare the measuring point with the dimensions of the bounding box of the part, specifically including: Determine x i is within the range of [X j1 , X j2 , and y i is within the range of [Y j1 , Y j2 , and z i is within the range of [Z j1 , Z j2 ; If x i is within the range of [X j1 , X j2 , y i is within the range of [Y j1 , Y j2 , and z i is within the range of [Z j1 , Z j2 , it means that the measurement point i is within the bounding box of the part j, and the part j is determined as the part related to the measurement point i; otherwise, the part j is determined as the part unrelated to the measurement point i.

6. The method for determining the measuring point direction of a body in white according to claim 4, characterized in that, When judging whether the coordinates of the measuring point i are within the bounding box of the part j, a preset error range is allowed; if the absolute value of the difference between the coordinates of the measuring point i and the endpoint value of the interval is less than the error range, it is determined that the coordinates of the measuring point i are within the corresponding interval.

7. The method for determining the measuring point direction of a body in white according to claim 4, wherein After obtaining the dimensions of the bounding box of the part, store the serial number, part number, level and dimensions of the bounding box of the part in an XML file.

8. The method for determining the measuring point direction of a white body according to claim 5, characterized in that, When it is determined that there are M parts related to the measuring point i, obtain the sizes of the parameter files of the M parts, and select the part corresponding to the parameter file with the smallest storage capacity as the selected part.

9. The method for determining the measuring point direction of a white body according to claim 1, wherein Calculate the direction of the measuring point based on the selected part, including: If the measuring point is on the surface of the part, make a normal line of the surface through the measuring point, which is the direction of the measuring point.

10. The method for determining the measuring point direction of a body-in-white according to claim 9, wherein, Calculating the direction of the measuring point based on the selected part further includes: If the measuring point is on the edge of the part, if the edge is a curve, make a tangent line of the edge of the part through the measuring point, make a normal line of the upper surface of the part through the measuring point, rotate the normal line of the upper surface of the part by 90 degrees around the tangent line of the edge. If the rotated normal line direction points outside the part, the rotated normal line direction is the direction of the measuring point. If the rotated normal line direction points inside the part, the opposite direction of the rotated normal line direction is the direction of the measuring point; If the edge is a straight line, make a normal line of the upper surface of the part through the measuring point, rotate the normal line of the upper surface of the part by 90° around the edge of the part. If the rotated normal line direction points outside the part, the rotated normal line direction is the direction of the measuring point. If the rotated normal line direction points inside the part, the opposite direction of the rotated normal line direction is the direction of the measuring point.

11. A system for determining the measuring point direction of a body in white, characterized in that, It includes a memory and a controller. A computer-readable program is stored in the memory. When the computer-readable program is called by the controller, it can execute the steps of the method for determining the measuring point direction of a body in white as described in any one of claims 1 to 10.

12. A storage medium, characterized in that, A computer-readable program is stored therein. When the computer-readable program is called, it can execute the steps of the method for determining the measuring point direction of a body in white as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Body bending rigidity measurement system and method

    CN110186631A

  • Vehicle body size data management and analysis method and device, storage medium and system

    CN111723131A

  • Method for quickly measuring surface profile tolerance of workpiece and medium

    CN112595281A

  • Three-far-point flatness detection method

    CN115355869A

  • Product size measurement method based on 3D model

    CN116091578A