A high-precision measurement field automatic planning method and device

Through the high-precision automatic measurement field planning method and the use of genetic algorithms to optimize the measurement field layout, the problems of low efficiency and poor accuracy in manual planning of measurement stations are solved, and a more efficient and accurate measurement field design is achieved.

CN116341327BActive Publication Date: 2024-09-10UNIV OF SCI & TECH BEIJING
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202310315174.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-09-10
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

The existing manual planning of measurement stations has low efficiency, inconsistent planning methods, and poor planning accuracy, resulting in redundant or insufficient number of measurement reference points, which cannot meet product inspection needs.

Method used

A high-precision measurement field automatic planning method is used to generate a preliminary measurement plan by obtaining three-dimensional model features, and a grid layout optimization method based on genetic algorithms is used to optimize the layout model, conduct measurement accuracy analysis, and generate an optimized layout report.

Benefits of technology

It improves the efficiency and accuracy of measurement field planning and design, ensuring that the measurement plan meets product testing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116341327B
    Figure CN116341327B
Patent Text Reader

Abstract

The present invention discloses a method and device for automatic planning of a high-precision measurement field, and relates to the field of wide-area spatial assembly measurement technology. The method comprises: obtaining the three-dimensional model features of the measurement field to be planned; generating a preliminary measurement plan according to the three-dimensional model features; obtaining a measurement field optimization layout model according to the preliminary measurement plan and a grid layout optimization method based on a genetic algorithm; performing measurement accuracy analysis on the measurement field optimization layout model, and generating a measurement field optimization layout report. The method of the present invention optimizes the encoding link in the genetic algorithm, designs a layout optimization evaluation function, and analyzes the accuracy of the measurement field optimization layout from multiple angles, thereby avoiding the inefficiency of manual planning and the difficulty in unifying planning methods, and improving the planning and design efficiency of the measurement field while also improving the design accuracy of the measurement field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wide-area spatial assembly measurement, and in particular to a high-precision measurement field automatic planning method and device. Background Art

[0002] The parts that make up large-scale high-end equipment such as aircraft are generally of many types and large quantities. The assembly accuracy between parts has a great impact on the overall quality of large-scale high-end equipment. With the rapid development of large-scale high-end equipment such as aerospace in my country, the requirements for the assembly accuracy of large-scale high-end equipment are getting higher and higher, and the construction of assembly measurement field has become particularly important.

[0003] When constructing a wide-area spatial assembly measurement field, the manual planning of measurement stations is inefficient, the planning methods are not unified, and the planning accuracy is poor, resulting in redundant or insufficient measurement reference points and the measurement scheme cannot meet the product inspection requirements. To address this issue, it is necessary to conduct research on the construction technology of a wide-area spatial assembly measurement field, study the design process methods such as measurement point layout, inspection station layout, measurement line of sight simulation, and measurement theory accuracy analysis, and form design specifications to guide tooling design to design the measurement field and plan the product assembly process measurement stations, unify the design process, and address the problem that the measurement scheme cannot meet the product inspection requirements. The construction of a wide-area spatial assembly measurement field is carried out to improve the planning and design efficiency of the measurement field and improve the accuracy of the measurement field. Summary of the invention

[0004] The present invention aims to solve the problems of low efficiency, inconsistent planning methods and poor planning accuracy in the existing manual planning of measurement stations, which leads to redundant or insufficient number of measurement reference points and the inability of measurement schemes to meet product inspection requirements.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] In one aspect, the present invention provides a method for automatic planning of a high-precision measurement field, which is implemented by an electronic device and includes:

[0007] S1. Obtain the three-dimensional model features of the measurement field to be planned.

[0008] S2. Generate a preliminary measurement plan based on the characteristics of the 3D model.

[0009] S3. According to the preliminary measurement plan and the grid layout optimization method based on genetic algorithm, the measurement field optimization layout model is obtained.

[0010] S4. Perform measurement accuracy analysis on the measurement field optimization layout model and generate a measurement field optimization layout report.

[0011] Optionally, the step of obtaining the three-dimensional model features of the measurement field to be planned in S1 includes:

[0012] The 3D models of the workpiece, tooling and measurement scene are imported, and the 3D model of the tooling is lightweighted using the mesh simplification method to obtain a lightweight 3D mesh model Q.

[0013] Optionally, generating a preliminary measurement plan according to the three-dimensional model features in S2 includes:

[0014] S21. Based on the lightweight three-dimensional mesh model Q, construct a point dataset S.

[0015] S22. Generate a preliminary measurement plan based on the point data set S.

[0016] S23. Determine whether the preliminary measurement plan has a line-of-sight problem. If so, regenerate the preliminary measurement plan; if not, output the preliminary measurement plan.

[0017] Optionally, constructing the point data set S based on the lightweight three-dimensional mesh model Q in S21 includes:

[0018] The point information in the lightweight three-dimensional mesh model Q is retained, and other measurable geometric quantities in the lightweight three-dimensional mesh model Q except the point information are converted into digital quantities of shape and position parameters to obtain a point data set S.

[0019] Optionally, generating a preliminary measurement plan according to the point data set S in S22 includes:

[0020] S221. Obtain different geometric features Si in the point data set S.

[0021] S222. According to the accuracy index requirements and the scene environment requirements, the measurement accuracy pi is calculated for each Si, and the maximum envelope E of the measurement field is calculated.

[0022] S223. According to the measurement accuracy pi and the maximum envelope E, determine the preliminary layout of the measurement stations and measurement reference points, and generate a preliminary measurement plan.

[0023] Optionally, the step of obtaining a measurement field optimization layout model according to the preliminary measurement scheme and the grid layout optimization method based on a genetic algorithm in S3 includes:

[0024] S31. Design a layout optimization method based on the preliminary measurement plan.

[0025] S32. Design a layout optimization function according to a layout optimization method.

[0026] S33, gridding the overall layout area of ​​the preliminary measurement plan and performing global grid coding.

[0027] S34. Perform local grid coding on the local layout area of ​​the preliminary measurement plan.

[0028] S35, the overall layout area and the local layout area are selected, crossed and mutated respectively, and then combined, and converged to meet the requirements of the layout optimization function to obtain a measurement field optimization layout model.

[0029] Optionally, the design layout optimization method in S31 includes:

[0030] S311. Characterize the coverage capability of the laser multilateration layout by the number of locatable target points.

[0031] S312. Characterize the measurement accuracy of the laser multilateral measurement layout by the number of target points whose uncertainty is not greater than the maximum allowable value umax.

[0032] S313. Characterize the overall cost of the laser multilateration layout by the number of measurement station locations.

[0033] S314. Design a layout optimization method based on coverage capability, measurement accuracy, and overall cost.

[0034] Optionally, the measurement accuracy analysis of the measurement field optimization layout model in S4 is performed to generate a measurement field optimization layout report, including:

[0035] Establish an accuracy calculation function, perform measurement accuracy analysis on the measurement field optimization layout model according to the accuracy calculation function, and determine whether the analysis results meet the accuracy requirements. If so, generate a measurement field optimization layout report; if not, regenerate a preliminary measurement plan.

[0036] Optionally, the accuracy calculation function is as shown in the following formula (1):

[0037] minD(T1, T2, ..., Tn) = k d1 h d1 +k d2 h d2 +k d3 h d3 ……(1)

[0038] Where T1, T2, ..., Tn are the locations of the measuring stations, k d1 , k d2 , k d3 ... is the weight, h d1 ,h d2 ,h d3 ...is the error calculated under different accuracy influencing factors.

[0039] On the other hand, the present invention provides a high-precision measurement field automatic planning device, which is used to implement a high-precision measurement field automatic planning method, and the device includes:

[0040] The acquisition module is used to acquire the three-dimensional model features of the measurement field to be planned.

[0041] The preliminary plan forming module is used to generate a preliminary measurement plan according to the characteristics of the three-dimensional model.

[0042] The optimization module is used to obtain the measurement field optimization layout model according to the preliminary measurement plan and the grid layout optimization method based on the genetic algorithm.

[0043] The output module is used to perform measurement accuracy analysis on the measurement field optimization layout model and generate a measurement field optimization layout report.

[0044] Optionally, the acquisition module is further used to:

[0045] The 3D models of the workpiece, tooling and measurement scene are imported, and the 3D model of the tooling is lightweighted using the mesh simplification method to obtain a lightweight 3D mesh model Q.

[0046] Optionally, the preliminary plan forming module is further used to:

[0047] S21. Based on the lightweight three-dimensional mesh model Q, construct a point dataset S.

[0048] S22. Generate a preliminary measurement plan based on the point data set S.

[0049] S23. Determine whether the preliminary measurement plan has a line-of-sight problem. If so, regenerate the preliminary measurement plan; if not, output the preliminary measurement plan.

[0050] Optionally, the preliminary plan forming module is further used to:

[0051] The point information in the lightweight three-dimensional mesh model Q is retained, and other measurable geometric quantities in the lightweight three-dimensional mesh model Q except the point information are converted into digital quantities of shape and position parameters to obtain a point data set S.

[0052] Optionally, the preliminary plan forming module is further used to:

[0053] S221. Obtain different geometric features Si in the point data set S.

[0054] S222. According to the accuracy index requirements and the scene environment requirements, the measurement accuracy pi is calculated for each Si, and the maximum envelope E of the measurement field is calculated.

[0055] S223. According to the measurement accuracy pi and the maximum envelope E, determine the preliminary layout of the measurement stations and measurement reference points, and generate a preliminary measurement plan.

[0056] Optionally, the optimization module is further configured to:

[0057] S31. Design a layout optimization method based on the preliminary measurement plan.

[0058] S32. Design a layout optimization function according to a layout optimization method.

[0059] S33, gridding the overall layout area of ​​the preliminary measurement plan and performing global grid coding.

[0060] S34. Perform local grid coding on the local layout area of ​​the preliminary measurement plan.

[0061] S35, the overall layout area and the local layout area are selected, crossed and mutated respectively, and then combined, and converged to meet the requirements of the layout optimization function to obtain a measurement field optimization layout model.

[0062] Optionally, the optimization module is further configured to:

[0063] S311. Characterize the coverage capability of the laser multilateration layout by the number of locatable target points.

[0064] S312. Characterize the measurement accuracy of the laser multilateral measurement layout by the number of target points whose uncertainty is not greater than the maximum allowable value umax.

[0065] S313. Characterize the overall cost of the laser multilateration layout by the number of measurement station locations.

[0066] S314. Design a layout optimization method based on coverage capability, measurement accuracy, and overall cost.

[0067] Optionally, the output module is further configured to:

[0068] Establish an accuracy calculation function, perform measurement accuracy analysis on the measurement field optimization layout model according to the accuracy calculation function, and determine whether the analysis results meet the accuracy requirements. If so, generate a measurement field optimization layout report; if not, regenerate a preliminary measurement plan.

[0069] Optionally, the accuracy calculation function is as shown in the following formula (1):

[0070] minD(T1, T2, ..., Tn) = k d1 h d1 +k d2 h d2 +k d3 h d3 …… (1)

[0071] Where T1, T2, ..., Tn are the locations of the measuring stations, k d1 , k d2 , k d3 ... is the weight, hd1 ,h d2 ,h d3 ...is the error calculated under different accuracy influencing factors.

[0072] On the one hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the above-mentioned high-precision measurement field automatic planning method.

[0073] On the one hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the above-mentioned high-precision measurement field automatic planning method.

[0074] Compared with the prior art, the above technical solution has at least the following beneficial effects:

[0075] The above scheme provides a high-precision measurement field automatic planning method, which first analyzes and extracts the features of the model, performs lightweight operations on it, simplifies the measurement field layout solution process, and then adopts a grid layout optimization method based on a genetic algorithm to obtain a measurement field optimization layout model, and finally performs precision analysis on the layout model, calibrates or re-layouts the layout model based on the precision analysis, and generates a measurement field optimization layout report. The method in the present invention improves the encoding link in the genetic algorithm, designs a layout optimization evaluation function, and analyzes the measurement field layout optimization accuracy, thereby improving the measurement field planning and design efficiency while also improving the measurement field design accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0077] Figure 1 It is a schematic diagram of the process flow of the high-precision measurement field automatic planning method provided by an embodiment of the present invention;

