Anomaly detection as a quality control tool in an industrial context
| dc.contributor.advisor | Castro, Nuno Filipe | |
| dc.contributor.author | Peixoto, Miguel Caçador | |
| dc.date.accessioned | 2025-12-18T12:34:52Z | |
| dc.date.issued | 2024-12-14 | |
| dc.date.submitted | 2024-12 | |
| dc.description.abstract | This thesis reports on the development of an automated anomaly detection (AD) systemfor industrial quality control (QC), addressing inefficiencies of manual inspections and current practices. Leveraging machine learning and computer vision techniques, this work optimizes QC using AD algorithms. The research includes a review of AD techniques, algorithm development, hyperparameter optimization, performance evaluation, real-time implementation, and API backend creation. Central to this work is a framework built on an autoencoder (AE) architecture, optimized with a custom objective function that leverages data augmentation techniques to be trained using only defect-free images. Designed as a plug-and-play solution, it can be deployed across various production lines via API calls. This study assessed fourmethodologies, each building upon the one before, except for the variational approach, which showed no improvements. The best strategy involved a refined hyperparameter optimization coupled with advanced data augmentation techniques. The overall results were primarily attributed to the developed post-processing techniques and the use of the BCE metric for evaluation. In academic evaluations on theMetal Nut subset of the MVTec AD dataset, thiswork surpassedSOTA in the MSE AE regime, achieving an AUC of 0.87 and an IoU of 0.37, outperforming handcrafted methods in the literature by ≈ 1.2% and ≈ 42.3%, respectively. Although only slightly outperformed in AUC by the top SOTA method, which achieved 0.89, the methodology still delivered highly competitive results. In collaboration with industrial partners, the system successfully detected anomalous parts using a real-world dataset. The results validate the novel methodology and showcases the potential of data-augmented NOKs as an alternative to real-world defects. Aligned with Industry 4.0 objectives, this work contributes to the advancement of smarter, data-driven manufacturing processes, facilitating the development of more automated quality control systems, reducing industrywaste, and improving market competitiveness. | eng |
| dc.description.abstract | Esta tese relata o desenvolvimento de um sistema automatizado de deteção de anomalias (DA) para controlo de qualidade (CQ) industrial, abordando ineficiências das inspeções manuais e práticas atuais. Utilizando técnicas de aprendizagem automática e visão computacional, este trabalho otimiza o CQ com algoritmos de DA. A investigação cobre uma revisão de técnicas de DA, desenvolvimento e otimização de algoritmos, avaliação de desempenho, implementação em tempo real e criação de uma API. A framework central é baseada num autoencoder (AE) otimizado com uma função objetivo personalizada e aumento de dados, treinado apenas com imagens sem defeitos, e concebido como uma solução plug-and-play implementável em várias linhas de produção via API. Este estudo analisou quatrometodologias, cadaumaincrementalemperformance, excetoumaabordagem variacional, sem melhorias. A melhor estratégia combinou otimização de hiperparâmetros e aumento de dados. Os resultados devem-se principalmente às técnicas de pós-processamento e à métrica BCE para avaliação. Em avaliações no subset Metal Nut do MVTec AD, este trabalho superou o SOTA no regime MSE AE, atingindo AUC de 0.87 e IoU de 0.37, superando métodos tradicionais da literatura em ≈ 1.2% e ≈ 42.3%, respetivamente. Ligeiramente inferior ao melhor AUC do SOTA (0.89), a metodologia ainda assim apresentou resultados altamente competitivos. Em colaboração com parceiros industriais, o sistema detetou com sucesso peças anómalas num conjunto de dados real. Os resultados validam a metodologia inovadora e demonstram o potencial de NOKs aumentados como alternativa a defeitos reais. Alinhado com a Indústria 4.0, este trabalho contribui para manufatura mais inteligente, reduzindo o desperdício e aumentando a competitividade. | por |
| dc.description.sponsorship | Lastly, thiswork couldn’t have been achieved without the supportby the LIP (UIDP/50007/2020, LA/P/0016/2020), the Center of Competence in Simulation and Big Data and national funds, though the OperationalCompetitivenessandInternationalization Programme(COMPETE2020) (Project No. 179826, Funding Reference: SIFN-01-9999-FN-179826). | |
| dc.identifier.tid | 203992970 | |
| dc.identifier.uri | https://hdl.handle.net/1822/98629 | |
| dc.language.iso | eng | |
| dc.relation | Laboratory for Instrumentation and Experimental Particle Physics [LA/P/0016/2020] | |
| dc.rights | openAccess | |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc-sa/4.0/ | |
| dc.subject | Anomaly Detection | |
| dc.subject | Quality Control | |
| dc.subject | Computer Vision | |
| dc.subject | Autoencoders | |
| dc.subject | Waste Reduction | |
| dc.subject | Machine Learning | |
| dc.subject | Real-Time Implementation | |
| dc.subject | HyperparameterOptimization | |
| dc.subject | Semi-Supervised Learning | |
| dc.subject | Defective Products | |
| dc.subject | Machine Learning Backend | |
| dc.subject | Deteção de Anomalias | |
| dc.subject | Controlo de Qualidade | |
| dc.subject | Visão Computacional | |
| dc.subject | Redução de Desperdício | |
| dc.subject | AprendizagemAutomática | |
| dc.subject | ImplementaçãoemTempoReal | |
| dc.subject | Otimização de Hiperparâmetros | |
| dc.subject | AprendizagemSemi-Supervisionada | |
| dc.subject | Produtos Defeituosos | |
| dc.subject | Backendde Aprendizagem Automática | |
| dc.subject.fos | Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática | |
| dc.title | Anomaly detection as a quality control tool in an industrial context | eng |
| dc.type | masterThesis | |
| dspace.entity.type | Publication | |
| oaire.awardNumber | LA/P/0016/2020 | |
| oaire.awardTitle | Laboratory for Instrumentation and Experimental Particle Physics [LA/P/0016/2020] | |
| oaire.awardURI | https://hdl.handle.net/1822/98575 | |
| oaire.funderIdentifier | http://doi.org/10.13039/501100001871 | |
| oaire.funderName | Fundação para a Ciência e a Tecnologia, I.P. | |
| oaire.fundingStream | Concurso para Atribuição do Estatuto e Financiamento de Laboratórios Associados (LA) | |
| relation.isProjectOfPublication | cffd82c8-af95-47b8-b260-fe8ce8166881 | |
| relation.isProjectOfPublication.latestForDiscovery | cffd82c8-af95-47b8-b260-fe8ce8166881 | |
| sdum.degree.grade | 20 valores | |
| sdum.uoei | Escola de Engenharia | |
| thesis.degree.grantor | Universidade do Minho | por |
| thesis.degree.name | Dissertação de mestrado em Physics Engineering |
Ficheiros
Pacote original
1 - 1 de 1
A carregar...
- Nome:
- Miguel Cacador Peixoto.pdf
- Tamanho:
- 48.8 MB
- Formato:
- Adobe Portable Document Format