Workpiece correction method, device, equipment and medium

Through the combination of UG software and three-dimensional detectors, the workpiece points are automatically identified and corrected, which solves the problem of low efficiency caused by manual workpiece correction and realizes an efficient workpiece correction process.

CN120403512AActive Publication Date: 2025-08-01深圳模德宝科技有限公司
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510297563.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-08-01
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

In the prior art, the workpiece correction process relies on more manual participation, resulting in low efficiency.

Method used

UG software uses UG software to identify the three-dimensional diagram of the workpiece, generate a measurement program, and use a three-dimensional detector to perform point detection and error calculation, automatically determine the processing error and correct it.

Benefits of technology

The automation of workpiece correction is realized, reducing manual participation and improving calibration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120403512A_ABST
    Figure CN120403512A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mold processing, and discloses a workpiece correction method which comprises the following steps: performing point location identification on a workpiece three-dimensional drawing file corresponding to a to-be-measured workpiece through UG software to obtain point location information, and generating a measurement program according to the point location information; performing information identification on the to-be-detected workpiece to obtain workpiece information, selecting a material frame to assemble and fix the to-be-detected workpiece according to the workpiece information, and then conveying the to-be-detected workpiece to a three-dimensional detector; enabling the three-dimensional detector to carry out point position detection on the to-be-detected workpiece according to the measurement program to obtain measurement information; determining a machining error according to the point location information and the measurement information; and detecting whether the machining error is within the precision error range, and if the machining error is within the precision error range, performing point position correction on the to-be-detected workpiece through the machining information to obtain a point position correction result. By detecting whether the workpiece is within the precision error range or not, automatic comparison of the error range is achieved, so that the workpiece correction time is shortened, and the workpiece correction efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mold processing, and particularly to a workpiece correction method, device, equipment and medium. Background Art

[0002] At present, before a coordinate measuring machine (or also known as a three-coordinate measuring machine, a three-dimensional detector) detects a part, it is necessary for the inspector to establish a calibration coordinate system to calibrate the workpiece and establish a detection coordinate system to detect the workpiece, which is highly dependent on manual participation. Moreover, the steps of establishing the calibration coordinate system are numerous. It is necessary to manually operate the three-coordinate measuring machine to collect the data of the X-Y-Z axes, manually create a coordinate system, then combine the model fitting to detect the coordinate system, and then touch the workpiece according to the determined detection points for detection. There is a lot of manual participation and the process is relatively complex, reducing the efficiency of calibrating the workpiece. Summary of the Invention

[0003] Embodiments of the present invention provide a workpiece correction method, equipment and medium to solve the problem in the prior art that there is a lot of manual participation and the process is relatively complex, resulting in low efficiency of calibrating the workpiece.

[0004] A workpiece correction method includes: Obtain a workpiece to be measured, perform point position recognition on the three-dimensional drawing file of the workpiece corresponding to the workpiece to be measured through UG software to obtain point position information, and generate a measurement program according to the point position information; Perform information recognition on the workpiece to be measured to obtain workpiece information, and after selecting a rack assembly to fix the workpiece to be measured according to the workpiece information, transport the workpiece to a three-coordinate measuring machine; Enable the three-coordinate measuring machine to perform point position detection on the workpiece to be measured according to the measurement program to obtain measurement information; Determine the machining error corresponding to the workpiece to be measured according to the point position information and the measurement information; Detect whether the machining error is within the precision error range. If the machining error is within the precision error range, perform point position correction on the workpiece to be measured through machining information to obtain a point position correction result.

[0005] In one embodiment, the machining error includes a straight line parallelism error and a plane parallelism error; The determining the machining error corresponding to the workpiece to be measured according to the point position information and the measurement information includes: Determine a theoretical point position straight line according to the point position information, and determine a measured point position straight line according to the measurement information; Determine the straight line parallelism error corresponding to the workpiece to be measured according to the theoretical point position straight line and the measured point position straight line; Determine the theoretical point plane according to the point information, and determine the measured point plane according to the measurement information; Determine the parallelism error of the plane corresponding to the workpiece to be measured according to the theoretical point plane and the measured point plane.

[0006] In one embodiment, the point correction of the workpiece to be measured by the processing information to obtain a point correction result includes: Determine the processing information corresponding to the workpiece to be measured according to the workpiece information, and extract the theoretical requirements corresponding to the workpiece to be measured from the processing information; Determine the point offset value according to the theoretical requirements and the measurement information; Perform point correction on the workpiece to be measured through the point offset value to obtain a point correction result.

[0007] In one embodiment, the coordinate measuring machine is commanded to perform point detection on the workpiece to be measured according to the measurement program, and the measurement information obtained includes: Receive a reading instruction, and command the coordinate measuring machine to read and analyze the measurement program according to the reading instruction to obtain the points to be measured and the point detection path corresponding to the points to be measured; Control the coordinate measuring machine to perform point detection on the points to be measured according to the point detection path to obtain the measurement information corresponding to each point to be measured.