[0078] Figure 2 Schematic diagram of the workflow of automatic planning of a measurement field provided by an embodiment of the present invention;

[0079] Figure 3 is a schematic diagram of the spatial structure of automatic planning of a measurement field provided by an embodiment of the present invention;

[0080] Figure 4 is a schematic diagram of a measurement field planning method provided by an embodiment of the present invention;

[0081] Figure 5 Schematic diagram of a network layout optimization method based on a genetic algorithm provided by an embodiment of the present invention

[0082] Figure 6 It is a block diagram of a high-precision measurement field automatic planning device provided by an embodiment of the present invention;

[0083] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0084] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0085] like Figure 1 As shown, an embodiment of the present invention provides a high-precision measurement field automatic planning method, which can be implemented by an electronic device. Figure 1 The process flow chart of the high-precision measurement field automatic planning method shown in the figure may include the following steps:

[0086] S1. Obtain the three-dimensional model features of the measurement field to be planned.

[0087] Optionally, the step of obtaining the three-dimensional model features of the measurement field to be planned in S1 includes:

[0088] The 3D models of the workpiece, tooling and measurement scene are imported, and the 3D model of the tooling is lightweighted using the mesh simplification method to obtain a lightweight 3D mesh model Q.

[0089] In a feasible implementation, Figure 2-4 As shown, a three-dimensional model of the tooling is established, and the model is lightweighted using a mesh simplification method (Quadric Error Metrics) to obtain a lightweight three-dimensional mesh model Q.

[0090] S2. Generate a preliminary measurement plan based on the characteristics of the 3D model.

[0091] Optionally, the above step S2 may include the following steps S21-S24:

[0092] S21. The point information in the lightweight three-dimensional mesh model Q is retained, and other measurable geometric quantities in the lightweight three-dimensional mesh model Q except the point information are converted into digital quantities of shape and position parameters to obtain a point data set S.

[0093] In a feasible implementation, non-detection information is removed from the three-dimensional mesh model Q according to actual detection requirements; key feature geometric parameters are sorted out.

[0094] S22. Generate a preliminary measurement plan based on the point data set S.

[0095] Optionally, the above step S22 may include the following steps S221-S223:

[0096] S221. Obtain different geometric features Si in the point data set S.

[0097] S222. According to the accuracy index requirements and the scene environment requirements, the measurement accuracy pi is calculated for each Si, and the maximum envelope E of the measurement field is calculated.

[0098] S223. According to the measurement accuracy pi and the maximum envelope E, determine the preliminary layout of the measurement stations and measurement reference points, and generate a preliminary measurement plan.

[0099] In a feasible implementation, based on the collected point data set S, the measurement accuracy pi is calculated for different geometric features Si, and each feature Si is associated with the measurement equipment, measurement mode and measurement method required for different measurements. At the same time, the maximum envelope E of the measurement field is calculated. On this basis, a preliminary layout of measurement equipment such as laser trackers and measurement reference points is carried out, and a preliminary measurement plan is formed. Based on the preliminary measurement plan, a three-dimensional virtual simulation environment is built, and the initial measurement plan is further deconstructed and broken up into a specific task sequence.

[0100] S23. The measurement system uses a collaborative working method among multiple devices and multiple stations, unifies the measurement reference during measurement, and uses a rigid body transformation method based on least squares to achieve high-precision coordinate system alignment. Common points are combined into a rigid body, and the optimal transformation matrix is ​​solved using the least squares method based on the fact that the positional relationship between points on the rigid body remains unchanged in two coordinate systems.

[0101] S24. Determine whether the preliminary measurement plan has a line-of-sight problem. If so, regenerate the preliminary measurement plan; if not, output the preliminary measurement plan.

[0102] In a feasible implementation, the working orientation and field of view of each measuring station interacting with the benchmark point are determined in combination with the measurement station layout, the largest common envelope of all measuring stations is determined, and based on the connection between the instrument (laser tracker, scanner, etc.) and the benchmark point, combined with the positions of various imported models, it is determined whether the layout has a line of sight problem. If the above problems exist, the measurement equipment and measurement benchmark points are rearranged.

