Surface inspection of coordinate measuring machine based on 3D digital model

Publisher:导航灯Latest update time:2014-09-22 Source: ednchina Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. Introduction     Since its invention in the early 1960s, the three-dimensional coordinate measuring machine (CMM) has been widely used in the manufacturing industry and has become a standard equipment for 3D detection industry. The three-dimensional coordinate measurement technology has developed rapidly, and the development of supporting detection software has been rapid. The earliest three-dimensional coordinate measuring machine could only display XYZ coordinates, but the current various detection software can solve almost all problems of users. Software is increasingly becoming the key to the quality of user use.     2. Development trend of CMM measurement software     For traditional three-dimensional coordinate measuring machine detection, the design department usually provides two-dimensional drawings, and the inspection department detects the size and shape tolerance of the workpiece according to the drawings. With the application of three-dimensional CAD software, more and more technical departments use three-dimensional CAD modeling technology for design. Therefore, various coordinate machine manufacturers have launched measurement software based on three-dimensional CAD technology, directly importing the three-dimensional CAD model designed by the customer into the measurement software for detection. The advantages of this are very obvious. No additional drawings are required, the theoretical value can be directly captured, and measurement simulation and probe interference inspection can be performed. Therefore, it has been well received by users. CAD-based measurement has become a hot spot for the development of three-dimensional coordinate measurement software.     In CAD design, the three-dimensional solid design of general regular workpieces can be completed through basic feature commands, such as stretching and punching. The detection of such workpieces is relatively simple. With the development of industrial modeling and the application of machining centers, more and more workpieces are designed into complex shapes and surfaces, such as covers and interior parts. The construction technology of curves and surfaces belongs to the relatively advanced design category in CAD modeling. Many high-end three-dimensional CAD software have special curve and surface processing modules, allowing users to design Class B or even Class A surfaces. The detection of curved workpieces puts higher requirements on three-coordinate measurement software.     3. CMM surface detection     3.1 Traditional measurement method     When using a three-coordinate measuring machine to detect curved surface parts without using a CAD digital model, usually, the coordinates of the section lines and points are generated on the surface digital model using relevant commands in the CAD software. This is used as the theoretical value to control the measuring machine to the corresponding position for detection and compare the deviation of the coordinate values. This method requires designers to provide additional theoretical data. At the same time, the compensation of the probe tip ball diameter is not easy to achieve accurately. For single-point measurement, the compensation of the probe cannot be achieved at all because the vector direction cannot be determined. Therefore, this method has certain limitations.     3.2 Measurement based on 3D digital model     Using surface digital model to detect the surface is a need for the development of CMM measurement technology. Since the surface construction technology is relatively complex, it is also a high-end technology in the CAD application field and is generally completed by professional CAD/CAM systems. In the measurement software, it is a problem of using the design digital model by importing it. In order to achieve this goal, four technical problems must be solved: digital model import interface, alignment, probe tip compensation, and theoretical value capture.      (1) Digital model import interface     When using digital model for detection, the first thing to do is, of course, to ensure that the digital model is correctly imported into the measurement software. In fact, due to well-known reasons such as technology and interests, major CAD manufacturers around the world have developed different software and formats. For example, UG, PROE, CATIA, etc., which have a relatively large influence in China, cannot directly read each other's files.     In order to solve this contradiction, a series of data exchange standards have been established internationally, such as the international standard data exchange STEP (Standard for the Exchange of Product Model Data) and the American initial graphics exchange standard IGES (Initial Graphics Exchange Specification). Although the IGES standard has shortcomings such as large data files, long conversion time, and incomplete information, it is undeniable that it is currently the most widely used interface standard. Most CAD software supports this standard, and China also recommends IGES.     At present, all measuring machine software with digital model detection functions support the IGES format. The difference is basically mainly reflected in the loss and damage of individual surfaces after the input of complex digital models, and the speed of import. For a 10M digital model, some may take tens of seconds, and some may take several minutes. At present, the more famous CMM measurement software on the market has basically solved this problem well. Figure 1 shows the situation of importing digital models into the detection software of the ZCRMDT measurement software independently developed by Zhongchuang Measuring Instrument. The size of the digital model is more than 46M. 

 

 

 

 

 

 

 

 



 

 

 

