Automated online object inspection
Online quality inspection of parts through a non-contact three-dimensional scanning system and laser module solves the problem of complex and time-consuming parts inspection systems in the existing technology, realizes a fast and automated inspection process, reduces costs and improves production efficiency.
Patent Information
- Application Number
- CN201880074234.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The parts inspection system in the existing manufacturing process is complex and time-consuming, making it difficult to implement fast and efficient online quality inspection. As a result, a large number of manufacturers can only inspect small batches of parts, which increases costs and defect rates.
A non-contact 3D scanning system is used to accurately inspect parts through the optical scanning system and laser module. The laser profiler is used to generate a 3D coordinate point cloud, which is compared with the CAD model to detect defects in real time and warn the operator.
It realizes fast and automated online quality inspection of parts, reduces costs, improves production efficiency and manufacturing volume, can detect defects in real time and predict mold wear, reducing reliance on manual inspection.
Smart Images

Figure CN111373437B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Non-Provisional Application No. 16 / 033,858, filed on July 12, 2018, and U.S. Provisional Application No. 62 / 587,806, filed on November 17, 2017, the contents of which are incorporated herein by reference. Technical Field
[0003] The present invention relates to automatic inspection of physical objects, and in particular to an inspection system and method for realizing non-contact three-dimensional scanning of physical objects. Background Art
[0004] In many manufacturing processes, it is important that all parts are formed within tolerances defined by industry standards, company standards, or required specifications. For example, when manufacturing parts by injection molding, additive manufacturing, or machining, it is important that each part manufactured meets certain standards and specifications. In modern production, parts, tools, molds, and dies are often designed based on computer-aided design (CAD) models. For example, in computer-aided manufacturing (CAM), computer numerical control (CNC) machines use CAD designs as input to control the operation of tools in machining products.
[0005] Several systems and methods for verifying the surface shape of manufactured parts and products are known in the art. For example, coordinate measuring machines (CMMs), laser trackers, and three-dimensional scanning measurement systems and other equipment are used to perform precise inspections. However, these inspection systems require long and complex setups, and also require specific positioning of the parts or products to be inspected within the inspection system before the inspection can begin. For example, in a CMM, it is required to position the parts in a fixture to properly hold the parts. Therefore, a lot of time is spent on simply setting up the products or parts and the inspection system, and the setup process needs to be completed separately for each different part to be inspected. Therefore, large-volume manufacturers can only inspect a small sampling of parts or products while still maintaining high production volumes, resulting in problems such as defective parts reaching customers and causing revenue losses, handling returned parts, and losing customer confidence. In addition, due to the complexity of using current inspection systems, many manufacturers rely on manual inspection of at least a portion of their products and parts, which adds considerable costs.
[0006] There is a need for an easy to use inline inspection system that reduces costs and increases turnaround time and manufacturing volume. In addition, there is a need for an inline inspection system that can inspect parts and products regardless of orientation and does not require the inspected part or product to be first placed in any fixture or other mechanism to hold it during inspection. Summary of the invention
[0007] The present invention relates to an online system and method for quality inspection of manufactured parts and products, including first article inspection, critical function parameters (CTF), and defect detection. The system and method perform non-contact quality inspection by scanning the three-dimensional (3-D) surface geometry of the object being inspected and comparing the information from the scanning process with the 3-D model of the object. The object can be solid, opaque, translucent or transparent, and can have surface features that are specular or diffuse. An object can include a combination of these features and still be inspected using the system and method of the present invention.
[0008] The system and method may include an optical scanning system and a laser module, the laser module including a laser profiler for performing accurate online inspection of an object. In some implementations, the beam of the laser profiler may have a wavelength in the violet or ultraviolet range, but other wavelengths may also be used. When objects such as parts or products are inspected, they may be placed on a conveying system such as a conveyor belt that moves them through the optical scanning system and the laser profiler. As the objects move along the conveyor belt, they pass under the optical scanning system, which scans the objects and identifies the position and orientation of the objects on the conveyor belt. The system and method may simultaneously inspect multiple objects placed on a conveyor device, wherein the conveyor device moves the objects through the inspection system components during an online process. The inspected objects may be the same or different parts or products, wherein the optical scanning system identifies each object as it passes by. In addition, the optical scanner system may identify contaminants such as dust, oil, or other foreign matter present on the object, and may also detect and measure the object for the accuracy of the expected color, texture, or modification of the object. A computer processor in the quality inspection system receives the determined identity of the inspected object from the optical scanning system and loads a data file corresponding to the identified product. The data file may be a CAD model which is then converted into a homogenous point cloud representing the object.
[0009] A laser module is provided after the optical scanning system in the scanning system, the laser module including, for example, a laser profiler having an illumination beam with a wavelength in the violet or ultraviolet range, and the laser module is used to scan the inspected object. The laser system outputs a three-dimensional (3-D) coordinate point cloud representing one or more objects at regular intervals. The system and method then compare the obtained 3-D coordinate point cloud representing the object with a uniform point cloud retrieved from a computer processor. The difference between the two is determined, and the difference is used to determine the degree of variation between the inspected object and the expected product (based on the stored data file). The system and method can then identify parts or sections of the inspected object as potentially defective, and can alert the system operator when a defective object is identified.
[0010] In particular, the system can be used to inspect parts manufactured from a casting mold. The casting mold will have the desired dimensions of the final part, and it is expected that the parts produced by the casting mold will have these desired dimensions within certain tolerance levels. Real-time determination of defect data from injection molded parts can be used as a predictive measurement method to determine when significant wear has occurred and the casting mold needs to be replaced before defects become troublesome. Therefore, the system can be used as part of a geometric dimensioning and tolerance quality inspection process. The dimensional specification defines the nominal, as-molded or as-expected geometry. The tolerance specification defines the permissible deviations in form and possibly the size of individual features, as well as the permissible variations in orientation and position between features. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 is a high-level diagram showing components of a quality inspection system.
[0012] Figure 2 is a diagrammatic representation of the components of a laser system in a quality inspection system.
[0013] Figure 3A and Figure 3B is an illustration of the product inspection system in use, showing the movement of the conveyor and laser module during inspection.
[0014] Figure 4 is a block diagram of the components of a quality inspection system.
[0015] Figure 5 is a graphical representation of the scan path of the laser system when moving only perpendicular to the transport path.
[0016] Figure 6 is a graphical representation of the scan path of the laser system when the laser system is moving both perpendicular to the transport path and in the same direction as the transport path.
[0017] Figure 7 Depicted are details of a process of converting a stored CAD model of an object into a point cloud for comparison with the point cloud from a laser system.
[0018] Figure 8 Processing of image data from an optical acquisition unit to identify details of an object under inspection is depicted.
[0019] Fig. 9A Depicted is a process of fusing data from a laser system with CAD model information to determine the difference between actual object dimensions and expected object dimensions.
[0020] Fig. 9B A system flow diagram is depicted for library generation of objects based on an object-based reference mesh model.
[0021] Fig. 9C Depicted is a flow chart of a system for registering and matching a target point cloud to a reference mesh model.
[0022] Fig.10 The process of tolerance determination performed by the system and method is depicted.
[0023] Fig.11 An example of a conveyor system that may be used in an inspection system to move an object being inspected past an optical acquisition unit and a laser scanning system is depicted.
[0024] Fig.12 A process for determining whether an inspected object is defective is depicted.
[0025] Fig.13 An example user interface that may be displayed to an operator is depicted. DETAILED DESCRIPTION
[0026] The present invention relates to a system and method for high-precision quality control inspection of an object. The system is configured to perform geometric inspection of manufactured parts for quality control and inspection (including first article inspection, key functional parameters and defect detection). The system can be used online within a manufacturing line to evaluate parts between machining tools, and at the end of a manufacturing line to evaluate the completed parts as they come out of the machine, or offline by physically placing the parts to be inspected on a conveyor. In particular, the system scans the three-dimensional (3-D) surface geometry of objects such as manufactured components, parts and products to detect defects. The system performs automated online or offline quality inspection by scanning the object with an optical acquisition unit and a laser module system and comparing the data from the object scan with a predetermined data file accessible to a system processor, which corresponds to the object being inspected.
[0027] To perform quality inspection, the system includes: a moving conveyor, such as a belt or roller, for conveying an object along an inspection path; an optical system for imaging the object at the beginning of the conveying path; and a laser module measurement system, such as a violet light or ultraviolet range wavelength laser profiler, for recording 3-D object geometry after the optical system on the conveying path. The laser profiler can capture 3D object geometry in the form of an unstructured point cloud. The system also includes a computer processor for calculating and storing data, which includes stored object data information, such as CAD data showing the expected size of the inspected object. An operator control panel and display can be set to allow an operator to view a CAD image from a storage database, view a laser-captured 3-D image of the inspected object, and view heat map and histogram information that details the difference between the CAD image from the storage database and the actual imaged object. The operator control panel can also allow the operator to modify the parameters of the inspection system, control the operation of the inspection system or pause the inspection system, and review defect information about the inspected object.
[0028] like Figure 1As shown, the quality inspection system 100 includes an optical acquisition unit 110 located at one end of a conveyor 150 that moves an object 160 to be inspected through the inspection system. The conveyor 150 can be, for example, a conveyor belt or roller system, and moves the inspected object along a conveying path in a direction A. The optical acquisition unit 110 can be an area or linear array optical system, including one or more image capture units. The optical acquisition unit 110 can be connected to a processing device that is configured to analyze the captured image of the object on the conveyor 150 in order to identify the object and the position and orientation of the object on the conveyor. A laser module 200 is included after the optical acquisition unit 110 along the conveying path. The laser module includes a laser driver 210 and a laser sensor 250. The laser module emits a laser beam 140, which is reflected from the inspected object 160 and then sensed by the laser sensor 250. The laser module 200 may be, but is not limited to, a laser profiler having an illumination beam with a wavelength in the violet or ultraviolet range for scanning an object and outputting a three-dimensional (3-D) unstructured point cloud. The laser profiler may measure depth using, but is not limited to, laser triangulation or time-of-flight displacement sensing. The system may also include an operator control panel 120 that allows a system operator to perform inspections of objects, modify inspection parameters, review object inspection results, and respond to defects or alarm notifications. The operator control panel may include a user input device 125, such as a keyboard, a mouse, or a touch screen, and may also include a display 128. An alarm notification device 130 may be included in the quality inspection system and may be a visual or audible alarm. The user loads the inspection system 100 with appropriate CAD models and tolerance data for one or more objects to be inspected. Objects exceeding a predetermined tolerance are identified as defective. The user may view the defective three-dimensional (3-D) coordinate point cloud changes relative to the CAD model through a heat map displayed on the user display 128, or define actions that should occur for defective objects.
[0029] like Figure 2 , which is a diagram of the components of a laser module 200, which includes a laser driver 210 that outputs a laser beam 140 having a cone shape. The laser beam 140 forms a line on a conveyor 150 that corresponds to a field of view 240. The length of the formed line is related to the width of the laser cone 230 of the laser beam 140 and the distance between the laser driver 210 and the object 160 being inspected. The laser beam 140 is reflected from the object 160 being inspected back to a laser sensor 250 on the laser module 200. In an alternative embodiment, the laser driver 210 can output a laser beam where the laser beam 140 is the point that strikes the object and is reflected by the object.
[0030] The laser module 200 can be a laser profiler. In particular, a laser profiler with a blue-violet laser using a wavelength of 405nm can be used because of its shorter wavelength. For metals and organic materials, a laser module with an illumination beam with a wavelength in the violet or ultraviolet range is superior to a standard sensor using, for example, a red laser diode. In addition, compared to laser modules using longer wavelengths in the red region, the shorter wavelength is less susceptible to objects that emit light due to thermal properties. The violet or ultraviolet wavelength minimizes the spread of the laser on the surface of the inspected object 160 and does not penetrate the object, thereby producing more accurate measurements, which can allow for detection and measurement of a wide range of objects made of plastics, metals, glass, and other materials, regardless of feature surface finish.
[0031] Figure 3A and Figure 3B The system configuration for performing product quality inspection is shown in FIG. Figure 3A As shown, according to one embodiment, the inspection system may include a conveyor 150 that moves the inspected object 160 in a direction A. The laser module 200 may be included in a direction that allows it to move perpendicular to the conveyor, for example, in Figure 3A on a guide that moves in directions B and C as shown. As the laser module moves perpendicular to the direction of the conveyor, the laser field of view 240 makes multiple passes over the object being inspected. Recall that the laser beam 140 forms a line on the conveyor 150 that corresponds to the field of view 240, which is parallel to the direction of the conveyor 150 as shown in direction A. During each pass, the field of view of the laser module scans the object multiple times. Overlapping scans of the object (i.e., raster scans) can be used, which reduces the noise inherent in the translation of the object 160 on the conveyor 150 and the translation of the laser module 200, and increases the sampling resolution. Having multiple data per point on the point cloud allows the overall scanning error to be reduced by minimizing the variance of the data. Figure 3A In the configuration shown, the laser module 200 can be rotated 90 degrees so that the laser field of view 240 is parallel to directions B and C. In this case, the laser module 200 captures a scan of the object equal to the width of the laser field of view 240. The laser module 200 continues to move across the conveyor 150 in directions B or C. When the laser module 200 has traveled a distance equal to the laser field of view 240, the laser module 200 captures another scan. Figure 3B In the alternative configuration shown, the laser module 200 can be positioned on a guide that allows it to move parallel to the conveyor 150. The laser module can be moved back and forth over the object being inspected, with the reflected laser cone repeatedly passing over the object. Figure 3B In the embodiment, the laser module 200 is oriented from Figure 3ARotate 90° so that the laser field of view 240 is perpendicular to the conveyor 150. The laser module 200 moves in direction D, thereby scanning the predetermined area. When the laser module 200 reaches the end of the predetermined area, the laser module 200 travels in direction C a distance equal to the width of the laser FOV 240 before starting another scan in direction E. As the laser module 200 moves in direction C, the laser module continues to scan in directions D and E. Once the laser module 200 has scanned the width of the conveyor, it repeats the process of scanning in directions D and E as the laser module 200 moves in direction B.
[0032] During the inspection process, as the object moves along the conveyor, it is first imaged by the optical acquisition unit 110. As described above, the captured image of the object is used both to identify the object and to determine its position and orientation in the quality inspection system. The determined coordinate position and orientation of the object 160 on the conveyor 150 can be sent to a processing unit connected to the laser scanning profiler module. The processing unit can control the laser profiler so that it only scans the area of the conveyor where the object is located. Alternatively, the profiler can be configured to scan the entire width of the conveyor, rather than focusing on a specific area where the object is located. As the profiler scans the entire conveyor, the point cloud generated by the scan is cropped for the area of the conveyor where the object exists - based on which the optical system finds the part. When scanning the entire width of the conveyor, multiple objects may be present in the same profiler scan, which can then be separated during subsequent processing. In addition, the laser profiler module can locate the part and extract the part directly from the background.
[0033] Once the inspected object is identified based on the captured image from the optical acquisition unit, the system processing unit 170 loads the CAD data corresponding to the identified object from the CAD model database 425 and converts it into a uniform point cloud. The point cloud from the laser profiler will be superimposed and registered with the CAD point cloud. The deviation between the CAD point cloud and the point cloud from the laser profiler is calculated to create a differential heat map. By analyzing the CAD model of the object, the point cloud from the laser profiler, and the 3-D registered heat map of the difference with the original CAD model, the operator can use the 3-D registered heat map to visualize any changes in the object from the CAD model. Over time, these visualizations of object changes will be recorded together with object counts, cavity locations, material composition, and other factors related to the monitored manufacturing process. The visualization is presented in a selectable chronological sequence using an object illustration containing a 3-D registered heat map. Each individual image of the object is also registered so that the operator can observe a representation of the degradation condition represented by the heat map over a selected period of time. This form of dynamic visualization can be used for diagnostic purposes by providing an illustration of the wear pattern and determining in advance when the production of a given object will exceed tolerance by projecting the monitored degradation, thereby preventing the manufacture of defective objects such as parts or assemblies. To further distinguish between minor changes in the 3-D registered heat map, the visualization of these changes can be enhanced by using different colors, textures and / or patterns. Computed and synthesized heat map projections of monitored degradation can also be provided for diagnostic purposes.
[0034] In addition, a histogram of the errors may be presented to the operator. The system may be configured to identify and mark parts that exceed predefined tolerances as defective. The user may configure the system to issue a notification, stop production, or sort defective parts from other parts using a part selector or similar device.
[0035] Figure 4 A block diagram is shown, which shows a schematic diagram of the components of the quality inspection system. Figure 4As shown, the inspection system 100 includes an optical acquisition unit 110. The optical acquisition unit includes an optical imager 400 for capturing an image of an object to be inspected, and an image A / D converter 402 converts an analog image signal output from the optical sensor 400 and generates digital image data, which is then output to a pixel correction 404. As described above, the imaging device 400 has an image capture element using a CMOS (complementary metal oxide semiconductor) arranged in a row in a main scanning direction perpendicular to the conveying device 150 as shown by arrow A. As described above, the image capture device may be a CIS (contact image sensor). In addition, an image capture sensor using a CCD (charge coupled device) may also be used instead of a CIS. The optical acquisition unit 110 may also include a stereo imager. The pixel correction 404 corrects any pixel or magnification abnormalities. The pixel correction 404 outputs the digital image data to an image controller 440 within the system processing unit 170. The system also includes a first laser module 200a, and optionally a second laser module 200b. Although two laser modules are shown, the system may include any number of laser modules. Using more laser modules, the system can capture the outline of larger objects during the inspection process, or capture more outlines of complex objects. The use of multiple laser modules further minimizes occlusions or shadows. Occlusion is the interruption of the laser beam 140 from the laser driver 210 to the object and back to the laser sensor 230. For example, by understanding the object orientation determined by the optical acquisition unit 110, the laser module 200 installed in the quality inspection system 100 can be manually or dynamically changed to optimize the viewing angle, field of view, or working distance so as to minimize occlusions or shadows to control the position and movement of the laser module 200 for optimal scanning. Each laser module 200a, 200b includes a laser driver 210, a laser sensor 250, and a laser processing device 405. The laser processing device 405 can be a microprocessor or processing circuit, or can include a communication module to receive processing commands from an external processing device. The laser processing device packages an unstructured point cloud representing the measurement data and sends it to the image controller 440, which stores the data in the laser coordinate memory 435.
[0036] The optical acquisition unit 110 sends the digital image data to the image controller 440. The image processing unit 485 then processes the digital image to identify the scanned object. Based on the characteristics of the identified object 160, predefined setting parameters or recipes for the laser module 200 can be pulled from the system memory 455 to optimize the configuration of the laser module 200. The characteristics of the object related to the predefined setting parameters in the system memory 455 can be, for example, reflectivity, color, geometry, or surface modification. The predefined setting parameters or recipes can be the intensity, profile per second, or exposure of the laser driver 210.
[0037] The operator configures the inspection system 100 to perform the required inspection through the operator control panel 120 or the network interface 445. The operator control panel 120 includes an operator input device 125, which can be, for example, a mouse, keyboard, touch screen or touch pad. An operator display 128 and an alarm notification device 130 can also be included in the operator control panel. The alarm notification device 130 can be, for example, a red, yellow and green light stack, an audio alarm or other visual alarm mechanism. The network interface 445 allows the system to communicate with external processing units and network devices. The network interface can be connected to a local area network, a wide area network or the Internet through a wired or wireless connection. The network interface can be any form known to those skilled in the art, including but not limited to Ethernet, USB, Wi-Fi, cellular or other data network interface circuits. The network interface 445 also provides a means for remotely controlling the inspection system 100 by providing various types of information required for the inspection. The network controller 490 manages the network interface 445 and directs network communications to the image controller 440 or the machine controller 430.
[0038] The system memory 455 may also be connected to the system processing unit 170, and other processing components in the inspection system. The system processing unit 170 and other processing units may be, for example, one or more microprocessors, one or more coprocessors, one or more multi-core processors, one or more controllers, processing circuits, ASICs (Application Specific Integrated Circuits) or FPGAs (Field Programmable Gate Arrays) or combinations thereof. The processing unit may be configured to execute instructions that are stored in the system memory 455 or otherwise accessible to the processing circuit, such as accessed through a communication network via a network controller 490. These instructions, when executed by the processing circuit, may enable the inspection system to perform one or more of the functions described herein. The memory 455 may include volatile and / or non-volatile memory, and may be a hard disk, random access memory, read-only memory, cache memory, flash memory, optical disk, or a circuit configured to store information. The system memory 455 may be any non-temporary computer-readable storage medium that communicates with the system processing unit. The memory may be configured to store information, data, applications, or program instructions, thereby allowing the system processing unit 170 and other processing units to control the inspection system and perform the inspection process.
[0039] The system processing unit 170 includes an image controller 440 configured to receive and analyze images from the optical acquisition unit 110. The images received from the optical acquisition unit 110 are stored in an image buffer memory 475 to maintain the processed images. An image processing unit 485 is connected to the system processing unit 170. The image processing unit 485 is configured to receive captured images in digital form and after pixel correction from the optical acquisition unit and to further process the images. These captured images may be stored in an image buffer memory 475, which is connected to the image processing unit 485, the system processing unit 440, or both. The image buffer memory stores the most recently captured images sent by the optical acquisition unit during the inspection process. As part of the processing, the image processing unit 485 may interact with the image controller 440 of the system processing unit 170. The system also includes a CAD model database 425, which stores CAD data profiles for objects inspected during the quality control inspection process. The CAD model database 425 may include predetermined CAD configuration files for objects expected to be inspected, and may further be an updateable database that allows a user to manually or automatically store additional CAD configuration files for new objects to be inspected in the database. For example, the CAD model database 425 may be updated by performing the following process for uploading a CAD model stored on a local memory, or uploading a CAD model through a network communication interface.
[0040] The image controller 440 is also configured to receive and analyze the unstructured point cloud measurement data from the laser module units 200a and 200b. The unstructured point cloud data received from the laser module unit 200 is stored in the laser coordinate memory 435 for further processing by the image processing unit 485.
[0041] The machine controller 430 is configured to control the operation of the optical acquisition unit 110 and / or the laser module unit 200a, 200b. For example, the machine controller can control the timing of image capture, and / or use the image capture data to control the movement of the conveyor 150, including the conveying speed, and the movement and scanning of the laser module unit. The timer unit 480 and the part position detector 450 and the defect detector 460 can be included in the system processing unit 170. The part position detector can be configured to determine the position and orientation of the inspected object, including the position on the conveyor and the orientation relative to the conveyor or the orientation of another fixed coordinate in the system. The defect detector 460 is configured to determine whether the product is within a certain tolerance level based on a comparison between the laser module scan of the inspected object and the stored data file of the expected size of the object. If the product is not within the tolerance level, the defect detector may issue a defect warning. The defect detector can also be configured to determine defects based on captured images from the optical acquisition unit 110.
[0042] The part rejection unit 470 may communicate with the defect detector 460 in the system processing unit 170. The part rejection unit 470 may receive information from the defect detector 460 and, based on a determination of whether the defect meets a predetermined quality threshold requirement, issue a command to stop the inspection process, mark the inspected object as defective. The part rejection unit 470 will track defective objects in conjunction with the timer unit 480 and take action to remove the defective object from the conveyor 150, or alert an operator to the defect condition through, for example, the alarm notification device 130 or the network interface 445.
[0043] The image inspection system also includes controls for controlling the conveyor 150 and the laser module 200 during the inspection process. The conveyor motor control 465 can control the speed and timing of the conveyor mechanism that moves the object along the inspection conveying path. For example, the conveyor motor control 465 can be connected to a motor that drives a conveyor belt or roller that forms the conveyor 150, and can drive the motor at a variable speed to control the speed of the inspected object. When a defective object is detected, the conveyor motor control can also stop the conveyor 150, allowing the operator to have time to remove the object from the inspection line or take other appropriate measures. Two laser motor controls can be included, wherein the laser XY motor control 410 controls the movement of the laser module 200 in the XY plane, and the laser Z motor control 420 controls the movement of the laser module unit in the Z direction (or height). For example, the laser XY motor control 410 can move the laser module unit 200 in the X direction to cause the laser to traverse the width of the conveyor 150, so that the laser field of view 240 scans the inspected object multiple times. The laser Z motor control 420 can move the laser module up and down so that the system can inspect objects of different heights. This allows the distance between the laser driver 210 and the object 160 being inspected to be maintained.
[0044] Figure 5 Movement of the laser module 200 is shown during a scanning process in which the object moves in direction A and the laser module moves only in a direction perpendicular to direction A. The laser module 200 is rotated 90 degrees so that the laser field of view 240 is parallel to direction A. As shown, the field of view 240 of the laser cone scans a path across the conveyor 150 as the laser module moves in directions B and C, which are perpendicular to direction A. As part of the raster scanning process, the laser module moves alternately in directions B and C, repeatedly crossing the object as it scans. The laser module thus creates an overlapping scan pattern with a tilt relative to the object 160 being inspected, the tilt being imparted because the object being inspected continues to move in direction A as the scan is performed. Overlapping scans can be performed by changing the speed of the conveyor 150 or the laser module 200. In order to completely cover the part being scanned, the following relationship must hold:
[0045]
[0046] Where Y is the length of the laser field of view 240, and W is Figure 5The distance that the laser module 200 is shown to scan across the conveyor 150, and V_B and V_L are the speeds of the conveyor 150 and the laser module 200, respectively. When this relationship holds, the laser field of view 240 will overlap with the object being inspected, allowing multiple point cloud data points to be captured for the same spatial location. Additionally, this allows the system to be calibrated with respect to position discontinuities such as those caused when the conveyor is not parallel to the laser module.
[0047] Another consideration is the angular relationship between the laser field of view and the conveyor. If the angular relationship is not zero, that is, they are not parallel, then one end of the laser field of view will be closer to the conveyor than the other end. Figure 3A As shown, the object moves in the A direction, so any point on the surface of the object will appear to increase or decrease in the Z direction or height based on the angular relationship of the laser field of view with respect to the conveyor. Figure 5 As shown, as the laser module traverses in directions B and C, each laser traverse made on the object will create a step in the Z direction in the scan data as the object travels through the laser field of view angular relationship in the A direction. This angular relationship can be compensated for by performing a calibration. In this calibration, a scan of the conveyor is performed without any object present. It is known that any height difference between the two end points of the laser field of view is due to the angular relationship. The angular relationship can be stored in the system memory, allowing the system processing unit to subtract any steps in the scanned data.
[0048] Similarly, the angular relationship direction A of the object must be zero degrees with respect to the laser field of view. In this case, any point on the surface of the object will appear to move in direction B or C based on the angular relationship of the laser field of view with respect to conveyor direction A. In this calibration, a scan of the calibration target is used to determine the angular relationship. It is known that any step difference along the edge between the two laser module traverses is due to the angular relationship. The angular relationship can be stored in the system memory, allowing the system processing unit to subtract any steps in the scan data.
[0049] The distance W that the laser module scans across the conveyor may be the width of the conveyor 150 when scanning the entire conveyor, or may be an area of the conveyor if the location of the object on the belt is known. By setting W to correspond to only an area of the conveyor when the location of the object is known, a higher scanning throughput at the same resolution, or the same throughput at a higher resolution, may be achieved.
[0050] By performing this overlapping scanning process, objects larger than the laser field of view 240 can be scanned and noise is also reduced. When traversing the laser over a larger area, this configuration allows for higher resolution images to be captured based on the motor step size and acquisition rate and is not limited to the inherent resolution of the profiler itself.
[0051] As described above, performing overlapping scans helps reduce noise. Since the object and laser module 200 move during the inspection process, noise is introduced by inherent measurement errors and mechanical noise. By performing scans so that there is overlap in the scans of segments of the object being inspected, multiple point cloud data points are created for the same spatial location on the object. This multiplicity of point cloud points for a single spatial location allows the mean and variance (or confidence interval) of that spatial coordinate to be calculated. By performing several scans of a portion of the part being inspected and averaging the data, not only is the overall noise in the system reduced, but the remaining noise is accurately calculated and reported.
[0052] Figure 6 1 shows a scanning process in which the laser module 200 moves along the transport path in the same direction as the object 160 and also moves perpendicular to the transport path. By moving in the same direction as the object and at the same speed as the object in that direction, the scanning does not introduce tilt. For example, Figure 6 As shown, the laser module 200 can move along the conveyor 150 in a direction C perpendicular to the direction A of motion of the object 160, wherein the laser field of view 240 scans a path across the conveyor 150 in a raster scanning process. Figure 5 The laser module 200 moves only in the directions B and C which are perpendicular to the direction A. Figure 6 In the process shown, the laser module 200 also moves in direction A at the same speed as the object as it scans. When the laser module reaches the end of the scan, it then moves a distance A' equal to the length of the field of view 240 of the laser. The laser module 200 then reverses direction and moves in direction B while moving in direction A at the same speed as the object 160. Thus, relative to the object 160, the laser module 200 scans the entire object once, as shown in FIG. Figure 6 shown.
[0053] Figure 7 425 is a flow chart showing a process that is performed to convert a CAD model into a format that can be used to interact with the corrected 3-D point cloud data obtained from the laser module 200 scan of the object being inspected. The CAD model can be in a dgn, dwg, dxf or stl file format, or other formats that allow for the generation of CAD files. The process can be performed in real time as the object is inspected, or can be performed before initiating a quality inspection on the object. When performed before initiating an inspection, the CAD model of the object expected to be inspected can be retrieved and processed, with the results stored in the CAD model database 425. As shown in FIG. Figure 7As shown, a CAD model 700 is loaded into the system, and then a mesh conversion step 705 is performed on the CAD model to obtain a CAD mesh 710. Then, an extract plane step 720 is performed on the CAD mesh 710 to obtain a CAD plane mesh 730. The CAD plane mesh 730 represents a plane or view of an object from a predefined viewpoint. These planes or views can be manually generated in advance by editing the CAD model using CAD editing software such as MeshLab, and can be used for the extract plane 720 step. In an alternative embodiment, the plane or view can be automatically identified based on the natural static position of the object with reference to the orientation of the conveyor. The orientation of the conveyor can be obtained by scanning the object from above to capture the conveyor in the scan. Once defined, these planes can be automatically generated. Then, the key function (CTF) parameters of the CAD plane mesh 730 can be extracted by extracting CTF parameters step 735. These CTF parameters are user-defined dimensions that need to be measured and verified. These parameters can be manually identified by an operator or automatically determined by system processing. For example, many times, a soft copy or hard copy drawing of an object is set to include tolerance and CTF data, which can be extracted using document processing or OCR software. Based on the extract CTF parameters step 735, CAD CTF parameters 770 are generated and stored in the CAD model database 425. The CAD plane mesh 730 also undergoes a format conversion step 740 to generate a CAD point cloud 750 and a CAD range image (depth image, distance image) 760, which can also be stored in the CAD model database 425. The CAD range image 760 represents the six faces of the object being inspected.
[0054] Figure 8is a flow chart showing the processing performed on the image data from the optical acquisition unit 110. The processing includes identifying the inspected object on the conveyor 150 and the position and orientation of the object 160 on the conveyor 150. As shown, the optical acquisition unit 110 performs image capture 800 of the object 160, generating at least one digital image 810 of the object. The digital image 810 then undergoes a segmentation process step 820, and a bounding box 830 is generated, which can be applied to the digital image 810 to locate areas of interest that may be inspected objects or features of the inspected objects. These bounding boxes 830 can be used as input to the system processing unit 170 to determine the scanning area of the laser module 200. In a part extraction step 840, separated parts 850 defined by the bounding boxes within the digital image 810 are extracted. A part recognition and lookup process 860 is then performed on each separated part 850 from the digital image 810. As part of the process of identifying objects, a pattern matching process is performed in which the system performs a CAD model lookup 865 to compare objects located in the CAD model database 425 with the separated part 850. The bounding box 830 may contain different inspected objects that require reference to different CAD models. The pattern matching process may be any known pattern matching algorithm. When a match is found in the CAD model database 425, the associated CAD point cloud 750 is identified for subsequent processing. In addition, the CAD range image 760 is identified, which is then used in the part registration step 880 to identify the translation and orientation matrix 890, which is used to rotate the CAD data to match the orientation of the point cloud obtained from the laser module 200 scan of the object 160, as explained below. In an alternative embodiment, the surface size of the object 160 in the digital image 810 can be determined and used as a substitute for the pattern matching used in the part identification and lookup process 860.
[0055] Fig. 9A A process for fusing data from laser module scanning with information obtained from CAD model information for the scanned object is shown. The process determines the difference between the actual object size obtained from the laser scan and the expected object size based on the CAD model tolerance. Fig. 9A As shown, raw, unstructured point cloud data 900 is obtained from the laser module scanning of the object 160, as described above with respect to Figure 5 and Figure 6As described. Due to the continuous traverse of the part while the laser modules scan orthogonally, the line profile data sets (raw cloud data acquired by a single laser field of view 240 line of the laser driver 210) will be offset from each other by a distance equal to v*Δt, where v is the traverse speed of the object and Δt is the time interval between a line scan of the object and the next line scan. Alternatively, the timer unit 480 generates a trigger signal to the laser module 200 to capture the line profile. The timer unit 480 also generates a trigger to the machine controller 430 to capture the position data of the conveyor and the laser module. As opposed to calculating the position based on speed, the use of a trigger signal allows the system to read position data from, for example, an encoder. In both cases, re-phasing of the raw point cloud data 910 is implemented to align and average these multiple point clouds in a single re-phased object point cloud 920. In order to obtain an accurate point cloud representation of the object, the raw point cloud data is re-phased by translating all points in the point cloud by an amount equal to -v*Δt. Alternatively, Δt can be considered as the total time elapsed from a set time, such as the time the machine is used, to the current line scan timestamp.
[0056] The inspected object is then registered to the CAD model 930 for the specific object. As part of the registration process, the CAD point cloud 750 and the translation and rotation matrices 890 are retrieved. The re-phased object point cloud is also registered to the CAD model at 940 so that the point cloud is aligned with the CAD model. That is, the obtained re-phased point cloud is superimposed on the CAD model information for the specific object. The difference between the CAD model point cloud 875 including the structured data and the registered point cloud 940 is then calculated at step 950. A subtractive match may have been performed to align the CAD model to the point cloud data as closely as possible. The match finds the minimum total square difference between the CAD model and the point cloud to determine the best overlap between the two. In calculating the difference 950, for each point on the CAD model that has an associated re-phased point cloud point, a D value representing the absolute difference between the spatial coordinates of the two points is calculated. The D value will be calculated as the magnitude of the vector of the two points.
[0057] D=√(〖|x_1-x_2|〗^2+〖|y_1-y_2|〗^2+〖|z_1+z_2|〗^2)
[0058] Where x, y, and z represent the spatial coordinates of CAD and point cloud data.
[0059] This same D value is used in the CAD model registration process described above, where the CAD model is registered to the point cloud data based on the orientation where the variance of the D value is at its minimum.
[0060] After calculating the differences, a set of point cloud differences 960 are obtained in the form of D values for each point. A heat map creation process 970 is then implemented to generate a heat map 980 that shows areas of high deviation between the CAD model and the point cloud obtained from the object scan. The operator can use the heat map to determine whether the deviation between the dimensions of the actual object being inspected and the expected dimensions of the object from the CAD model database is outside the predetermined tolerance level set in the extract CTF parameters 735. If the heat map 980 shows an area outside the tolerance level, the part can be identified as defective. The heat map can be user-configurable, where the user sets predetermined limits for when the deviation will be considered relevant enough to be indicated on the heat map.
[0061] Fig. 9B and Fig. 9C Shown from Fig. 9A Details of the registration process 930. The entire registration process is divided into two stages: 1) library generation, and 2) point cloud registration. Fig. 9B A library generation step for creating a set of eigenvectors (or weights) for use in the next stage is depicted. As shown, the system receives a reference 3D mesh model 9101 that represents the entire geometry of a rigid object. Then, various static positions of the rigid object are calculated 9102 based on the convex hull and center of gravity of the reference mesh model. The static position of a rigid object is a position where the object is stable on a horizontal plane. For each of these static positions of the rigid object, a view library 9103 is generated based on multiple rotation versions (e.g., 360, in increments of 1 degree) of the reference mesh model. Specifically, the view corresponds to a 2D projection of the reference 3D mesh model at a given static position and a specific angle. Note that downsampling can be applied during the 2D projection process to reduce computational costs. The view library is then processed in the eigenspace using principal component analysis to generate a set of eigenvectors (or weights) 9104 for each element in the library set. Finally, the system saves the eigenprojection library (or projection matrix) and the set of eigenvectors 9105. If more than one rigid object is considered in the system, steps 9101 to 9105 can be repeated to generate a final library (or projection matrix) and feature vector set. These saved libraries and feature vector sets will be used in the next step for 2D and 3D point cloud registration, such as Fig. 9C As described in.
[0062] Fig. 9CThe 2D and 3D registration and matching process of the point cloud is depicted. As shown, the system receives a target 3D point cloud 9201, which can be a re-phased part point cloud. The target point cloud represents the geometry of a rigid object in one of its static positions. The corresponding rigid object can be one of the rigid objects considered in the previous library generation stage. Next, the saved eigenprojection library (or projection matrix) and feature vector set 9202 are loaded. Then, in step 9203, the 2D projection of the target point cloud is calculated to generate its eigenvectors (weights) based on the eigenprojection library generated from the previous stage. Note again that downsampling can be applied during the 2D projection process to reduce computational costs. It is assumed that the eigenprojection library is generated using the same rigid object. In step 9204, a rough registration is performed by identifying the static position and rotation angle of the rigid object that best matches the target point cloud. This is achieved by finding the best match or closest distance between the eigenvector of the target point cloud and the saved eigenvector set of the rigid object using the corresponding reference mesh model from the previous stage. Metrics such as minimum mean square error or other error metrics can be used to calculate the distance (or matching error) between feature vectors.
[0063] Then, an initial corresponding geometric transformation between the target point cloud and the reference mesh model, originating from the stationary position and angle identification step, is generated 9205. The rigid 2D geometric transformation includes information such as translation and rotation matrices. Next, the obtained geometric transformation is applied to the target point cloud 9206. The output of this step is a translated and rotated target point cloud that will be roughly aligned with the identified reference mesh model (and associated rigid objects).
[0064] This is followed by a fine 3D registration step 9207, which completes the entire registration process. Fine 3D registration 9207 can use an algorithm such as iterative closest point (ICP), which is a popular algorithm due to its simplicity. The input to the algorithm is the target and reference point clouds, an initial estimate of the geometric transformation that aligns the target with the reference (from step 9205), and a criterion for stopping iterations. The output of the algorithm is a refined geometric transformation matrix. The algorithm includes:
[0065] 1. For each point in the target point cloud (either from the entire set of vertices, which is usually called dense, or from selected pairs of vertices in each model), match the closest point in the reference point cloud (or in the selected set).
[0066] 2. The combination of rotation and translation is estimated using a root mean square point-to-point distance metric minimization technique that best aligns each target point with its match found in the previous step. Additionally, points can be weighted before registration and outliers can be rejected.
[0067] 3. Use the obtained transformation to transform the target point.
[0068] 4. Iteration (reconnect points, etc.).
[0069] Then, based on the improved geometric transformation matrix obtained in the above fine 3D registration step, the final geometric transformation between the target point cloud and the reference mesh model is determined 9208. Note that, in general, the geometric transformation is an affine transformation consisting of one or a combination of translation, scaling, shearing or rotation transformations.
[0070] The final geometric transformation is then applied to the target point cloud 9209 to obtain the final alignment or registration with the reference mesh model. Finally, the difference between the transformed target point cloud and the same reference 3D mesh is measured 9210. The matching results are recorded online or passed to the next step of the inspection system 9211.
[0071] Fig.10 A description is provided of how a quality inspection system checks for defects in an object being inspected. For example, the system may automatically check tolerances to a defined CTF specification and notify the operator if a system tolerance is exceeded during the inspection of an object. For example, when inspecting manufactured parts from a casting mold, the casting mold will wear over time. As the casting mold wears, the part from the casting mold will have dimensions that are changed from the expected dimensions in proportion to the amount of wear on the casting mold. When the casting mold becomes excessively worn, the part produced will no longer be within tolerance for its normal and intended use. As Fig.10 As shown, we also searched for Fig. 9A , and the CAD CTF parameters 770 are taken and used in step 1010 to determine whether each point in the registered point cloud is a CTF. If the point is not a CTF point, then the point is ignored at 1015. However, if the point is a CTF, then the operating tolerance is updated at 1020. A check is then made at 1030 to determine whether the operating tolerance exceeds a predetermined threshold. If the threshold as defined by the extracted CTF parameters 735 is not exceeded, then at 1050 it is determined that the operating tolerance is within acceptable limits. However, if the operating tolerance exceeds the predetermined threshold, then the system notifies the operator 1040. In another embodiment, the defective objects may be automatically removed from the conveyor 150 using any removal method known in the industry.
[0072] Defects that are unique to manufacturing parts by injection molding may include flow lines, burn marks, shrink marks, spray marks, delamination, undershot, flash, or other defects known to those skilled in the art. In an alternative embodiment, the CAD CTF parameters 770 may include surface defects or optical characteristics, such as but not limited to color, texture, or modification, to identify contaminants such as dust, oil, or other foreign matter present in the separated part 850 within the digital image 810 captured by the image acquisition unit 110. In this embodiment, step 1010 will determine whether the optical characteristics exceed the specified optical CAD CTF parameters.
[0073] Fig.11 An embodiment of an inspection system using a conveyor belt as a conveyor 150 is provided. The conveyor belt can be placed around rollers 1120, which move the conveyor belt when the rollers 1120 rotate in the direction shown in A. The rollers can be driven by the conveyor motor control 485. As shown, the optical acquisition unit 110 is located at a first position along the conveyor 150, and the laser module 200 including the laser driver 210, the laser sensor 250 and the laser cone 230 is located farther downstream on the inspection path. The object 160 being inspected is moved by the conveyor belt so that it passes under the optical acquisition unit 110 and the laser module 200. Optionally, a belt tensioner 1140 can be set under the moving conveyor belt to provide a solid surface for inspection and remove any vibrations in the conveyor belt. The reduced vibrating motion reduces noise in the obtained optical image and laser scan of the inspected object. As shown in FIG. Fig.11 As shown, the conveyor belt can be marked to allow automatic calibration of the optical acquisition unit 110 or the laser module 200. Bevel marks such as scale lines 1110 along one or both sides of the conveyor are used for calibration and position identification on the conveyor. In addition to the scale lines, other marks can also be included to help identify the object being inspected or the position of the object on the conveyor. These references can include numbers, scale lines of different shapes, or other identification marks. As an example, a single reference scale on both sides of the conveyor can be used. The scale line will be elongated relative to other uniform scales for easy identification. The system can perform a modulation transfer function (MTF) of the scale line, and the scale line can be used as a reference to additionally calibrate the sharpness, scintillation, focus, and depth of field of the optical acquisition unit 110. Due to the uniformity of the scale line, both the optical acquisition unit 110 and the laser module 200 can be calibrated for position, depth of field, and resolution, together with identifying image and point cloud distortions caused by the non-verticality of the tool. Based on this data, the distortion can be calculated and corrected. The tick marks may also control velocity tremor by identifying any changes in velocity that are not registered by conveyor motor control 465. This information may be used to correct the rephasing point cloud data 910 by adding a phase shift.
[0074] Fig.12 A flowchart is provided that details an overview of the process of determining whether an inspected object is defective. As shown, a CAD model of an object is uploaded and converted at 1200, resulting in a CAD model mesh point cloud. As the object 160 moves along the conveyor 150 in the inspection system 100 and into the optical acquisition unit 110, an optical image is captured at 1210. The object 160 then moves further along the conveyor 150 and passes under the laser acquisition module 200 that performs laser scanning. The laser scanning causes a 3-D point cloud of the object to be captured at 1230. At step 1140, the 3-D point cloud of the object is aligned with the CAD model point cloud, and then a comparison is made between the two at 1250. The difference of the points is determined, and it is determined at 1260 whether the inspected object 160 is defective. If the object 160 is defective, the object can be rejected from the conveyor, and statistics about the defective object can be updated at 1270. If the object is not defective, the statistics are updated at 1280 to count another acceptable product that has passed the inspection process. The statistical data may include environmental characteristics such as temperature and humidity and operating tolerances for key functional parameters. The statistical information may be associated back to the mold or specific cavity based on numbers or other unique features formed on the object. The statistical information may be used to schedule preventive maintenance of the machine and molds.
[0075] Fig.13 An example user interface that may be displayed to an operator is provided. The user interface 1300 may be displayed to the operator on the operator display 128 or remotely via the network interface 445. The user interface 1300 may be updated in real time as the objects 160 are inspected, or the operator may review historical data for inspected objects or statistical trends. The user interface 1300 may organize the inspected objects to show only those that are out of tolerance or close to being out of tolerance so that the operator can focus on problem areas.
[0076] The user interface 1300 may include a display of a CAD model 1310, a point cloud 1320 from the laser model 200, and a histogram 1350 of errors and a 3D heat map 1330 of errors. The operator may select the CAD model 1310 to open the CAD model database 425 to display, add or edit CTF parameters as used by the extraction CTF parameters 735. The point cloud 1320 may be the original part point cloud 900 or the registered point cloud 940 as defined by the operator's preferences. The operator may also define whether data from one or more plane scans is displayed in the 3D heat map 1330 of errors. An inspection report 1340 may also be displayed. The inspection report 1340 may include key functional parameters with ranges and actual measurement values. The results may be color-coded to enable the operator to quickly identify measurements that exceed tolerances. For example, red may be used to indicate that a measurement exceeds its tolerance, while yellow may indicate that the measurement is close to tolerance. The user interface 1300 may also allow the operator to edit key functional parameter limits, thereby changing what is acceptable or unacceptable. The inspection report 1340 may also include a diagram of the object with the measured dimensions of the object displayed directly on it. Overlaying the measured dimensions with the diagram displays the measured results in a format similar to the original diagram specifications. The user interface 1300 may also include historical trends of key functional parameters and statistical process control information across multiple batches or shifts. Using trends and statistical process control, the wear of the mold over time can be identified and tracked. The data can be used to correlate changes in incoming materials or process changes such as temperature or pressure. The operator can take appropriate measures to fix or replace the mold that produces objects that exceed the tolerance range. In the case where the mold has multiple cavities, objects in a specific cavity can be identified and tracked across multiple batches or shifts.
[0077] In injection molding, operators need the ability to qualify new molds or assess the wear of existing molds. A baseline CAD model of the mold can be loaded and overlaid with a color heat map of the error of the mold overlay object or batch of objects to indicate where the mold tolerances have been exceeded. This will characterize and track the mold from its initial installation to the time it needs to be repaired or replaced. A display of the heat map over time can be provided to the operator to show the operator the wear of the mold over time.
[0078] Each mold may contain one or more cavities from which an object is produced. When the mold is constructed, each cavity will be produced based on the CAD model. When the mold is designed, each cavity will have a unique deviation from the CAD model. When the mold is made to produce a cavity CAD mesh that is unique to each cavity, each cavity can be characterized. Using the cavity number or by using the cavity-unique deviation as a cavity signature, an operator is able to identify which cavity produced a defective object. This will characterize and track each cavity from its initial installation to the time that the cavity needs repair. This can be displayed to show the operator the wear of each cavity over time.
[0079] A general summary of the system and process is described below. An operator using the inspection system first loads a CAD model for the object to be inspected into the inspection system. As described above, the CAD model may already be included in a CAD model database, or loaded into the CAD model database by an operator prior to beginning the inspection process. The object to be inspected is then placed on a conveyor, either manually or automatically by the operator, and the conveyor motor control drives the conveyor so that the object is moved into the system at a known speed. As the object moves into the optical acquisition system, the optical acquisition system captures at least one image of the object. The at least one image is sent to a system processing unit, such as described above with respect to Figure 4 The system processing unit described herein analyzes the image and determines the surface contour of the object. The system processing unit performs a pattern matching technique between the determined surface contour of the object and a CAD range image from a CAD model database. Based on the pattern matching results, a corresponding CAD model is selected from the database to be compared with the inspected object. The system processing unit also uses the captured image to determine the position and orientation of the object on the conveyor.
[0080] As the object moves along the conveyor within the laser field of view, the system processing unit instructs the laser module where to collect data along the conveyor. As the object moves along the conveyor, the laser module traverses back and forth within a predetermined area perpendicular to the conveyor direction so that the laser module field of view passes over the object one or more times. The reflected laser light is received at the laser sensor, and the received laser light is used to generate a 3D point cloud of the scanned object. The raw part point cloud of the scanned object is sent to the system processing unit, which corrects the point cloud based on the speed at which the object moves along the conveyor and the speed and direction of the laser module when the scan is performed. As previously described, correction of the point cloud can also be performed by using position data. This corrected 3-D point cloud of the object is then prepared for analysis.
[0081] The system processing unit retrieves the CAD point cloud determined to match the part profile from the part identification and lookup process. The CAD point cloud is rotated so that it matches the coordinate geometry of the determined object. The corrected 3-D point cloud from the laser scan of the object is then inserted into a predetermined geometric grid for comparison with the CAD model. Through subtractive reasoning, the inserted corrected 3-D point cloud is paired with the CAD model, and a series of D values are calculated for each point in the point cloud and associated with each point in the point cloud. The D value is the subtractive difference between the relative position of the CAD model corresponding to the inspected object and the corrected 3-D point cloud data of the object 160. Based on user preferences, the D value can correspond to a set color. For example, the user can select red for D values outside the predetermined tolerance tolerance and green for values within the tolerance. The predetermined tolerance is based on how much deviation is allowed between the CAD model of the object and the point cloud of the scanned object. The CAD model with the color overlay will be generated and saved in the report, and a smoothing process can be applied to make the color look uniform in the final overlay of the heat map. Smoothing of the D value parameter may be performed by averaging or other means to obtain smooth grayscale between color-coded segments of the visual representation of the point cloud data. The visual representation of the point cloud data may be represented as a set of color-coded point cloud data points, a set of color-coded point cloud data points layered on top of an image of a registered CAD model, or a color-coded polygonal mesh created by forming polygonal surfaces between the point cloud data points. When presented as a color-coded polygonal mesh, the polygonal surfaces are color-coded according to their assigned D values, which are the average of the D values of the points connected by the polygonal surface.
[0082] If the D value exceeds a certain threshold value as defined by the CAD CTF parameters, the conveyor stops, or the object being inspected is removed from the inspection line, and a color-overlaid heat map of the particular object may be displayed on the operator control panel or saved to a fault report. Based on operator or customer specifications, if the D value enters a certain threshold area, the system issues an alarm to notify the operator. The alarm can be an audible or visual alarm presented at the operator control panel. The alarm can be color-coded to give urgency based on the user's preferences. When the alarm is an audible alarm, different tones, sounds, or volumes can be used to express the degree of urgency. The alarm can also be a predefined or custom email or text message sent to a predetermined recipient through a network interface.
[0083] If the D value does not exceed a certain threshold defined by the CAD CTF parameters, the conveyor and object are allowed to continue.The color coverage heat map for this particular object may be displayed on the operator control panel or saved to an operator report.
[0084] The optical acquisition unit and laser module 200 inspect the planes or faces of the object presented to the optical acquisition unit and laser module. However, the object may have CAD CTF parameters on planes or faces that are not presented to the optical acquisition unit and laser module. That is, one surface of the object will be in contact with the conveyor and will therefore not be visible to the optical acquisition unit and laser module positioned above the conveyor. In order to image the bottom surface of the object in contact with the conveyor, thereby obtaining a complete scan of all surfaces of the object, the system may include an additional laser module positioned below at least the top surface of the conveyor. The belt may be made of a transparent material, allowing the bottom laser module to scan the surface of the object through the transparent conveyor. In such a configuration, both the bottom and top laser modules will scan the inspected object, capturing laser scans of all surfaces. The scan of the bottom surface is combined with the scan from the top laser module to form a combined point cloud representing all surfaces of the object. The combined point cloud is then compared to the CAD module in the database, as described above. An additional optical acquisition unit may also be placed below the conveyor to capture images of the surface in contact with the conveyor. Alternatively, the conveyor may include two separate belts with a small gap between them. A laser module can be placed below the gap with its field of view parallel to the length of the gap. As the object being inspected crosses the gap from one conveyor belt to another, the laser module positioned below the gap will capture scans of the bottom surface. Likewise, these scans of the bottom surface can be combined with the scans from the top laser module to form a combined point cloud representing all surfaces of the object. As an alternative to using a transparent conveyor and positioning another laser module below the conveyor, the object being inspected can be flipped or rotated to expose hidden planes of the object as it moves along the conveyor. The object can be simply flipped, or it can be automatically captured and rotated so that all planes of the object are presented to the optical acquisition unit or laser module for inspection.
[0085] In another embodiment, the object to be inspected may be funneled to an optical acquisition unit which may identify the object to determine if the correct plane with the CAD CTF parameters is presented to the optical acquisition unit. If the correct plane of the object is presented, it is allowed to continue along the conveyor. If the wrong side is presented, the object is flipped over and then inspected again by the laser module. This has the advantage of having all objects in the same orientation and allows for a simpler flipping mechanism and reduces the area on the conveyor that needs to be scanned by the laser module. In some cases, when a CAD model for the object is not available, a golden object known to be within specification may be available. In this embodiment, the golden object will be scanned with the optical acquisition unit and laser module to automatically generate and upload a CAD outline of the object to be inspected, and further updates may be performed in the CAD model database. In this case, the operator will place the golden object on the conveyor and configure the system processing unit to store the CAD plane mesh and associated CAD point cloud, CAD range image into the CAD model database for future part identification and lookup. The operator can add the desired CAD CTF parameters to the CAD model database through the operator control panel or the web interface. In another embodiment, when the inspection system detects a scanned object that it failed to identify during the part recognition and lookup process, the inspection system can send an alert to the operator so that the operator can take appropriate action.
[0086] In another embodiment, a gold object with known dimensions can be inspected to verify the calibration of the inspection system. In this embodiment, the operator configures the inspection system for calibration and then manually or automatically places the gold object on a conveyor to be scanned by the optical acquisition unit and laser module. In addition, by using the gold object for calibration, the working distance, focus, magnification, and similar image parameters of the optical acquisition unit and laser module can be calibrated.
[0087] Polygon scanners are commonly used in laser print engines, barcode scanners. Polygon scanners can be used for high-resolution line-oriented scanning of objects. A rotating polygon mirror can be used to create a laser beam that performs high-speed linear scans across a conveyor. The polygon mirror can be rotated by a motor and can be supported by a ball bearing or air bearing rotating spindle to produce a smooth rotation to minimize distortion within the laser beam. Additionally, the laser sensor can be a linear array, CMOS, or similar technology known in the art.
Claims
1. A system for automated online inspection of an object, comprising: a conveyor configured to move the inspected object along a conveyor path; an optical acquisition unit configured to capture an image of the inspected object and transmit object image data; at least one laser module configured to capture a laser scan of the inspected object and generate point cloud data representative of the scanned object; a system memory including a database containing CAD models; as well as A system processing unit, the system processing unit being configured to: analyzing the object image data and selecting a CAD model corresponding to the inspected object from a CAD model database; aligning the selected CAD model with the point cloud data; as well as comparing the point cloud data with the CAD model; Wherein, comparing the point cloud data with the CAD model comprises: converting the CAD model into a CAD mesh, and extracting a plane from the CAD mesh to generate a CAD plane mesh; and Key functional parameters are extracted from the CAD plane mesh, and the CAD plane mesh is converted into a CAD point cloud for comparison with the point cloud data.
2. The system according to claim 1, wherein: The system processing unit is further configured to determine whether the object is defective based on the comparison.
3. The system according to claim 1, wherein: The at least one laser module is a laser profiler having a wavelength in the violet or ultraviolet range.
4. The system of claim 1, further comprising a laser module guide that restricts movement of the at least one laser module to a predetermined direction with respect to the transport path.
5. The system according to claim 1, wherein: The at least one laser module includes a first laser module and a second laser module, each of the first laser module and the second laser module including a laser driver, at least one laser sensor, and a microprocessor.
6. The system according to claim 1, wherein: The system processing unit is further configured to determine an angular relationship between a field of view of the at least one laser module and the transport path, and perform calibration based on a height difference between endpoints of the determined laser field of view caused by the angular relationship.
7. A method for performing an online inspection of an object, comprising: positioning an object to be inspected on a conveyor; Using the conveying device to move the object along a conveying path; capturing an optical image of the object with an optical acquisition unit; capturing point cloud data representing the object with a laser module; selecting a CAD model for an object that matches the inspected object based on the captured optical image; performing translation and rotation of the CAD model to align the CAD model with the captured point cloud data; as well as comparing the CAD model to the captured point cloud data; Wherein, comparing the CAD model with the captured point cloud data comprises: converting the CAD model into a CAD mesh, and extracting a plane from the CAD mesh to generate a CAD plane mesh; and Key functional parameters are extracted from the CAD planar mesh and converted into a CAD point cloud for comparison with the captured point cloud data.
8. The method according to claim 7, further comprising: Based on the captured optical image, the inspected object and the position and orientation of the inspected object on the conveying device are identified.
9. The method according to claim 7, wherein: Identifying the inspected object includes generating a bounding box over a region of interest in the captured optical image and performing an object recognition process including pattern matching with a CAD model stored in a database.
10. The method according to claim 7, further comprising: generating a heat map indicating differences between the CAD model and the captured point cloud data; and determining whether the heat map level falls within a predetermined tolerance level for the inspected object.
Citation Information
Patent Citations
Automated in-line object inspection
US20190156472A1
Automated in-line object inspection
US62587806P0
Method and apparatus for visiometric in-line product inspection
US20090245616A1
Rotorcraft Component Simulation using Scan-based Geometry
US20160300003A1
