https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
ANOMALY DETECTION IN MANUFACTURING FOR QUALITY CONTROL
Mälardalen University, School of Innovation, Design and Engineering, Innovation and Product Realisation.
Mälardalen University, School of Innovation, Design and Engineering, Innovation and Product Realisation.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Modern heat exchanger factories test every unit by recording a one-dimensional spatial sequence and relying on a human operator to spot anomalies, a slow and repetitive process that can generate false alarms or allow faulty exchangers to reach customers. This thesis investigates whether supervised machine learning can automate inspections and improve reliability, addressing two core challenges: extreme class imbalance and variable sequence lengths.For tree-based models, we engineered 149 statistical, spectral and shape features. For deep learning, we resampled each signal to 500 points and trained with focal loss. We compared XGBoost, a convolutional neural network and Transformer hybrid called ConvTran, and four ensemble strategies under stratified five-fold cross-validation.Focusing on the minority (defect) class, XGBoost achieved an F1 score of 73 percent, precision of 73 percent, and a recall of 76 percent. ConvTran detected more faults (recall at 90 percent) but produced many false alarms (precision at 38 percent). By blending their strengths, the weighted adaptive ensemble reached precision of 82 percent, recall of 90 percent and an F1 score of 86 percent. A model-switching ensemble increased precision to 89 percent with recall at 84 percent, achieving overall accuracy of 98.6 percent.These findings demonstrate that automated anomaly detection is feasible with further refinement. A hybrid workflow that flags low-confidence predictions for manual inspection while fully automating high-confidence predictions appears most promising.

Place, publisher, year, edition, pages
2025. , p. 35
Keywords [en]
Supervised Anomaly Detection, Heat Exchanger Inspection, Imbalanced Classification, Variable-Length Sequence Analysis, Ensemble Learning Methods.
National Category
Computer Vision and Learning Systems
Identifiers
URN: urn:nbn:se:mdh:diva-72330OAI: oai:DiVA.org:mdh-72330DiVA, id: diva2:1974609
External cooperation
MITC; Alfa Laval AB
Subject / course
Computer Science
Supervisors
Examiners
Available from: 2025-06-23 Created: 2025-06-23 Last updated: 2025-10-10Bibliographically approved

Open Access in DiVA

fulltext(2124 kB)199 downloads
File information
File name FULLTEXT01.pdfFile size 2124 kBChecksum SHA-512
23362c28c9b25ed26b0f9150e78dd5eaafebc2188c9b44bfca3eeb81266e03de79d1d5b78e6f85e17bb5e35af8f7d01baa6cc668f754c48e8d407e2d80c3c205
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Nilsson, FabianKyrk, Dennis
By organisation
Innovation and Product Realisation
Computer Vision and Learning Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 203 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 993 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf