Anomaly Detection in the Production Process of Stamping Progressive Dies Using the Shape- and Size-Adaptive Descriptors

Liang Ma, Fanwu Meng2023

TL;DR

This paper introduces a novel machine vision approach for real-time anomaly detection in progressive die stamping. By employing a Shape- and Size-Adaptive Descriptor (SSAD) and a t-distribution-based anomaly determination, the method effectively identifies defects before they cause damage, offering a simpler and more efficient alternative to deep learning methods.

What Problem Does This Paper Address?

Progressive die stamping is a high-speed, automated manufacturing process crucial for producing many small metal parts. However, it's susceptible to anomalies like foreign object debris, waste material, or workpiece deformation. Traditional methods for detecting these anomalies, such as manual inspection or relying solely on sensor signals, are either too slow, too tedious, or only detect issues after damage has occurred, leading to costly repairs and production downtime. Existing machine vision methods often struggle with the dynamic and periodic nature of these production lines, and deep learning approaches require extensive labeled data and complex training. This paper aims to bridge this gap by providing a real-time, accurate, and less data-intensive anomaly detection system specifically for progressive die stamping.

Methods

The proposed method consists of three main stages:

  1. Image Segmentation: The periodic motion scene of the stamping production line is captured and decomposed into a standard template image library. This library represents the "normal" state of the process.
  2. Shape- and Size-Adaptive Descriptor (SSAD) Construction:
    • A candidate region in the current image is compared against a best-matching standard template image.
  3. After image registration to align these two, a difference image is generated. Connected regions in this difference image are potential anomalies.
  4. To describe these regions robustly, a novel SSAD is developed. This descriptor adapts to the shape and size of the anomaly, unlike traditional fixed-size descriptors. It involves segmenting the connected region into sub-regions, extracting features (using Haar wavelets) from these sub-regions, and forming a normalized 4D vector for each. These vectors are then concatenated to form the final SSAD.
  5. To handle interference from factors like local bright spots or workpiece deformation, a background descriptor is also constructed.
  6. t-Distribution-Function-Based Anomaly Region Determination:
    • The SSADs of the candidate region, reference regions (from the template library), and background are compared using matching distances.
  7. These distances are modeled using a t-distribution, which is more robust than traditional empirical thresholds.
  8. A self-suppression optimization based on a Translation Change Rate (TCR) is introduced to further reduce misdetection rates, especially in the presence of local elastic deformation and hole structures.
  9. A final anomaly determination formula is derived, classifying a region as anomalous if it fails to meet this criterion.

Datasets

The paper utilizes a dataset collected from an 800 T multi-station progressive die. For training and testing, they established a dataset comprising:

  • 500 images without anomalies.
  • 10 images with anomalies (pixel-level annotations).
  • Data augmentation (random rotation, cropping, flipping) was applied to increase the dataset size to 4000 normal images and 500 anomalous images for training deep learning models.
  • A test dataset of 2000 images (1987 normal, 13 anomalous) was used for comparison.

Key Insights and Ideas

  • Adaptive Descriptors are Crucial: Traditional fixed-size descriptors struggle to capture anomalies of varying scales effectively. The SSAD's ability to adapt its representation to the anomaly's shape and size is key to its improved distinctiveness.
  • T-distribution for Robustness: Moving beyond simple thresholds, the t-distribution provides a statistically sounder framework for anomaly detection, making the system more resilient to variations and noise.
  • Multi-pronged Interference Mitigation: The method doesn't just rely on one technique. It addresses interference from bright spots, elastic deformation, and hole structures through specific descriptor construction (background descriptor) and anomaly determination logic.
  • Efficiency Without Deep Learning: The paper demonstrates that high accuracy can be achieved with significantly less data and simpler preprocessing compared to deep learning methods, making it more practical for industrial deployment where labeled data is scarce.

Key Results

  • High Accuracy: The proposed method achieved a detection accuracy of 99.85% with a miss rate of 0.00% on their test dataset.
  • Competitive Performance: Compared to deep learning methods (SegNet, U-Net++, MobileNetV2+DeepLabV3, PGA-Net), the proposed method achieved comparable or superior accuracy and a significantly lower miss rate, while requiring only a fraction of the training data.
  • Superior to SURF: The SSAD outperformed SURF descriptors, especially for small anomalies (<20 pixels), demonstrating higher distinctiveness and a lower misdetection rate, particularly in handling hole interferences.
  • Real-time Capability: The algorithm achieved a detection time of 32 ms per image on a standard Intel i7 CPU, enabling real-time monitoring.
  • Simpler Preparation: The method requires only about 30 images to construct a standard template image library, significantly reducing the preprocessing effort compared to deep learning models.

Limitations and Future Work

  • Limitations:
    • The method's accuracy is influenced by factors like image resolution, camera tilt angle, and focal length.
  • The theoretical error in the detection model is estimated to be around 3.6 pixels, which translates to approximately 3 mm in the physical space.
  • Future Work:
    • The authors suggest conducting online monitoring tests of the proposed method on various processing equipment with periodic motion scenes as the next stage of research.

Summary updated

BibTeX
@misc{ma2023anomaly,
  author = {Liang Ma and Fanwu Meng},
  title = {{Anomaly Detection in the Production Process of Stamping Progressive Dies Using the Shape- and Size-Adaptive Descriptors}},
  year = {2023},
  doi = {10.3390/s23218904},
}
Figure