[0008] In one embodiment, the detection of whether the processing error is within the precision error range includes: Obtain the precision error range, where the precision error range includes a linear precision error range and a planar precision error range; the precision error range is obtained by analyzing a large amount of historical data through a preset data analysis model; Compare the linear parallelism error and the linear precision error range, and compare the planar parallelism error and the planar precision error range; When the linear parallelism error is within the linear precision error range and the planar parallelism error is within the planar precision error range, determine that the processing error is within the precision error range; When the linear parallelism error exceeds the linear precision error range or the planar parallelism error exceeds the planar precision error range, determine that the processing error is not within the precision error range.

[0009] In one embodiment, the point information is obtained by performing point recognition on the three-dimensional drawing file of the workpiece corresponding to the workpiece to be measured through UG software, including: Obtain the three-dimensional drawing file of the workpiece, and import the three-dimensional drawing file of the workpiece into UG software; Let the UG software perform point position recognition on the workpiece to be measured according to the three-dimensional drawing of the workpiece, and obtain point position information.

[0010] In one embodiment, the step of letting the UG software perform point position recognition on the workpiece to be measured according to the three-dimensional drawing of the workpiece and obtain point position information includes: Select a first reference point on the workpiece to be measured, and select a second reference point far from the first reference point on the workpiece to be measured through the UG software; Determine the workpiece coordinate system and the point position information of all the preset point positions in the workpiece coordinate system; wherein, the Y-axis of the workpiece coordinate system is the connection line between the first reference point and the second reference point; the X-axis of the workpiece coordinate system is the perpendicular line between the third reference point and the Y-axis; the origin of the workpiece coordinate system is the intersection point of the X-axis and the Y-axis; the Z-axis of the workpiece coordinate system is the line passing through the origin and perpendicular to the X-axis and the Y-axis; the third reference point refers to the point on the workpiece to be measured with the farthest distance from the Y-axis.

[0011] A workpiece calibration device includes: A point position recognition module, configured to obtain a workpiece to be measured, perform point position recognition on a three-dimensional drawing of the workpiece corresponding to the workpiece to be measured through the UG software, obtain point position information, and generate a measurement program according to the point position information; An information recognition module, configured to perform information recognition on the workpiece to be measured, obtain workpiece information, and after selecting a rack to assemble and fix the workpiece to be measured according to the workpiece information, transport the workpiece to a three-dimensional detector; A point position detection module, configured to let the three-dimensional detector perform point position detection on the workpiece to be measured according to the measurement program, and obtain measurement information; An error determination module, configured to determine the machining error corresponding to the workpiece to be measured according to the point position information and the measurement information; A point position calibration module, configured to detect whether the machining error is within the precision error range. If the machining error is within the precision error range, perform point position calibration on the workpiece to be measured through machining information to obtain a point position calibration result.

[0012] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is configured to execute the above workpiece calibration method.

[0013] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above workpiece calibration method is implemented.

[0014] The above workpiece calibration method, device, equipment and medium. In the workpiece calibration method of the present invention, point position recognition is performed on the three-dimensional drawing of the workpiece corresponding to the workpiece to be measured through UG software, realizing the recognition of the point positions on the workpiece to be measured, thereby realizing the acquisition of point position information, and further realizing the generation of a measurement program. Through the measurement program and the coordinate measuring machine, the measurement of the point positions on the workpiece to be measured is realized, and further the acquisition of point position measurement information is realized. Through the point position information and the measurement information, the calculation of the machining error is realized, thereby realizing the detection of whether it is within the precision error range, ensuring that the workpiece to be measured meets the precision requirements, and further realizing the automatic comparison of the error range, thereby reducing the time for workpiece calibration and further improving the efficiency of workpiece calibration. Through the machining information, the calculation of the offset value of the workpiece to be measured is realized, thereby realizing the calibration of the point positions, and further realizing the acquisition of the point position calibration result. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings without creative efforts based on these drawings.

[0016] Figure 1 is a flowchart of the workpiece calibration method in an embodiment of the present invention; Figure 2 is a schematic block diagram of the workpiece calibration device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0017] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention are within the protection scope of the present invention.

[0018] In one embodiment, as Figure 1 shown, a workpiece calibration method is provided, including the following steps: S10: Obtain the workpiece to be measured, perform point position recognition on the three-dimensional drawing of the workpiece corresponding to the workpiece to be measured through UG software to obtain point position information, and generate a measurement program according to the point position information.

[0019] Understandably, the workpiece to be measured refers to the workpiece whose processing effect needs to be detected after processing. The full name of UG software is Unigraphics NX, which is an interactive CAD / CAM (Computer Aided Design / Computer Aided Manufacturing) system. The preset point refers to the point set in advance for machining in the workpiece. The point information refers to the coordinate information of the preset point in the point to be measured. The measurement program refers to the code program that can be recognized by the three-dimensional detector converted from the point information.

