Part size precision analysis method and device, electronic equipment and storage medium

By constructing a three-dimensional geometric model and assemblies, the part datum and mating features are determined, the assembly process is obtained, and dimensional chain analysis is performed. This solves the problem of poor efficiency and accuracy in part modeling in traditional methods, realizes efficient analysis and optimization design of part dimensional accuracy, and improves assembly efficiency and product quality.

CN120197311BActive Publication Date: 2026-07-07CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
Filing Date
2025-03-12
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

Traditional methods for analyzing part dimensions suffer from poor efficiency and accuracy in 3D modeling, leading to error accumulation during assembly and impacting assembly efficiency and final product quality.

Method used

By constructing a three-dimensional geometric model of the parts to be assembled, the part's datum and mating features are determined, the assembly process is obtained, the assembly sequence and positioning method are determined, assembly simulation is performed, dimensional chain analysis is conducted, key dimensions and tolerance accumulation are determined, and dimensional accuracy analysis and optimization design are carried out.

Benefits of technology

It improves the efficiency and accuracy of part dimensional accuracy analysis, reduces errors in the assembly process, and enhances assembly efficiency and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197311B_ABST
    Figure CN120197311B_ABST
Patent Text Reader

Abstract

The application discloses a part size precision analysis method and device, electronic equipment and storage medium, comprising: constructing a three-dimensional geometric model of a part to be assembled; determining a part reference and a matching feature based on the three-dimensional geometric model of the part to be assembled; obtaining an assembly process, and determining an assembly sequence and an assembly positioning mode based on at least one of the assembly process, the part reference and the matching feature; performing assembly simulation on the three-dimensional geometric model of the part to be assembled according to the assembly sequence and the assembly positioning mode, to obtain a virtual assembly model of a product; performing size chain analysis on the virtual assembly model, to determine a key size and a tolerance accumulation condition; performing size precision analysis according to the key size and the tolerance accumulation condition, to obtain a size precision evaluation result of the part to be assembled; and performing size optimization design on the part to be assembled according to the size precision evaluation result. The application can effectively improve the accuracy of part size precision analysis, and effectively improve the assembly efficiency through size optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of part parameter design, and in particular to methods, apparatus, electronic devices and storage media for part dimensional accuracy analysis. Background Technology

[0002] In modern manufacturing, the dimensional accuracy of parts is a key factor in ensuring product quality, performance, and assembly efficiency. With the continuous development of manufacturing processes and technologies, the requirements for the dimensional accuracy of parts are becoming increasingly stringent, posing greater challenges to quality control during production. However, traditional dimensional accuracy analysis methods mostly rely on CAD and other modeling software for 3D modeling of parts, resulting in poor modeling efficiency and accuracy. This affects the efficiency and accuracy of dimensional accuracy analysis, leading to error accumulation during assembly and impacting assembly efficiency and the quality of the final product. Summary of the Invention

[0003] The main objective of this application is to provide a method, apparatus, electronic device, and storage medium for analyzing the dimensional accuracy of parts, aiming to solve the technical problem that traditional dimensional accuracy analysis methods have poor modeling efficiency and accuracy, which affects the efficiency and accuracy of dimensional accuracy analysis, and consequently leads to error accumulation during assembly, affecting assembly efficiency and the quality of the final product.

[0004] To achieve the above objectives, this application proposes a method for analyzing the dimensional accuracy of parts, the method comprising:

[0005] Construct a three-dimensional geometric model of the parts to be assembled;

[0006] The part datum and mating features are determined based on the three-dimensional geometric model of the part to be assembled;

[0007] Obtain the assembly process, and determine the assembly sequence and assembly positioning method based on at least one of the assembly process, the part datum, and the mating features;

[0008] The assembly simulation is performed on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product.

[0009] Perform dimensional chain analysis on the virtual assembly model to determine critical dimensions and tolerance accumulation.

[0010] Based on the key dimensions and tolerance accumulation, dimensional accuracy analysis is performed to obtain the dimensional accuracy evaluation results of the parts to be assembled.

[0011] The dimensions of the parts to be assembled are optimized based on the dimensional accuracy assessment results.

[0012] In one embodiment, constructing the three-dimensional geometric model of the part to be assembled includes:

[0013] Obtain the geometric design information and geometric assembly feature information of the parts to be assembled, wherein the geometric design information includes at least the outline dimensions and shape features of the parts to be assembled, and the geometric assembly feature information includes at least the hole positions, mating features, and assembly interfaces.

[0014] The geometric design information is converted into a voxel mesh, and the occupancy status of each voxel unit in the voxel mesh is determined.

[0015] The voxel mesh is filled according to the occupancy status of each voxel unit and the geometric assembly feature information to obtain a three-dimensional geometric model of the part to be assembled.

[0016] In one embodiment, determining the part datum and mating features based on the three-dimensional geometric model of the parts to be assembled includes:

[0017] Identify the geometric features in the three-dimensional geometric model of the part to be assembled, and classify the geometric features to obtain multiple potential benchmarks;

[0018] The potential benchmarks are randomly combined to generate multiple benchmark feature combinations, and these multiple benchmark feature combinations are used as the initial population.

[0019] The fitness of individuals in the initial population is evaluated based on the geometric properties and assembly requirements of the potential benchmark to obtain individual fitness.

[0020] Individuals are selected from the initial population as parents based on the individual fitness, and selection, crossover, and mutation operations are performed on the parents to obtain new individuals;

[0021] The initial population is updated based on the new individuals to obtain a new population. The new population is used as the initial population, and the step of evaluating the fitness of individuals in the initial population based on the geometric properties and assembly requirements of the potential benchmark is re-executed to obtain the individual fitness, until the preset number of iterations is reached or the convergence condition is met, and the target benchmark feature combination is generated.

[0022] The part reference is determined based on the combination of the target reference features, and the mating features that mate with it are determined according to the part reference.

[0023] In one embodiment, obtaining the assembly process and determining the assembly sequence and assembly positioning method based on at least one of the assembly process, the part datum, and the mating features includes:

[0024] Obtain the assembly process and determine the assembly constraints based on the assembly process;

[0025] An assembly strategy is selected based on the assembly constraints, and the assembly sequence is determined according to the assembly strategy. The assembly strategy includes at least a top-down assembly strategy, a bottom-up assembly strategy, and a modular assembly strategy.

[0026] The positioning reference surface is determined based on the part datum, and the positioning datum point is determined based on the mating features;

[0027] The assembly positioning method is determined based on the positioning reference surface, the positioning datum point, and the assembly constraints, wherein the assembly positioning method includes at least fixed positioning, adjustable positioning, and floating positioning.

