kth.sePublications KTH
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
Detection of contamination in pharmaceutical tanks: Implementing a camera-based method and Convolutional Neural Network for image recognition to automate visual inspection of pharmaceutical stainless steel tanks
KTH, School of Industrial Engineering and Management (ITM), Production engineering.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [sv]

Inspektion av ytor som kommer i kontakt med läkemedel är avgörande för validering av rengöringsprocesser, för att säkerställa att det inte finns några rester eller andra former av kontaminering. Visuell inspektion utgör en stor del av den valideringen. Den innebär potentiella risker, samt ökat driftstopp och användning av resurser. AstraZeneca, ett brittisk-svenskt läkemedelsföretag, vill därför genom detta projekt utforska en alternativ metod till visuell inspektion i farmaceutiska rostfria 316L ståltankar. Tidigare studier har använt kameror, bildanalys och djupinlärning för inspektion av ytor, särskilt konvolutionella neurala nätverk (CNN) för bildklassificering. Denna studie utforskar en metod som använder kamera och CNN, tillsammans med en undersökning om hur belysningsförhållanden och synvinkel påverkar synligheten av kontaminering. Metodologin består av fyra delar: kontaminering, bildinsamling, undersökning i form av en enkät, samt utveckling av en CNN-modell för bildklassificering. Ett tanklock kontaminerades med en substans, och bilder togs i 90°, 60°, 30° vinklar i ett renrum med en actionkamera. Ytterligare belysning med tre olika färgtemperaturer och med varierande värden på ljusflödet (lux) användes. En undersökning genomfördes där åtta deltagare valde ut olika bilder i olika tillstånd. Resultaten indikerar att kontaminering är tydligast i en betraktningsvinkel på 90°, ljusflöde på 600 lux eller högre samt en neutral till kall färgtemperatur (4000K–6000K). En betraktningsvinkel på 30° var effektiv för synlighet i fogar. Den bästa presterande CNN-modellen utvecklades genom iterativ testning. Den bäst presterande CNN-modellen består av 6 faltningslager, L2-regularisation, ingen normalisering eller augmentation. Modellen har en noggrannhet på 99,1 % och recall på 98,6 %. Studien diskuterar även kommersiellt tillgängliga kamerabaserade lösningar för att ersätta manuell visuell inspektion av tankar, samt relevanta standarder och regelverk. Resultaten tyder på att en kombination av en pan-tilt-zoom (PTZ) tankinspektionskamera och CNN har potential att minska driftstopp, resursanvändning samt minimera mänsklig involvering, samtidigt som det uppfyller GMP och tillämpliga standarder.

Abstract [en]

Inspection of surfaces that come in contact with pharmaceuticals is integral for cleaning validation, ensuring no residues or other forms of contamination remain. Visual inspection, a key part of cleaning validation, has potential hazardous risks due to human involvement, increased downtime, and use of resources. AstraZeneca, a British-Swedish pharmaceutical company, wants to therefore explore an alternative method to visual inspection to avoid human entry in pharmaceutical stainless 316L steel tanks. Previous studies have used cameras, image analysis, and deep learning for inspection of surfaces, in particular convolutional neural networks (CNN) for image classification. This study explores a method utilizing camera and CNN, along with an investigation into how lighting conditions and angle affect the visibility of contamination. The methodology involved four parts: artificial contamination, image acquisition, a survey, and CNN model development. A tank lid was artificially contaminated with a substance, and images were taken at 90°, 60°, 30° viewing angles in a cleanroom using an action camera. Different lighting conditions, including three different colour temperatures and varying luminous flux levels (lux), were also used. A survey with eight participants assessed various images. The results indicate that optimal visibility is achieved with a viewing angle of 90°, luminous flux of 600 lux and above, and neutral to cool colour temperature of 4000K–6000K, which aligns with cleanroom standards. Additionally, a 30° viewing angle was effective for visibility of residues in joints. The best performing CNN model was developed through iterative testing. This CNN model consists of six convolutional layers, L2 regularization, no normalization or augmentation. The model has an accuracy of 99.1% and a recall of 98.6%. While the values are optimistic, there are certain limitations and sources of errors. Furthermore, commercially available camera-based equipment, along with applicable standards and regulations, are also discussed. The findings suggest that combining a pan-tilt-zoom (PTZ) tank inspection camera with CNN has the potential to reduce downtime, resource use, and minimize tank entry, while complying with GMP and standards.

Place, publisher, year, edition, pages
2025. , p. 96
Series
TRITA-ITM-EX ; 2025:461
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:kth:diva-367520OAI: oai:DiVA.org:kth-367520DiVA, id: diva2:1984942
Subject / course
Production Engineering
Educational program
Master of Science - Production Engineering and Management
Supervisors
Examiners
Available from: 2025-07-18 Created: 2025-07-18

Open Access in DiVA

fulltext(5278 kB)304 downloads
File information
File name FULLTEXT01.pdfFile size 5278 kBChecksum SHA-512
4b6e2905fa73a35adfbd3d84bae2e6eebc23614c0353f0d88c634132390d92b483a04e8eab508303aa4287712606dbfd54419949862b90dd2e15aad293e222db
Type fulltextMimetype application/pdf

By organisation
Production engineering
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 311 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: 552 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