Method, system and storage medium for determining direction of body-in-white measurement points
By introducing a six-sided reference plane to form a rectangular space box when determining the direction of vehicle body measurement points, combined with mathematical calculations and XML file management, the time-consuming and error-prone problems of traditional manual processing are solved, efficient and accurate measurement point direction determination is achieved, and standardization of vehicle R&D and production is supported.
Patent Information
- Application Number
- CN202510744921.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-05
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-06-05
AI Technical Summary
Traditional manual processing methods are time-consuming and labor-intensive when determining the direction of vehicle body measurement points, are prone to errors, and make it difficult to ensure the consistency and standardization of measurement point normal information, thus affecting automobile R&D and production efficiency.
Six reference planes are used to form a rectangular space box. The bounding box size is obtained by measuring the distance between the part and the reference plane. The coordinates of the measuring point are compared with the bounding box size of the part to screen out related parts. The measuring point direction is calculated based on the selected parts. The part information is stored in an XML file, and the parameter file with the smallest storage space is preferentially selected for calculation.
It significantly shortens the time for determining the direction of the measuring point, reduces the error rate, improves the accuracy and consistency of the normal information of the measuring point, and improves the design efficiency and production cycle.
Smart Images

Figure CN120252598B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile design, and in particular to a method, system and storage medium for determining the direction of measuring points of a body-in-white. Background Art
[0002] In modern automotive manufacturing, body measurement point design is a critical step in vehicle R&D and production. Its accuracy and efficiency directly impact the overall quality and production cycle of the vehicle. As a crucial benchmark for assessing vehicle structural strength, assembly accuracy, and quality inspection, the accuracy and rationality of these points are crucial. In practice, precise output of the normal information (i.e., the vertical direction of the measurement point in three-dimensional space) of the body measurement point is necessary to ensure a clear measurement path and accurate measurement.
[0003] However, with the continuous development of the automotive industry and the increasing complexity of vehicle body structures, the number of measurement points has increased dramatically, often exceeding 2,000. Traditional manual processing methods face significant challenges. Specifically, designers must manually process the normal information of each measurement point one by one in tools such as CATIA (a 3D CAD software widely used in automotive design and manufacturing). This process is not only time-consuming and labor-intensive, with a single project typically taking approximately 4.5 working days to complete, but also prone to errors or omissions in measurement point orientation due to human negligence, which in turn affects subsequent measurement and analysis. Furthermore, manual processing makes it difficult to ensure the consistency and standardization of measurement point normal information, increasing the difficulty of design verification and proofreading.
[0004] Therefore, it is necessary to develop a new method, system and storage medium for determining the direction of measuring points on a body-in-white. Summary of the Invention
[0005] The object of the present invention is to provide a method, system and storage medium for determining the direction of a measuring point on a body-in-white (BIW), which can greatly shorten the time for determining the direction of the measuring point.
[0006] In a first aspect, a method for determining a measurement direction of a body-in-white measuring point according to the present invention comprises:
[0007] Create six reference planes and measure the distances from each part on the body-in-white to the six reference planes to obtain the size of the bounding box of the part;
[0008] Comparing the coordinates of the measuring point with the dimensions of the bounding boxes of all parts on the vehicle body in white to determine the part associated with the measuring point;
[0009] Among all parts related to the measuring point, select one part as the selected part of the measuring point;
[0010] An orientation of the hit is calculated based on the selected part.
[0011] Optionally, the six reference planes are respectively plane X+, plane X-, plane Y+, plane Y-, plane Z+, and plane Z-, forming a rectangular spatial box. This rectangular spatial box provides a clear reference system for subsequent coordinate comparison and distance measurement, making the determination of the measurement point direction more intuitive and accurate. The introduction of the rectangular spatial box can effectively reduce the amount of calculation and improve the efficiency of automated processing.
[0012] Optionally, the distance from each part on the body-in-white to the six reference planes is measured to obtain the size of the bounding box of the part, specifically:
[0013] The entire body-in-white is surrounded by a rectangular space box;
[0014] Define the coordinate values of the datum plane X+ and datum plane X- in the X direction, define the coordinate values of the datum plane Y+ and datum plane Y- in the Y direction, and define the coordinate values of the datum plane Z+ and datum plane Z- in the Z direction;
[0015] The distance between each part and the six reference surfaces—that is, the distance between each reference surface and the corresponding surface of the part—is measured to determine the dimensions of the part's bounding box. By accurately measuring the distance between the part and the reference surfaces, the dimensions of each part's bounding box are determined, providing critical data for subsequent measurement point orientation calculations. By defining coordinate values and measuring distances, the part's position and range in three-dimensional space can be accurately calculated, thereby determining the relative position of the measurement point to the part.
[0016] Optionally, the coordinates of the measuring point are compared with the sizes of the bounding boxes of all parts on the body-in-white to determine the parts associated with the measuring point, specifically:
[0017] Get the coordinates of the measurement point i to be analyzed (x i ,y i , z i );
[0018] Get the size of the bounding box of all parts on the white car body, where the coordinate range of the bounding box of part j in the three dimensions of X, Y, and Z is [X j1 ,X j2 ]、[Y j1 ,Y j2 ]、[Z j1 ,Z j2 ];
[0019] The measured point is compared with the dimensions of each part's bounding box to identify all parts associated with the measured point. By comparing the measured point coordinates with the part's bounding box dimensions, the correlation between the measured point and the part is determined. This coordinate comparison allows for rapid selection of parts that match the measured point's location. This method preemptively eliminates over 99% of parts that are not required for geometric calculations, significantly simplifying the previously large and complex computational task and enabling precise calculations only for the parts that truly require processing. This intelligent screening mechanism effectively avoids the waste of inefficient computing resources, making the automated processing process more efficient and streamlined, and significantly reducing overall calculation time.
[0020] Optionally, compare the measured point to the dimensions of the part's bounding box, including:
[0021] Judge x i Is it in [X j1 ,X j2 ] interval, y i Is it in [Y j1 ,Y j2 ] interval, and z i Is it in [Z j1 ,Z j2 ] interval;
[0022] If x i In [X j1 ,X j2 ] interval, y i In [Y j1 ,Y j2 ] interval, and z i In [Z j1 ,Z j2 ] interval, it indicates that measuring point i is within the bounding box of part j, and part j is determined to be related to measuring point i. Otherwise, part j is determined to be unrelated to measuring point i. By determining whether the measuring point coordinates are within the bounding box interval of the part, the association between the measuring point and the part can be accurately determined.
[0023] Optionally, a preset error range is allowed when determining whether the coordinates of measuring point i are within the bounding box of part j. If the absolute value of the difference between the coordinates of measuring point i and the endpoint of the interval is less than the error range, the coordinates of measuring point i are considered to be within the corresponding interval. By allowing coordinate matching within a certain error range, it can accommodate minor deviations in actual production and ensure calculation accuracy.
[0024] Optionally, after obtaining the size of the bounding box of the part, the serial number, part number, level and size of the bounding box of the part are stored in an XML file. This embodiment stores part information in an XML file, thereby achieving efficient management and fast access to data.
[0025] Optionally, when it is determined that there are M parts associated with measuring point i, the sizes of the parameter files for these 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 associated with measuring point i, the present invention innovatively uses parameter file storage capacity as a key decision metric for part selection, prioritizing the part corresponding to the parameter file with the smallest storage capacity. Because storage capacity is closely negatively correlated with access speed, parameter files with small storage capacity can significantly shorten data loading time, minimizing response delays that might otherwise be caused by reading large files. In the complex collaborative environment of vehicle R&D and production, this millisecond-level or even microsecond-level time optimization can significantly improve the efficiency of data exchange between various links, seamlessly integrating design, verification, and production processes, and avoiding process stalls caused by waiting for data.
[0026] Optionally, calculating the direction of the measuring point based on the selected part includes:
[0027] If the measuring point is on the surface of the part, the normal line of the surface passing through the measuring point is the direction of the measuring point. By calculating the normal line of the measuring point on the part surface, the direction of the measuring point can be accurately determined.
[0028] Optionally, calculating the direction of the measuring point based on the selected part further includes:
[0029] If the measuring point is on the edge of the part, and if the edge is a curve, a tangent to the edge of the part is drawn through the measuring point, and a normal to the upper surface of the part is drawn through the measuring point. The normal to the upper surface of the part is rotated 90 degrees around the tangent to the edge. If the normal after rotation points outward from the part, the direction of the normal after rotation is the direction of the measuring point. If the normal after rotation points inward from the part, the direction opposite to the direction of the normal after rotation is the direction of the measuring point.
[0030] If the edge is a straight line, a normal to the part's upper surface is drawn through the measuring point. This normal is then rotated 90° around the edge. If the rotated normal points outward from the part, the direction of the measured point is used. If the rotated normal points inward from the part, the direction opposite to the rotated normal is used as the direction of the measured point. This method ensures the accuracy and reliability of direction calculations for measuring points on part edges, avoiding errors that can occur with traditional methods.
[0031] In a second aspect, a system for determining the direction of a measuring point of a body in white (BIW) according to the present invention comprises a memory and a controller. The memory stores a computer-readable program. When the computer-readable program is called by the controller, it can execute the steps of the method for determining the direction of a measuring point of a body in white (BIW) according to the present invention.
[0032] In a third aspect, a storage medium according to the present invention stores a computer-readable program therein, and when the computer-readable program is called, the steps of the method for determining the direction of a measuring point of a body-in-white according to the present invention can be executed.
[0033] Beneficial effects of the present invention:
[0034] (1) Significant improvement in efficiency:
[0035] Traditional manual processing methods require designers to manually process the normal orientation information of up to 1,000 or more body measurement points one by one in tools like CATIA, taking approximately 4.6 working days per project and achieving extremely low efficiency. However, this invention uses a six-sided method to pre-derive the bounding box of the parts. Using mathematical calculations, it accurately excludes over 99% of parts that are not required for geometric calculations. This significantly reduces the calculation scope and significantly shortens the automated calculation time, bringing the entire process to only approximately 0.5 working days. Compared to traditional methods, this reduces design time by nearly 81%, significantly improving the efficiency of determining body measurement point orientations, and significantly shortening vehicle R&D and production cycles.
[0036] (2) The error rate is significantly reduced:
[0037] Traditional manual processing methods are highly dependent on the designer's input, making it easy for errors or omissions in measurement point orientation due to human negligence. Once such errors occur, they can have a ripple effect on subsequent measurement and analysis, seriously impacting the overall vehicle quality assessment. This invention, through automated processing, avoids the arbitrariness and subjectivity of manual operation, fundamentally reducing errors caused by human factors. This further ensures the accuracy of measurement point normal information, effectively reducing the error rate, and providing a reliable data foundation for subsequent work such as vehicle body structural strength assessment, assembly precision control, and quality inspection.
[0038] (3) Enhanced consistency and standardization:
[0039] Manual processing methods struggle to ensure the consistency and standardization of point normal information. Differences in operating habits and understanding between different designers, or even between the same designer at different times, can lead to variations in point normal information, undoubtedly increasing the difficulty of design verification and proofreading. This present invention utilizes a unified algorithm and calculation rules to process all points, ensuring the consistency of point normal information. Furthermore, through a standardized processing flow, the output format and accuracy of point normal information meet unified standards. This significantly simplifies design verification and proofreading, improves efficiency and accuracy, and provides strong support for standardized production in vehicle manufacturing. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1This is a schematic diagram of a structure tree of a body-in-white product in an embodiment of the present application;
[0041] Figure 2 Flowchart of the method for determining the measurement direction of the body-in-white measurement point in the embodiment of the present application;
[0042] Figure 3 This is a schematic diagram of a rectangular space box in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of calculating the size of a part bounding box in an embodiment of the present application;
[0044] Figure 5 This is a schematic diagram of the principle of calculating the direction of the measuring point in the embodiment of the present application;
[0045] Figure 6 This is a principle block diagram of a system for determining the measurement direction of a body-in-white measurement point in an embodiment of the present application;
[0046] In the figure: 1-surface measuring point, 2-hole measuring point, 3-edge measuring point. DETAILED DESCRIPTION
[0047] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will be able to understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways 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 the purpose of illustrating the present invention and are not intended to limit the scope of protection of the present invention.
[0048] like Figure 1 The following is a schematic diagram of the body-in-white (BIW) product structure tree. Typically, a BIW contains approximately 500 parts (e.g., Part-01-01-01, Part-01-01-02, etc.), which are inherited from assemblies (e.g., Product, Product-01, etc.). (There are approximately 1,500 assemblies in a BIW.) These 500 parts plus 1,500 assemblies add up to approximately 2,000 nodes. Finding the part where the measurement point is located within this massive amount of data is extremely time-consuming. With 1,000 measurement points on the BIW, a single measurement takes approximately 0.2 seconds, resulting in a total measurement time of 2,000 * 1,000 * 0.2 seconds, or approximately 111 hours, or 4.6 days.
[0049] like Figure 2 As shown, in order to solve the above problems, in an embodiment of the present application, a method for determining the measurement direction of a body-in-white measuring point includes the following steps:
[0050] Create six datum planes and measure the distances from each part in the body-in-white to these six datum planes to determine the dimensions of the part's bounding box. Compare the coordinates of the measured point with the dimensions of the bounding boxes of all parts in the body-in-white to identify all parts associated with the measured point. Select one of the parts associated with the measured point as the selected part for the measured point. The direction of the measured point is calculated based on the selected part.
[0051] In the embodiments of this application, the precise enclosing of body-in-white parts and the unification of the coordinate system are achieved by introducing six reference planes. These six reference planes correspond to the positive and negative references in the X, Y, and Z directions, forming a rectangular spatial box that can accurately cover the entire geometric range of the body-in-white. This method can determine the size of the part's bounding box by measuring the distance between the part and the reference plane, and then determine the association between the measuring point and the part by comparing the coordinates of the measuring point with the size of the part's bounding box. This method significantly improves the efficiency of measuring the direction of the measuring point, 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 a few hours.
[0052] like Figure 3 As shown, in a possible embodiment, the six reference planes are respectively reference plane X+, reference plane X-, reference plane Y+, reference plane Y-, reference plane Z+ and reference plane Z-, and a rectangular space box is formed by the six reference planes. In this embodiment, a rectangular space box in three-dimensional space is utilized. Through the definition of the six reference planes, it is ensured that the rectangular space box can completely surround the body-in-white, providing a basis for the subsequent calculation of the direction of the measuring point. The formation of the rectangular space box provides a clear reference system for the subsequent coordinate comparison and distance measurement, making the determination of the measuring point direction more intuitive and accurate. By introducing the rectangular space box, this method can effectively reduce the amount of calculation and improve the efficiency of automated processing.
[0053] In a possible embodiment, the distance between each part on the body-in-white and the six reference planes is measured to obtain the size of the bounding box of the part, specifically:
[0054] The entire body-in-white is surrounded by a rectangular 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. In this embodiment, the size of the bounding box of each part is determined by accurately measuring the distance between the part and the reference plane, which provides key data for the subsequent measurement point direction calculation. Through the definition of coordinate values and distance measurement, the position and range of the part in three-dimensional space can be accurately calculated, thereby determining the relative position of the measuring point and the part.
[0055] In a possible embodiment, the coordinates of the measuring point are compared with the sizes of the bounding boxes of all parts on the vehicle body in white to determine the parts associated with the measuring point, specifically:
[0056] Get the coordinates of the measurement point i to be analyzed (x i ,y i , z i ); Get the size of the bounding box of all parts on the white car body, where the coordinate range of the bounding box of part j in the three dimensions of X, Y, and Z is [X j1 ,X j2 ]、[Y j1 ,Y j2 ]、[Z j1 ,Z j2 ]. The measuring point is compared with the size of the bounding box of each part to determine all parts related to the measuring point. By comparing the coordinates of the measuring point with the size of the part's bounding box, the correlation between the measuring point and the part is determined. This method can quickly screen out parts that match the measuring point through coordinate comparison. This method can pre-exclude more than 99% of parts that do not need to participate in geometric calculations, greatly simplifying the originally large and complex calculation tasks, and only accurately calculates 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.
[0057] In a possible embodiment, comparing the measurement point with the size of the bounding box of the part specifically includes:
[0058] Judge x i Is it in [X j1 ,X j2 ] interval, y i Is it in [Y j1 ,Y j2 ] interval, and z i Is it in [Z j1 ,Z j2 ] interval; if x i In [X j1 ,X j2 ] interval, y i In [Y j1 ,Y j2 ] interval, and z i In [Z j1 ,Z j2 ] interval, it indicates that measuring point i is within the bounding box of part j, and part j is determined to be related to measuring point i. Otherwise, part j is determined to be unrelated to measuring point i. By determining whether the measuring point coordinates are within the bounding box interval of the part, the association between the measuring point and the part can be accurately determined.
[0059] In one possible embodiment, a preset error range is allowed when determining whether the coordinates of measuring point i are within the bounding box of part j. If the absolute value of the difference between the coordinates of measuring point i and the endpoint of the interval is less than the error range, the coordinates of measuring point i are considered to be within the corresponding interval. By allowing coordinate matching within a certain error range, it can accommodate minor deviations in actual production and ensure calculation accuracy.
[0060] In one possible embodiment, after obtaining the size of the bounding box of the part, the serial number, part number, level, and size of the bounding box of the part are stored in an XML file. This embodiment stores part information in an XML file, achieving efficient data management and fast access.
[0061] In one possible embodiment, when it is determined that there are M parts associated with measuring 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 associated with measuring point i, the parameter file storage capacity is used as the key decision indicator for selecting the part, and the part corresponding to the parameter file with the smallest storage capacity is preferentially selected. Because storage capacity is closely negatively correlated with access speed, parameter files with small storage capacity can significantly shorten data loading time, compressing response delays that may otherwise be caused by reading large files to the extreme. In the complex collaborative environment of vehicle R&D and production, this millisecond or even microsecond time optimization can significantly improve the efficiency of data exchange between various links, allowing for seamless integration of design, verification, production and other processes, and avoiding process stagnation caused by waiting for data.
[0062] In a possible embodiment, calculating the direction of the measuring point based on the selected part includes:
[0063] If the hit is on the face of the part (see Figure 5 For surface measuring points 1 and hole measuring points 2, the direction of the measuring point is determined by calculating the normal of the measuring point on the part surface.
[0064] The parts on the body-in-white are sheet metal parts, and the measuring points are usually set on the upper surface of the sheet metal parts. If the measuring points are on the edge of the part (see Figure 5For edge measurement point 3), if the edge is a curve, draw the tangent of the part edge through the measuring point, draw the normal of the part's top surface through the measuring point, and rotate the normal of the part's top surface 90 degrees around the tangent of the edge. If the normal after rotation points out of the part, the direction of the rotated normal is the direction of the measuring point. If the normal after rotation points into the part, the direction opposite to the rotated normal is the direction of the measuring point. If the edge is a straight line, draw the normal of the part's top surface through the measuring point, and rotate the normal of the part's top surface 90 degrees around the edge. If the normal after rotation points out of the part, the direction of the rotated normal is the direction of the measuring point. If the normal after rotation points into the part, the direction opposite to the rotated normal is the direction of the measuring point.
[0065] This method can ensure the accuracy and reliability of the direction calculation of the measuring points on the edge of the part, avoiding the errors that may exist in traditional methods.
[0066] The following CATIA secondary development is used as a tool to explain this method in detail.
[0067] S1, because CATIA software itself does not have the function of measuring part position information, but it has the function of measuring the distance between parts, and this function can be developed and called. This method introduces a rectangular space box with six reference surfaces (see Figure 3 ), the entire body in white is surrounded by a rectangular space box.
[0068] S2, measure the distance between each part and 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.
[0069] like Figure 4 As shown in the figure, define the coordinate values of reference plane X+ and reference plane X- in the X direction as +A and -A respectively. For example, the distance between the test part and reference plane X+ is 140CM, and the distance between the part and reference plane X- is 230CM. Then the part's X1=-A+230, X2=+A-140, the unit is CM.
[0070] According to the above method, the Y1, Y2, Z1, and Z2 of the part are calculated, and the part number, part number, level, and the size of the bounding box are stored, as shown in Table 1.
[0071] Table 1
[0072]
[0073] For example, the dimensions of the bounding box for part number 5421101-FL01 are (X1=375.9, X2=3698.8, Y1=-947.3, Y2=-498.7, Z1=-83, Z2=1113.3).
[0074] The dimensions of the bounding box for part number 5421102-FL01 are (X1=501.6, X2=545.5, Y1=-848.4, Y2=-810, Z1=513.2, Z2=578.2).
[0075] To calculate the size of the bounding box for each part, you need to measure and calculate six times. Assemble the six design base planes into the assembly and activate visualization to measure the distance to each part. After the measurement is completed, remove them.
[0076] During the test, the measurement system of CATIA software was opened, two measurement objects were created, and the distance between each part and each face of the rectangular space box was measured cyclically. The size of the bounding box of the part was obtained and stored in an XML file. The format is shown in Table 1.
[0077] S3, calculates the bounding box of a single measurement point and each part.
[0078] Taking measuring point i as an example, the size of the bounding box of measuring point i is compared with that of all parts, specifically:
[0079] Assume that the coordinates of the measuring point i are (x i ,y i , z i ), judge x i Is it in [X j1 ,X j2 ] interval, y i Is it in [Y j1 ,Y j2 ] interval, and z i Is it in [Z j1 ,Z j2 ] interval; if x i In [X j1 ,X j2 ] interval, y i In [Y j1 ,Y j2 ] interval, and z i In [Z j1 ,Z j2 ] interval, it means that the measuring point i is located in the bounding box of the part j. If the part j is determined to be a part related to the measuring point i, the measuring point i and this part will be considered for subsequent calculations; otherwise, the part j is determined to be a part unrelated to the measuring point i.
[0080] To minimize computational complexity, when measuring point i is within the bounding box of M parts, the part corresponding to the parameter file with the smallest storage capacity (used to store part-related parameters; larger parts require larger parameter files) is selected for measurement. Assuming measuring point i is associated with four parts, the direction of measuring point i (i.e., the direction of measuring point i) can be calculated using the parameter file of any of the four parts. To improve efficiency, the part with the smallest parameter file storage capacity is selected.
[0081] Suppose there are four parts related to measuring point i, namely part A, part B, part C and part D. When CATIA software accesses the storage address of the parameter files of part A, part B, part C and part D, it first reads the size of the four parameter files. Suppose the storage capacity of the parameter file of part A is aM, the storage capacity of the parameter file of part B is bM, the storage capacity of the parameter file of part C is cM, and the storage capacity of the parameter file of part D is dM, among which a<b<c<d, that is, the parameter file of part A has the smallest storage capacity among the four parameter files, then CATIA software directly calls the parameter file of part A.
[0082] CATIA software has an interface that can directly access the address of the parameter file through the structure tree, and thus access the size of the parameter file. The size of the parameter file is proportional to the running time, so in order to shorten the time, the part corresponding to the parameter file with the smallest storage capacity is selected as the selected part.
[0083] S4 calculates the orientation of the measured point based on the selected part. For example, use the .ReferenceProduct.Parent method (a common object property access method used to navigate and retrieve related objects in a hierarchical structure) to obtain the part and its document. In the CATIA Part module, use the CATIA Graphics Factory to create a normal and obtain the orientation using the point as a reference.
[0084] Because S2 and S3 are mathematical calculations, computers can complete them in less than one millionth of a second. After S2 and S3 are complete, 99% of the parts are eliminated, leaving only one or a few parts associated with measuring point i. After finding all parts associated with measuring point i, a graphical measurement operation (approximately 300 seconds) is performed under the part to obtain the corresponding measuring point direction. In other words, calculating the direction of a single measuring point takes approximately 300 seconds to automatically update the body-in-white boundary, significantly reducing the number of geometric calculations, making it automatic and efficient.
[0085] Due to structural anomalies and incomplete data standardization issues, it is impossible to guarantee that all operations will have specific results. Therefore, manual acquisition and 3D display are added to facilitate gap filling and intuitively check the accuracy of information.
[0086] The method for determining the direction of the body-in-white measurement point in the embodiment of the present application can bring the following technical effects:
[0087] (1) Significant improvement in efficiency:
[0088] Traditional manual processing methods require designers to manually process the normal orientation information of up to 1,000 or more body measurement points one by one in tools like CATIA, taking approximately 4.6 working days per project and achieving extremely low efficiency. However, this invention uses a six-sided method to pre-derive the bounding box of the parts. Using mathematical calculations, it accurately excludes over 99% of parts that are not required for geometric calculations. This significantly reduces the calculation scope and significantly shortens the automated calculation time, bringing the entire process to only approximately 0.5 working days. Compared to traditional methods, this reduces design time by nearly 81%, significantly improving the efficiency of determining body measurement point orientations, and significantly shortening vehicle R&D and production cycles.
[0089] (2) The error rate is significantly reduced:
[0090] Traditional manual processing methods are highly dependent on the designer's input, making it easy for errors or omissions in measurement point orientation due to human negligence. Once such errors occur, they can have a ripple effect on subsequent measurement and analysis, seriously impacting the overall vehicle quality assessment. This invention, through automated processing, avoids the arbitrariness and subjectivity of manual operation, fundamentally reducing errors caused by human factors. This further ensures the accuracy of measurement point normal information, effectively reducing the error rate, and providing a reliable data foundation for subsequent work such as vehicle body structural strength assessment, assembly precision control, and quality inspection.
[0091] (3) Enhanced consistency and standardization:
[0092] Manual processing methods struggle to ensure consistent and standardized point normal information. Differences in operating habits and understanding can lead to variations in point normal information between different designers, or even within the same designer at different times. This undoubtedly complicates design verification and proofreading. This method utilizes a unified algorithm and calculation rules to process all points, ensuring consistent point normal information. Furthermore, through a standardized processing flow, the output format and accuracy of point normal information meet unified standards. This significantly simplifies design verification and proofreading, improves efficiency and accuracy, and provides strong support for standardized production in vehicle manufacturing.
[0093] like Figure 6 As shown, in an embodiment of the present application, a system for determining the direction of a measuring point of a body in white includes a memory and a controller. The memory stores a computer-readable program. When the computer-readable program is called by the controller, it can execute the steps of the method for determining the direction of a measuring point of a body in white in the embodiment of the present application.
[0094] In an embodiment of the present application, a storage medium stores a computer-readable program therein. When the computer-readable program is called, the steps of the method for determining the direction of the body-in-white measuring point in the embodiment of the present application can be executed.
[0095] In an embodiment of the present application, the storage medium may be a tangible storage medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0096] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be considered as equivalent replacement methods and are included in the scope of protection of the present invention.
Claims
1. A method for determining the direction of a body-in-white measuring point, characterized in that: include: Create six reference planes and measure the distances from each part on the body-in-white to the six reference planes to obtain the size of the bounding box of the part; Comparing the coordinates of the measuring point with the dimensions of the bounding boxes of all parts on the vehicle body in white to determine the part associated with the measuring point; Among all parts related to the measuring point, select one part as the selected part of the measuring point; calculating the direction of the measuring point based on the selected part; The six reference planes are respectively reference plane X+, reference plane X-, reference plane Y+, reference plane Y-, reference plane Z+ and reference plane Z-, and a rectangular space box is formed by the six reference planes; Measure the distance between each part on the body-in-white and the six reference planes to obtain the size of the bounding box of the part, specifically: The entire body-in-white is surrounded by a rectangular space box; Define the coordinate values of the datum plane X+ and datum plane X- in the X direction, define the coordinate values of the datum plane Y+ and datum plane Y- in the Y direction, and define the coordinate values of the datum plane Z+ and datum plane Z- in the Z direction; Measure the distance between each part and 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; Compare the coordinates of the measuring point with the dimensions of the bounding boxes of all parts on the body in white to determine the part associated with the measuring point, specifically: Get the coordinates of the measurement point i to be analyzed (x i ,y i , z i ); Get the size of the bounding box of all parts on the white car body, where the coordinate range of the bounding box of part j in the three dimensions of X, Y, and Z is [X j1 ,X j2 ]、[Y j1 ,Y j2 ]、[Z j1 ,Z j2 ]; Comparing the measurement point with the size of the bounding box of each part to determine all parts related to the measurement point; Compare the measured point to the dimensions of the part's bounding box, including: Judge x i Is it in [X j1 ,X j2 ] interval, y i Is it in [Y j1 ,Y j2 ] interval, and z i Is it in [Z j1 ,Z j2 ] interval; If x i In [X j1 ,X j2 ] interval, y i In [Y j1 ,Y j2 ] interval, and z i In [Z j1 ,Z j2 ] interval, it means that the measuring point i is located in the bounding box of the part j, and the part j is determined to be a part related to the measuring point i; otherwise, the part j is determined to be a part unrelated to the measuring point i.
2. The method for determining the direction of a body-in-white measuring point according to claim 1, characterized in that: When determining whether the coordinates of measuring 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 measuring point i and the endpoint value of the interval is less than the error range, the coordinates of measuring point i are determined to be within the corresponding interval.
3. The method for determining the direction of a body-in-white measuring point according to claim 1, characterized in that: After obtaining the size of the bounding box of the part, the serial number, part number, level and size of the bounding box of the part are stored in an XML file.
4. The method for determining the direction of a body-in-white measuring point according to claim 1, characterized in that: When it is determined that there are M parts related to the measuring 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.
5. The method for determining the direction of a body-in-white measuring point according to claim 1, characterized in that: Calculating the direction of the measuring point based on the selected part includes: If the measuring point is on the surface of the part, the normal of the surface passing through the measuring point is the direction of the measuring point.
6. The method for determining the direction of a body-in-white measuring point according to claim 5, characterized in that: 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, and if the edge is a curve, a tangent to the edge of the part is drawn through the measuring point, and a normal to the upper surface of the part is drawn through the measuring point. The normal to the upper surface of the part is rotated 90 degrees around the tangent to the edge. If the normal after rotation points outward from the part, the direction of the normal after rotation is the direction of the measuring point. If the normal after rotation points inward from the part, the direction opposite to the direction of the normal after rotation is the direction of the measuring point. If the edge is a straight line, draw the normal of the upper surface of the part through the measuring point, and rotate the normal of the upper surface of the part 90° around the edge of the part. If the direction of the rotated normal points outside the part, the direction of the rotated normal is the direction of the measuring point. If the direction of the rotated normal points inside the part, the opposite direction of the rotated normal is the direction of the measuring point.
7. A system for determining the direction of a body-in-white measuring point, characterized in that: The method comprises a memory and a controller, wherein the memory stores a computer-readable program, and when the computer-readable program is called by the controller, the method can execute the steps of the method for determining the direction of the body-in-white measuring point as claimed in any one of claims 1 to 6.
8. A storage medium, characterized in that: A computer-readable program is stored therein, and when the computer-readable program is called, the steps of the method for determining the direction of the body-in-white measuring point as claimed in any one of claims 1 to 6 can be executed.
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