[0028] In one embodiment, the step of performing assembly simulation on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product includes:

[0029] According to the assembly sequence, the three-dimensional geometric models of the parts to be assembled are sequentially imported into the virtual assembly environment;

[0030] According to the assembly positioning method, the three-dimensional geometric model of each part to be assembled is positioned in the virtual assembly environment to obtain the intermediate assembly state.

[0031] Collision detection and interference analysis were performed on the intermediate assembly state to obtain the analysis results;

[0032] If the analysis results indicate a conflict in the assembly process, the assembly sequence or assembly positioning method is adjusted until all the three-dimensional geometric models of the parts to be assembled are successfully assembled, thus obtaining a virtual assembly model of the product.

[0033] In one embodiment, performing dimensional chain analysis on the virtual assembly model to determine critical dimensions and tolerance accumulation includes:

[0034] Define a dimension chain, wherein the dimension chain includes the dimensions of each part and the assembly clearance that affect the dimensional accuracy of the product assembly;

[0035] The tolerance accumulation is calculated based on the virtual assembly model and the dimension chain.

[0036] The contribution of each part dimension is calculated based on the cumulative tolerance.

[0037] The critical dimensions are determined based on the priority of the contribution.

[0038] The formula for calculating the cumulative tolerance is as follows:

[0039]

[0040] Where, σL For the case of tolerance accumulation, D n Let n be the size of the nth part, where n is the total number of part sizes in the size chain. For part dimension D n Sensitivity to assembly dimension L, σ Dn For part dimension D n Standard deviation, G m The m-th assembly gap, where m is the total number of assembly gaps in the dimension chain. Assembly clearance G m Sensitivity to assembly dimension L, σ Gm Assembly clearance G m The standard deviation.

[0041] The formula for calculating contribution is:

[0042]

[0043] in, For part dimension D i Contribution to assembly dimensions For part dimension D i Sensitivity to assembly dimension L, σ L This is the cumulative tolerance situation. Part size D i The standard deviation.

[0044] In one embodiment, the step of performing dimensional accuracy analysis based on the critical dimensions and tolerance accumulation to obtain the dimensional accuracy evaluation result of the part to be assembled includes:

[0045] The critical dimensions and the cumulative tolerances are input into the dimensional accuracy analysis model, and the total assembly error is determined by the dimensional accuracy analysis model based on the critical dimensions and the cumulative tolerances.

[0046] Calculate the dimensional accuracy of the parts to be assembled based on the total assembly error;

[0047] The dimensional accuracy of the part to be assembled is compared with the preset dimensional accuracy to obtain the dimensional accuracy difference.

[0048] The dimensional accuracy of the assembled parts is evaluated based on the dimensional accuracy difference to obtain the dimensional accuracy evaluation result of the parts to be assembled.

[0049] The formula for calculating the total assembly error is as follows:

[0050]

[0051] Where, ΔX total The total assembly error is Δx. iLet f be the tolerance of i critical dimensions, n be the number of critical dimensions, and f be the tolerance of i critical dimensions. j x is a function of assembly dimensions k For the function f j The relevant k-th key dimension, m is related to the function f j The number of key dimensions related to the k-th key dimension. Indicates the critical dimension x k The degree of influence on assembly dimensions, Δx k For the function f j The tolerance of the relevant k-th critical dimension.

[0052] Furthermore, to achieve the above objectives, this application also proposes a part dimensional accuracy analysis device, which includes:

[0053] The building block is used to construct the three-dimensional geometric model of the parts to be assembled.

[0054] The determination module is used to determine the part datum and mating features based on the three-dimensional geometric model of the part to be assembled;

[0055] The determining module is further configured to acquire the assembly process, and determine the assembly sequence and assembly positioning method based on at least one of the assembly process, the part reference and the mating feature;

[0056] The simulation module is used to perform assembly simulation on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method, so as to obtain a virtual assembly model of the product.

[0057] The analysis module is used to perform dimensional chain analysis on the virtual assembly model to determine the critical dimensions and tolerance accumulation.

[0058] The analysis module is also used to perform dimensional accuracy analysis based on the key dimensions and tolerance accumulation to obtain the dimensional accuracy evaluation results of the parts to be assembled.

[0059] The optimization module is used to perform dimensional optimization design on the parts to be assembled based on the dimensional accuracy evaluation results.

[0060] In addition, to achieve the above objectives, this application also proposes an electronic 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 part dimensional accuracy analysis method as described above.

[0061] 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 part dimensional accuracy analysis method described above.

[0062] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the part dimensional accuracy analysis method described above.

[0063] This application proposes one or more technical solutions, which involve constructing a three-dimensional geometric model of a part to be assembled; determining the part's reference datum and mating features based on the three-dimensional geometric model; obtaining the assembly process, and determining the assembly sequence and assembly positioning method based on at least one of the assembly process, the part's reference datum, and the mating features; performing assembly simulation on the three-dimensional geometric model of the part to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product; performing dimensional chain analysis on the virtual assembly model to determine key dimensions and tolerance accumulation; performing dimensional accuracy analysis based on the key dimensions and tolerance accumulation to obtain a dimensional accuracy evaluation result for the part to be assembled; and performing dimensional optimization design on the part to be assembled based on the dimensional accuracy evaluation result. Through the above methods, by constructing a three-dimensional geometric model of the part to be assembled, determining the assembly sequence and assembly positioning method, and performing assembly simulation, the simulation efficiency and accuracy are effectively improved. By analyzing the key dimensions and tolerance accumulation based on the generated virtual assembly model and performing dimensional accuracy analysis, accurate and efficient analysis of part dimensional accuracy is achieved. Furthermore, dimensional optimization design based on the dimensional accuracy evaluation result further improves the product's assembly efficiency. Attached Figure Description

[0064] 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.

[0065] 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.

[0066] Figure 1 This is a flowchart illustrating an embodiment of the part dimensional accuracy analysis method of this application.

[0067] Figure 2 This is a flowchart illustrating Embodiment 2 of the part dimensional accuracy analysis method of this application.

[0068] Figure 3 This is a schematic diagram of the module structure of the part dimensional accuracy analysis device according to an embodiment of this application;

[0069] Figure 4 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the part dimensional accuracy analysis method in the embodiments of this application.

[0070] 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

[0071] 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.

[0072] 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.

[0073] The main solution of this application embodiment is as follows: constructing a three-dimensional geometric model of the part to be assembled; determining the part datum and mating features based on the three-dimensional geometric model of the part to be assembled; obtaining the assembly process, and determining the assembly sequence and assembly positioning method based on at least one of the assembly process, the part datum, and the mating features; performing assembly simulation on the three-dimensional geometric model of the part to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product; performing dimensional chain analysis on the virtual assembly model to determine the critical dimensions and tolerance accumulation; performing dimensional accuracy analysis based on the critical dimensions and tolerance accumulation to obtain the dimensional accuracy evaluation result of the part to be assembled; and performing dimensional optimization design on the part to be assembled based on the dimensional accuracy evaluation result.