[0020] Specifically, obtain the workpiece to be measured, query the three-dimensional drawing file corresponding to the workpiece to be measured through the workpiece to be measured, and import the three-dimensional drawing file into the UG software. Parse the three-dimensional drawing file through the UG software, and identify the points in the workpiece to be measured, so as to obtain the point information corresponding to each preset point in the three-dimensional drawing file. Then, generate a measurement program according to all the point information, that is, obtain the measurement software, and import all the point information into the measurement software, and automatically generate a measurement program corresponding to all the point information through the measurement software.

[0021] S20: Identify the information of the workpiece to be measured to obtain workpiece information, select a rack assembly to fix the workpiece to be measured according to the workpiece information, and then transport the workpiece to be measured to a three-dimensional detector.

[0022] Understandably, the rack assembly refers to the equipment used to fix the workpiece to be measured. For example, buckles, etc. The workpiece information is the information used to characterize the identity of the workpiece to be measured. For example, the workpiece number. The three-dimensional detector (abbreviation: CMM, Coordinate Measuring Machine) is a precision measurement device that can accurately measure the geometric dimensions and shapes of objects in three-dimensional space.

[0023] Specifically, identify the information of the workpiece to be measured, that is, identify the information of the RFID tag on the workpiece to be measured through the reader installed on the robot, so as to obtain the information corresponding to the workpiece to be measured and determine it as workpiece information. Then, select the rack assembly corresponding to the workpiece to be measured from all parts through the workpiece information, fix the workpiece to be measured on the automatic guided vehicle through the rack assembly, and transport the workpiece to be measured to the three-dimensional detector through the automatic guided vehicle.

[0024] S30: Let the three-dimensional detector perform point detection on the workpiece to be measured according to the measurement program to obtain measurement information.

[0025] Understandably, the measurement information refers to the detection result of the points in the workpiece to be measured.

[0026] Specifically, the three - coordinate measuring instrument is commanded to perform point - position detection on the workpiece to be measured. That is, the measurement program is input into the three - coordinate measuring instrument, and the three - coordinate measuring instrument analyzes the measurement program to obtain the points to be measured and their corresponding detection paths. Then, the three - coordinate measuring instrument is controlled to measure the points in the workpiece to be measured according to the detection paths of the points to be measured, and the measurement information corresponding to the workpiece to be measured can be obtained.

[0027] S40: Determine the machining error corresponding to the workpiece to be measured according to the point - position information and the measurement information.

[0028] Understandably, the machining error includes linear parallelism error and planar parallelism error, which are used to characterize the degree of deviation of a straight line or a plane from the ideal parallel state in a specific direction.

[0029] Specifically, the straight - line information in the workpiece to be measured is calculated through all the point - position information, and the planar information in the workpiece to be measured is calculated. Through the point - position measurement information in the measurement information, the measured straight - line information in the workpiece to be measured is calculated, and the measured planar information in the workpiece to be measured is calculated. Then, error calculation is performed according to the straight - line information and the measured straight - line information corresponding to the same point, and error calculation is performed according to the planar information and the measured planar information corresponding to the same point, and the machining error corresponding to the workpiece to be measured can be obtained.

[0030] S50: Detect whether the machining error is within the precision error range. If the machining error is within the precision error range, the points of the workpiece to be measured are corrected through the machining information to obtain a point - position correction result.

[0031] Understandably, the precision error range refers to the range allowed for the difference between the measurement result and the theoretical value. The point - position correction result refers to the result of correcting the coordinates of the points in the workpiece to be measured.

[0032] Specifically, obtain the precision error range, and detect whether the machining error corresponding to the workpiece to be measured is within the precision error range, that is, compare the linear error and the planar error with the linear error range and the planar error range in the precision error range respectively. If the linear error is within the linear error range and the planar error is within the planar error range, it is determined that the machining error is within the precision error range. If the linear error is not within the linear error range or the planar error is not within the planar error range, it is determined that the machining error is not within the precision error range. Further, if the machining error is within the precision error range, perform point position correction on the workpiece to be measured through the machining information, that is, obtain the machining information corresponding to the workpiece to be measured through the workpiece information, and obtain the theoretical requirements corresponding to each preset point position from the machining information. Then, calculate the difference between the theoretical requirements and the measurement information to obtain the offset value corresponding to each preset point position. Next, perform point position correction on the workpiece to be measured through all the offset values to obtain the point position correction result. If the machining error is not within the precision error range, determine whether the workpiece to be measured can be repaired and machined. If it can, transport the workpiece to be measured to the machining tool through the automated guided vehicle for re-machining. If not, scrap the workpiece to be measured.

[0033] In the workpiece correction method of the present invention, point position recognition is performed on the three-dimensional drawing file of the workpiece corresponding to the workpiece to be measured through UG software, realizing the recognition of the point positions in the workpiece to be measured, thereby realizing the acquisition of point position information, and further realizing the generation of the measurement program. Through the measurement program and the coordinate measuring machine, the measurement of the point positions in the workpiece to be measured is realized, and further the acquisition of the point position measurement information is realized. Through the point position information and the measurement information, the calculation of the machining error is realized, thereby realizing the detection of whether it is within the precision error range, ensuring that the workpiece to be measured meets the precision requirements, and further realizing the automatic comparison of the error range, thereby reducing the time of workpiece correction and further improving the efficiency of workpiece correction. Through the machining information, the calculation of the offset value of the workpiece to be measured is realized, thereby realizing the correction of the point positions, and further realizing the acquisition of the point position correction result.