Figure 1 Importing digital models into ZCRMDT software

    In response to the current mainstream CAD software, some measuring machine software vendors have also developed various direct reading interfaces, such as UG file direct reading, PROE file direct reading, etc., which do not require intermediate file format conversion and avoid the impact of conversion. However, this interface generally needs to be purchased separately. 

    (2) Alignment  

    Alignment is an important part of the three-dimensional coordinate measuring machine software. Regardless of the number of modules, alignment must be used to keep the machine coordinate system consistent with the workpiece coordinate system so that the measured values ​​are comparable.  

    For box-type parts, the 3-2-1 method is basically used to establish coordinates. The coordinate axis and origin are determined by using surface, line, and point features. The workpiece is aligned by establishing a workpiece coordinate system. This is also the most basic and accurate alignment method. Features that are well processed and have a large range should be used as the coordinate reference to reduce the error caused by alignment. Usually, for the established coordinate system, translation, rotation and other operations are also required to generate a new alignment.  

    For irregular shapes, the calculation is much more complicated. If there are clear feature points on the workpiece, such as three hole centers, the actual value is usually measured, corresponding to the theoretical value, and three-point alignment is performed.  

    We often encounter situations where there are no clear features on the workpiece, that is, we cannot accurately correspond the measured value to the theoretical value directly. For this situation, the measurement software often uses the iterative alignment method. For a measuring machine with single-point trigger data acquisition, the software usually selects multiple points on the digital model surface as target points. The selected points should be able to fix the part in all 6 degrees of freedom to prevent the part from rotating and moving. Then the measuring machine is moved to the position on the workpiece that corresponds as much as possible to collect the measured points. The software iteratively aligns the measured points in the vicinity of the target point on the digital model until the alignment error is within the specified accuracy. Some measurement software will guide you to re-measure to a closer point for more accurate calculation when iteratively out of tolerance.  
Another situation is to directly measure multiple points. The software performs the best matching calculation on the point group and the theoretical digital model, and aligns the point group and the digital model step by step until the root mean square deviation between the point group and the digital model is minimized. The more points this method has, the more accurate it is, but at the same time, the more complex the calculation is, and the higher the computer requirements are. It is usually used more in the alignment of scanned point clouds.  

    Although each software has different classifications and characteristics for alignment, the above methods are basically used. 

    (3) Probe tip compensation  

    Currently, the most commonly used probe in CMMs is the mechanical trigger probe, which is equipped with a ruby ​​stylus, which inevitably brings about the problem of probe tip compensation.  

    For standard features such as planes and circles, the probe can be automatically compensated by overall offset. For continuously scanned curves, the same method can also be used to automatically process them. However, for single-point measurement that is often encountered when measuring curved surfaces, how to solve the problem of probe tip compensation?

Figure 2 Schematic diagram of probe tip compensation

    To compensate a point individually, the direction vector of the compensation must be known, that is, the direction of the normal vector at the contact point. In order to find the normal direction, a more accurate approach is to measure a microplane around the measuring point, and regard the normal of the microplane as the normal of the surface at the measuring point, thereby completing the tip compensation.     For places where the curvature of the workpiece measuring point itself does not change much, or when the deviation between the workpiece and the digital model itself is small, if the requirements are not high, in order to reduce the number of points, the microplane can also be not measured. The software directly uses the direction vector of the measuring point piercing the digital model to perform tip compensation, that is, the normal vector at that point on the digital model replaces the normal vector at the measured point on the workpiece as the direction of tip compensation. However, if the curvature deviation between the workpiece and the digital model itself is large, the tip compensation will be inaccurate, resulting in unreliable measurement data.     For non-contact probes, there is no tip compensation problem. 

 

 

    (4) Theoretical value capture     After solving the import and alignment of the digital model, the capture of the theoretical value is relatively simple. For standard features such as circles, the software only needs to be able to select and identify the feature from the CAD digital model, and then the theoretical value can be directly extracted from its characteristics. For automatic measurement, it can be directly programmed according to the digital model feature to guide the machine to run to the location near the theoretical value of the feature for measurement.  [page]     For points on a curved workpiece, they are usually divided into surface points and edge points, and some software divides them more finely. For points on the surface, through direct measurement, the measured points are projected onto the surface along the normal of the digital model surface to obtain the theoretical points. However, edge points are different. The edge is the boundary of the CAD surface, such as the edge of a sheet metal part, and the simplest one is the edge of a cube. If you want to detect points on the edge, since the probe cannot directly and accurately measure it, and the compensation direction of the probe cannot be determined, it is impossible to measure directly, and only indirect measurement can be used. Usually, its processing principle is shown in Figure 3. In order to measure point P on the edge, points can be measured on both sides of it. In this example, the first three points are used to determine the top, the 4th and 5th points determine the boundary direction, and the last point 6 determines the position of the target point. The point generated by projecting it to the previously determined edge is considered as the edge measurement point, and its theoretical value is the closest point to the edge of the surface in the digital model. 