[0074] Traditional dimensional accuracy analysis methods mostly rely on CAD and other modeling software for 3D modeling of parts, resulting in poor modeling efficiency and accuracy. This affects the efficiency and accuracy of dimensional accuracy analysis, leading to error accumulation during assembly, which in turn affects assembly efficiency and the quality of the final product.

[0075] This application provides a solution that determines the assembly sequence and positioning method by constructing a three-dimensional geometric model of the parts to be assembled and performs assembly simulation, which effectively improves the simulation efficiency and accuracy. Based on the generated virtual assembly model, the key dimensions and tolerance accumulation are analyzed and dimensional accuracy analysis is performed, realizing accurate and efficient analysis of part dimensional accuracy. Furthermore, based on the dimensional accuracy evaluation results, dimensional optimization design is performed to further improve the product assembly efficiency.

[0076] 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 electronic device capable of performing the above functions. The following description uses an electronic device as an example to illustrate this embodiment and the subsequent embodiments.

[0077] Based on this, the embodiments of this application provide a method for analyzing the dimensional accuracy of parts, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the part dimensional accuracy analysis method of this application.

[0078] In this embodiment, the part dimensional accuracy analysis method includes steps S10 to S70:

[0079] Step S10: Construct a three-dimensional geometric model of the part to be assembled.

[0080] It should be noted that the parts to be assembled refer to parts that require dimensional accuracy analysis, such as mechanical parts and electronic parts.

[0081] It should be understood that the three-dimensional geometric model of the parts to be assembled can be created using tools such as 3D modeling software. This three-dimensional geometric model should reflect the shape, size, and assembly relationships of the parts to be assembled as accurately as possible.

[0082] Specifically, the three-dimensional geometric model of the parts to be assembled can be constructed based on the geometric design information and geometric assembly feature information of the parts to be assembled.

[0083] In one feasible implementation, step S10 may include: acquiring geometric design information and geometric assembly feature information of the part to be assembled, wherein the geometric design information includes at least the outline dimensions and shape features of the part to be assembled, and the geometric assembly feature information includes at least the hole positions, mating features, and assembly interfaces; converting the geometric design information into a voxel mesh and determining the occupancy state of each voxel unit in the voxel mesh; filling the voxel mesh according to the occupancy state of each voxel unit and the geometric assembly feature information to obtain a three-dimensional geometric model of the part to be assembled.

[0084] It should be noted that geometric design information refers to the detailed design data of the parts to be assembled, including but not limited to the outline dimensions and shape features of the parts. Geometric assembly feature information involves the key parts of the parts during the assembly process, such as hole positions, mating features, and assembly interfaces. Among them, hole positions are the locations used for connection or fixation between parts, such as holes, slots, and threads; mating features refer to the shapes or structures of the parts that fit together, such as keyways, protrusions, and slots; assembly interfaces are the parts that connect or fit between parts, such as threads and sockets.

[0085] Specifically, in the process of converting geometric design information into a voxel mesh, the geometry of the part is divided into a series of tiny cubic units, i.e., voxels. Each voxel unit has a different occupancy state depending on whether it is occupied by a part entity; for example, voxel units occupied by a part entity are marked as occupied, and unoccupied voxel units are marked as empty. Then, the voxel mesh is filled according to the geometric assembly feature information to form a complete three-dimensional geometric model of the part to be assembled.

[0086] Step S20: Determine the part datum and mating features based on the three-dimensional geometric model of the part to be assembled.

[0087] It should be noted that the part datum is the positioning and measurement reference for determining the part during the assembly process, and is crucial to ensuring assembly accuracy and dimensional consistency. In this embodiment, the datum is the optimal assembly datum obtained through continuous iterative optimization using a genetic algorithm. The mating features refer to the parts that contact, connect, or mate with each other. When determining the part datum and mating features, the position, shape, and size parameters of the part datum and mating features can be accurately determined based on the three-dimensional geometric model of the parts to be assembled, by analyzing information such as the part's geometry, assembly relationships, and dimensional requirements.

[0088] In one feasible implementation, step S20 may include: identifying geometric features in the three-dimensional geometric model of the part to be assembled, classifying the geometric features to obtain multiple potential benchmarks; randomly combining the potential benchmarks to generate multiple benchmark feature combinations, and using the multiple benchmark feature combinations as an initial population; evaluating the fitness of individuals in the initial population based on the geometric attributes and assembly requirements of the potential benchmarks to obtain individual fitness; selecting individuals from the initial population as parents based on the individual fitness, and performing selection, crossover, and mutation operations on the parents to obtain new individuals; updating the initial population based on the new individuals to obtain a new population, using the new population as the initial population, and re-executing the step of evaluating the fitness of individuals in the initial population based on the geometric attributes and assembly requirements of the potential benchmarks to obtain individual fitness, until a preset number of iterations is reached or a convergence condition is met, generating a target benchmark feature combination; determining part benchmarks based on the target benchmark feature combination, and determining mating features that mate with the part benchmarks based on the part benchmarks.

[0089] It should be noted that the geometric features in the 3D geometric model of the parts to be assembled include, but are not limited to, basic elements such as points, lines, surfaces, and volumes, as well as specific shape features such as holes, slots, protrusions, and threads. The extracted geometric features are classified, and those that are potential datums are marked. For example, holes are identified as potential datums, or a certain plane is identified as a positioning datum.

[0090] Randomly combining potential benchmarks generates multiple different benchmark feature combinations. These combinations serve as the initial population, and within the framework of a genetic algorithm, they iteratively optimize through processes such as natural selection, crossover, and mutation to find the optimal assembly benchmark. In each iteration, the fitness of individuals in the population is evaluated based on the geometric properties of the potential benchmarks and assembly requirements. Individuals with high fitness are more likely to be selected as parents, generating new individuals through selection, crossover, and mutation operations. These new individuals form a new population, continuing the next round of iterative optimization. This process continues until a preset number of iterations is reached or a convergence condition is met; the resulting benchmark feature combination is the optimal benchmark feature combination. Based on this optimal benchmark feature combination, the optimal benchmark for the part during assembly can be determined, and the mating features that mate with it can then be determined. This method of randomly combining and iteratively optimizing potential benchmarks using a genetic algorithm can efficiently find the optimal assembly benchmark, thereby improving assembly accuracy and efficiency.

[0091] Step S30: Obtain the assembly process, and determine the assembly sequence and assembly positioning method based on at least one of the assembly process, the part reference and the mating features.

[0092] It should be noted that the assembly process is a technical document that guides the assembly process, including assembly steps, methods, tools, and precautions. After obtaining the assembly process, the assembly sequence can be determined based on its requirements. Furthermore, based on the requirements of the assembly process and the established part datum and mating features, the assembly positioning method can be further determined.

[0093] It should be understood that assembly sequence refers to the order in which parts are assembled during the assembly process, while assembly positioning method refers to the positioning method and accuracy requirements of parts during the assembly process. A reasonable assembly sequence and assembly positioning method can ensure the correct assembly and positioning of parts during the assembly process, thereby improving assembly accuracy and efficiency.

[0094] In one feasible implementation, step S30 may include: acquiring an assembly process and determining assembly constraints based on the assembly process; selecting an assembly strategy based on the assembly constraints and determining an assembly sequence based on the assembly strategy, wherein the assembly strategy includes at least a top-down assembly strategy, a bottom-up assembly strategy, and a modular assembly strategy; determining a positioning reference surface based on the part datum and determining a positioning reference point based on the mating features; and determining an assembly positioning method based on the positioning reference surface, the positioning reference point, and the assembly constraints, wherein the assembly positioning method includes at least fixed positioning, adjustable positioning, and floating positioning.

[0095] It should be noted that assembly constraints refer to the conditions or limitations that must be met during the assembly process. These include geometric constraints, mechanical constraints, assembly limitations, and interference constraints. Geometric constraints include locating holes, slots, and mating surfaces between parts. Mechanical constraints involve considering how parts will be subjected to forces during assembly, such as whether certain parts need to be fixed in a specific order to avoid deformation. Assembly limitations include the requirement that certain parts must be installed before other parts are assembled, such as the need for fasteners to be placed in advance, and subsequent parts are installed using these fasteners. Interference constraints involve avoiding interference between parts through assembly sequence; for example, some parts cannot be assembled before other parts are fully fixed.

[0096] It should be understood that when choosing an assembly strategy, the most suitable strategy can be selected from top-down, bottom-up, and modular assembly strategies, based on the requirements of the assembly process and the characteristics of the parts. Top-down assembly typically starts with large or major components, gradually assembling smaller or minor components; bottom-up assembly starts with small or basic components, gradually assembling them into larger components; modular assembly involves pre-assembling parts into modules, and then assembling the modules. Different assembly strategies are suitable for different assembly scenarios and needs, and choosing the appropriate strategy can significantly improve assembly efficiency and accuracy.

[0097] When determining the assembly positioning method, the positioning reference surface is usually selected from a large, relatively flat surface on the part to ensure the stability and accuracy of positioning. The positioning datum point is determined based on the mating characteristics and is used to determine the specific position of the part during the assembly process. Based on the positioning reference surface, positioning datum point, and assembly constraints, a suitable assembly positioning method can be determined, such as fixed positioning, adjustable positioning, or floating positioning. These positioning methods can meet the positioning requirements in different assembly scenarios and ensure the correct positioning of parts during the assembly process. Fixed positioning means that the position of the part remains unchanged during the assembly process, which is suitable for scenarios with high positioning accuracy requirements; adjustable positioning allows the part to be fine-tuned during the assembly process to accommodate minor errors; floating positioning allows the part to move freely within a certain range, which is suitable for parts that need to adapt to different assembly conditions or have a certain degree of flexibility during the assembly process. By selecting a suitable assembly positioning method, assembly accuracy and efficiency can be further improved.

[0098] Step S40: Perform assembly simulation on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product.

[0099] It should be noted that the assembly simulation is conducted in a virtual assembly environment, which simulates the real assembly process. The three-dimensional geometric models of the parts to be assembled are assembled according to a determined assembly sequence and positioning method.

[0100] It should be understood that during assembly simulation, the assembly relationships between parts can be monitored in real time to check for problems such as interference and misalignment, as well as whether the assembly accuracy meets the requirements. Through assembly simulation, potential problems during the assembly process can be identified and corrected in a timely manner, and the assembly sequence and positioning methods can be optimized, thereby improving assembly efficiency and accuracy, and ultimately obtaining a virtual assembly model of the product.

[0101] In one feasible implementation, step S40 may include: importing the three-dimensional geometric models of the parts to be assembled into the virtual assembly environment sequentially according to the assembly sequence; positioning the three-dimensional geometric model of each part to be assembled in the virtual assembly environment according to the assembly positioning method to obtain an intermediate assembly state; performing collision detection and interference analysis on the intermediate assembly state to obtain analysis results; and adjusting the assembly sequence or assembly positioning method when the analysis results indicate a conflict in the assembly process until all the three-dimensional geometric models of the parts to be assembled are successfully assembled to obtain a virtual assembly model of the product.

[0102] It should be noted that a virtual assembly environment is a digital environment used to simulate the actual assembly process. In a virtual assembly environment, the three-dimensional geometric models of the parts to be assembled can be virtually assembled to verify the correctness of the assembly sequence and positioning methods.

[0103] It should be understood that after importing into the virtual assembly environment, the 3D geometric model of each part to be assembled is precisely positioned within the virtual assembly environment according to the assembly positioning method. This ensures the correct assembly and positioning of parts during the actual assembly process. Then, collision detection and interference analysis are performed on intermediate assembly states. Collision detection checks for physical collisions between parts, while interference analysis checks for spatial interference. These analysis results help identify potential problems in the assembly process, such as assembly conflicts and interference. If the analysis results indicate conflicts in the assembly process, the assembly sequence or assembly positioning method needs to be adjusted. This process may need to be repeated until the 3D geometric models of all parts to be assembled are successfully assembled, ultimately resulting in a virtual assembly model of the product. This virtual assembly model can not only be used to verify the correctness of the assembly sequence and assembly positioning method but also for subsequent dimensional accuracy analysis.

[0104] Step S50: Perform dimensional chain analysis on the virtual assembly model to determine the critical dimensions and tolerance accumulation.

[0105] It should be noted that dimensional chain analysis refers to identifying the critical dimensions that affect the final dimensional accuracy of the product by analyzing the dimensional relationships between parts in a virtual assembly model. Critical dimensions are combinations of part dimensions that significantly impact the final product's dimensional accuracy during the assembly process. Tolerance accumulation refers to the gradual accumulation of tolerances among individual parts during assembly, ultimately leading to deviations in the final product's dimensions.

[0106] In one feasible implementation, step S50 may include: defining a dimension chain, wherein the dimension chain includes the dimensions of each part and the assembly clearance that affect the dimensional accuracy of the product assembly; calculating the tolerance accumulation based on the virtual assembly model and the dimension chain; calculating the contribution of each part dimension based on the tolerance accumulation; and determining the critical dimensions based on the priority of the contribution.

[0107] It should be noted that a dimensional chain refers to the process by which the dimensions of all parts, starting from a reference part (or reference surface), are transferred to the final assembled product through a series of mating relationships (holes, pins, contact surfaces, etc.). In this embodiment, the dimensional chain includes the dimensions of each part and the assembly clearances that affect the dimensional accuracy of the product assembly.

[0108] The dimensions of each part in the virtual assembly model are analyzed one by one, considering the tolerance range of each part's dimension in the dimension chain, as well as the fit relationships between parts during assembly. By simulating the assembly process, the accumulation of tolerances for each part's dimensions is calculated. The formula for calculating tolerance accumulation is as follows:

[0109]

[0110] Where, σ L For the case of tolerance accumulation, D n Let n be the size of the nth part, where n is the total number of part sizes in the size chain. For part dimension D n Sensitivity to assembly dimension L, σ Dn For part dimension D n Standard deviation, G m The m-th assembly gap, where m is the total number of assembly gaps in the dimension chain. Assembly clearance G m Sensitivity to assembly dimension L, σ Gm Assembly clearance G m The standard deviation.

[0111] It should be understood that contribution calculation assesses the impact of each part's dimensions on the final product's dimensional accuracy based on tolerance accumulation. By calculating the contribution, it's possible to determine which part dimensions are critical dimensions—those with the greatest impact on the final product's dimensional accuracy. The formula for calculating the contribution is:

[0112]

[0113] in, For part dimension D i Contribution to assembly dimensions For part dimension D i Sensitivity to assembly dimension L, σ L For the case of cumulative tolerances, σ Di Part size D i The standard deviation.

[0114] Step S60: Perform dimensional accuracy analysis based on the key dimensions and tolerance accumulation to obtain the dimensional accuracy evaluation results of the parts to be assembled.

[0115] It should be noted that dimensional accuracy analysis refers to evaluating whether the dimensional accuracy of the parts to be assembled meets the design requirements by analyzing the critical dimensions and tolerance accumulation. In other words, it is the dimensional accuracy evaluation result of the parts to be assembled.

[0116] Specifically, a dimensional accuracy analysis model can be constructed, with key dimensions and cumulative tolerances as inputs and total assembly error as output. The dimensional accuracy of the parts to be assembled can be calculated based on the total assembly error, thereby determining the dimensional accuracy assessment result of the parts to be assembled.

[0117] Step S70: Optimize the dimensions of the part to be assembled based on the dimensional accuracy evaluation results.

[0118] It should be noted that dimensional optimization design is a process of adjusting and improving the dimensions of parts to be assembled, based on the results of dimensional accuracy assessment.

[0119] It should be understood that by comparing the evaluation results with the design requirements, parts with significant dimensional deviations can be identified, allowing for corresponding optimization measures. These optimization measures may include adjusting part dimensions, improving manufacturing processes, optimizing assembly sequence, or optimizing assembly positioning methods. During the optimization process, factors such as the part's functional requirements, manufacturing costs, and assembly efficiency need to be comprehensively considered to ensure that the optimized part dimensions not only meet design requirements but also possess good economic efficiency and practicality. Dimensional optimization design can further improve the product's assembly accuracy and overall performance, providing strong support for subsequent production, manufacturing, and quality control.

[0120] This embodiment provides a method for analyzing the dimensional accuracy of parts. The method involves constructing a three-dimensional geometric model of the part to be assembled; determining the part's reference datum and mating features based on the three-dimensional geometric model; obtaining the assembly process; and determining the assembly sequence and assembly positioning method based on at least one of the assembly process, the part's reference datum, and the mating features; performing assembly simulation on the three-dimensional geometric model of the part to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product; performing dimensional chain analysis on the virtual assembly model to determine critical dimensions and tolerance accumulation; performing dimensional accuracy analysis based on the critical dimensions and tolerance accumulation to obtain the dimensional accuracy evaluation result of the part to be assembled; and performing dimensional optimization design on the part to be assembled based on the dimensional accuracy evaluation result. Through this method, by constructing a three-dimensional geometric model of the part to be assembled, determining the assembly sequence and assembly positioning method, and performing assembly simulation, the simulation efficiency and accuracy are effectively improved. By analyzing the critical dimensions and tolerance accumulation based on the generated virtual assembly model and performing dimensional accuracy analysis, accurate and efficient analysis of part dimensional accuracy is achieved. Furthermore, dimensional optimization design based on the dimensional accuracy evaluation result further improves the product's assembly efficiency.

[0121] 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 Step S60 includes steps S601 to S604:

[0122] Step S601: Input the critical dimensions and the cumulative tolerances into the dimensional accuracy analysis model, and determine the total assembly error based on the critical dimensions and the cumulative tolerances through the dimensional accuracy analysis model.

[0123] It should be noted that the dimensional accuracy analysis model is built based on machine learning or statistical methods, capable of handling complex assembly dimensional relationships and accurately predicting total assembly error. This model calculates the total assembly error by comprehensively considering factors such as the fit between parts, assembly sequence, and manufacturing processes, based on the input critical dimensions and cumulative tolerances. Through this model, one can intuitively understand the impact of each part's dimensions on the final product's dimensions during the assembly process.

[0124] Understandably, the dimensional accuracy analysis model is pre-trained, with its training data derived from a large number of assembly examples and experimental data. This data covers various types of parts, assembly processes, and manufacturing conditions, ensuring the model's accuracy and reliability. During training, the model learns the complex relationships between part dimensions, cumulative tolerances, and total assembly error, and is able to make accurate predictions based on these relationships.

[0125] Specifically, the formula for calculating the total assembly error using the dimensional accuracy analysis model is as follows:

[0126]

[0127] Where, ΔX total The total assembly error is Δx. i Let f be the tolerance of i critical dimensions, n be the number of critical dimensions, and f be the tolerance of i critical dimensions. j x is a function of assembly dimensions k For the function f j The relevant k-th key dimension, m is related to the function f j The number of key dimensions related to the k-th key dimension. Indicates the critical dimension x k The degree of influence on assembly dimensions, Δx k For the function f j The tolerance of the relevant k-th critical dimension.

[0128] Step S602: Calculate the dimensional accuracy of the parts to be assembled based on the total assembly error.

[0129] In practice, the tolerances of each key dimension of the parts to be assembled are analyzed one by one. Combined with the total assembly error, the dimensional accuracy of the parts to be assembled is determined by comparing the relationship between the tolerances of each key dimension and the total assembly error.

