Curved surface assembly quality prediction and repair compensation method and apparatus
By establishing the spatial error model and fitting error data of the machine tool, optimizing the surface assembly positioning and calculating the repair compensation amount, the problem of neglecting the surface error in improving the quality of curved surface assembly in the existing technology is solved, and high-precision assembly of complex curved surface parts is achieved. and performance improvements.
Patent Information
- Application Number
- PCT/CN2023/081828
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2023-03-16
- Publication Date
- 2024-09-06
AI Technical Summary
Existing methods for improving the quality of curved surface assembly ignore the shape errors between curved surfaces and cannot guarantee the assembly accuracy and performance of complex curved surface parts, resulting in unstable product performance.
By establishing the spatial error model of the machine tool, fitting the geometric error and thermal error data, calculating the processing error of the assembly surface, optimizing the assembly positioning, and calculating the repair compensation amount based on the surface error and assembly gap error, the prediction and accuracy of the curved surface assembly quality are achieved. Repair compensation.
It improves the quality and performance of curved surface assembly, ensures high-precision assembly of complex curved surface parts, and meets the precision needs of complex mechanical and electrical products.
Smart Images

Figure CN2023081828_06092024_PF_FP
Abstract
Description
A method and device for predicting and compensating surface assembly quality Technical Field
[0001] The present invention relates to the technical field of precision machining of numerically controlled machine tools, and in particular to a method and device for predicting and repairing and compensating the quality of curved surface assembly. Background Art
[0002] As electromechanical products such as satellites, rockets, and aircraft become increasingly complex, lightweight, and sophisticated, the requirements for assembly precision and the difficulty of adjustment are increasing, making it increasingly difficult to ensure product assembly performance. Many key components in these electromechanical products feature complex curved surfaces, and the assembly quality of these complex curved parts significantly impacts product performance.
[0003] To achieve high-quality assembly of complex curved parts, not only do they themselves require very high geometric accuracy, but multiple complex curved parts also need to have excellent assembly accuracy and performance. Complex curved parts are usually machined by five-axis CNC machine tools, and their assembly errors are mainly caused by the cumulative coupling of the machining errors of each part. The geometric and thermal errors of five-axis CNC machine tools account for 50% to 70% of the total machine tool errors and are a significant factor affecting the machining accuracy of complex curved surfaces. Assembly is one of the last links in product manufacturing, and the quality of assembly largely determines the final quality of the product. However, existing methods for improving assembly quality only focus on fitting clearances, ignore the surface errors between curved surfaces, and cannot guarantee the assembly quality of the final product.
[0004] Summary of the Invention
[0005] In view of this, an embodiment of the present invention provides a method and device for predicting and compensating the quality of curved surface assembly, which evaluates the surface assembly quality from two aspects: shape error and assembly gap error, and then calculates the optimal compensation amount of each assembly surface based on these two aspects, thereby ensuring the product assembly quality.
[0006] To achieve the above objectives, according to one aspect of the present invention, a method for predicting and compensating the quality of curved surface assembly is provided.
[0007] The method for predicting and repairing and compensating the quality of curved surface assembly according to an embodiment of the present invention comprises: establishing a spatial error model of a machine tool; fitting the measured real geometric error data of the machine tool to form a geometric error function; fitting the measured real thermal error data of the machine tool to form a thermal error function; inputting the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool; using the machining error prediction model to obtain the machining error of the assembly surface of the part, superimposing the obtained machining error on the theoretical surface of the assembly surface to obtain a predicted machining surface; determining an initial assembly position of the predicted machining surface, Based on the predetermined curved surface information of the assembly surface, the relative position between the curved surfaces of the predicted machining surface is optimized to achieve the assembly positioning of the part; for the part that achieves the assembly positioning, the shape error and the assembly gap error of the assembly surface are calculated according to the assembly median surface determined by the assembly surface, and the surface assembly quality of the part is predicted using the shape error and the assembly gap error; when the surface assembly quality does not meet the preset assembly quality requirements, the repair compensation amount of each assembly surface in the assembly surface is calculated based on the shape error, the assembly gap error and the machining error, and the corresponding assembly surface is compensated using the repair compensation amount.
[0008] Optionally, the measured real thermal error data of the machine tool are fitted to form a thermal error function, including: fitting the geometric part data in the real thermal error data into a polynomial function with coordinate values as independent variables, fitting the thermal part data in the real thermal error data into a time-varying slope function with temperature as the independent variable, and superimposing the polynomial function and the time-varying slope function to form the thermal error function.
[0009] Optionally, the method further includes: after obtaining the predicted machining surface, obtaining assembly constraint information of the real assembly scene, transforming the assembly constraint information into geometric information in the form of a transformation matrix, and combining the geometric information with the predicted machining surface to constrain the predicted machining surface.
[0010] Optionally, calculating the surface error includes: performing an averaging calculation on the two assembly surfaces in the assembly surface to obtain the assembly median plane, discretizing the assembly median plane and the two assembly surfaces into multiple point cloud coordinates and normalizing the point cloud coordinates; using a bulldozer distance algorithm to match the point cloud coordinates of the assembly median plane and the two assembly surfaces; after the matching is completed, determining the minimum value of the sum of the Euclidean distances between each point on the assembly median plane and the corresponding points on the two assembly surfaces as the surface error.
[0011] Optionally, calculating the assembly gap error includes: performing an averaging calculation on the two assembly surfaces in the assembly surface to obtain the assembly median plane, discretizing the assembly median plane and the two assembly surfaces into multiple point cloud coordinates and normalizing the point cloud coordinates; using a bulldozer distance algorithm to match the point cloud coordinates of the assembly median plane and the two assembly surfaces; after the matching is completed, determining the root mean square error between the coordinates of each point on the assembly median plane and the corresponding point on the two assembly surfaces as the assembly gap error.
[0012] Optionally, the assembly surface includes a pre-machined assembly surface and a post-machined assembly surface; the repair compensation amount Δa of the pre-machined assembly surface is calculated according to the following formula:
[0013] A0+a0+Δa=(B0+b0)·M
[0014] Wherein, A0 represents the coordinate data of the first-machined assembly surface, B0 represents the coordinate data of the post-machined assembly surface, a0 represents the machining error between the first-machined assembly surface and the corresponding theoretical surface, b0 represents the machining error between the post-machined assembly surface and the corresponding theoretical surface, and M represents the transformation matrix from the post-machined assembly surface coordinate system to the first-machined assembly surface coordinate system; and the method further includes: after compensating the first-machined assembly surface using the repair compensation amount Δa, judging whether the compensated first-machined assembly surface meets the first constraint condition determined by the surface error: if so, performing the machining operation; otherwise, setting b0 of the point that does not meet the first constraint condition to zero and recalculating the repair compensation amount Δa until the compensated first-machined assembly surface meets the first constraint condition; wherein, the first constraint condition is the tolerance zone added in the assembly median plane according to the surface error.
[0015] Optionally, the repair compensation amount Δb of the post-processing assembly surface is calculated according to the following formula:
[0016] B0+b0+Δb=A1·M'
[0017] Wherein, A1 represents the coordinate data of the first-processed assembly surface that meets the first constraint condition after compensation, M' represents the transformation matrix from the coordinate system of the first-processed assembly surface to the coordinate system of the post-processed assembly surface; and the method further includes: after compensating the post-processed assembly surface using the repair compensation amount Δb, judging whether the compensated post-processed assembly surface meets the second constraint condition determined by the assembly gap error: if so, performing the processing operation; otherwise, recalculating the repair compensation amount Δb until the compensated post-processed assembly surface meets the second constraint condition.
[0018] To achieve the above-mentioned object, according to another aspect of the present invention, a device for predicting and compensating the quality of curved surface assembly is provided.
[0019] The surface assembly quality prediction and repair compensation device of the embodiment of the present invention may include: a modeling unit, used to establish a spatial error model of a machine tool; fitting the measured real geometric error data of the machine tool to form a geometric error function; fitting the measured real thermal error data of the machine tool to form a thermal error function; inputting the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool; an assembly positioning unit, used to obtain the machining error of the assembly surface of the part by using the machining error prediction model, superimposing the obtained machining error on the theoretical surface of the assembly surface to obtain a predicted machining surface; determining an initial assembly position of the predicted machining surface, and The predetermined curved surface information of the assembly surface is used to optimize the relative position between the curved surfaces of the predicted machining surface to achieve the assembly positioning of the part; an assembly quality evaluation unit is used to: for the part that achieves the assembly positioning, calculate the shape error and assembly gap error of the assembly surface according to the assembly mid-plane determined by the assembly surface, and use the shape error and the assembly gap error to predict the curved surface assembly quality of the part; a repair compensation unit is used to: when the curved surface assembly quality does not meet the preset assembly quality requirements, calculate the repair compensation amount of each assembly surface in the assembly surface based on the shape error, the assembly gap error and the machining error, and use the repair compensation amount to compensate the corresponding assembly surface.
[0020] To achieve the above objective, according to another aspect of the present invention, an electronic device is provided.
[0021] An electronic device of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the surface assembly quality prediction and repair compensation device method provided by the present invention.
[0022] To achieve the above objective, according to another aspect of the present invention, a computer-readable storage medium is provided.
[0023] A computer-readable storage medium of the present invention stores a computer program, which, when executed by a processor, implements the surface assembly quality prediction and repair compensation device method provided by the present invention.
[0024] According to the technical solution of the present invention, the embodiments of the above invention have the following advantages or beneficial effects:
[0025] In the technical solution of an embodiment of the present invention, a spatial error model of a machine tool is first established. The geometric error function and thermal error function, determined from actual error data, are input into the spatial error model to obtain a machining error prediction model for the machine tool. Next, the machining error of the part's assembly surface is obtained using the machining error prediction model. The obtained machining error is superimposed on the theoretical surface of the assembly surface to obtain a predicted machining surface. The part is then assembled and positioned through coarse and fine positioning steps. The assembly median plane of the assembly surface is then determined, and the surface shape error and assembly clearance error of the assembly surface are calculated. The calculated surface error and assembly clearance error are used to predict the curved surface assembly quality of the part. If the curved surface assembly quality does not meet the assembly quality requirements, a correction compensation amount for each assembly surface is calculated based on the surface error, assembly clearance error, and the machining error determined by the above machining error prediction model. Finally, the corresponding assembly surface is compensated using the calculated correction compensation amount. Through these steps, the curved surface assembly quality is comprehensively evaluated from the perspectives of surface error and assembly clearance error, and the compensation amount for each assembly surface is accurately calculated based on these two aspects, thereby significantly improving the assembly quality and performance of the product.
[0026] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings are provided for a better understanding of the present invention and are not intended to limit the present invention.
[0028] 1 is a schematic diagram of the main steps of a method for predicting and repairing and compensating surface assembly quality according to an embodiment of the present invention;
[0029] FIG2 is a schematic structural diagram of a five-axis machine tool according to an embodiment of the present invention;
[0030] FIG3 is a schematic diagram of assembly surface prediction under the influence of geometric error and thermal error in an embodiment of the present invention;
[0031] FIG4 is a schematic diagram of coarse positioning and fine positioning of parts positioning in an embodiment of the present invention;
[0032] 5 is a schematic diagram of product assembly accuracy and performance analysis under dual indicators of surface error and assembly clearance error in an embodiment of the present invention;
[0033] 6 is a schematic diagram of collaborative repair and compensation under the constraints of surface error and assembly clearance error in an embodiment of the present invention;
[0034] 7 is a schematic diagram showing the prediction of the shape error and assembly gap error of the assembly surface in an embodiment of the present invention;
[0035] FIG8 is a schematic diagram of collaborative repair compensation according to an embodiment of the present invention;
[0036] 9 is a schematic diagram of components of a curved surface assembly quality prediction and repair compensation device according to an embodiment of the present invention;
[0037] FIG10 is a diagram of an exemplary system architecture in which an embodiment of the present invention may be applied;
[0038] FIG11 is a schematic diagram of the structure of an electronic device used to implement the method for predicting and compensating the quality of curved surface assembly according to an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following description of exemplary embodiments of the present invention is made in conjunction with the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding. These details should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0040] It should be pointed out that, in the absence of conflict, the embodiments of the present invention and the technical features therein may be combined with each other.
[0041] FIG1 is a schematic diagram showing the main steps of a method for predicting and repairing and compensating curved surface assembly quality according to an embodiment of the present invention.
[0042] As shown in FIG1 , the surface assembly quality prediction and repair compensation method according to an embodiment of the present invention can be specifically performed according to the following steps:
[0043] Step S101: Establish a spatial error model of the machine tool; fit the measured real geometric error data of the machine tool to form a geometric error function; fit the measured real thermal error data of the machine tool to form a thermal error function; input the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool.
[0044] Exemplarily, the above machine tool is a five-axis CNC machine tool. In this step, a spatial error model containing spatial position error and orientation error can be pre-established, and the geometric error function and thermal error function can be obtained by fitting the error data. In practical applications, the geometric data in the actual thermal error data can be fitted to a polynomial function with coordinate values as independent variables, and the thermal data in the actual thermal error data can be fitted to a time-varying slope function with temperature as the independent variable. Finally, the polynomial function and the time-varying slope function are superimposed to form the thermal error function.
[0045] Step S102: Use the machining error prediction model to obtain the machining error of the assembly surface of the part, superimpose the obtained machining error on the theoretical surface of the assembly surface to obtain the predicted machining surface; determine the initial assembly position of the predicted machining surface, and optimize the relative position between the surfaces of the predicted machining surface based on the predetermined surface information of the assembly surface to achieve assembly positioning of the part.
[0046] The purpose of this step is to simulate the real assembly state to realize the assembly positioning of the parts. Specifically, the machining error prediction model determined in step S101 is first used to calculate the machining error of the assembly surface, and then the machining error is superimposed on the theoretical surface of the assembly surface to obtain the predicted machining surface. As a preferred solution, the assembly constraint information of the real assembly scene can be obtained thereafter, the assembly constraint information can be transformed into geometric information in the form of a transformation matrix, and the geometric information can be combined with the predicted machining surface to constrain the predicted machining surface. Finally, the two-step positioning method of coarse positioning and fine positioning proposed in an embodiment of the present invention can be used to realize assembly positioning. Specifically, in the coarse positioning step, the initial assembly position of the predicted machining surface is first determined; in the fine positioning step, the relative position between the curved surfaces of the predicted machining surface is optimized based on the predetermined curved surface information of the assembly surface, thereby realizing the assembly positioning of the parts.
[0047] Step S103: for the part that has achieved assembly positioning, calculate the shape error and assembly clearance error of the assembly surface according to the assembly mid-plane determined by the assembly surface, and use the shape error and assembly clearance error to predict the surface assembly quality of the part.
[0048] In this step, the concepts of form error and assembly gap error are proposed. Form error refers to the error formed from the degree of difference in the two-dimensional shape of the assembly surface, and assembly gap error refers to the distance error formed from the angle of the assembly gap. In practical applications, the form error can be calculated through the following steps: First, perform an average calculation on the two assembly surfaces in the assembly surface to obtain the assembly mid-plane, discretize the assembly mid-plane and the two assembly surfaces into multiple point cloud coordinates and normalize the point cloud coordinates; then, use the bulldozer distance algorithm to match the point cloud coordinates of the assembly mid-plane and the two assembly surfaces; after the matching is completed, the minimum value of the sum of the Euclidean distances between each point on the assembly mid-plane and the corresponding points on the two assembly surfaces is determined as the form error.
[0049] In specific applications, the assembly gap error can be calculated through the following steps: first, the two assembly surfaces in the assembly surface are averaged to obtain the assembly mid-plane, the assembly mid-plane and the two assembly surfaces are discretized into multiple point cloud coordinates and the point cloud coordinates are normalized; then, the bulldozer distance algorithm is used to match the point cloud coordinates of the assembly mid-plane and the two assembly surfaces; after the matching is completed, the root mean square error between the coordinates of each point on the assembly mid-plane and the corresponding point on the two assembly surfaces is determined as the assembly gap error.
[0050] Step S104: When the surface assembly quality does not meet the preset assembly quality requirements, the repair compensation amount of each assembly surface in the assembly surface is calculated based on the surface error, assembly clearance error and processing error, and the repair compensation amount is used to compensate the corresponding assembly surface.
[0051] In this step, the compensation amount for each assembly surface can be calculated for the case where the assembly quality is unqualified, thereby improving the assembly quality. Specifically, the above assembly surfaces can include pre-processed assembly surfaces and post-processed assembly surfaces; the compensation amount Δa for the pre-processed assembly surface can be calculated according to the following formula:
[0052] A0+a0+Δa=(B0+b0)·M
[0053] Among them, A0 represents the coordinate data of the first-processed assembly surface, B0 represents the coordinate data of the second-processed assembly surface, a0 represents the machining error between the first-processed assembly surface and the corresponding theoretical surface, b0 represents the machining error between the second-processed assembly surface and the corresponding theoretical surface, and M represents the transformation matrix from the coordinate system of the second-processed assembly surface to the coordinate system of the first-processed assembly surface.
[0054] Preferably, after compensating the pre-machined assembly surface using the trimming offset Δa, it can be determined whether the compensated pre-machined assembly surface meets the first constraint determined by the surface error. Exemplarily, the first constraint can be a tolerance zone added to the assembly mid-plane based on the surface error. If the compensated pre-machined assembly surface meets the first constraint, the machining operation is performed; otherwise, the b0 of the points that do not meet the first constraint can be set to zero and the trimming offset Δa recalculated until the compensated pre-machined assembly surface meets the first constraint.
[0055] In an optional technical solution, the repair compensation amount Δb of the post-processing assembly surface can be calculated according to the following formula:
[0056] B0+b0+Δb=A1·M'
[0057] Wherein, A1 represents the coordinate data of the first-machined assembly surface that meets the first constraint condition after compensation, and M' represents the conversion matrix from the coordinate system of the first-machined assembly surface to the coordinate system of the second-machined assembly surface.
[0058] Similarly, after compensating the post-processing assembly surface using the repair compensation amount Δb, it can be determined whether the compensated post-processing assembly surface meets the second constraint determined by the assembly clearance error: if so, perform the processing operation; otherwise, recalculate the repair compensation amount Δb until the compensated post-processing assembly surface meets the second constraint.
[0059] A specific embodiment of the present invention is described below.
[0060] The specific steps of this embodiment are as follows:
[0061] The first step is to predict the dimensional error of complex surfaces under the influence of geometric error and thermal error of five-axis machine tools.
[0062] Five-axis CNC machine tools have a total of 41 geometric errors: 21 geometric errors for the three translational axes, 8 position-independent geometric errors (PIGEs), and 12 position-dependent geometric errors (PDGEs) for the two rotational axes. Taking the XACRYZ five-axis machine tool as an example, using the ISO 230-1 definition, its 41 geometric errors are shown in the table below.
[0063] The kinematic chain structure of the five-axis CNC machine tool is shown in Figure 2, where the X-axis, A-axis, and C-axis are the workpiece kinematic chain, and the Y-axis and Z-axis are the tool kinematic chain. Based on the homogeneous coordinate transformation matrix method, the spatial error model of the five-axis machine tool can be established, where the spatial position error ΔP and orientation error ΔO are expressed as follows:
[0064] in, is the actual motion matrix of the tool relative to the workpiece, is the ideal motion matrix of the tool relative to the workpiece.
[0065] After establishing the spatial error model of a five-axis machine tool, 41 geometric and thermal errors can be measured using equipment such as laser interferometers and ballbars. For geometric errors, a polynomial fit can be performed on the error curve, describing it as a function of position (i.e., the geometric error function). For thermal errors, the constant shape (geometric component) of the positioning error is fitted to a polynomial function with coordinate values as the independent variable, and the time-varying slope (thermal component) is fitted as a function of temperature. Ultimately, a composite function (i.e., the thermal error function) is obtained by superimposing the constant shape and time-varying slope. Substituting the geometric and thermal error functions into the spatial error model yields a machining error prediction model, enabling real-time prediction of machining errors along the workpiece tool path.
[0066] Step 2: Assembly positioning between assembly parts.
[0067] Determining the assembly positioning of the part model is paramount in assembly accuracy prediction and control. In practical applications, the assembly part is first programmed to generate the NC code used to control the machine tool. The machining error prediction model is then used to predict the machining error of the assembly surface. Finally, the machining error is superimposed on the theoretical surface to obtain the predicted machined surface.
[0068] During the product design phase, part models are theoretically assembled in CAD software according to assembly constraints. When exported in STEP format for real-world assembly simulation, only the final assembly state of the parts (i.e., only their spatial position information) is often retained, and their assembly constraint information is lost. Specifically, in embodiments of the present invention, assembly constraints can be converted into geometric information, constraining the spatial position of each part in the form of a transformation matrix.
[0069] The assembly positioning of parts can be divided into two processes: coarse positioning and fine positioning. In the coarse positioning process, the initial position of the surface is determined by the ideal model positioning reference; in the fine positioning process, the relative position between the surfaces is optimized based on the surface information of the surface. The above steps can be seen in Figures 3 and 4. It should be noted that Figures 3 to 8 involved in this article are only used as schematics to show the relevant steps and processes. The specific content and detailed values of the formulas, charts, and coordinate systems involved in each figure do not need to be explained one by one. Figure 3 shows the process of forming a predicted machining surface after superimposing the theoretical assembly surface based on the NC code and the machining error. Figure 4 shows the assembly process that simulates the actual assembly state and the assembly method based on coarse positioning and fine positioning.
[0070] The third step is to predict the assembly accuracy based on the “form-gap” index (i.e., the form error index and the assembly gap error index).
[0071] The assembly clearance between assembly surfaces is directly related to assembly accuracy and is a key characteristic reflecting product quality, often used in assembly accuracy analysis. However, for products with complex curved surfaces, both assembly accuracy and performance must be considered simultaneously. Therefore, this embodiment uses the dual "form-clearance" assembly metric to simultaneously analyze product assembly accuracy and performance, thereby ensuring the qualified rate of electromechanical products.
[0072] As shown in Figure 5, the "shape" index refers to the surface deviation between the assembly center plane and the theoretical assembly surface, which determines the assembly accuracy; the "gap" index corresponds to the gap between the two assembly surfaces, and its uniformity determines the assembly performance. Using the "shape-gap" dual index can effectively improve the assembly quality. shape The calculation formula is as follows:
[0073] The calculation process is as follows: first, the two assembly surfaces are averaged to obtain the assembly median surface, and both the assembly median surface and the theoretical assembly surface are discretized into point cloud coordinates (the corresponding points are P and Q, and N is the number of points on each surface). Then, the coordinates of the assembly median surface and the theoretical assembly surface are normalized. After that, the Earth Mover's Distance algorithm is used to match the points of the assembly median surface and the theoretical assembly surface. After the matching is completed, the Euclidean distance between the corresponding points and (d ij The minimum value of the Euclidean distance is the surface error.
[0074] The “gap” indicator refers to the assembly clearance error E between two assembly surfaces. gap , its uniformity determines the assembly performance. The present invention uses the root mean square error method to calculate the assembly gap error, and the calculation process is as follows:
[0075] Among them, x i 、y i 、z i is the midplane p on the assembly i The coordinate value of is the theoretical assembly surface q i The coordinate value of .
[0076] Step 4: Calculation of compensation for “shape-gap” collaborative repair
[0077] This step uses the "form-gap" metric as the optimization target, improving product assembly quality through coordinated repair and compensation. The first-machined assembly surface is defined as surface A, and the last-machined assembly surface is defined as surface B. The calculation method for the repair and compensation is described below.
[0078] First, the assembly mid-plane is obtained by using the two mating surfaces. Based on the "shape" index requirements, a tolerance zone is added to the assembly mid-plane as a constraint condition for the repair calculation amount (the first constraint condition). To ensure assembly quality, the repair compensation amount of surface A needs to comprehensively consider the machine tool processing error, the processing quality of surface B, and the first constraint condition. The repair compensation amount Δa of surface A is calculated according to the following formula:
[0079] A0+a0+Δa=(B0+b0)·M
[0080] Among them, A0 represents the coordinate data of surface A, B0 represents the coordinate data of surface B, a0 represents the machining error between surface A and the corresponding theoretical surface, b0 represents the machining error between surface B and the corresponding theoretical surface, and M represents the transformation matrix from the coordinate system of surface A to the coordinate system of surface B.
[0081] After obtaining the compensation amount Δa for surface A using the above formula, the compensated assembly surface can be calculated using the mirror method. The performance of the compensated assembly surface A is then evaluated to see if it meets the first constraint. If it does, machining can begin. If a point exceeds the performance tolerance band, b0 = 0 at that point, recalculate the compensation amount Δa, and fit surface A. Once the first constraint is met, machining can begin. Surface A is reconstructed based on Δa to obtain assembly surface A1.
[0082] After that, the compensation calculation for surface B is performed. To ensure assembly quality, the compensation amount for surface B needs to comprehensively consider the predicted machining error, the predicted compensation amount for surface A, and the "gap" indicator constraint (i.e., the second constraint condition). The compensation amount Δb for surface B is calculated according to the following formula:
[0083] B0+b0+Δb=A1·M'
[0084] Wherein, A1 represents the coordinate data of surface A that meets the first constraint condition after compensation, and M' represents the transformation matrix from the surface A coordinate system to the surface B coordinate system.
[0085] Finally, based on the optimized compensation Δb for surface B, the mirror method was used to obtain the compensated surface B1. A digitally driven assembly accuracy analysis model was used to simulate the "form-gap" metric under real-world assembly conditions, thereby verifying the effectiveness of the "form-gap" collaborative compensation method. The above compensation calculation process can be seen in Figure 6.
[0086] Another specific embodiment of the present invention is described below.
[0087] In this embodiment, the assembly accuracy analysis is performed on the complex curved surface assembly in Figure 7(a). First, the tool path and NC code of the complex curved surface assembly are obtained by using Surfmill and NX 12.0 software, and the geometric error and thermal error of the five-axis machine tool are predicted to obtain the actual machined surface, as shown in Figure 7(b). By constructing mapping parts and supplementing the assembly positioning information, the "shape-gap" error of the assembly is analyzed and obtained, as shown in Figure 7(c). The results show that the "shape" error between the median surface of the complex curved surface assembly and the theoretical assembly surface reaches 10%, and the assembly gap between the upper and lower assembly surfaces exceeds the theoretical value and is uneven, requiring compensation and adjustment to ensure assembly quality. Compared with the measured morphology, the prediction accuracy of this prediction method is over 90%.
[0088] As shown in Figure 8, based on the assembly quality analysis results, a preliminary experiment using collaborative repair and compensation was conducted on complex curved surface mating parts. First, the repair and compensation amount for the pre-machined assembly surface was calculated based on the predicted machine tool machining errors, the machining quality of the mating surfaces, and the "form" indicator constraint, resulting in the compensated machined surface A. Then, based on the "gap" indicator constraint and the compensated surface A, the repair and compensation amount for surface B was calculated. Ultimately, collaborative repair of A and B was achieved, resulting in a 32% improvement in assembly accuracy after repair.
[0089] In summary, the embodiment of the present invention provides a method for predicting the assembly quality of complex curved surfaces and for collaborative repair and compensation of "shape-gap". The basic steps are as follows: first, a machine tool geometric error and thermal error model is established; then, the real assembly state is simulated based on the "coarse positioning-fine positioning" method; then, a "shape-gap" dual index system is constructed to evaluate the assembly quality of the complex curved surface, that is, the assembly quality is predicted by establishing an assembly mid-plane and calculating the shape error and fit clearance between the assembly surfaces; finally, based on the optimal assembly accuracy target, the repair and compensation amount of each assembly part is collaboratively calculated, and each assembly surface is compensated in real time. In this way, compared with the prior art, the following beneficial effects can be achieved: in the complex curved surface assembly quality judgment scheme based on shape error and assembly clearance described above, the assembly mid-plane is established and the shape error and fit clearance between the assembly surfaces are calculated, thereby improving the prediction accuracy of the assembly quality; further, the "shape-gap" dual index is used to evaluate the assembly quality, with the "shape-gap" assembly performance optimization as the goal, and the collaborative repair and compensation amount of the assembly surface is calculated based on the constraint relationship between the assembly surfaces. After compensation, the assembly quality and assembly performance can be greatly improved.
[0090] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, and storage of user personal information involved in the technical solution of the present invention all comply with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken with respect to user personal information to prevent unauthorized access to user personal information data and maintain the security of user personal information, network security, and national security.
[0091] For ease of description, the aforementioned method embodiments are described as a series of actions. However, those skilled in the art should be aware that the present invention is not limited to the order of the actions described, and certain steps can actually be performed in other orders or simultaneously. In addition, those skilled in the art should also be aware that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily required to implement the present invention.
[0092] In order to better implement the above solutions of the embodiments of the present invention, relevant devices for implementing the above solutions are also provided below.
[0093] 9 , a surface assembly quality prediction and repair and compensation device 900 provided by an embodiment of the present invention may include: a modeling unit 901 , an assembly positioning unit 902 , an assembly quality evaluation unit 903 , and a repair and compensation unit 904 .
[0094] Among them, the modeling unit 901 can be used to establish a spatial error model of the machine tool; fit the measured real geometric error data of the machine tool to form a geometric error function; fit the measured real thermal error data of the machine tool to form a thermal error function; input the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool; the assembly positioning unit 902 can be used to use the machining error prediction model to obtain the machining error of the assembly surface of the part, superimpose the obtained machining error on the theoretical surface of the assembly surface to obtain a predicted machining surface; determine the initial assembly position of the predicted machining surface, based on the predetermined assembly surface The surface information of the curved surface is used to optimize the relative position between the curved surfaces of the predicted machining surface to achieve the assembly positioning of the part; the assembly quality evaluation unit 903 can be used to: for the part that achieves the assembly positioning, calculate the shape error and assembly gap error of the assembly surface according to the assembly median surface determined by the assembly surface, and use the shape error and the assembly gap error to predict the surface assembly quality of the part; the repair compensation unit 904 can be used to: when the surface assembly quality does not meet the preset assembly quality requirements, calculate the repair compensation amount of each assembly surface in the assembly surface based on the shape error, the assembly gap error and the machining error, and use the repair compensation amount to compensate the corresponding assembly surface.
[0095] In an embodiment of the present invention, the modeling unit 901 can be further used to: fit the geometric part data in the real thermal error data into a polynomial function with the coordinate value as the independent variable, fit the thermal part data in the real thermal error data into a time-varying slope function with the temperature as the independent variable, and superimpose the polynomial function and the time-varying slope function to form the thermal error function.
[0096] As a preferred solution, the assembly positioning unit 902 can be further used to: after obtaining the predicted machining surface, obtain the assembly constraint information of the real assembly scene, transform the assembly constraint information into geometric information in the form of a transformation matrix, and combine the geometric information with the predicted machining surface to constrain the predicted machining surface.
[0097] Preferably, the assembly quality evaluation unit 903 can be further used to: perform an averaging calculation on the two assembly surfaces in the assembly surface to obtain the assembly median plane, discretize the assembly median plane and the two assembly surfaces into multiple point cloud coordinates and perform normalization on the point cloud coordinates; use the bulldozer distance algorithm to match the point cloud coordinates of the assembly median plane and the two assembly surfaces; after the matching is completed, determine the minimum value of the sum of the Euclidean distances between each point on the assembly median plane and the corresponding points on the two assembly surfaces as the surface error.
[0098] In practical applications, the assembly quality evaluation unit 903 can be further used to: perform an averaging calculation on the two assembly surfaces in the assembly surface to obtain the assembly median plane, discretize the assembly median plane and the two assembly surfaces into multiple point cloud coordinates and perform normalization on the point cloud coordinates; use the bulldozer distance algorithm to match the point cloud coordinates of the assembly median plane and the two assembly surfaces; after the matching is completed, determine the root mean square error between the coordinates of each point on the assembly median plane and the corresponding point on the two assembly surfaces as the assembly gap error.
[0099] In a specific application, the assembly surface includes a pre-machined assembly surface and a post-machined assembly surface; the repair compensation unit 904 can be further used to calculate the repair compensation amount Δa of the pre-machined assembly surface by the following formula:
[0100] A0+a0+Δa=(B0+b0)·M
[0101] Among them, A0 represents the coordinate data of the first-processed assembly surface, B0 represents the coordinate data of the post-processed assembly surface, a0 represents the machining error between the first-processed assembly surface and the corresponding theoretical surface, b0 represents the machining error between the post-processed assembly surface and the corresponding theoretical surface, and M represents the transformation matrix from the post-processed assembly surface coordinate system to the first-processed assembly surface coordinate system; the repair compensation unit 904 can be further used to: after using the repair compensation amount Δa to compensate the first-processed assembly surface, determine whether the compensated first-processed assembly surface meets the first constraint condition determined by the surface error: if so, perform the machining operation; otherwise, set b0 of the point that does not meet the first constraint condition to zero and recalculate the repair compensation amount Δa until the compensated first-processed assembly surface meets the first constraint condition; wherein, the first constraint condition is the tolerance zone added in the assembly median plane according to the surface error.
[0102] In an optional technical solution, the repair compensation unit 904 may be further configured to calculate the repair compensation amount Δb of the post-processing assembly surface according to the following formula:
[0103] B0+b0+Δb=A1·M'
[0104] Among them, A1 represents the coordinate data of the first-processed assembly surface that meets the first constraint condition after compensation, and M' represents the transformation matrix from the coordinate system of the first-processed assembly surface to the coordinate system of the post-processed assembly surface; the repair compensation unit 904 can be further used to: after using the repair compensation amount Δb to compensate the post-processed assembly surface, determine whether the compensated post-processed assembly surface meets the second constraint condition determined by the assembly gap error: if so, perform the processing operation; otherwise recalculate the repair compensation amount Δb until the compensated post-processed assembly surface meets the second constraint condition.
[0105] According to the technical solution of the embodiment of the present invention, the surface assembly quality is comprehensively evaluated from two aspects: the surface error and the assembly clearance error, and then the compensation amount of each assembly surface is accurately calculated from these two aspects, thereby greatly improving the assembly quality and assembly performance of the product.
[0106] FIG. 10 shows an exemplary system architecture 1000 to which the method for predicting and repairing and compensating quality of curved surface assembly or the device for predicting and repairing and compensating quality of curved surface assembly according to an embodiment of the present invention may be applied.
[0107] As shown in FIG10 , system architecture 1000 may include terminal devices 1001, 1002, and 1003, a network 1004, and a server 1005 (this architecture is merely an example, and the components included in the specific architecture may be adjusted based on the specific application). Network 1004 is a medium for providing a communication link between terminal devices 1001, 1002, and 1003 and server 1005. Network 1004 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0108] Users can use terminal devices 1001, 1002, 1003 to interact with server 1005 via network 1004 to receive or send messages, etc. Various client applications can be installed on terminal devices 1001, 1002, 1003, such as an assembly quality assessment application (only as an example).
[0109] The terminal devices 1001 , 1002 , and 1003 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0110] Server 1005 may be a server that provides various services, such as a backend server (for example only) that supports assembly quality evaluation applications operated by users using terminal devices 1001, 1002, and 1003. The backend server may process received quality evaluation requests and provide feedback (for example, a calculated assembly quality score—for example only) to terminal devices 1001, 1002, and 1003.
[0111] It should be noted that the curved surface assembly quality prediction and repair compensation method provided in the embodiment of the present invention can be executed by the server 1005 , and accordingly, the curved surface assembly quality prediction and repair compensation device can be set in the server 1005 .
[0112] It should be understood that the number of terminal devices, networks, and servers in Figure 10 is merely illustrative and any number of terminal devices, networks, and servers may be provided as required.
[0113] The present invention also provides an electronic device. The electronic device in an embodiment of the present invention includes: one or more processors; and a storage device configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the surface assembly quality prediction and repair compensation method provided by the present invention.
[0114] 11, which shows a schematic diagram of a computer system 1100 suitable for implementing an electronic device according to an embodiment of the present invention. The electronic device shown in FIG11 is merely an example and should not limit the functionality and scope of use of the embodiment of the present invention.
[0115] As shown in FIG11 , a computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage unit 1108 into a random access memory (RAM) 1103. Various programs and data required for the operation of the computer system 1100 are also stored in the RAM 1103. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0116] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, and the like; an output section 1107 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 1108 including a hard disk; and a communication section 1109 including a network interface card such as a LAN card or a modem. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. Removable media 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1110 as needed, so that computer programs read therefrom can be installed in the storage section 1108 as needed.
[0117] In particular, according to embodiments disclosed herein, the processes described in the main step diagrams above can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the main step diagrams. In the above embodiments, the computer program can be downloaded and installed from a network via the communication section 1109 and / or installed from removable media 1111. When the computer program is executed by the central processing unit 1101, the above-described functions defined in the system of the present invention are performed.
[0118] It should be noted that the computer-readable medium described in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a 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, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, or any suitable combination thereof.
[0119] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0120] The units involved in the embodiments described in the present invention may be implemented in software or hardware. The units described may also be provided in a processor. For example, they may be described as: a processor including a modeling unit, an assembly positioning unit, an assembly quality evaluation unit, and a repair compensation unit. The names of these units do not, in some cases, constitute limitations on the units themselves. For example, the modeling unit may also be described as a "unit that provides a machining error prediction model to the assembly positioning unit."
[0121] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the steps executed by the device include: establishing a spatial error model of the machine tool; fitting the measured real geometric error data of the machine tool to form a geometric error function; fitting the measured real thermal error data of the machine tool to form a thermal error function; inputting the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool; using the machining error prediction model to obtain the machining error of the assembly surface of the part, superimposing the obtained machining error on the theoretical surface of the assembly surface to obtain a predicted machining surface; determining the Predict the initial assembly position of the machined surface, optimize the relative position between the curved surfaces of the predicted machined surface based on predetermined curved surface information of the assembly surface, so as to achieve the assembly positioning of the part; for the part that has achieved the assembly positioning, calculate the shape error and assembly gap error of the assembly surface according to the assembly median plane determined by the assembly surface, and use the shape error and the assembly gap error to predict the curved surface assembly quality of the part; when the curved surface assembly quality does not meet the preset assembly quality requirements, calculate the repair compensation amount of each assembly surface in the assembly surface based on the shape error, the assembly gap error and the machining error, and use the repair compensation amount to compensate the corresponding assembly surface.
[0122] In the technical solution of an embodiment of the present invention, a spatial error model of a machine tool is first established. The geometric error function and thermal error function determined by real error data are input into the spatial error model to obtain a machining error prediction model for the machine tool. Next, the machining error of the part's assembly surface is obtained using the machining error prediction model. The obtained machining error is superimposed on the theoretical surface of the assembly surface to obtain a predicted machining surface. The part's assembly positioning is then achieved through coarse and fine positioning steps. The assembly median plane of the assembly surface is then determined, and the surface shape error and assembly clearance error of the assembly surface are calculated. The calculated surface shape error and assembly clearance error are used to predict the curved surface assembly quality of the part. When the curved surface assembly quality does not meet the assembly quality requirements, the repair compensation amount for each assembly surface is calculated based on the surface shape error, assembly clearance error, and the machining error determined by the above machining error prediction model. Finally, the corresponding assembly surface is compensated using the calculated repair compensation amount. Through the above steps, the curved surface assembly quality is comprehensively evaluated from the two aspects of surface shape error and assembly clearance error, and the compensation amount for each assembly surface is accurately calculated based on these two aspects, thereby significantly improving the assembly quality and assembly performance of the product.
[0123] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for predicting and compensating the quality of curved surface assembly, characterized in that: include: Establish the spatial error model of machine tools; Fitting the measured real geometric error data of the machine tool to form a geometric error function; Fitting the measured real thermal error data of the machine tool to form a thermal error function; Inputting the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool; The machining error of the assembly surface of the part is obtained by using the machining error prediction model, and the obtained machining error is superimposed on the theoretical surface of the assembly surface to obtain the predicted machining surface; the initial assembly position of the predicted machining surface is determined, and the relative position between the curved surfaces of the predicted machining surface is optimized based on the predetermined curved surface information of the assembly surface to achieve the assembly positioning of the part; For the part that realizes the assembly positioning, the shape error and the assembly gap error of the assembly surface are calculated according to the assembly mid-plane determined by the assembly surface, and the surface error and the assembly gap error are used to predict the surface assembly quality of the part; When the curved surface assembly quality does not meet the preset assembly quality requirements, the repair compensation amount of each assembly surface in the assembly surface is calculated based on the shape error, the assembly gap error and the processing error, and the repair compensation amount is used to compensate the corresponding assembly surface.
2. The method according to claim 1, characterized in that The step of fitting the measured real thermal error data of the machine tool to form a thermal error function comprises: The geometric part data in the real thermal error data is fitted into a polynomial function with coordinate values as independent variables, the thermal part data in the real thermal error data is fitted into a time-varying slope function with temperature as independent variable, and the polynomial function and the time-varying slope function are superimposed to obtain the thermal error function.
3. The method according to claim 1, characterized in that The method further comprises: After obtaining the predicted machining surface, assembly constraint information of the real assembly scene is obtained, the assembly constraint information is transformed into geometric information in the form of a transformation matrix, and the geometric information is combined with the predicted machining surface to constrain the predicted machining surface.
4. The method according to claim 1, characterized in that: Calculating the surface error includes: Performing an average calculation on two assembly surfaces in the assembly surface to obtain the assembly median surface, discretizing the assembly median surface and the two assembly surfaces into a plurality of point cloud coordinates and performing normalization on the point cloud coordinates; The bulldozer distance algorithm is used to match the point cloud coordinates of the assembly median plane and the two assembly surfaces; after the matching is completed, the minimum value of the sum of the Euclidean distances between each point on the assembly median plane and the corresponding points on the two assembly surfaces is determined as the surface error.
5. The method according to claim 1, characterized in that Calculating the assembly gap error includes: Performing an average calculation on two assembly surfaces in the assembly surface to obtain the assembly median surface, discretizing the assembly median surface and the two assembly surfaces into a plurality of point cloud coordinates and performing normalization on the point cloud coordinates; The bulldozer distance algorithm is used to match the point cloud coordinates of the assembly median plane and the two assembly surfaces; after the matching is completed, the root mean square error between the coordinates of each point on the assembly median plane and the corresponding point on the two assembly surfaces is determined as the assembly gap error.
6. The method according to claim 1, characterized in that The assembly surface includes a pre-processed assembly surface and a post-processed assembly surface; the repair compensation amount Δa of the pre-processed assembly surface is calculated according to the following formula: A0+a0+Δa=(B0+b0)·M Wherein, A0 represents the coordinate data of the first-machined assembly surface, B0 represents the coordinate data of the second-machined assembly surface, a0 represents the machining error between the first-machined assembly surface and the corresponding theoretical surface, b0 represents the machining error between the second-machined assembly surface and the corresponding theoretical surface, and M represents the conversion matrix from the second-machined assembly surface coordinate system to the first-machined assembly surface coordinate system; and, The method further includes: after compensating the first-machined assembly surface with the repair compensation amount Δa, judging whether the compensated first-machined assembly surface meets the first constraint condition determined by the surface error: if so, performing the machining operation; otherwise, setting b0 of the points that do not meet the first constraint condition to zero and recalculating the repair compensation amount Δa until the compensated first-machined assembly surface meets the first constraint condition; wherein the first constraint condition is a tolerance zone added in the assembly median plane according to the surface error.
7. The method according to claim 6, characterized in that The repair compensation amount Δb of the post-processing assembly surface is calculated according to the following formula: B0+b0+Δb=A1·M' Wherein, A1 represents the coordinate data of the first-machined assembly surface that meets the first constraint condition after compensation, M' represents the transformation matrix from the coordinate system of the first-machined assembly surface to the coordinate system of the later-machined assembly surface; and, The method further includes: after compensating the post-processing assembly surface using the repair compensation amount Δb, judging whether the compensated post-processing assembly surface meets the second constraint condition determined by the assembly gap error: if so, performing the processing operation; otherwise, recalculating the repair compensation amount Δb until the compensated post-processing assembly surface meets the second constraint condition.
8. A curved surface assembly quality prediction and repair compensation device, characterized in that: include: A modeling unit, used to establish a spatial error model of the machine tool; Fitting the measured real geometric error data of the machine tool to form a geometric error function; Fitting the measured real thermal error data of the machine tool to form a thermal error function; Inputting the geometric error function and the thermal error function into the spatial error model to obtain a machining error prediction model of the machine tool; An assembly positioning unit is used to obtain the machining error of the assembly surface of the part by using the machining error prediction model, superimpose the obtained machining error on the theoretical surface of the assembly surface to obtain the predicted machining surface; determine the initial assembly position of the predicted machining surface, and optimize the relative position between the curved surfaces of the predicted machining surface based on the predetermined curved surface information of the assembly surface to achieve the assembly positioning of the part; An assembly quality evaluation unit, used to: for the part that realizes the assembly positioning, calculate the shape error and the assembly gap error of the assembly surface according to the assembly mid-plane determined by the assembly surface, and use the shape error and the assembly gap error to predict the surface assembly quality of the part; The repair and compensation unit is used to calculate the repair and compensation amount of each assembly surface in the assembly surface based on the shape error, the assembly gap error and the processing error when the surface assembly quality does not meet the preset assembly quality requirements, and use the repair and compensation amount to compensate the corresponding assembly surface.
9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Trajectory regeneration compensation method of numerical control machine error
CN101943896A
Numerical control machine tool spindle thermal error modeling detection method based on detection neural network
CN109739181A
Five-axis numerical control machine tool key geometric error optimization ratio compensation method
CN113359609A
Vacuum cavity sealing element CNC machining method based on spatial positioning error model
CN115179445A
Real time machine tool error correction using global differential wet modeling
WO1997043703A1
Cited By
Grinding wheel grinding machine error compensation method and device, computer equipment, readable storage medium and program product
CN120055899A
Glue joint surface gap detection method of aircraft composite material assembly
CN121185199A
Automobile part assembly precision intelligent compensation method and self-adaptive regulation and control system
CN121187145A
Fitting method for optimal position and attitude of major aircraft component
WO2026066262A1