[0103] S3. According to the preliminary measurement plan and the grid layout optimization method based on genetic algorithm, the measurement field optimization layout model is obtained.

[0104] Alternatively, if Figure 5 As shown, the above step S3 may include the following steps S31-S35:

[0105] S31. Design a layout optimization method based on the preliminary measurement plan.

[0106] Optionally, the design layout optimization method in S31 includes S311-S314:

[0107] S311. Characterize the coverage capability of the laser multilateration layout by the number of locatable target points.

[0108] In a feasible implementation, the layout optimization method is analyzed, and the coverage capability of the laser multi-lateration layout is characterized by the number of locatable target points. The functional expression is shown in the following formula (1):

[0109]

[0110] In the formula, h 1i It indicates whether the target point i can be located, represents the laser visibility, and m represents the number of target points.

[0111] S312. Characterize the measurement accuracy of the laser multilateral measurement layout by the number of target points whose uncertainty is not greater than the maximum allowable value umax.

[0112] In a feasible implementation, the measurement accuracy of the laser multi-lateral measurement layout is characterized by the number of target points whose uncertainty is not greater than the maximum allowable value umax, and its function expression is shown in the following formula (2):

[0113]

[0114] Where n is the number of all locatable target points, h 2i Characterizes the relationship between the uncertainty of the target point and the maximum allowable value umax.

[0115] S313. Characterize the overall cost of the laser multilateration layout by the number of measurement station locations.

[0116] In a feasible implementation, the total cost of the laser multi-lateral measurement layout is represented by the number of positions of the measuring instruments, and its functional expression is shown in the following formula (3):

[0117]

[0118] Where n max is the maximum allowed number of gauge positions.

[0119] S314. Design a layout optimization method based on coverage capability, measurement accuracy, and overall cost.

[0120] S32. Design a layout optimization function according to a layout optimization method.

[0121] In a feasible implementation, an evaluation function is established by considering three factors: coverage capability, measurement accuracy and overall cost, as shown in the following formula (4):

[0122] minH(T1, T2,…,Tn)=k1h1+k2h2+k3h3 (4)

[0123] Among them, k1, k2, k3 are weights assigned to the characterization values ​​and should be designed based on experience; T1, T2, …, Tn are the locations of the measuring instruments.

[0124] S33, gridding the overall layout area of ​​the preliminary measurement plan and performing global grid coding.

[0125] In a feasible implementation, the layout area is divided into grids and numbered according to the sampling interval, and the grid point number τ i Represents the position of the measuring instrument T j , perform global grid coding on the overall layout area, and the coding string is shown in the following formula (5):

[0126] C=(1,0,1,1,…,0,1)n τ (5)

[0127] Where n τ is the number of grids, where 1 represents the grid τ j There is a measuring instrument at 0, representing the grid τ j There is no measuring instrument at the location, and the initial presence or absence of the measuring instrument is determined randomly.

[0128] S34. Perform local grid coding on the local layout area of ​​the preliminary measurement plan.

[0129] In a feasible implementation, local grid coding is performed on the layout area of ​​each measuring instrument at the same time, and the coding string is shown in the following formula (6):

[0130] C=(τ1,τ2,…,τ nmax ) (6)

[0131] S35, the overall layout area and the local layout area are selected, crossed and mutated respectively, and then combined, and converged to meet the requirements of the layout optimization function to obtain a measurement field optimization layout model.

[0132] In a feasible implementation, the overall layout area and the local layout area are selected, crossed and mutated respectively, and the two are combined and converged to meet the layout optimization function minH requirement. On the basis of this layout optimization, combined with the workpiece coordinate system, the measurement station layout point position set Ps and the measurement reference point position set Po in the workpiece are calculated by software.

[0133] S4. Perform measurement accuracy analysis on the measurement field optimization layout model and generate a measurement field optimization layout report.

[0134] Optionally, the above step S4 may include:

[0135] By studying the theoretical accuracy influencing factors and their degrees such as the global reference system, local coordinate system, azimuth and pitch angles of the measuring station, and the final object measurement point, an accuracy calculation function is established. According to the accuracy calculation function, the measurement accuracy analysis of the measurement field optimization layout model is carried out to determine whether the analysis results meet the accuracy requirements. If so, a measurement field optimization layout report is generated; if not, the measurement field layout model is redesigned and optimized.