[0130] Step S603: Compare the dimensional accuracy of the part to be assembled with the preset dimensional accuracy to obtain the dimensional accuracy difference.

[0131] It should be noted that the preset dimensional accuracy is set in advance according to product design requirements and technical specifications, representing the expected level of dimensional accuracy the product should achieve. Comparing the calculated dimensional accuracy of the part to be assembled with the preset dimensional accuracy determines the degree of difference between the two, i.e., the dimensional accuracy difference. This difference reflects the gap between the current dimensional accuracy of the part to be assembled and the expected dimensional accuracy.

[0132] Step S604: Evaluate the dimensional accuracy of the assembled parts based on the dimensional accuracy difference to obtain the dimensional accuracy evaluation result of the parts to be assembled.

[0133] It should be noted that if the dimensional accuracy difference exceeds the acceptable range, it indicates that the dimensional accuracy of the part to be assembled does not meet the design requirements, and adjustments to the critical dimensions are necessary. Based on the magnitude and distribution of the dimensional accuracy difference, the direction and extent of the adjustment can be determined to ensure that the optimized part's dimensional accuracy meets the design requirements.

[0134] Understandably, by carefully evaluating the dimensional accuracy of assembled parts, dimensional accuracy issues can be identified and resolved in a timely manner, effectively improving product assembly efficiency and product quality.

[0135] In this embodiment, the total assembly error is accurately predicted based on the key dimensions and tolerance accumulation by using a dimensional accuracy analysis model. The dimensional accuracy of the parts to be assembled is then analyzed based on the total assembly error, which effectively improves the accuracy of dimensional accuracy analysis. This allows for the evaluation of the dimensional accuracy of the parts to be assembled, facilitating the timely detection and resolution of dimensional accuracy problems, and effectively improving product assembly efficiency and product quality.

[0136] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the part dimensional accuracy analysis method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0137] This application also provides a part dimensional accuracy analysis device, please refer to... Figure 3 The part dimensional accuracy analysis device includes:

[0138] Module 10 is used to build a three-dimensional geometric model of the parts to be assembled.

[0139] The determination module 20 is used to determine the part datum and mating features based on the three-dimensional geometric model of the part to be assembled.

[0140] The determining module 20 is also used to acquire the assembly process and determine the assembly sequence and assembly positioning method based on at least one of the assembly process, the part reference and the mating features.

[0141] The simulation module 30 is used to perform assembly simulation on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method, so as to obtain a virtual assembly model of the product.

[0142] Analysis module 40 is used to perform dimensional chain analysis on the virtual assembly model to determine the critical dimensions and tolerance accumulation.

[0143] The analysis module 40 is also used to perform dimensional accuracy analysis based on the key dimensions and tolerance accumulation to obtain the dimensional accuracy evaluation results of the parts to be assembled.

[0144] The optimization module 50 is used to perform dimensional optimization design on the part to be assembled based on the dimensional accuracy evaluation results.

[0145] The part dimensional accuracy analysis device provided in this application, employing the part dimensional accuracy analysis method described in the above embodiments, can solve the technical problem that traditional dimensional accuracy analysis methods suffer from poor modeling efficiency and accuracy, affecting the efficiency and accuracy of dimensional accuracy analysis, and consequently leading to error accumulation during assembly, thus impacting assembly efficiency and the quality of the final product. Compared with the prior art, the beneficial effects of the part dimensional accuracy analysis device provided in this application are the same as those of the part dimensional accuracy analysis method provided in the above embodiments, and other technical features in the part dimensional accuracy analysis device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0146] In one embodiment, the construction module 10 is further configured to acquire geometric design information and geometric assembly feature information of the part to be assembled, wherein the geometric design information includes at least the outline dimensions and shape features of the part to be assembled, and the geometric assembly feature information includes at least the hole positions, mating features, and assembly interfaces; convert the geometric design information into a voxel mesh, and determine the occupancy state of each voxel unit in the voxel mesh; fill the voxel mesh according to the occupancy state of each voxel unit and the geometric assembly feature information to obtain a three-dimensional geometric model of the part to be assembled.

[0147] In one embodiment, the determining module 20 is further configured to: identify geometric features in the three-dimensional geometric model of the part to be assembled; classify the geometric features to obtain multiple potential benchmarks; randomly combine the potential benchmarks to generate multiple benchmark feature combinations, and use the multiple benchmark feature combinations as an initial population; evaluate the fitness of individuals in the initial population according to the geometric attributes and assembly requirements of the potential benchmarks to obtain individual fitness; select individuals from the initial population as parents according to the individual fitness, and perform selection, crossover, and mutation operations on the parents to obtain new individuals; update the initial population according to the new individuals to obtain a new population, use the new population as the initial population, and re-execute the step of evaluating the fitness of individuals in the initial population according to the geometric attributes and assembly requirements of the potential benchmarks to obtain individual fitness, until a preset number of iterations is reached or a convergence condition is met to generate a target benchmark feature combination; determine the part benchmark based on the target benchmark feature combination, and determine the matching features that mate with it according to the part benchmark.

[0148] In one embodiment, the determining module 20 is further configured to acquire an assembly process and determine assembly constraints based on the assembly process; select an assembly strategy based on the assembly constraints and determine an assembly sequence based on the assembly strategy, wherein the assembly strategy includes at least a top-down assembly strategy, a bottom-up assembly strategy, and a modular assembly strategy; determine a positioning reference surface based on the part datum and determine a positioning reference point based on the mating features; and determine an assembly positioning method based on the positioning reference surface, the positioning reference point, and the assembly constraints, wherein the assembly positioning method includes at least fixed positioning, adjustable positioning, and floating positioning.

[0149] In one embodiment, the simulation module 30 is further configured to: sequentially import the three-dimensional geometric models of the parts to be assembled into the virtual assembly environment according to the assembly sequence; position the three-dimensional geometric model of each part to be assembled in the virtual assembly environment according to the assembly positioning method to obtain an intermediate assembly state; perform collision detection and interference analysis on the intermediate assembly state to obtain analysis results; and when the analysis results indicate that there is a conflict in the assembly process, adjust the assembly sequence or assembly positioning method until all the three-dimensional geometric models of the parts to be assembled are successfully assembled to obtain a virtual assembly model of the product.

[0150] In one embodiment, the analysis module 40 is further configured to define a dimension chain, wherein the dimension chain includes the dimensions of each part and the assembly clearance that affect the assembly dimensional accuracy of the product; calculate the tolerance accumulation based on the virtual assembly model and the dimension chain; calculate the contribution of each part dimension based on the tolerance accumulation; and determine the critical dimensions based on the priority of the contribution.