[0034] In one embodiment, in step S10, that is, point position recognition is performed on the three-dimensional drawing file of the workpiece corresponding to the workpiece to be measured through UG software to obtain point position information, including: S101, obtain the three-dimensional drawing file of the workpiece, and import the three-dimensional drawing file of the workpiece into UG software.

[0035] S102, make the UG software perform point position recognition on the workpiece to be measured according to the three-dimensional drawing file of the workpiece to obtain point position information.

[0036] It can be understood that the three-dimensional drawing file of the workpiece refers to the three-dimensional schematic diagram of the workpiece to be measured.

[0037] Specifically, through the workpiece to be measured, a three-dimensional drawing of the workpiece is obtained, and the obtained three-dimensional drawing of the workpiece is imported into the UG software. Then, the UG software identifies the points in the workpiece to be measured according to the three-dimensional drawing of the workpiece, that is, the UG software identifies the three-dimensional drawing of the workpiece, so as to identify the preset points in the workpiece to be measured and identify the coordinates of each preset point. That is, first, it is detected whether there is a coordinate system in the three-dimensional drawing of the workpiece. If there is a coordinate system, the coordinates of the points are identified according to this coordinate system. If not, the UG software selects a reference point in the three-dimensional drawing of the workpiece to establish a coordinate system, and identifies the coordinates of the preset points in this coordinate system, and the point information can be obtained.

[0038] In this embodiment, through the three-dimensional drawing of the workpiece, the determination of the points in the workpiece to be measured is realized, the identification of the point information is realized, and the accuracy of the identified points is ensured.

[0039] In one embodiment, in step S102, that is, the UG software is used to identify the points of the three-dimensional drawing of the workpiece corresponding to the workpiece to be measured to obtain the point information, including: S1021, select a first reference point on the workpiece to be measured, and use the UG software to select a second reference point on the workpiece to be measured that is far from the first reference point; S1022, determine the workpiece coordinate system and the point information of all the preset points in the workpiece coordinate system; wherein, the Y-axis of the workpiece coordinate system is the connection line between the first reference point and the second reference point; the X-axis of the workpiece coordinate system is the perpendicular line between the third reference point and the Y-axis; the origin of the workpiece coordinate system is the intersection point of the X-axis and the Y-axis; the Z-axis of the workpiece coordinate system is the line passing through the origin and perpendicular to the X-axis and the Y-axis; the third reference point refers to the point in the workpiece to be measured that is farthest from the Y-axis.

[0040] It can be understood that the first reference point refers to any point on the workpiece to be measured used to establish a coordinate system. The second reference point refers to the point on the workpiece to be measured that is farthest from the first reference point.

[0041] Specifically, a first reference point is selected on the workpiece to be measured, that is, any point on the workpiece to be measured is arbitrarily selected and determined as the first reference point. Then, with the assistance of UG software, a point is selected on the workpiece to be measured at the farthest distance from the first reference point and determined as the second reference point. Further, the first reference point and the second reference point are connected, and the line between the first reference point and the second reference point is determined as the Y-axis, and the direction of the line from the first reference point to the second reference point is taken as the positive half-axis direction of the Y-axis. Then, a point is selected in the workpiece to be measured at the farthest distance from the Y-axis and determined as the third reference point. A perpendicular line is drawn from the third reference point to the Y-axis, and this perpendicular line is determined as the X-axis, and the direction of the line connecting the third reference point to the Y-axis is determined as the negative half-axis direction of the X-axis, and the intersection point of the X-axis and the Y-axis is determined as the origin. Next, the line passing through the origin and perpendicular to the X-axis and the Y-axis is determined as the Z-axis, and the direction passing through the origin from bottom to top and perpendicular to the X-axis and the Y-axis is determined as the positive half-axis direction of the Z-axis. Finally, a coordinate system is created based on the origin, the X-axis, the Y-axis, and the Z-axis, and determined as the workpiece coordinate system, and the origin is determined as the origin of the coordinate system. Then, the positions of the preset points in the workpiece to be measured are determined, so as to obtain the point position information of the preset points in the workpiece coordinate system.

[0042] In this embodiment, by selecting multiple reference points, the determination of the workpiece coordinate system is realized, and further the determination of the coordinates of the preset points is realized, and the acquisition of the point position information in the workpiece coordinate system is realized.

[0043] In one embodiment, in step S30, that is, the coordinate measuring machine is made to perform point position detection on the workpiece to be measured according to the measurement program, and measurement information is obtained, including: S301, receive a reading instruction, and make the coordinate measuring machine read and analyze the measurement program according to the reading instruction to obtain the to-be-measured points and the point position detection paths corresponding to the to-be-measured points.