[0136] Optionally, the accuracy calculation function is as shown in the following formula (7):

[0137] minD(T1, T2, ..., Tn) = k d1 h d1 +k d2 h d2 +k d3 h d3 ……(7)

[0138] Where T1, T2, ..., Tn are the locations of the measuring stations, k d1 , k d2 , k d3 ... are weights, designed based on experience, h d1 ,h d2 ,h d3 ...is the error calculated under different accuracy influencing factors.

[0139] Furthermore, the calculation results are used to evaluate whether the accuracy requirements are met, and a measurement field design report is output. If the accuracy requirements are met, the design report is adopted. Otherwise, the measurement equipment and measurement reference points are rearranged and execution is restarted from step S23.

[0140] In an embodiment of the present invention, a high-precision measurement field automatic planning method is provided. The method first analyzes and extracts the features of the model, performs lightweight operations on it, simplifies the measurement field layout solution process, and then adopts a grid layout optimization method based on a genetic algorithm to obtain a measurement field optimization layout model. Finally, the layout model is analyzed for accuracy, and the layout model is calibrated or re-layouted based on the accuracy analysis to generate a measurement field optimization layout report. The method in the present invention improves the encoding link in the genetic algorithm, designs a layout optimization evaluation function, and analyzes the measurement field layout optimization accuracy, thereby improving the measurement field planning and design efficiency while also improving the measurement field design accuracy.

[0141] like Figure 6 As shown, an embodiment of the present invention provides a high-precision measurement field automatic planning device 600, which is applied to implement a high-precision measurement field automatic planning method, and the device 600 includes:

[0142] The acquisition module 610 is used to acquire the three-dimensional model features of the measurement field to be planned.

[0143] The preliminary plan forming module 620 is used to generate a preliminary measurement plan according to the characteristics of the three-dimensional model.

[0144] The optimization module 630 is used to obtain a measurement field optimization layout model according to the preliminary measurement plan and the grid layout optimization method based on the genetic algorithm.

[0145] The output module 640 is used to perform measurement accuracy analysis on the measurement field optimization layout model and generate a measurement field optimization layout report.

[0146] Optionally, the acquisition module 610 is further configured to:

[0147] The 3D models of the workpiece, tooling and measurement scene are imported, and the 3D model of the tooling is lightweighted using the mesh simplification method to obtain a lightweight 3D mesh model Q.

[0148] Optionally, the preliminary plan forming module 620 is further configured to:

[0149] S21. Based on the lightweight three-dimensional mesh model Q, construct a point dataset S.

[0150] S22. Generate a preliminary measurement plan based on the point data set S.

[0151] S23. Determine whether the preliminary measurement plan has a line-of-sight problem. If so, regenerate the preliminary measurement plan; if not, output the preliminary measurement plan.

[0152] Optionally, the preliminary plan forming module 620 is further configured to:

[0153] The point information in the lightweight three-dimensional mesh model Q is retained, and other measurable geometric quantities in the lightweight three-dimensional mesh model Q except the point information are converted into digital quantities of shape and position parameters to obtain a point data set S.

[0154] Optionally, the preliminary plan forming module 620 is further configured to:

[0155] S221. Obtain different geometric features Si in the point data set S.

[0156] S222. According to the accuracy index requirements and the scene environment requirements, the measurement accuracy pi is calculated for each Si, and the maximum envelope E of the measurement field is calculated.

[0157] S223. According to the measurement accuracy pi and the maximum envelope E, determine the preliminary layout of the measurement stations and measurement reference points, and generate a preliminary measurement plan.

[0158] Optionally, the optimization module 630 is further configured to:

[0159] S31. Design a layout optimization method based on the preliminary measurement plan.

[0160] S32. Design a layout optimization function according to a layout optimization method.

[0161] S33, gridding the overall layout area of ​​the preliminary measurement plan and performing global grid coding.

[0162] S34. Perform local grid coding on the local layout area of ​​the preliminary measurement plan.

[0163] S35, the overall layout area and the local layout area are selected, crossed and mutated respectively, and then combined, and converged to meet the requirements of the layout optimization function to obtain a measurement field optimization layout model.