[0151] The formula for calculating the cumulative tolerance is as follows:

[0152]

[0153] Where, σ L For the case of tolerance accumulation, D n Let n be the size of the nth part, where n is the total number of part sizes in the size chain. For part dimension D n Sensitivity to assembly dimension L, σ Dn For part dimension D n Standard deviation, G m The m-th assembly gap, where m is the total number of assembly gaps in the dimension chain. Assembly clearance G m Sensitivity to assembly dimension L, σ Gm Assembly clearance G m The standard deviation.

[0154] The formula for calculating contribution is:

[0155]

[0156] in, For part dimension D i Contribution to assembly dimensions For part dimension D i Sensitivity to assembly dimension L, σ L This is the cumulative tolerance situation. Part size D i The standard deviation.

[0157] In one embodiment, the analysis module 40 is further configured to input the critical dimensions and the cumulative tolerances into a dimensional accuracy analysis model, determine the total assembly error based on the critical dimensions and the cumulative tolerances using the dimensional accuracy analysis model; calculate the dimensional accuracy of the part to be assembled based on the total assembly error; compare the dimensional accuracy of the part to be assembled with a preset dimensional accuracy to obtain a dimensional accuracy difference; and evaluate the dimensional accuracy of the assembled part based on the dimensional accuracy difference to obtain a dimensional accuracy evaluation result for the part to be assembled.

[0158] The formula for calculating the total assembly error is as follows:

[0159]

[0160] Where, ΔX total The total assembly error is Δx. i Let f be the tolerance of i critical dimensions, n be the number of critical dimensions, and f be the tolerance of i critical dimensions. j x is a function of assembly dimensions k For the function f j The relevant k-th key dimension, m is related to the function f j The number of key dimensions related to the k-th key dimension. Indicates the critical dimension x k The degree of influence on assembly dimensions, Δx k For the function f j The tolerance of the relevant k-th critical dimension.

[0161] This application provides an electronic 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, the instructions being executed by the at least one processor to enable the at least one processor to perform the part dimensional accuracy analysis method in Embodiment 1 above.

[0162] The following is for reference. Figure 4The diagram illustrates a structural schematic of an electronic device suitable for implementing the embodiments of this application. The electronic devices in the embodiments of this application may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0163] like Figure 4 As shown, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touch screens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, LCDs (Liquid Crystal Displays), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. While electronic devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0164] 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.

[0165] The electronic device provided in this application employs the part dimensional accuracy analysis method described in the above embodiments. This method addresses the technical problem of poor modeling efficiency and accuracy in traditional dimensional accuracy analysis methods, which negatively impacts the efficiency and accuracy of dimensional accuracy analysis, leading to error accumulation during assembly and affecting assembly efficiency and the quality of the final product. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the part dimensional accuracy analysis method provided in the above embodiments. Furthermore, other technical features of this electronic device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0166] 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.

[0167] 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 scope of the technology 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.

[0168] 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 execute the part dimensional accuracy analysis method in the above embodiments.

[0169] 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, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or Flash Memory), optical fibers, CD-ROM (CD-Read Only Memory), 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.

[0170] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0171] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: construct a three-dimensional geometric model of a part to be assembled; determine part datum and mating features based on the three-dimensional geometric model of the part to be assembled; acquire an assembly process, and determine an assembly sequence and assembly positioning method based on at least one of the assembly process, the part datum, and the mating features; perform assembly simulation on the three-dimensional geometric model of the part to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product; perform dimensional chain analysis on the virtual assembly model to determine critical dimensions and tolerance accumulation; perform dimensional accuracy analysis based on the critical dimensions and tolerance accumulation to obtain a dimensional accuracy evaluation result for the part to be assembled; and perform dimensional optimization design on the part to be assembled based on the dimensional accuracy evaluation result.

[0172] 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++, as well as conventional procedural programming languages ​​such as "C" 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 LAN (Local Area Network) or WAN (Wide Area Network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0173] 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.

[0174] 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.

[0175] 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 part dimensional accuracy analysis method. This solves the technical problem that traditional dimensional accuracy analysis methods suffer from poor modeling efficiency and accuracy, affecting the efficiency and accuracy of dimensional accuracy analysis, and consequently leading to error accumulation during assembly, thus impacting assembly efficiency and the quality of the final product. 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 part dimensional accuracy analysis method provided in the above embodiments, and will not be repeated here.

[0176] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the part dimensional accuracy analysis method described above.

[0177] The computer program product provided in this application can solve the technical problem that traditional dimensional accuracy analysis methods suffer from poor modeling efficiency and accuracy, which affects the efficiency and accuracy of dimensional accuracy analysis, leading to error accumulation during assembly and impacting assembly efficiency and the quality of the final product. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the part dimensional accuracy analysis method provided in the above embodiments, and will not be repeated here.

[0178] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for analyzing the dimensional accuracy of a part, characterized in that, The method includes: Obtain the geometric design information and geometric assembly feature information of the parts to be assembled, wherein the geometric design information includes at least the outline dimensions and shape features of the parts to be assembled, and the geometric assembly feature information includes at least the hole positions, mating features, and assembly interfaces. The geometric design information is converted into a voxel mesh, and the occupancy status of each voxel unit in the voxel mesh is determined. The voxel mesh is filled according to the occupancy status of each voxel unit and the geometric assembly feature information to obtain a three-dimensional geometric model of the part to be assembled. Identify the geometric features in the three-dimensional geometric model of the part to be assembled, and classify the geometric features to obtain multiple potential benchmarks; The potential benchmarks are randomly combined to generate multiple benchmark feature combinations, and these multiple benchmark feature combinations are used as the initial population. The fitness of individuals in the initial population is evaluated based on the geometric properties and assembly requirements of the potential benchmark to obtain individual fitness. Individuals are selected from the initial population as parents based on the individual fitness, and selection, crossover, and mutation operations are performed on the parents to obtain new individuals; The initial population is updated based on the new individuals to obtain a new population. The new population is used as the initial population, and the step of evaluating the fitness of individuals in the initial population based on the geometric properties and assembly requirements of the potential benchmark is re-executed to obtain the individual fitness, until the preset number of iterations is reached or the convergence condition is met, and the target benchmark feature combination is generated. The part reference is determined based on the combination of the target reference features, and the mating features that mate with it are determined according to the part reference. Obtain the assembly process, and determine the assembly sequence and assembly positioning method based on at least one of the assembly process, the part datum, and the mating features; The assembly simulation is performed on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product. Perform dimensional chain analysis on the virtual assembly model to determine critical dimensions and tolerance accumulation. The critical dimensions and the cumulative tolerances are input into the dimensional accuracy analysis model, and the total assembly error is determined by the dimensional accuracy analysis model based on the critical dimensions and the cumulative tolerances. Calculate the dimensional accuracy of the parts to be assembled based on the total assembly error; The dimensional accuracy of the part to be assembled is compared with the preset dimensional accuracy to obtain the dimensional accuracy difference. The dimensional accuracy of the assembled parts is evaluated based on the dimensional accuracy difference to obtain the dimensional accuracy evaluation result of the parts to be assembled. The dimensions of the parts to be assembled are optimized based on the dimensional accuracy assessment results.

2. The method as described in claim 1, characterized in that, The step of acquiring the assembly process and determining the assembly sequence and assembly positioning method based on at least one of the assembly process, the part datum, and the mating features includes: Obtain the assembly process and determine the assembly constraints based on the assembly process; An assembly strategy is selected based on the assembly constraints, and the assembly sequence is determined according to the assembly strategy. The assembly strategy includes at least a top-down assembly strategy, a bottom-up assembly strategy, and a modular assembly strategy. The positioning reference surface is determined based on the part datum, and the positioning datum point is determined based on the mating features; The assembly positioning method is determined based on the positioning reference surface, the positioning datum point, and the assembly constraints, wherein the assembly positioning method includes at least fixed positioning, adjustable positioning, and floating positioning.

3. The method as described in claim 1, characterized in that, The assembly simulation of the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method to obtain a virtual assembly model of the product includes: According to the assembly sequence, the three-dimensional geometric models of the parts to be assembled are sequentially imported into the virtual assembly environment; According to the assembly positioning method, the three-dimensional geometric model of each part to be assembled is positioned in the virtual assembly environment to obtain the intermediate assembly state. Collision detection and interference analysis were performed on the intermediate assembly state to obtain the analysis results; If the analysis results indicate a conflict in the assembly process, the assembly sequence or assembly positioning method is adjusted until all the three-dimensional geometric models of the parts to be assembled are successfully assembled, thus obtaining a virtual assembly model of the product.

4. The method as described in claim 1, characterized in that, The step of performing dimensional chain analysis on the virtual assembly model to determine critical dimensions and tolerance accumulation includes: Define a dimension chain, wherein the dimension chain includes the dimensions of each part and the assembly clearance that affect the dimensional accuracy of the product assembly; The tolerance accumulation is calculated based on the virtual assembly model and the dimension chain. The contribution of each part dimension is calculated based on the cumulative tolerance. The critical dimensions are determined based on the priority of the contribution. The formula for calculating the cumulative tolerance is as follows: in, This is the cumulative tolerance situation. Let n be the size of the nth part, where n is the total number of part sizes in the size chain. For part dimensions Sensitivity to assembly dimension L For part dimensions The standard deviation, The m-th assembly gap, where m is the total number of assembly gaps in the dimension chain. For assembly clearance Sensitivity to assembly dimension L Assembly clearance The standard deviation; The formula for calculating contribution is: in, For part dimensions Contribution to assembly dimensions For part dimensions Sensitivity to assembly dimension L This is the cumulative tolerance situation. Part dimensions The standard deviation.

5. The method as described in claim 1, characterized in that, The formula for calculating the total assembly error is as follows: in, This refers to the total assembly error. Let n be the tolerance of i critical dimensions, and n be the number of critical dimensions. A function of assembly dimensions. For functions The relevant k-th key dimension, where m is the value related to the function. The number of key dimensions related to the k-th key dimension. Indicates critical dimensions The degree of impact on assembly dimensions For functions The tolerance of the relevant k-th critical dimension.

6. A part dimensional accuracy analysis device, characterized in that, The part dimensional accuracy analysis device includes: A construction module is used to acquire geometric design information and geometric assembly feature information of the parts to be assembled. The geometric design information includes at least the outline dimensions and shape features of the parts to be assembled, and the geometric assembly feature information includes at least the hole positions, mating features, and assembly interfaces. The geometric design information is converted into a voxel mesh, and the occupancy state of each voxel unit in the voxel mesh is determined. The voxel mesh is filled according to the occupancy state of each voxel unit and the geometric assembly feature information to obtain a three-dimensional geometric model of the parts to be assembled. A determination module is used to identify geometric features in the three-dimensional geometric model of the part to be assembled, classify the geometric features to obtain multiple potential benchmarks; randomly combine the potential benchmarks to generate multiple benchmark feature combinations, and use the multiple benchmark feature combinations as an initial population; evaluate the fitness of individuals in the initial population according to the geometric attributes of the potential benchmarks and assembly requirements to obtain individual fitness; select individuals from the initial population as parents according to the individual fitness, and perform selection, crossover, and mutation operations on the parents to obtain new individuals; update the initial population according to the new individuals to obtain a new population, use the new population as the initial population, and re-execute the step of evaluating the fitness of individuals in the initial population according to the geometric attributes of the potential benchmarks and assembly requirements to obtain individual fitness, until a preset number of iterations is reached or a convergence condition is met to generate a target benchmark feature combination; determine the part benchmark based on the target benchmark feature combination, and determine the mating features that mate with it according to the part benchmark; The determining module is further configured to acquire the assembly process, and determine the assembly sequence and assembly positioning method based on at least one of the assembly process, the part reference and the mating feature; The simulation module is used to perform assembly simulation on the three-dimensional geometric model of the parts to be assembled according to the assembly sequence and assembly positioning method, so as to obtain a virtual assembly model of the product. The analysis module is used to perform dimensional chain analysis on the virtual assembly model to determine the critical dimensions and tolerance accumulation. The analysis module is further configured to input the key dimensions and the cumulative tolerances into the dimensional accuracy analysis model, determine the total assembly error based on the key dimensions and the cumulative tolerances using the dimensional accuracy analysis model; calculate the dimensional accuracy of the part to be assembled based on the total assembly error; compare the dimensional accuracy of the part to be assembled with a preset dimensional accuracy to obtain a dimensional accuracy difference; and evaluate the dimensional accuracy of the assembled part based on the dimensional accuracy difference to obtain a dimensional accuracy evaluation result for the part to be assembled. The optimization module is used to perform dimensional optimization design on the parts to be assembled based on the dimensional accuracy evaluation results.

7. A part dimensional accuracy analysis device, characterized in that, The part dimension accuracy analysis device includes: a memory, a processor, and a part dimension accuracy analysis program stored in the memory and executable on the processor, wherein the part dimension accuracy analysis program is configured to implement the part dimension accuracy analysis method as described in any one of claims 1 to 5.

8. A storage medium, characterized in that, The storage medium stores a part dimension accuracy analysis program, which, when executed by a processor, implements the part dimension accuracy analysis method as described in any one of claims 1 to 5.