[0044] S302, control the coordinate measuring machine to perform point position detection on the to-be-measured points according to the point position detection paths to obtain the measurement information corresponding to each to-be-measured point.

[0045] It can be understood that the reading instruction refers to an instruction for controlling the coordinate measuring machine to obtain the measurement program. The to-be-measured points refer to the positions of the points to be measured on the workpiece to be measured. The point position detection path refers to the path for detecting the to-be-measured points. The point position detection information refers to the result of the coordinate measurement of the to-be-measured points.

[0046] Specifically, upon receiving a read instruction, the three-dimensional detector reads the generated measurement program according to the read instruction, that is, obtains the measurement program through the read instruction, and then parses the measurement program to obtain all the points to be measured and their point detection paths. The three-dimensional detector is controlled according to the point detection path to perform point detection on the points to be measured, that is, the three-dimensional detector performs coordinate detection on the points to be measured on the workpiece to be measured according to the point detection path, that is, controls the probe to gradually approach the points to be measured according to the point detection path, so as to obtain point detection information. In this way, all the points to be measured are detected to obtain all the point detection results, and all the point detection results are determined as measurement information.

[0047] In this embodiment, through the read instruction, the reading of the measurement program is realized, thereby realizing the parsing of the measurement program, and further realizing the acquisition of the points to be measured and the point detection paths. Through the points to be measured and the point detection paths, the acquisition of the point detection information is realized, and further the determination of the measurement information is realized, ensuring the accuracy of the machining of the workpiece to be measured.

[0048] In one embodiment, in step S40, the machining error includes a linear parallelism error and a planar parallelism error; that is, according to the point information and the measurement information, the machining error corresponding to the workpiece to be measured is determined, including: S401, according to the point information, determine the theoretical point line, and according to the measurement information, determine the measured point line.

[0049] S402, according to the theoretical point line and the measured point line, determine the linear parallelism error corresponding to the workpiece to be measured.

[0050] S403, according to the point information, determine the theoretical point plane, and according to the measurement information, determine the measured point plane.

[0051] S404, according to the theoretical point plane and the measured point plane, determine the planar parallelism error corresponding to the workpiece to be measured.

[0052] It can be understood that the machining error includes a linear parallelism error and a planar parallelism error. The linear parallelism error is used to characterize the degree of deviation of a straight line from the ideal parallel state in a specific direction. The planar parallelism error is used to characterize the degree of deviation of a plane from the ideal parallel state in a specific direction.

[0053] Specifically, according to the point position information, the theoretical point position line is determined, that is, the preset point positions on the same side are obtained, and then, through the point position information, the line vector between the two preset point positions is determined, and the theoretical point position line can be obtained. Similarly, according to the measurement information, the measured point position line is determined, that is, the preset point positions on the same side are obtained, and then, through the measurement information, the line vector between the two preset point positions is determined, and the measured point position line can be obtained. Then, the included angle between the theoretical point position line and the measured point position line of the same preset point position on the same side is calculated, that is, the dot product formula of vectors is used to calculate the included angle between the two direction vectors, and the straightness parallelism error can be obtained. Further, according to the point position information, the theoretical point position plane is determined, that is, three non-collinear preset point positions are selected in a plane, and the normal vector of the plane where the three preset point positions are located is calculated through the point position information corresponding to each preset point position, so as to obtain the theoretical point position plane. Similarly, according to the measurement information, the measured point position plane is determined, that is, three non-collinear preset point positions are selected in a plane, and the normal vector of the plane where the three preset point positions are located is calculated through the measurement information corresponding to each preset point position, so as to obtain the measured point position plane. According to the theoretical point position plane and the measured point position plane, the plane parallelism error corresponding to the workpiece to be measured is determined, that is, a point position is selected in the theoretical point position plane, and the distance between this point position and the measured point position plane is calculated, and the plane parallelism error can be obtained. Or, a point position is selected in the measured point position plane, and the distance between this point position and the theoretical point position plane is calculated, and the plane parallelism error can be obtained.

[0054] In this embodiment, through the point position information and the measurement information, the acquisition of the theoretical point position line and the measured point position line is realized, and further the calculation of the straightness parallelism error is realized. Through the point position information and the measurement information, the acquisition of the theoretical point position plane and the measured point position plane is realized, and further the calculation of the plane parallelism error is realized.

[0055] In one embodiment, in step S50, that is, detecting whether the machining error is within the precision error range, includes: S501, obtaining the precision error range, where the precision error range includes the straightness precision error range and the plane precision error range; the precision error range is obtained by analyzing a large amount of historical data through a preset data analysis model.

[0056] S502, comparing the straightness parallelism error and the straightness precision error range, and comparing the plane parallelism error and the plane precision error range.

[0057] S503, when the straightness parallelism error is within the straightness precision error range and the plane parallelism error is within the plane precision error range, determining that the machining error is within the precision error range.

[0058] S504. When the straightness parallelism error exceeds the straightness accuracy error range or the flatness parallelism error exceeds the flatness accuracy error range, it is determined that the machining error is not within the accuracy error range.