[0164] Optionally, the optimization module 630 is further configured to:

[0165] S311. Characterize the coverage capability of the laser multilateration layout by the number of locatable target points.

[0166] S312. Characterize the measurement accuracy of the laser multilateral measurement layout by the number of target points whose uncertainty is not greater than the maximum allowable value umax.

[0167] S313. Characterize the overall cost of the laser multilateration layout by the number of measurement station locations.

[0168] S314. Design a layout optimization method based on coverage capability, measurement accuracy, and overall cost.

[0169] Optionally, the output module 640 is further configured to:

[0170] Establish an accuracy calculation function, perform measurement accuracy analysis on the measurement field optimization layout model according to the accuracy calculation function, and determine whether the analysis results meet the accuracy requirements. If so, generate a measurement field optimization layout report; if not, regenerate a preliminary measurement plan.

[0171] Optionally, the accuracy calculation function is as shown in the following formula (1):

[0172] minD(T1, T2, ..., Tn) = k d1 h d1 +k d2 h d2 +k d3 h d3 ……(1)

[0173] Where T1, T2, ..., Tn are the locations of the measuring stations, k d1 , k d2 , k d3 ... is the weight, h d1 ,h d2 ,h d3 ...is the error calculated under different accuracy influencing factors.

[0174] In an embodiment of the present invention, a high-precision measurement field automatic planning method is provided. The method first analyzes and extracts the features of the model, performs lightweight operations on it, simplifies the measurement field layout solution process, and then adopts a grid layout optimization method based on a genetic algorithm to obtain a measurement field optimization layout model. Finally, the layout model is analyzed for accuracy, and the layout model is calibrated or re-layouted based on the accuracy analysis to generate a measurement field optimization layout report. The method in the present invention improves the encoding link in the genetic algorithm, designs a layout optimization evaluation function, and analyzes the measurement field layout optimization accuracy, thereby improving the measurement field planning and design efficiency while also improving the measurement field design accuracy.

[0175] Figure 7 7 is a schematic diagram of the structure of an electronic device 700 provided in an embodiment of the present invention. The electronic device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 701 and one or more memories 702, wherein the memory 702 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 701 to implement the following high-precision measurement field automatic planning method:

[0176] S1. Obtain the three-dimensional model features of the measurement field to be planned.

[0177] S2. Generate a preliminary measurement plan based on the characteristics of the 3D model.

[0178] S3. According to the preliminary measurement plan and the grid layout optimization method based on genetic algorithm, the measurement field optimization layout model is obtained.

[0179] S4. Perform measurement accuracy analysis on the measurement field optimization layout model and generate a measurement field optimization layout report.

[0180] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a terminal to complete the above-mentioned high-precision measurement field automatic planning method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0181] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0182] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A high-precision measurement field automatic planning method, It is characterized in that The method comprises: S1, obtaining the three-dimensional model features of the measurement field to be planned; S2. generating a preliminary measurement plan according to the three-dimensional model features; S3, obtaining a measurement field optimization layout model according to the preliminary measurement plan and the grid layout optimization method based on the genetic algorithm; S4, performing measurement accuracy analysis on the measurement field optimization layout model and generating a measurement field optimization layout report; The step S3 of obtaining a measurement field optimization layout model according to the preliminary measurement scheme and the grid layout optimization method based on a genetic algorithm includes: S31. Designing a layout optimization method according to the preliminary measurement plan; S32, designing a layout optimization function according to the layout optimization method; S33, performing grid division and global grid coding on the overall layout area of ​​the preliminary measurement plan; S34, performing local grid coding on the local layout area of ​​the preliminary measurement plan; S35 , the overall layout area and the local layout area are selected, crossed and mutated respectively, and then combined, and converged to meet the requirements of the layout optimization function to obtain a measurement field optimization layout model.

2. The method according to claim 1, It is characterized in that The step of obtaining the three-dimensional model features of the measurement field to be planned in S1 includes: The 3D models of the workpiece, tooling and measurement scene are imported, and the 3D model of the tooling is lightweighted using the mesh simplification method to obtain a lightweight 3D mesh model Q.

3. The method according to claim 1, It is characterized in that The step of generating a preliminary measurement plan according to the three-dimensional model features in S2 includes: S21. Construct a point data set S based on a lightweight three-dimensional mesh model Q. S22, generating a preliminary measurement plan according to the point data set S; S23, determining whether the preliminary measurement plan has a line of sight problem, if so, regenerating the preliminary measurement plan; if not, outputting the preliminary measurement plan.

4. The method according to claim 3, It is characterized in that The step S21 constructs a point data set S based on a lightweight three-dimensional mesh model Q, including: The point information in the lightweight three-dimensional mesh model Q is retained, and other measurable geometric quantities in the lightweight three-dimensional mesh model Q except the point information are converted into digital quantities of shape and position parameters to obtain a point data set S.

5. The method according to claim 3, It is characterized in that The step S22 of generating a preliminary measurement plan according to the point data set S includes: S221, obtaining different geometric features Si in the point data set S; S222, according to the accuracy index requirements and the scene environment requirements, respectively calculate the measurement accuracy pi for the Si, and calculate the maximum envelope E of the measurement field; S223. Determine a preliminary layout of measurement stations and measurement reference points according to the measurement accuracy pi and the maximum envelope E, and generate a preliminary measurement plan.

6. The method according to claim 1, It is characterized in that The design layout optimization method in S31 includes: S311, characterizing the coverage capability of the laser multilateration layout by the number of locatable target points; S312, characterizing the measurement accuracy of the laser multilateration layout by the number of target points whose uncertainty is not greater than the maximum allowable value umax; S313, characterizing the overall cost of the laser multilateration layout by the number of measurement station locations; S314. Design a layout optimization method according to the coverage capability, measurement accuracy, and overall cost.

7. The method according to claim 1, It is characterized in that The step of performing measurement accuracy analysis on the measurement field optimization layout model and generating a measurement field optimization layout report in S4 includes: Establish an accuracy calculation function, perform measurement accuracy analysis on the measurement field optimization layout model according to the accuracy calculation function, and determine whether the analysis result meets the accuracy requirement. If so, generate a measurement field optimization layout report; if not, regenerate a preliminary measurement plan.

8. The method according to claim 7, It is characterized in that The accuracy calculation function is shown in the following formula (1): minD(T1,T2,…,Tn)=k d1 h d1 +k d2 h d2 +k d3 h d3 …… (1) Among them, T1, T2, …, Tn are the locations of the measuring stations, k d1 , k d2 , k d3 ... is the weight, h d1 ,h d2 ,h d3 ...is the error calculated under different accuracy influencing factors.

9. A high-precision measurement field automatic planning device, It is characterized in that The device comprises: An acquisition module, used to acquire the three-dimensional model features of the measurement field to be planned; A preliminary plan forming module, used for generating a preliminary measurement plan according to the three-dimensional model characteristics; An optimization module, used to obtain a measurement field optimization layout model according to the preliminary measurement plan and a grid layout optimization method based on a genetic algorithm; An output module, used to perform measurement accuracy analysis on the measurement field optimization layout model and generate a measurement field optimization layout report; The method of obtaining a measurement field optimization layout model according to the preliminary measurement scheme and the grid layout optimization method based on the genetic algorithm includes: S31. Designing a layout optimization method according to the preliminary measurement plan; S32, designing a layout optimization function according to the layout optimization method; S33, performing grid division and global grid coding on the overall layout area of ​​the preliminary measurement plan; S34, performing local grid coding on the local layout area of ​​the preliminary measurement plan; S35 , the overall layout area and the local layout area are selected, crossed and mutated respectively, and then combined, and converged to meet the requirements of the layout optimization function to obtain a measurement field optimization layout model.

Citation Information

Patent Citations

  • Aircraft assembly measurement field layout method based on genetic algorithm

    CN111539575A

  • Multi-measuring-station layout method and system based on genetic algorithm

    CN111967196A

  • Multi-measuring-station layout method and system based on circular probability error

    CN111967197A

  • Online measurement method and system for multi-structure light measurement unit

    CN114638795A

  • Aircraft surface key morphological feature envelope measurement field construction method based on PCA (Principal Component Analysis)

    CN114791270A