The present invention is generally related to a system and method for error compensation of a Coordinate Measurement Machine (CMM).
With the advent of numerically controlled machine tools, the demand has grown for a means to support these equipments with a faster first-piece inspection and, in many cases, a 100% dimensional inspection. To satisfy this demand, the coordinate measurement machine (CMM) was developed in the early 1960's. A CMM can also be used as a layout machine before machining and for checking featured attributes after machining. In many cases, the CMM plays a vital role in the mechanization of the inspection process. It is used for measuring objects in a space in terms of their X, Y, and Z coordinates commonly referred as the length, the width, and the height respectively. The CMM probe is attached to an articulated arm and moved to a plurality of positions defined by the manufactured products or workpieces so to generate a plurality of Cartesian coordinate data points. The CMM collects and reports the measurement data by placing the tip of the calibrated probe into direct contact with a touch point, such as a surface or edge of the product or workpiece to be measured. The CMM records the location of multiple touch points and generates a database reflecting the dimensional geometric features of the workpiece.
Although the measurement data of the CMM is more accurate than other measuring machine, the CMM may have errors. The errors may be due to errors during measurement, environment factors, errors in the products or workpieces, errors of the CMM, or manual errors. In order for the CMM to operate properly, the accuracy of the CMM is important. Machines of the CMM can be calibrated, but the time of machine calibration is slow, and the effect of the adjustment may be insignificant.
What is needed, therefore, is a system and method for error compensation of a CMM.
A system for error compensation of a Coordinate Measurement Machine (CMM) in accordance with a preferred embodiment includes an input/output module, a calculating module and a storing module. The input/output module is used for gathering particular data and outputting error compensation results. The calculating module is used for calculating error compensation of the CMM and generating a compensation document according to the compensation results. The storing module is used for saving the compensation document.
A method for error compensation of the CMM includes the steps of: setting a mathematical mode that includes mathematical functions and equations; detecting errors of the CMM and obtaining coordinate values of the errors; compensating the coordinate values of all the errors; measuring a standard object on the CMM and obtaining measured values; calculating the deviation of the measured values and compensation factors of each axis by utilizing the measured values according to the mathematical functions and equations; and comparing the deviation of the measured values with corresponding precision standard of the CMM that is provided by the CMM's manufacturer and determining whether the precision of the CMM is acceptable.
Other systems, methods, features, and advantages of the present invention will be or become apparent to one with skill in the art upon examination of the following drawings and detailed description.
The input/output module 32 is used for gathering particular data and outputting error compensation results. The particular data may include original errors and/or linear coefficient related data. The original errors are errors of the CMM 1 that is detected by the calibrator 2. The original errors include positional errors, straightness errors, or angular errors. The linear coefficient related data are measured values of the standard object.
The calculating module 34 is used for calculating error compensation of the CMM 1. The calculating module 34 is further used for calculating the coordinate values before error compensation. The error compensation calculation includes individual error calculations, squareness error calculations, or total error calculations. The individual errors are calculated by utilizing a method of linear interpolation. The individual errors include positional errors, vertical straightness errors, horizontal straightness errors, rotational errors, yawing errors, or pitching errors on each axis (i.e., X-axis, Y-axis and Z-axis). The squareness errors are calculated by utilizing a method of minimum square and fitting function of a beeline. The total error is a summation of the individual errors and squareness errors. For example, if the coordinate value of the X-axis represented by X, the coordinate value of the Y-axis represented by Y, the coordinate value of the Z-axis represented by Z, the positional value of the X-axis represented by Dxx, the straightness errors of the X-axis represented by Dxy and Dxz respectively, the rotational error of the X-axis represented by Rxx, the yawing error of the X-axis represented by Rxy, the pitching error of the X-axis represented by Rxz, the squareness errors represented by Sxy and Szx respectively, and the total error of the X-axis is calculated by using the following formula of
ΔX=Dyx−Dxx+Dzx−Y*Sxy−Z*Szx+Rxz+Z*(Ryy−Rxy)
. Moreover, the calculating module 34 is also used for calculating the deviation of the measured values of the standard object and a compensation factor for each axis, comparing the deviation of the measured values with corresponding precision standard of the CMM 1 generated by the manufacture of CMM 1, and generating a compensation document according to the comparative result. The compensation factor equals to a corresponding real value divided-by a measured value of the standard object.
The data security module 36 is used for ensuring the compensation document's security by encrypting the compensation document with data streams of a binary system. The compensation document is generated during measurement and calculation. The data security module 36 is further used for decrypting the compensation document. That is, the data security module 36 can be used for setting the encrypting parameters and for encrypting or decrypting the data of the compensation document. The encrypting parameter settings include a secret key setting, a utilization vectors setting, an encryption method setting, and an encryption calculation setting. The encryption calculation is a symmetric algorithm. When the compensation document needs to be encrypted, firstly, the data security module 36 converts the compensation document into document flows, then it converts the document flows into encryption flows, finally it converts the encryption flows into data streams of the binary system. When the data security module 36 decrypts the compensation document, the calculation method is analogous to the encryption calculation. The storing module 38 is used for saving the compensation document and all the parameters.
W=(0.05−0.03)/30*(40−30)+0.03
. The individual errors include positional errors, vertical straightness errors, horizontal straightness errors, rotational errors, yawing errors and/or pitching errors of each axis (X-axis, Y-axis and Z-axis). In step S3024, the calculating module 34 calculates the total error E of each axis. In step S3025, the calculating module 34 adds E to each coordinate value and gets a numerical value N respectively. In step S3026, the calculating module 34 multiplies the compensation factor of each axis by corresponding N in order to get the coordinate values of error compensation.
It should be emphasized that the above-described embodiments of the present invention, particularly, any “preferred” embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the invention. Many variations and modifications may be made to the above-described embodiment(s) of the invention without departing substantially from the spirit and principles of the invention. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present invention and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
200510035936.9 | Jul 2005 | CN | national |