[0059] Understandably, the straightness accuracy error range refers to the allowable error range of straightness parallelism. The flatness accuracy error range refers to the allowable error range of flatness parallelism. The accuracy error range is obtained by analyzing a large amount of historical data through a preset data analysis model, that is, training a preset neural network model through a large amount of historical data, so that the neural network model has the data analysis ability to obtain the preset data analysis model. Then, the data collected through the preset data analysis model is analyzed to obtain the accuracy error range.

[0060] Specifically, obtain the accuracy error range corresponding to the workpiece to be measured, and the accuracy error range includes the straightness accuracy error range and the flatness accuracy error range. Then, compare the straightness parallelism error in the machining error with the straightness accuracy error range within the accuracy error range to determine whether the straightness parallelism error is within the straightness accuracy error range. Similarly, compare the flatness parallelism error in the machining error with the flatness accuracy error range within the accuracy error range to determine whether the flatness parallelism error is within the flatness accuracy error range. Further, when the straightness parallelism error is within the straightness accuracy error range and the flatness parallelism error is within the flatness accuracy error range, it is determined that the machining error is within the accuracy error range. When the straightness parallelism error exceeds the straightness accuracy error range or the flatness parallelism error exceeds the flatness accuracy error range, it is determined that the machining error is not within the accuracy error range.

[0061] In this embodiment, by comparing the machining error with the accuracy error range, automatic judgment of the error is realized, manual participation is avoided, the time for workpiece calibration is reduced, and the efficiency of workpiece calibration is improved.

[0062] In one embodiment, in step S60, that is, performing point position calibration on the workpiece to be measured through the machining information to obtain a point position calibration result, including: S601. According to the workpiece information, determine the machining information corresponding to the workpiece to be measured, and extract the theoretical requirements corresponding to the workpiece to be measured from the machining information.

[0063] S602. Determine the point position offset value according to the theoretical requirements and the measurement information.

[0064] S603. Perform point position calibration on the workpiece to be measured through the point position offset value to obtain a point position calibration result.

[0065] Understandably, the processing information refers to the parameters used for processing the workpiece. For example, the processing path and position coordinates of each point, etc. The point offset value refers to the difference between the measured information of the preset point and the theoretical requirement. The theoretical requirement refers to the processing requirement of the workpiece point theoretically.

[0066] Specifically, after determining that the processing error is within the precision error range, according to the identified workpiece information, obtain the processing information corresponding to the workpiece to be measured. Analyze the processing information, and extract the theoretical requirements corresponding to each preset point in the workpiece to be measured from the processing information. Then, calculate the point offset value of the preset point according to the theoretical requirement and the measured information corresponding to the same preset point. In this way, by calculating the offset values of all preset points, the point offset values corresponding to each preset point can be obtained. Next, perform point correction on the workpiece to be measured through all the point offset values, that is, determine the point offset value of each preset point as the processing parameter when the preset point is processed again, and transport the workpiece to be measured to the processing machine tool, and perform reprocessing on the preset point according to the point offset value, and the point correction result can be obtained.

[0067] In this embodiment, through the workpiece information, the acquisition of the processing information of the workpiece to be measured is realized, and then the determination of the theoretical requirements for each preset point is realized. Through the theoretical requirement and the measured information corresponding to the same preset point, the calculation of the point offset value is realized, and then the correction of the preset point is realized, ensuring the accuracy of the processing of the workpiece to be measured.

[0068] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

[0069] In one embodiment, a workpiece correction device is provided, and the workpiece correction device corresponds one-to-one to the workpiece correction method in the above embodiment. As Figure 2 shown, the workpiece correction device includes a point recognition module 10, an information recognition module 20, a point detection module 30, an error determination module 40, and a point correction module 50. The detailed description of each functional module is as follows: The point recognition module 10 is used to obtain the workpiece to be measured, perform point recognition on the three-dimensional drawing file of the workpiece corresponding to the workpiece to be measured through UG software to obtain point information, and generate a measurement program according to the point information; The information recognition module 20 is used to perform information recognition on the workpiece to be measured to obtain workpiece information, and after selecting a rack to assemble and fix the workpiece to be measured according to the workpiece information, transport the workpiece to be measured to a three-coordinate measuring instrument; The point position detection module 30 is used to make the three - coordinate measuring instrument perform point position detection on the workpiece to be measured according to the measurement program, and obtain measurement information; The error determination module 40 is used to determine the machining error corresponding to the workpiece to be measured according to the point position information and the measurement information; The point position correction module 50 is used to detect whether the machining error is within the precision error range. If the machining error is within the precision error range, the point position of the workpiece to be measured is corrected through the machining information to obtain a point position correction result.

[0070] In one embodiment, the point position recognition module 10 includes: The drawing file import unit is used to obtain the three - dimensional drawing file of the workpiece and import the three - dimensional drawing file of the workpiece into the UG software; The point position information unit is used to make the UG software perform point position recognition on the workpiece to be measured according to the three - dimensional drawing file of the workpiece, and obtain point position information.

