Automobile covering part size verification method, device and equipment and storage medium
Patent Information
- Application Number
- CN202611295564.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-10-30
AI Technical Summary
[0004]本申请的主要目的在于提供一种汽车覆盖件尺寸验证方法、装置、设备及存储介质,旨在解决现有技术中汽车覆盖件冲压同步工程效率较低的技术问题
[0015]本申请提供了一种汽车覆盖件尺寸验证方法,通过获取待检证汽车覆盖件在测量区域内的几何曲线组;基于几何曲线组创建断面,将断面与汽车覆盖件的曲面求交计算,得到表征测量区域内局部特征断面造型的截面线组;对截面线组中的截面线进行离散得到离散点,并根据离散点的连续性和曲率特征对离散点进行分类,得到截面线的特征点;将截面线的特征点与目标检证尺寸对应的关键特征点进行匹配映射,得到映射后的截面线特征点;基于映射后的截面线特征点,测量得到目标检证尺寸。实现汽车覆盖件产品数据工艺可行性的自动检证,提高冲压同步工程效率。
Smart Images

Figure CN123013470A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of parts design technology, and in particular to a method, apparatus, device and storage medium for verifying the dimensions of automotive body panels. Background Technology
[0002] New energy vehicles typically consist of multiple subsystems, including the body, trim, powertrain, and electronics. The development of the body system is relatively time-consuming, and most body components are complex thin-walled metal parts, often formed using stamping processes, especially the body panels that form the overall frame and embody the desired design. Compared to other body components, body panels are characterized by large dimensions, aspect ratios, complex cross-sections, and varied curved shapes. They exhibit significant non-linearity during stamping, resulting in a longer overall product development, process design, and manufacturing debugging cycle.
[0003] In the inspection of local features of body panels, it is difficult to obtain the results by directly measuring the complex spatial curved surface. It can only rely on engineers to manually design auxiliary geometric elements and then manually measure them one by one. This is relatively inefficient and easily affected by subjective experience, resulting in missed or false detections. Summary of the Invention
[0004] The main objective of this application is to provide a method, apparatus, equipment, and storage medium for verifying the dimensions of automotive body panels, aiming to solve the technical problem of low efficiency in the synchronous stamping process of automotive body panels in the prior art.
[0005] To achieve the above objectives, this application proposes a method for verifying the dimensions of automotive body panels, the method comprising: Obtain the set of geometric curves of the vehicle body panel to be inspected within the measurement area; Based on the geometric curve set, a cross section is created, and the intersection of the cross section with the surface of the automotive body panel is calculated to obtain a set of cross section lines that characterize the local feature cross section shape within the measurement area. Discretize the cross-section lines in the cross-section line group to obtain discrete points, and classify the discrete points according to their continuity and curvature characteristics to obtain the feature points of the cross-section lines; The feature points of the cross-section line are matched and mapped with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points. The target inspection size is measured based on the feature points of the mapped cross-section line.
[0006] In one embodiment, the step of obtaining the set of geometric curves of the vehicle body panel to be inspected within the measurement area includes: Obtain the start and end edges of the measurement region; By adopting the principle of minimum tangent curvature, a continuous geometric curve between the starting edge and the ending edge is obtained, thus obtaining the geometric curve set.
[0007] In one embodiment, the step of creating a cross-section based on the set of geometric curves includes: The cross-sectional linear density is determined based on the verification requirements of the target verification dimension; Based on the cross-sectional line density, calculate the distribution location of the cross-sectional lines within the measurement area; Obtain the normal of the geometric curve group at the distribution location, and create the cross section based on the distribution location and the normal.
[0008] In one embodiment, the step of discretizing the cross-sections in the cross-section group to obtain discrete points, and classifying the discrete points according to their continuity and curvature characteristics to obtain the feature points of the cross-sections, includes: Discretize the cross-section lines in the cross-section line group to obtain discrete points; Based on the continuity and curvature characteristics of the discrete points, the discrete points are divided into at least one of the following: positional discontinuity points, cusps, curvature continuity points, curvature inflection points, and curvature extrema points. The discrete points obtained from the division are used as the feature points of the cross-sectional line; Wherein, the positional discontinuity point is the endpoint of the discontinuity of the multiple cross-sectional lines when the cross-section intersects with the hole feature of the automotive body panel; the cusp is a discrete point with different tangent directions at the same position on the cross-sectional line; and the curvature inflection point is a discrete point on the cross-sectional line where the curvature direction changes.
[0009] In one embodiment, before the step of matching and mapping the feature points of the cross-section line with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points, the following steps are included: Based on the verification requirements of the target verification size, the key feature points corresponding to the target verification size are extracted and classified.
[0010] In one embodiment, the step of matching and mapping the feature points of the cross-section line with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points includes: Starting from the fixed endpoint of the cross-section line, the feature points of the cross-section line are sorted. The sorted feature points of the cross-section line are sequentially matched and mapped with the key feature points corresponding to the target verification size to obtain the mapped feature points of the cross-section line.
[0011] In one embodiment, the target inspection dimension is: radius (R-angle), elongation, hole diameter, or sidewall depth. The step of measuring the target inspection dimension based on the mapped cross-sectional feature points includes: When the target verification size is the R-angle size, the curvature of the location of the feature point of the mapped cross-section line is obtained to obtain the R-angle size; Alternatively, when the target verification dimension is the elongation ratio, the elongation ratio is obtained by acquiring the line length connecting the feature points of the mapped cross-section line and the cross-section line length between each of the mapped cross-section line feature points; Alternatively, when the target verification size is the hole diameter, the length of the line connecting the feature points of the mapped cross-section line is obtained to get the hole diameter; Alternatively, when the target verification dimension is the sidewall depth, the projection length of the line connecting the feature points of the mapped cross-section line in a fixed direction within the cross-section plane is obtained to obtain the sidewall depth.
[0012] Furthermore, to achieve the above objectives, this application also proposes an automotive body panel size verification device, which includes: The curve acquisition module is used to acquire the geometric curve set of the automotive body panel to be inspected within the measurement area; The cross-section line generation module is used to create cross-sections based on the geometric curve group, calculate the intersection of the cross-sections with the curved surface of the automotive body panel, and obtain a cross-section line group that characterizes the local feature cross-section shape within the measurement area. The feature point recognition module is used to discretize the cross-section lines in the cross-section line group to obtain discrete points, and classify the discrete points according to the continuity and curvature characteristics of the discrete points to obtain the feature points of the cross-section lines. The feature point mapping module is used to match and map the feature points of the cross-section line with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points. The dimension measurement module is used to measure the target verification dimension based on the feature points of the mapped cross-section line.
[0013] In addition, to achieve the above objectives, this application also proposes an automotive body panel size verification device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the automotive body panel size verification method as described above.
[0014] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the automotive body panel size verification method described above.
[0015] This application provides a method for verifying the dimensions of automotive body panels. The method involves acquiring a set of geometric curves of the automotive body panel to be inspected within a measurement area; creating cross-sections based on the geometric curves; calculating the intersection of these cross-sections with the curved surfaces of the automotive body panel to obtain a set of cross-sectional lines characterizing the local cross-sectional shape within the measurement area; discretizing the cross-sectional lines in the set to obtain discrete points; classifying these discrete points based on their continuity and curvature characteristics to obtain feature points of the cross-sectional lines; matching and mapping these feature points with key feature points corresponding to the target inspection dimension to obtain mapped feature points of the cross-sectional lines; and measuring the target inspection dimension based on these mapped feature points. This method enables automatic verification of the process feasibility of automotive body panel product data, improving the efficiency of stamping synchronous engineering. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating an embodiment of the method for verifying the dimensions of automotive body panels in this application. Figure 2 This is a schematic diagram of the first process of the second embodiment of the method for verifying the size of automotive body panels in this application; Figure 3 This is a schematic diagram of the verification object provided in Embodiment 2 of the method for verifying the dimensions of automotive body panels in this application; Figure 4 This is a schematic diagram of cross-sectional line generation provided in Embodiment 2 of the method for verifying the dimensions of automotive body panels in this application; Figure 5 This is a second process diagram provided for Embodiment 2 of the method for verifying the dimensions of automotive body panels in this application; Figure 6 This is a schematic diagram of the third process provided in Embodiment 2 of the method for verifying the dimensions of automotive body panels in this application; Figure 7 This is a flowchart illustrating Embodiment 3 of the method for verifying the dimensions of automotive body panels in this application. Figure 8 This is a schematic diagram of the module structure of the automotive body panel size verification device according to an embodiment of this application; Figure 9This is a schematic diagram of the structure of the automotive body panel size verification device, which is part of the hardware operating environment involved in the automotive body panel size verification method in this application embodiment.
[0019] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0021] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0022] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an automotive body panel size verification device capable of performing the above functions. The following description uses an automotive body panel size verification device as an example to illustrate this embodiment and the subsequent embodiments.
[0023] Based on this, embodiments of this application provide a method for verifying the dimensions of automotive body panels, referring to... Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the method for verifying the dimensions of automotive body panels in this application.
[0024] In this embodiment, the method for verifying the size of automotive body panels includes steps S10 to S50: Step S10: Obtain the geometric curve set of the vehicle body panel to be inspected within the measurement area.
[0025] It should be noted that automotive body panels can refer to complex thin-walled stamped metal components that form the overall frame of the vehicle body and embody the intended styling, such as fenders, door panels, and hood panels. The measurement area can be a localized feature area on the body panel that requires process verification, typically defined by a set of continuous geometric curves. The set of geometric curves can be a set of continuous curves that defines the measurement area and reflects its boundary direction.
[0026] Step S20: Create a cross-section based on the geometric curve set, calculate the intersection of the cross-section with the surface of the vehicle body panel, and obtain a set of cross-sectional lines that characterize the local feature cross-sectional shape within the measurement area.
[0027] It should be noted that a cross-section can be a geometric plane or surface constructed based on a set of geometric curves, used to intersect with the surface of the cover. Surface intersection refers to the geometric operation of calculating the intersection of the cross-section and the three-dimensional surface of the cover. A section line can be the intersection line obtained by the intersection of the cross-section and the surface of the cover, which can express the local characteristic cross-sectional shape of the cover at the corresponding position; a set of multiple section lines is called a section line group.
[0028] Step S30: Discretize the cross-section lines in the cross-section line group to obtain discrete points, and classify the discrete points according to their continuity and curvature characteristics to obtain the feature points of the cross-section lines.
[0029] It should be noted that discretization can be the process of sampling a continuous cross-sectional line into a number of discrete points according to certain rules; these discrete points are the points obtained from the sampling. Continuity and curvature characteristics refer to whether the discrete points are continuous on the cross-sectional line and the change in curvature at their locations.
[0030] Step S40: Match and map the feature points of the cross-section line with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points.
[0031] It should be noted that feature points can be points identified from discrete points based on continuity and curvature characteristics, which can reflect the local geometric features of the cross-section line.
[0032] Step S50: Based on the mapped cross-sectional feature points, the target inspection size is measured.
[0033] It should be noted that the target verification dimension can be a specific dimension item in the verification list that needs to be verified, such as the radius of curvature, hole diameter, sidewall depth, elongation, etc.; key feature points can be feature locations directly related to the measurement of the target verification dimension. Matching mapping can be the process of establishing a one-to-one correspondence between the feature points of the cross-section line and the key feature points corresponding to the target verification dimension.
[0034] Understandably, the measurement area is defined based on the local features on the cover that need to be verified. Its range is determined by the set of geometric curves defining the area and is not limited to a fixed shape. The set of geometric curves is defined by continuity, meaning that the curves within the set are connected end-to-end without breaks. The number of cross-sectional lines in the cross-sectional line set can be one or more, depending on the distribution of cross-sections within the measurement area. The classification of feature points is based on the continuity and curvature characteristics of discrete points, covering various situations where positional continuity and curvature change. The matching and mapping involves one side of the object being the feature points identified on the cross-sectional line and the other side being the key feature points of the target verification dimension. After establishing a correspondence between the two, the mapped cross-sectional line feature points are obtained.
[0035] The solution addresses the problem that critical verification dimensions on complex spatial curved surfaces of body panels cannot be directly measured, and that relying solely on manually designed auxiliary geometric elements for item-by-item measurement leads to low efficiency and a high risk of missed or false detections. This problem transforms the dimensional measurement of dimensions on three-dimensional curved surfaces into dimensional measurement of dimensions within a planar cross-section. Specifically, the process first acquires a set of geometric curves within the measurement area, providing the geometric basis for subsequent cross-section construction. Then, a cross-section is created based on this set of geometric curves and intersected with the curved surface of the body panel to obtain a set of cross-sectional lines that can express the local characteristic cross-sectional shape. This step reduces the dimensionality of the difficult-to-measure curved surface shape into a processable cross-sectional line. Subsequently, the cross-sectional lines are discretized, and the discrete points are classified according to continuity and curvature characteristics. Feature points reflecting geometric features are identified, giving the critical locations involved in the verification dimensions a data form that can be recognized by a computer. Furthermore, the feature points of the cross-sectional lines are matched and mapped with the key feature points of the target verification dimension, establishing a correspondence between the cross-sectional line features and the target verification dimension. Finally, the target verification dimension can be measured based on the mapped cross-sectional line feature points.
[0036] In practice, the fender can be used as the automotive body panel to be inspected. First, a local feature area to be inspected is selected on the fender as the measurement area, and a set of continuous geometric curves defining this area is obtained, resulting in a geometric curve set. Then, based on this geometric curve set, several cross-sections distributed along the curve direction are created. The intersections of each cross-section with the fender surface are calculated to obtain a set of cross-sectional lines. These cross-sectional lines collectively represent the cross-sectional shape of the fender at the corresponding location. Next, each cross-sectional line is discretized into discrete points at a certain sampling density, and classified according to the continuity and curvature characteristics of each discrete point, identifying feature points reflecting the fender's hole features, radius (R-angle), sidewalls, etc. Then, the identified cross-sectional line feature points are matched and mapped with the key feature points of the target inspection dimension; for example, feature points identified at hole features are mapped to key feature points of the hole diameter inspection dimension. Finally, the measured value of the hole diameter is calculated based on the mapped cross-sectional line feature points and output.
[0037] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 , Figure 2 This is a first flowchart illustrating an embodiment of the automotive body panel size verification method of this application. The arithmetic average includes: the average positive current and the average negative current. In step S10, the automotive body panel size verification method includes: Step S101: Obtain the start edge and end edge of the measurement area.
[0038] It should be noted that the starting edge can be a curve on the boundary of the measurement area that serves as the starting point of the geometric curve group, and the ending edge can be a curve on the boundary of the measurement area that serves as the ending point.
[0039] Step S102: Using the principle of minimum tangent curvature, obtain the continuous geometric curve between the starting edge and the ending edge to obtain the geometric curve set.
[0040] It should be noted that the principle of minimum tangent curvature refers to the selection criterion of minimizing the curvature change of adjacent curves at the tangent position when automatically completing the intermediate curve between the starting and ending edges, thereby making the completed curve group transition smoothly and continuously. Continuous geometric curves can be a series of curves that are connected end to end without breaks.
[0041] Understandably, the starting and ending edges are determined either manually or programmatically, and together they define the two ends of the geometric curve group. The principle of minimum tangent curvature uses the magnitude of the curvature change at the tangency point as a criterion to determine the intermediate curve connecting the starting and ending edges from multiple candidate curves. The curve completed by this principle, together with the starting and ending edges, forms a continuous geometric curve group.
[0042] It is easy to understand that the measurement area is usually composed of a set of continuous geometric curves. Manually picking them one by one is tedious and prone to omissions or inconsistencies in direction. This solution only requires providing the start and end edges, and can automatically obtain the continuous geometric curves between them based on the principle of minimum tangent curvature. This method reduces the workload of manually picking curves segment by segment, and at the same time, the principle of minimum curvature change ensures the smoothness and continuity of the curve group. This provides a consistent and unbroken geometric basis for the subsequent creation of cross-sections based on the geometric curve group, which helps to improve the efficiency and consistency of obtaining the geometric curve group.
[0043] In practice, within the measurement area of the fender, the boundary curve at one end of the area can be selected as the starting edge, and the boundary curve at the other end as the ending edge. When multiple candidate connecting curves exist between them, the program compares the curvature changes of each candidate curve at the tangent position according to the principle of minimum tangent curvature, selecting the curve with the smallest curvature change as the intermediate connecting curve, which, together with the starting and ending edges, forms a continuous geometric curve set. This geometric curve set closely matches the actual contour of the local feature area of the fender, providing a reliable basis for subsequent cross-section creation. (Refer to...) Figure 3 and Figure 4 , Figure 3 This is a schematic diagram of the verification object provided in Embodiment 2 of the method for verifying the dimensions of automotive body panels in this application. Figure 4 This is a schematic diagram of cross-sectional line generation provided for Embodiment 2 of the method for verifying the dimensions of automotive body panels in this application.
[0044] Furthermore, referring to Figure 5 , Figure 5 This is a second flowchart illustrating the method for verifying the dimensions of automotive body panels according to Embodiment 2 of this application. Step S20 further includes: Step S201: Determine the cross-sectional linear density according to the inspection requirements of the target inspection size.
[0045] Step S202: Based on the cross-sectional line density, calculate the distribution position of the cross-sectional lines within the measurement area.
[0046] Step S203: Obtain the normal of the geometric curve group at the distribution location, and create the cross section based on the distribution location and the normal.
[0047] It should be understood that the verification requirements can be the verification content and requirements corresponding to the target verification dimension, such as the verification requirements corresponding to surface curvature, surface radius (R-angle) dimensions, surface sidewall depth, hole diameter, elongation, and shrinkage rate. Cross-sectional line density can refer to the density of cross-sectional lines within the measurement area, reflecting the number of cross-sectional lines per unit area. Distribution location can be the position of each cross-sectional line within the measurement area calculated based on the cross-sectional line density. Normal can be the normal direction of the geometric curve group at the corresponding distribution location.
[0048] It should be noted that the cross-sectional linear density is determined based on the verification requirements. Typically, an empirical value is chosen based on the content of the verification requirements; higher densities generally result in higher measurement accuracy, while lower densities result in faster measurement speeds. The distribution location is calculated based on the cross-sectional linear density; once the density is determined, the position of each cross-sectional line within the measurement area is also determined. The normal direction is determined based on the orientation of the geometric curve group at the distribution location, and the cross-section is created based on the distribution location and the normal direction at that location.
[0049] It is easy to understand that the density of cross-sectional lines affects both the speed and accuracy of verification. Indiscriminately using a uniformly dense density may result in excessive computation, while using a sparse density may affect verification accuracy. This solution determines the cross-sectional line density based on the verification requirements of the target verification dimension, ensuring the density matches the actual verification content. Then, based on this density, the distribution position of each cross-sectional line is calculated, and the normal to the geometric curve group is obtained at each distribution position. A cross-section is created based on the distribution position and the normal, and this cross-section is used to cut the surface of the cover part along a direction perpendicular to the curve direction. This allows the resulting cross-sectional lines to more realistically reflect the cross-sectional shape at that location. This method helps to achieve a balance between measurement speed and verification accuracy, and provides high-quality cross-sectional lines for subsequent discretization and feature point identification.
[0050] Specifically, for the verification of the hole diameter in the fender, the verification requirements for distinguishing the location of feature points are relatively high. Therefore, a relatively dense cross-sectional line density can be set. The program calculates the distribution of each cross-sectional line within the measurement area based on this density, and obtains the normal to the geometric curve group at each distribution location. Then, it creates a set of cross-sections arranged along the curve direction and perpendicular to the curve direction, based on the distribution location and normal. For the verification of surface curvature with a relatively gentle surface, a relatively sparse cross-sectional line density can be set to improve calculation efficiency while ensuring verification accuracy.
[0051] Furthermore, referring to Figure 6 , Figure 6 This is a schematic diagram of the third process for an embodiment of the automotive body panel size verification method of this application. In step S30, the automotive body panel size verification method includes: Step S301: Discretize the cross-section lines in the cross-section line group to obtain discrete points.
[0052] Step S302: Based on the continuity and curvature characteristics of the discrete points, divide the discrete points into at least one of the following: positional discontinuity points, cusps, curvature continuity points, curvature inflection points, and curvature extrema points.
[0053] Step S303: Use the discrete points obtained from the division as the feature points of the cross-sectional line.
[0054] Wherein, the positional discontinuity point is the endpoint of the discontinuity of the multiple cross-sectional lines when the cross-section intersects with the hole feature of the automotive body panel; the cusp is a discrete point with different tangent directions at the same position on the cross-sectional line; and the curvature inflection point is a discrete point on the cross-sectional line where the curvature direction changes.
[0055] It should be understood that a point of discontinuity can be the endpoint where the cross-section is discontinuous at the fracture point when the cross-section has a hole feature at its intersection with the cover, resulting in multiple cross-sectional lines after the cross-section intersects with the curved surface. A cusp can be a discrete point where the tangent direction changes abruptly at the same location on the cross-section, i.e., the tangent directions on both sides of that location are inconsistent. A point of curvature continuity can be a discrete point where the curvature maintains a continuous transition on the cross-section. A point of curvature inflection can be a discrete point where the curvature direction changes on the cross-section. A point of curvature extremum can be a discrete point where the curvature reaches a maximum or minimum value on the cross-section.
[0056] It should be noted that the above classification uses the continuity and curvature characteristics of discrete points as a unified criterion. Points of positional discontinuity emphasize the interruption of positional continuity, cusps emphasize abrupt changes in the tangent direction, and points of curvature continuity, curvature inflection points, and curvature extrema emphasize the variation in curvature. At least one of the above five types can be obtained during the classification, depending on the local characteristics reflected by the cross-section. The discrete points obtained after the above classification are then considered as the characteristic points of the cross-section.
[0057] It is easy to understand that the number of discrete points obtained after discretizing a cross-section line is usually large, and without differentiation, it is difficult to directly correspond them to the key locations of the verification dimensions. This scheme classifies discrete points based on continuity and curvature characteristics, enabling the differentiation of locations with different geometric meanings: the break at the hole feature corresponds to a discontinuity point, the turning point of the shape corresponds to a sharp point, and the R-corner, sidewall, etc., can be characterized by curvature continuity points, curvature inflection points, and curvature extrema points. In this way, feature point identification has clear judgment rules, enabling the key locations involved in the verification dimensions to be identified from discrete points in a reproducible manner. This provides a reliable and distinguishable source of feature points for subsequent matching and mapping with the key feature points of the target verification dimensions, helping to improve the accuracy and consistency of feature identification.
[0058] In practice, after discretizing a certain cross-sectional line of the fender, the program traverses each discrete point and determines its continuity and curvature characteristics: at the breaks in multiple cross-sectional lines formed by the section passing through the fender mounting holes, the endpoints on both sides are marked as points of positional discontinuity; at the turning points of the shaped edges, discrete points where the tangent direction changes abruptly are marked as cusps; in the R-angle arc region, discrete points where the curvature reaches an extreme value are marked as curvature extreme points, discrete points where the curvature direction changes are marked as curvature inflection points, and other smooth transitions are marked as curvature continuity points. The discrete points obtained after the above classification are used as feature points of the cross-sectional line for subsequent mapping.
[0059] Based on the first and / or second embodiments of this application, in the third embodiment of this application, the content that is the same as or similar to that in embodiments one and two above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 7 , Figure 7 This is a flowchart illustrating Embodiment 3 of the automotive body panel size verification method of this application. Before step S40, the automotive body panel size verification method includes: Step S401: Extract key feature points corresponding to the target inspection size based on the inspection requirements of the target inspection size and classify them.
[0060] It should be understood that the measurement method for the target verification dimension can be any measurement method used for that target verification dimension, such as taking the curvature for the radius (R-angle) dimension, or taking the connecting line length for the hole diameter. Key feature points can be feature locations directly related to the measurement of the target verification dimension, determining how that dimension is measured. Key feature points can be classified according to their geometric meaning in the verification dimension measurement, placing them into the corresponding feature categories.
[0061] It should be noted that the extraction of key feature points is based on both the verification requirements and measurement methods of the target verification dimension. That is, it must meet both the verification requirements for the verification content and the specific measurement method for that dimension. The extracted key feature points are classified according to their geometric meaning; for example, they can correspond to the categories of cross-sectional line feature points to facilitate the establishment of matching relationships later.
[0062] It is easy to understand that if the key feature points of the target verification dimension are not clearly defined before matching and mapping, the feature points identified on the cross-section line will lack corresponding mapping objects, making it difficult to carry out the matching and mapping in an orderly manner. This scheme first extracts and classifies the key feature points corresponding to the target verification dimension based on the verification requirements and measurement methods before matching and mapping, so that each target verification dimension has clear key feature points that can correspond to the feature points of the cross-section line. This method lays a corresponding foundation for the subsequent matching and mapping of cross-section line feature points and key feature points, helping to improve the orderliness and accuracy of the mapping process.
[0063] In specific implementation, for hole diameter verification, the verification requirement is the diameter of the hole, and the measurement method is to take the length of the line connecting the two ends of the hole opening. Based on this, the key feature points corresponding to the hole diameter can be extracted into the category of positional discontinuities. For curved surface sidewall depth verification, the measurement method involves taking the relevant positions at the curvature inflection points. Based on this, the key feature points corresponding to the sidewall depth can be extracted into the category of curvature inflection points. For curved surface radius (R-angle) dimension verification, its key feature points can be extracted into the curvature peak change points among the curvature continuity points. After the above extraction and classification are completed, each target verification dimension will have key feature points corresponding to the feature points of the cross-section line.
[0064] Step S402: Starting from the fixed endpoint of the cross-section line, sort the feature points of the cross-section line.
[0065] Step S403: Perform sequential matching mapping between the sorted feature points of the cross-section line and the key feature points corresponding to the target verification size to obtain the mapped cross-section line feature points.
[0066] It should be understood that a fixed endpoint can be an endpoint on the cross-section line selected as the sorting reference, which remains consistent throughout the same verification process. Sorting can be a process of sequentially arranging feature points along the cross-section line, starting from the fixed endpoint. Sequence matching mapping can be a process of sequentially mapping the sorted feature points of the cross-section line to the key feature points of the target verification dimension in the same order.
[0067] It should be noted that the sorting starts from a fixed endpoint and proceeds along the direction of the cross-section line, thus maintaining a consistent order of feature points across the cross-section lines within the same measurement area. Sequential matching mapping is based on the sorting results, mapping cross-section line feature points to key feature points in sequence. Once the mapping is complete, the mapped cross-section line feature points are obtained. The key feature points here are those extracted and classified according to verification requirements and measurement methods before the matching mapping.
[0068] It is easy to understand that if the feature points of the cross-section line and the key feature points of the target verification dimension do not correspond in a uniform order, mismatches may occur, thus affecting the measurement results of the verification dimension. This scheme uses the fixed endpoints of the cross-section line as the starting point to sort the feature points, ensuring that the feature points on both sides are in the same direction and order, and then performs sequential matching mapping, thereby ensuring a stable correspondence between the cross-section line feature points and the key feature points in the same order. This method helps reduce matching mismatches and improves the accuracy of the correspondence between the mapped cross-section line feature points and the actual verification positions.
[0069] In practice, for a certain cross-sectional line of the fender, the endpoint closest to the starting edge of the measurement area can be selected as a fixed endpoint. Starting from this endpoint, the identified feature points are sequentially numbered and sorted along the cross-sectional line. Then, the sorted feature points are mapped sequentially to key feature points of the target verification dimensions, such as hole diameter and sidewall depth, in the same order. For example, discontinuities in the position corresponding to the hole opening are mapped to key feature points of the hole diameter. After mapping, the mapped cross-sectional line feature points are obtained for dimensional measurement.
[0070] Further, the target verification dimension is: radius (R-angle), elongation, hole diameter, or sidewall depth. The step of measuring the target verification dimension based on the mapped cross-sectional feature points includes: when the target verification dimension is a radius (R-angle), obtaining the curvature at the location of the mapped cross-sectional feature points to obtain the radius (R-angle); or, when the target verification dimension is an elongation, obtaining the length of the line connecting the mapped cross-sectional feature points and the length of the cross-sectional line between each mapped cross-sectional feature point to obtain the elongation; or, when the target verification dimension is a hole diameter, obtaining the length of the line connecting the mapped cross-sectional feature points to obtain the hole diameter; or, when the target verification dimension is a sidewall depth, obtaining the projection length of the line connecting the mapped cross-sectional feature points in a fixed direction within the cross-sectional plane to obtain the sidewall depth.
[0071] It should be understood that the R-angle dimension can be a radius-like dimension at the fillet of the curved surface of the cover. The stretch ratio can be a ratio-like index reflecting the degree of stretching of the curved surface. The hole diameter can be the diameter dimension of a hole feature on the cover. The sidewall depth can be the depth dimension of the sidewall of the cover in a specific direction. The connecting line length can be the length of the line connecting the feature points of the mapped section line. The section line length can be the arc length measured along the section line between each mapped feature point of the section line. The projected length in a fixed direction within the cross-section plane can be the length obtained by projecting the connecting line of feature points onto a specific direction within the cross-section plane.
[0072] It should be noted that different measurement methods are used for different types of target verification dimensions, and the scope is defined by including at least one of the above methods. That is, in actual verification, only one method or multiple methods may be involved. Each measurement method takes the feature points of the mapped cross-section line as the calculation object. The R-angle dimension is taken as the curvature at the location of the feature point, the elongation is taken as the length of the line connecting the feature points and the length of the cross-section line between the feature points, the hole diameter is taken as the length of the line connecting the feature points, and the sidewall depth is taken as the projection length of the line connecting the feature points in a fixed direction within the cross-section plane.
[0073] It is easy to understand that different verification dimensions have different geometric meanings and different measurement methods. Without differentiation, it is difficult to automatically obtain verification results. This solution, after obtaining the mapped cross-sectional feature points, measures the target verification dimension using methods such as taking curvature, taking the length of the connecting line and the cross-sectional line, taking the connecting line length, and taking the projected length. This allows verification items such as radius (R-angle), tensile strength, hole diameter, and sidewall depth to be automatically calculated and output based on the mapped cross-sectional feature points. These methods translate the previously established mapping relationships into concrete verification results, facilitating automatic measurement and output of each item on the verification list, improving verification efficiency, and reducing omissions and errors caused by manual measurement.
[0074] In practice, for feature points mapped from a cross-sectional line of the fender, if the target verification dimension is the hole diameter, the length of the line connecting the two mapped feature points at the hole opening is taken as the measured value of the hole diameter; if the target verification dimension is the radius (R-angle), the curvature at the location of the mapped feature point at the R-angle is taken and converted to obtain the R-angle radius; if the target verification dimension is the sidewall depth, the projection length of the line connecting the upper and lower mapped feature points of the sidewall in the vertical direction within the cross-sectional plane is taken as the sidewall depth; if the target verification dimension is the elongation rate, the elongation rate is obtained by comparing the length of the line connecting the corresponding mapped feature points with the arc length of the cross-sectional line between the two feature points. The program can call the above measurement methods item by item according to the verification list and output the verification results for each item.
[0075] This application also provides a device for verifying the dimensions of automotive body panels; please refer to [reference needed]. Figure 8 The automotive body panel size verification device includes: The curve acquisition module 10 is used to acquire the geometric curve set of the vehicle body panel to be inspected within the measurement area; The cross-section line generation module 20 is used to create a cross-section based on the geometric curve group, calculate the intersection of the cross-section with the curved surface of the vehicle body panel, and obtain a cross-section line group that characterizes the local feature cross-section shape within the measurement area. The feature point recognition module 30 is used to discretize the cross-section lines in the cross-section line group to obtain discrete points, and classify the discrete points according to the continuity and curvature characteristics of the discrete points to obtain the feature points of the cross-section lines. The feature point mapping module 40 is used to match and map the feature points of the cross-section line with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points. The dimension measurement module 50 is used to measure the target inspection dimension based on the feature points of the mapped cross-section line.
[0076] Optionally, the curve acquisition module 10 is also used to acquire the starting edge and the ending edge of the measurement area; and to acquire the continuous geometric curve between the starting edge and the ending edge by adopting the principle of minimum tangent curvature, thereby obtaining the geometric curve group.
[0077] Optionally, the cross-section line generation module 20 is further configured to determine the cross-section line density according to the verification requirements of the target verification dimension; calculate the distribution position of the cross-section lines in the measurement area based on the cross-section line density; obtain the normal of the geometric curve group at the distribution position; and create the cross-section based on the distribution position and the normal.
[0078] Optionally, the feature point recognition module 30 is further configured to discretize the cross-section lines in the cross-section line group to obtain discrete points; based on the continuity and curvature characteristics of the discrete points, divide the discrete points into at least one of positional discontinuity points, cusps, curvature continuity points, curvature inflection points, and curvature extrema points; and use the divided discrete points as feature points of the cross-section lines.
[0079] Optionally, the feature point mapping module 40 is also used to extract key feature points corresponding to the target verification size based on the verification requirements of the target verification size and to classify them.
[0080] Optionally, the feature point mapping module 40 is further configured to sort the feature points of the cross-section line starting from the fixed endpoint of the cross-section line; and to perform sequential matching mapping between the sorted feature points of the cross-section line and the key feature points corresponding to the target verification size to obtain the mapped cross-section line feature points.
[0081] Optionally, the dimension measurement module 50 is further configured to: when the target verification dimension is an R-angle dimension, obtain the curvature of the location of the mapped cross-sectional feature points to obtain the R-angle dimension; or, when the target verification dimension is an elongation ratio, obtain the length of the line connecting the mapped cross-sectional feature points and the length of the cross-sectional line between each mapped cross-sectional feature point to obtain the elongation ratio; or, when the target verification dimension is a hole diameter, obtain the length of the line connecting the mapped cross-sectional feature points to obtain the hole diameter; or, when the target verification dimension is a sidewall depth, obtain the projection length of the line connecting the mapped cross-sectional feature points in a fixed direction within the cross-sectional plane to obtain the sidewall depth.
[0082] The automotive body panel size verification device provided in this application, employing the automotive body panel size verification method in the above embodiments, can solve the technical problem of low efficiency in the synchronous stamping process of automotive body panels. Compared with the prior art, the beneficial effects of the automotive body panel size verification device provided in this application are the same as those of the automotive body panel size verification method provided in the above embodiments, and other technical features in the automotive body panel size verification device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0083] This application provides an automotive body panel size verification device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the automotive body panel size verification method in the first embodiment described above.
[0084] The following is for reference. Figure 9The diagram illustrates a structural schematic suitable for implementing the automotive body panel size verification device in the embodiments of this application. The automotive body panel size verification device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 9 The illustrated automotive body panel size verification device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0085] like Figure 9 As shown, the automotive body panel size verification device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the automotive body panel size verification device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the automotive body panel size verification device to communicate wirelessly or wiredly with other devices to exchange data. While the figures show automotive body panel size verification devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0086] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0087] The automotive body panel size verification device provided in this application, employing the automotive body panel size verification method described in the above embodiments, can solve the technical problem of low efficiency in the synchronous stamping process of automotive body panels. Compared with the prior art, the beneficial effects of the automotive body panel size verification device provided in this application are the same as those of the automotive body panel size verification method provided in the above embodiments, and other technical features of this automotive body panel size verification device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.
[0088] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0089] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0090] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the automotive body panel size verification method in the above embodiments.
[0091] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having 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 fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0092] The aforementioned computer-readable storage medium may be included in the automotive body panel size verification device; or it may exist independently and not assembled into the automotive body panel size verification device.
[0093] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0094] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0095] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0096] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described automotive body panel size verification method, thereby solving the technical problem of low efficiency in the synchronous stamping process of automotive body panels. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the automotive body panel size verification method provided in the above embodiments, and will not be repeated here.
[0097] The above description is only a part of the embodiments of this application and does not limit the scope of protection of this application. All equivalent structural transformations made under the technical concept of this application and using the content of this application specification and drawings, or direct / indirect applications in other related technical fields, are included in the scope of protection of this application.
Claims
1. A method for verifying the dimensions of automotive body panels, characterized in that, The method for verifying the dimensions of automotive body panels includes the following steps: Obtain the set of geometric curves of the vehicle body panel to be inspected within the measurement area; Based on the geometric curve set, a cross section is created, and the intersection of the cross section with the surface of the automotive body panel is calculated to obtain a set of cross section lines that characterize the local feature cross section shape within the measurement area. Discretize the cross-section lines in the cross-section line group to obtain discrete points, and classify the discrete points according to their continuity and curvature characteristics to obtain the feature points of the cross-section lines; The feature points of the cross-section line are matched and mapped with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points. The target inspection size is measured based on the feature points of the mapped cross-section line.
2. The method for verifying the dimensions of automotive body panels as described in claim 1, characterized in that, The step of obtaining the set of geometric curves of the vehicle body panel to be inspected within the measurement area includes: Obtain the start and end edges of the measurement region; By adopting the principle of minimum tangent curvature, a continuous geometric curve between the starting edge and the ending edge is obtained, thus obtaining the geometric curve set.
3. The method for verifying the dimensions of automotive body panels as described in claim 2, characterized in that, The step of creating a cross-section based on the geometric curve set includes: The cross-sectional linear density is determined based on the verification requirements of the target verification dimension; Based on the cross-sectional line density, calculate the distribution location of the cross-sectional lines within the measurement area; Obtain the normal of the geometric curve group at the distribution location, and create the cross section based on the distribution location and the normal.
4. The method for verifying the dimensions of automotive body panels as described in claim 1, characterized in that, The step of discretizing the cross-sections in the cross-section group to obtain discrete points, and classifying the discrete points according to their continuity and curvature characteristics to obtain the feature points of the cross-sections, includes: Discretize the cross-section lines in the cross-section line group to obtain discrete points; Based on the continuity and curvature characteristics of the discrete points, the discrete points are divided into at least one of the following: positional discontinuity points, cusps, curvature continuity points, curvature inflection points, and curvature extrema points. The discrete points obtained from the division are used as the feature points of the cross-sectional line; Wherein, the positional discontinuity point is the endpoint of the discontinuity of the multiple cross-sectional lines when the cross-section intersects with the hole feature of the automotive body panel; the cusp is a discrete point with different tangent directions at the same position on the cross-sectional line; and the curvature inflection point is a discrete point on the cross-sectional line where the curvature direction changes.
5. The method for verifying the dimensions of automotive body panels as described in claim 1, characterized in that, Before the step of matching and mapping the feature points of the cross-section line with the key feature points corresponding to the target verification size to obtain the mapped feature points of the cross-section line, the following steps are included: Based on the verification requirements of the target verification size, the key feature points corresponding to the target verification size are extracted and classified.
6. The method for verifying the dimensions of automotive body panels as described in claim 5, characterized in that, The step of matching and mapping the feature points of the cross-section line with the key feature points corresponding to the target verification size to obtain the mapped cross-section line feature points includes: Starting from the fixed endpoint of the cross-section line, the feature points of the cross-section line are sorted. The sorted feature points of the cross-section line are sequentially matched and mapped with the key feature points corresponding to the target verification size to obtain the mapped feature points of the cross-section line.
7. The method for verifying the dimensions of automotive body panels as described in claim 1, characterized in that, The target inspection dimension is: radius (R-angle), elongation, hole diameter, or sidewall depth. The step of measuring the target inspection dimension based on the mapped cross-sectional feature points includes: When the target verification size is the R-angle size, the curvature of the location of the feature point of the mapped cross-section line is obtained to obtain the R-angle size; Alternatively, when the target verification dimension is the elongation ratio, the elongation ratio is obtained by acquiring the line length connecting the feature points of the mapped cross-section line and the cross-section line length between each of the mapped cross-section line feature points; Alternatively, when the target verification size is the hole diameter, the length of the line connecting the feature points of the mapped cross-section line is obtained to get the hole diameter; Alternatively, when the target verification dimension is the sidewall depth, the projection length of the line connecting the feature points of the mapped cross-section line in a fixed direction within the cross-section plane is obtained to obtain the sidewall depth.
8. A device for verifying the dimensions of automotive body panels, characterized in that, The device includes: The curve acquisition module is used to acquire the geometric curve set of the automotive body panel to be inspected within the measurement area; The cross-section line generation module is used to create cross-sections based on the geometric curve group, calculate the intersection of the cross-sections with the curved surface of the automotive body panel, and obtain a cross-section line group that characterizes the local feature cross-section shape within the measurement area. The feature point recognition module is used to discretize the cross-section lines in the cross-section line group to obtain discrete points, and classify the discrete points according to the continuity and curvature characteristics of the discrete points to obtain the feature points of the cross-section lines. The feature point mapping module is used to match and map the feature points of the cross-section line with the key feature points corresponding to the target inspection size to obtain the mapped cross-section line feature points. The dimension measurement module is used to measure the target verification dimension based on the feature points of the mapped cross-section line.
9. A device for verifying the dimensions of automotive body panels, characterized in that, The vehicle body panel size verification device includes: a memory, a processor, and a processing program for verifying vehicle body panel size stored in the memory and executable on the processor. When the processing program for verifying vehicle body panel size is executed by the processor, it implements the steps of the vehicle body panel size verification method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the automotive body panel size verification method as described in any one of claims 1 to 7.
