SYSTEM AND METHOD FOR AUTOMATED DEFECT DETECTION
20190080446 ยท 2019-03-14
Inventors
Cpc classification
G06V10/44
PHYSICS
G06F30/27
PHYSICS
G06V30/144
PHYSICS
G05B2219/31447
PHYSICS
International classification
Abstract
The present invention relates in general to systems and methods for automating various aspects of defect detection, such as surface anomaly and foreign object and debris detection in workpieces fabricated from metallic or non-metallic materials.
Claims
1. A method of detecting a defect in a three-dimensional workpiece, the method comprising: providing an imaging unit configured to capture images of three-dimensional objects secured to an inspection platform as the imaging unit moves relative to the inspection platform; providing first and second workpieces manufactured according to a specification, the first and second workpieces having a plurality of features; providing a first database of defect images, the defect images corresponding to defects identified in three-dimensional workpieces having features similar to the plurality of features of the first and second workpieces; mounting the first workpiece at a location on the inspection platform; capturing a plurality of images of the first workpiece as the imaging unit moves through a predetermined path; wherein a first feature of the first workpiece is captured by a first image; comparing the plurality of images of the first workpiece to the defect images to identify defects in the first workpiece; storing the plurality of images of the first workpiece in a second database of reference images if no defects are identified; mounting the second workpiece at the location on the inspection platform; capturing a plurality of images of the second workpiece as the imaging unit moves through the predetermined path, wherein the first feature of the second workpiece is captured by a second image; comparing the plurality of images of the second workpiece to the defect images to identify defects in the second workpiece; and comparing the second image with the first image to confirm the first feature of the second workpiece is in compliance with the specification.
2. The method of claim 1, wherein the imaging unit is mounted to a robotic arm having at least five degrees of freedom.
3. The method of claim 1 and further comprising: mapping a position of the first feature.
4. The method of claim 1, and further comprising: creating a three-dimensional computer model of the first workpiece; and generating the predetermined path based on the three-dimensional computer model of the first workpiece.
5. The method of claim 1, and further comprising: providing a material removal tool configured to remove material from objects mounted to the inspection platform; and correcting identified defects using the material removal tool.
6. The method of claim 1, and further comprising: providing a marking tool configured to place visual markers on objects mounted to the inspection platform; and placing a visual marker proximate to identified defects using the marking tool.
7. The method of claim 1, wherein the first feature of the second workpiece needs remediation when a difference between the second image of the first feature and the first image of the first feature is greater than a predetermined amount.
8. A method for detecting a defect in a three-dimensional workpiece, the method comprising: providing an imaging unit having a field of view, the imaging unit configured to capture images of objects secured to an inspection platform; mounting the imaging unit to a robotic arm, the robotic arm configured to facilitate three-dimensional movement of the imaging unit relative to the inspection platform; mounting a three-dimensional workpiece to a location on the inspection platform, the three-dimensional workpiece having a plurality of features; moving the imaging unit through a predetermined path about the three-dimensional workpiece; capturing a plurality of images of the three-dimensional workpiece as the imaging unit moves through the predetermined path, wherein each feature of the plurality of features is captured by at least one image; detecting defects in the three-dimensional workpiece by comparing the plurality of captured images with reference images stored in an image database; identifying a position of each detected defect, the position corresponding to a feature of the plurality of features; and storing the position of each of the detected defects.
9. The method of claim 8 and further comprising: creating a three-dimensional computer model of the three-dimensional workpiece; and generating the predetermined path based on the three-dimensional model of the three-dimensional workpiece.
10. The method of claim 9 and further comprising: creating a map of the features of the three-dimensional workpiece, wherein the predetermined path is automatically generated based at least in part on the map of the features.
11. The method of claim 8 and further comprising: wherein the three-dimensional workpiece comprises a hole bored therein, the hole having a cylindrical sidewall; and wherein the predetermined path includes rotating the field of view of the imaging unit to capture images of the cylindrical sidewall of the hole.
12. The method of claim 8, wherein the defects are detected using a machine learning based process.
13. A system for detecting defects in objects, the system comprising: an inspection platform configured to have a three-dimensional workpiece mounted thereon; an imaging device adapted to capture images of the three-dimensional workpiece, the imaging device being movable relative to the inspection platform; a controller coupled to the imaging device, the controller including a processor and a memory, the controller configured to: receive specifications for the three-dimensional workpiece, the specifications including desired dimensions of features of the three-dimensional workpiece; command the imaging device to move along a predetermined path to capture images of the three-dimensional workpiece; calculate actual dimensions of the features of the three-dimensional workpiece; detect a defect in the three-dimensional workpiece when an actual dimension of a feature of the features is not identical to a desired dimension of the feature; and calculate a location of the defect on the three-dimensional workpiece.
14. The system of claim 13, wherein the imaging device is mounted to a robotic arm having at least five degrees of freedom.
15. The system of claim 13 and further comprising: a material removal tool configured to remove material from objects mounted to the inspection platform, the material removal tool being coupled to the processor and configured to receive remediation instructions from the processor to correct the detected defect in the three-dimensional workpiece.
16. The system of claim 14, wherein a material removal tool is mounted to the robotic arm.
17. The system of claim 13 and further comprising: a marking tool configured to place visual markers on objects mounted to the inspection surface, the marking tool being coupled to the processor and configured to receive marking instructions from the processor to place a visual marker proximate to the location of the defect on the three-dimensional workpiece.
18. The system of claim 13, wherein the detected defect is identified as needing remediation when a difference between the actual dimension of the feature and the desired dimension of the feature is greater than a predetermined amount.
19. The system of claim 13, wherein the controller detects the defect by comparing an image of the feature with a reference image stored in the memory.
20. The system of claim 19, wherein the controller is further configured to categorize the defect by defect type.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0019] A more complete understanding of the method and apparatus of the present invention may be obtained by reference to the following Detailed Description when taken in conjunction with the accompanying Drawings wherein:
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DETAILED DESCRIPTION
[0027] In accordance with the present invention, systems and methods for automated surface anomaly detection in workpieces fabricated from metallic or non-metallic materials are provided. Referring now to
[0028] Referring now to
[0029] Referring now to
[0030] In some embodiments, the optical device 106 may capture a first image of a surface edge of a first hole 402 on a first workpiece having no detectable defects. The optical device 106 may capture a second image of a surface edge of a first hole 402 on a second workpiece having FOD at a location on the surface edge thereof. The system may compare the first image with the second image to detect the presence of FOD on the second workpiece. The second image may be stored in a database of images of defects. The optical device 106 may then capture a third image of a surface edge of a different hole having FOD on the surface edge thereof on a third workpiece of a different type than the first and second workpieces. The third image may be compared to the images in the database of images of defects to detect the presence of FOD on the third workpiece.
[0031] Referring now to
[0032] Software, running on one or more processors, drives the pattern recognition, system training, and learning. In some embodiments, the processors may be located on custom built computers that interface with the workpiece inspection platform and optics detection system with the ability to capture and store results of an inspection session. Prior sessions may be replayed for further detailed analysis and documentation. In some embodiments, the system may include a laser, drill, grinder, or other tool for correcting detected anomalies.
[0033] Generally speaking, in various embodiments, the software may incorporate machine learning focused on the recognition of patterns and regularities in data. In various methods of using the system, a process of supervised learning may be included to train the software to recognize surface anomalies using labeled training data. In order to create the labeled training data, a set of features may need to be properly labeled by hand with the correct output. To maximize the recognition rates, the machine learning process may be carried out initially prior to delivery of the system to a customer and/or may be carried out by each customer after installation of the system. In some embodiments, a plurality of automated identification systems may be coupled together, for example, via the Internet, and may share all or part of the training data to improve the pattern recognition of each of the systems. In some embodiments, the method may include an unsupervised learning process in which the software attempts to find inherent patterns in the features that can then be used to determine the correct output value for new data instances. For example, the system may inspect a workpiece with dozens of holes and may identify out-of-compliance holes that are inconsistent with the majority of the holes. Some embodiments may utilize semi-supervised learning, which uses a combination of labeled and unlabeled data (typically a small set of labeled data combined with a large amount of unlabeled data). In some embodiments, the software may be configured to classify or cluster groups of features having similarities and then an operator may determine whether the groups pass or fail.
[0034] In some embodiments, the software may be configured to assign a label to a given feature being inspected, such as PASS or FAIL. In other embodiments, the software may assign a real-valued output to a given feature begin inspected, such as the size of a hole being measured rather than simply an indication of whether the hole is within a predetermined tolerance threshold. In various embodiments, in addition to or instead of looking for exact matches in the input with pre-existing patterns, the software may be configured to perform a most likely matching of the inputs, taking into account their statistical variation.
[0035] In various embodiments, a feature of a workpiece to be inspected may be broken out into a plurality of characteristics, which may be categorical, ordinal, integer-valued, or real-valued, and the software may be configured to use statistical inference to find the best label for a given instance and/or a probability of the instance being described by the given label. Benefits include outputting a confidence value associated with a choice or abstaining when the confidence of choosing any particular output is too low. Probabilistic pattern-recognition algorithms can be more effectively incorporated into larger machine-learning tasks, in a way that partially or completely avoids the problem of error propagation. In some embodiments, the software may include a feature extraction algorithm and/or a feature selection algorithm to prune out redundant or irrelevant features.
[0036] In various embodiments, the software may include deep learning (also known as deep structured learning or hierarchical learning) as part of the machine learning methods based on learning data representations, as opposed to task-specific algorithms. Such learning may be supervised, partially supervised, and/or unsupervised. Deep learning is a class of machine learning that uses a cascade of many layers of nonlinear processing units for feature extraction and transformation. Each successive layer uses the output from the previous layer as input. In some embodiments, the deep learning incorporates (1) multiple layers of nonlinear processing units and (2) the supervised or unsupervised learning of feature representations in each layer, with the layers forming a hierarchy from low-level to high-level features. The composition of a layer of nonlinear processing units used in a deep learning algorithm depends on the problem to be solved. Deep learning adds the assumption that these layers of factors correspond to levels of abstraction or composition. Varying numbers of layers and layer sizes can provide different amounts of abstraction. Deep learning exploits this idea of hierarchical explanatory factors where higher level, more abstract concepts are learned from the lower level ones. Deep learning helps to disentangle these abstractions and pick out which features are useful for improving performance and detection. For supervised learning tasks, deep learning methods obviate feature engineering, by translating the data into compact intermediate representations akin to principal components, and derive layered structures that remove redundancy in representation. Deep learning algorithms can be applied to unsupervised learning tasks.
[0037] In some embodiments, the deep learning may include artificial neural networks (ANN), which learn (progressively improve performance) to do tasks by considering examples, generally without task-specific programming. For example, in image recognition, they might learn to identify images that contain burrs by analyzing example images that have been manually labeled as burr or no burr and using the analytic results to identify burrs in other images. Some embodiments may include the use of a deep neural network (DNN), which is an ANN with multiple hidden layers between the input and output layers. DNNs can model complex non-linear relationships. DNN architectures generate compositional models where the object is expressed as a layered composition of primitives. The extra layers enable composition of features from lower layers, potentially modeling complex data with fewer units than a similarly performing shallow network. DNNs are prone to overfitting because of the added layers of abstraction, which allow them to model rare dependencies in the training data. Regularization methods can be applied during training to combat overfitting.
[0038] Referring now to
[0039] In various embodiments, the method 600 is able to detect a plurality of different types of defects including FOD, burrs, indentations on an edge of a workpiece, rolled edges, cracks, steps, grooves, and other variations from the design specifications. In various embodiments, the method is able to detect defects that are not technically FOD, such as surface anomalies caused by an incomplete machining process. In some embodiments, after a defect has been detected, such as a burr located on an inner edge of a through hole, the method may send a signal to an operator and then pause to allow the operator to manually place a visual indicator in the vicinity of the defect to aid in remediation. In a preferred embodiment, the automated inspection method may include a means for marking detected imperfections, such as a dye, marker, or other mark. In some embodiments, the method may simply electronically record the location of the imperfection for later remediation or may remediate the imperfection during the inspection process, either by pausing the inspection or by remediating simultaneously. In some embodiment, the method may include taking a photograph of the defect on the workpiece to aid in remediation. In some embodiments, the method may include overlaying a grid or other coordinates to show where the deviation has occurred. In some embodiments, the method may be able to identify a shoulder that deviated from the design specifications, tooling marks in or around edges and/or the bottom of a hole, a step where the design specifications called for a surface to be flat, and/or cracks in the surface or under the surface of the workpiece.
[0040] Referring now to
[0041] Importantly, many of the inspection methods currently utilized would not detect these imperfections. For example, one common inspection method is a touch sensor that is programmed to touch a plurality of surfaces around the workpiece to confirm each of the surfaces is properly dimensioned. Oftentimes, the touch sensors do not inspect the entire surface area of a flat surface, instead only touching the outer edges. In such a situation, a step or burr in the middle of a flat surface would not be detected. However, the pattern recognition method employed in various embodiments of the present invention would be designed to detect such an anomaly. As another example, the touch sensor would likely not detect the tooling marks in the bottom of a hole. Rather, the touch sensor would likely confirm that the hole was dimensioned correctly and not flag the imperfection. Similarly, hairline cracks are often not detected by most touch sensors. In the past, the only reliable way to detect such defects is by having a human visually inspect each aspect of each part under very high magnification. However, humans can only inspect workpieces for a limited period of time before their error rate increases significantly. In addition, human inspection is inherently subjective. The present invention attempts to overcome these drawbacks by providing a reliable, consistent, repeatable, automated inspection system and method.
[0042] Although various embodiments of the method and apparatus of the present invention have been illustrated in the accompanying Drawings and described in the foregoing Detailed Description, it will be understood that the invention is not limited to the embodiments disclosed, but is capable of numerous rearrangements, modifications, and substitutions without departing from the spirit and scope of the invention.