[0071] In one embodiment, the point position information unit includes: The reference point determination sub - unit is used to select a first reference point on the workpiece to be measured, and select a second reference point far from the first reference point on the workpiece to be measured through the UG software; The workpiece coordinate system sub - unit is used to determine the workpiece coordinate system and the point position information of all the preset point positions in the workpiece coordinate system; wherein, the Y - axis of the workpiece coordinate system is the connection line between the first reference point and the second reference point; the X - axis of the workpiece coordinate system is the perpendicular line between the third reference point and the Y - axis; the origin of the workpiece coordinate system is the intersection point of the X - axis and the Y - axis; the Z - axis of the workpiece coordinate system is the line passing through the origin and perpendicular to the X - axis and the Y - axis; the third reference point refers to the point on the workpiece to be measured with the farthest distance from the Y - axis.

[0072] In one embodiment, the point position detection module 30 includes: The measurement program analysis unit is used to receive a reading instruction, and make the three - coordinate measuring instrument read and analyze the measurement program according to the reading instruction, and obtain the to - be - measured point positions and the point position detection paths corresponding to the to - be - measured point positions; The three - coordinate detection unit is used to control the three - coordinate measuring instrument to perform point position detection on the to - be - measured point positions according to the point position detection paths, and obtain the measurement information corresponding to each to - be - measured point position.

[0073] In one embodiment, the machining error includes linear parallelism error and planar parallelism error; the error determination module 40 includes: A point - position straight - line unit, which is used to determine a theoretical point - position straight - line according to the point - position information, and determine a measured point - position straight - line according to the measurement information; A straight - line error unit, which is used to determine the straight - line parallelism error corresponding to the workpiece to be measured according to the theoretical point - position straight - line and the measured point - position straight - line; A point - position plane unit, which is used to determine a theoretical point - position plane according to the point - position information, and determine a measured point - position plane according to the measurement information; A plane error unit, which is used to determine the plane parallelism error corresponding to the workpiece to be measured according to the theoretical point - position plane and the measured point - position plane.

[0074] In one embodiment, the point - position correction module 50 includes: An error - range unit, which is used to obtain an accuracy error range. The accuracy error range includes a straight - line accuracy error range and a plane accuracy error range; the accuracy error range is obtained by analyzing a large number of historical data through a preset data - analysis model; An error - comparison unit, which is used to compare the straight - line parallelism error and the straight - line accuracy error range, and compare the plane parallelism error and the plane accuracy error range; An in - error - range unit, which is used to determine that the machining error is within the accuracy error range when the straight - line parallelism error is within the straight - line accuracy error range and the plane parallelism error is within the plane accuracy error range; An out - of - error - range unit, which is used to determine that the machining error is not within the accuracy error range when the straight - line parallelism error exceeds the straight - line accuracy error range or the plane parallelism error exceeds the plane accuracy error range.

[0075] In one embodiment, the point - position correction module 50 includes: A theoretical - requirement unit, which is used to determine the machining information corresponding to the workpiece to be measured according to the workpiece information, and extract the theoretical requirements corresponding to the workpiece to be measured from the machining information; A point - position offset - value unit, which is used to determine a point - position offset value according to the theoretical requirements and the measurement information; A point - position correction - result unit, which is used to perform point - position correction on the workpiece to be measured through the point - position offset value to obtain a point - position correction result.

[0076] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is used to execute the above - mentioned workpiece correction method.

[0077] Specific limitations on the computer device, the processor, and its various units and modules can be referred to the limitations on the workpiece calibration method in the above text, and will not be elaborated here. Each module in the above processor can be implemented in whole or in part by software, hardware, and their combinations. Understandably, the processor includes a processor, a memory, a network interface, and a database connected through a device bus. Each module of the processor can be embedded in or independent of the processor in the form of hardware, or stored in the memory in the form of software, so that the processor can call and execute the operations corresponding to the above various modules. Among them, the processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium. The database is used to store the data used in the workpiece calibration method in the above embodiments. The network interface is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a workpiece calibration method.

[0078] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above workpiece calibration method is implemented.

[0079] Those of ordinary skill in the art can understand that all or part of the processes in the above embodiment methods can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to the memory, storage, database, or other media used in the various embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or an external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0080] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.

[0081] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A workpiece calibration method, characterized in that, Including: Obtain a workpiece to be measured, perform point recognition on the three-dimensional drawing of the workpiece corresponding to the workpiece to be measured through UG software to obtain point information, and generate a measurement program according to the point information; Perform information recognition on the workpiece to be measured to obtain workpiece information, and after selecting a rack for assembly and fixing the workpiece to be measured according to the workpiece information, transport the workpiece to a coordinate measuring machine; Cause the coordinate measuring machine to perform point detection on the workpiece to be measured according to the measurement program to obtain measurement information; Determine the machining error corresponding to the workpiece to be measured according to the point information and the measurement information; Detect whether the machining error is within the accuracy error range. If the machining error is within the accuracy error range, perform point correction on the workpiece to be measured through machining information to obtain a point correction result.