Figure 3 Schematic diagram of edge point measurement

    Through the above methods, the edge point detection can be realized. Different software may have different processing methods. 

    4. Current status of surface measurement software     Based on 3D digital model, the detection of surface workpieces belongs to the advanced application category in three-coordinate machine measurement, and this function is generally included in high-end measurement software. At present, the more common ones in the domestic market include the CAD++ version of PC-DMIS and VIRTUL DMIS, which are developed by professional measuring machine software companies such as WILCOX and ENTELEGENCE. POWER INSPECT software is also cited in coordinate machines due to its strong function in digital model processing. It is provided by DELCAM, a British CAD/CAM software company, which also reflects the trend of closer integration of measuring machine software and CAD software.     In fact, for surface quality evaluation, as part of surface construction, editing and analysis, CAD software manufacturers have had better solutions for a long time, especially in reverse engineering processing software. After processing the collected point cloud into a surface, it is often necessary to compare the deviation between the point cloud and the design curve and surface in order to improve the surface quality while ensuring accuracy. Figure 4 shows the comparative analysis of point clouds and surfaces in imageware, and the results are represented by different color gradients. 

 

Figure 4. Example of Imagewave point cloud and surface analysis

    5. Research and development of ZCRMDT measurement software     The research and development of measurement software in China is relatively lagging behind. For those that need advanced functions such as digital model detection, they are generally equipped with foreign software. The ZCRMDT manual version measurement software launched by the Measurement Instrument Research Institute of China Testing Technology Research Institute (China Measurement Instrument) has a complete three-dimensional graphical measurement environment, supports digital model import, dynamic simulation of probe trajectory, visual measurement, view rotation, zoom, and graphic selection, and realizes the function of using surface digital model for detection. It is worth mentioning that the digital model can also be edited and processed using the functions of the CAD platform. Figure 5 shows the use of ZCRMDT software to detect a curved surface inspection fixture. The software directly compares the measurement point on the workpiece with the digital model to obtain the deviation. The inspector adjusts the point according to the result until the deviation is within the permitted range. 

Figure 5 ZCRMDT measurement example

    From the technical level, ZCRMDT software, as a manual version of measurement software, has reached or is close to the level of similar foreign software, and is in an advanced position in China. At the same time, compared with foreign software, it has obvious price advantages. At present, ZCRMDT software has been equipped with manual measuring machines produced by China Measurement Instrument and has been adopted by dozens of users across the country, so that customers can achieve advanced measurement functions without spending too much money, solving customers' measurement problems. 

    6. Conclusion     The three-coordinate surface detection technology based on 3D digital model is a highly comprehensive advanced measurement technology, involving professional disciplines such as CAD, three-coordinate measuring machine, software programming and metrology, which is by no means a simple article that can be covered. This article is a little experience of the author's experience in testing and developing related software in his work, and is specially proposed for discussion with everyone. With the development of three-coordinate measurement technology, three-coordinate measurement software will surely make more substantial progress. 

Reference address:Surface inspection of coordinate measuring machine based on 3D digital model

Previous article:Daily maintenance and maintenance precautions of three-coordinate measuring machine
Next article:Testing high-speed clocks with low-cost instruments

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号