2. The workpiece calibration method according to claim 1, wherein, The machining error includes linear parallelism error and planar parallelism error; The determining the machining error corresponding to the workpiece to be measured according to the point information and the measurement information includes: Determine a theoretical point line according to the point information, and determine a measured point line according to the measurement information; Determine the linear parallelism error corresponding to the workpiece to be measured according to the theoretical point line and the measured point line; Determine a theoretical point plane according to the point information, and determine a measured point plane according to the measurement information; Determine the planar parallelism error corresponding to the workpiece to be measured according to the theoretical point plane and the measured point plane.

3. The workpiece correction method according to claim 1, wherein, The performing point correction on the workpiece to be measured through machining information to obtain a point correction result includes: Determine the machining information corresponding to the workpiece to be measured according to the workpiece information, and extract the theoretical requirements corresponding to the workpiece to be measured from the machining information; Determine a point offset value according to the theoretical requirements and the measurement information; Perform point correction on the workpiece to be measured through the point offset value to obtain a point correction result.

4. The workpiece calibration method according to claim 1, wherein, The causing the coordinate measuring machine to perform point detection on the workpiece to be measured according to the measurement program to obtain measurement information includes: Receive a reading instruction, cause the coordinate measuring machine to read and analyze the measurement program according to the reading instruction to obtain the points to be measured and the point detection path corresponding to the points to be measured; Control the coordinate measuring machine to perform point detection on the points to be measured according to the point detection path to obtain the measurement information corresponding to each of the points to be measured.

5. The workpiece correction method according to claim 1, wherein The detecting whether the machining error is within the accuracy error range includes: Obtain the accuracy error range, where the accuracy error range includes a linear accuracy error range and a planar accuracy error range; the accuracy error range is obtained by analyzing a large amount of historical data through a preset data analysis model; Compare the linear parallelism error and the linear accuracy error range, and compare the planar parallelism error and the planar accuracy error range; When the linear parallelism error is within the linear accuracy error range and the planar parallelism error is within the planar accuracy error range, determine that the machining error is within the accuracy error range; When the straightness parallelism error exceeds the straightness accuracy error range, or the flatness parallelism error exceeds the flatness accuracy error range, it is determined that the machining error is not within the accuracy error range.

6. The workpiece calibration method according to claim 1, wherein The UG software is used to identify the points of the three-dimensional drawing of the workpiece corresponding to the workpiece to be measured, and the point information is obtained, including: Obtain the three-dimensional drawing of the workpiece and import the three-dimensional drawing of the workpiece into the UG software; Let the UG software identify the points of the workpiece to be measured according to the three-dimensional drawing of the workpiece, and obtain the point information.

7. The workpiece correction method according to claim 6, wherein, The step of letting the UG software identify the points of the workpiece to be measured according to the three-dimensional drawing of the workpiece and obtain the point information includes: Select a first reference point on the workpiece to be measured, and select a second reference point far from the first reference point on the workpiece to be measured through the UG software; Determine the workpiece coordinate system and the point information of all the preset points in the workpiece coordinate system; wherein, the Y-axis of the workpiece coordinate system is the line connecting the first reference point and the second reference point; the X-axis of the workpiece coordinate system is the perpendicular line between the third reference point and the Y-axis; the origin of the workpiece coordinate system is the intersection of the X-axis and the Y-axis; the Z-axis of the workpiece coordinate system is the line passing through the origin and perpendicular to the X-axis and the Y-axis; the third reference point refers to the point on the workpiece to be measured that is farthest from the Y-axis.

8. A workpiece alignment device, characterized in that, including: A point identification module, configured to obtain a workpiece to be measured, identify the points of the three-dimensional drawing of the workpiece corresponding to the workpiece to be measured through UG software, obtain point information, and generate a measurement program according to the point information; An information identification module, configured to identify the information of the workpiece to be measured, obtain workpiece information, select a rack to assemble and fix the workpiece to be measured according to the workpiece information, and then transport the workpiece to a three-coordinate measuring instrument; A point detection module, configured to let the three-coordinate measuring instrument detect the points of the workpiece to be measured according to the measurement program, and obtain measurement information; An error determination module, configured to determine the machining error corresponding to the workpiece to be measured according to the point information and the measurement information; A point correction module, configured to detect whether the machining error is within the accuracy error range. If the machining error is within the accuracy error range, the points of the workpiece to be measured are corrected through the machining information to obtain a point correction result.

9. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is used to execute the workpiece correction method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the workpiece correction method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for verifying and correcting coordinate deviation of workpiece rotation shaft in numerical control system

    CN111090259A

  • Workpiece processing axis correction method and device

    CN111644901A

  • Method for correcting tool parameters of a machine tool for machining a workpiece

    CN112486092A

  • Method for establishing workpiece coordinate system during workpiece machining by robot and pose correction method

    CN113524167A

  • Method and device for automatically correcting and detecting workpiece

    CN114491953A