SlideShare a Scribd company logo
1 of 11
Download to read offline
Innovative Systems Design and Engineering www.iiste.org
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online)
Vol.4, No.8, 2013
1
Automated Surface Defect Detection using Area Scan Camera
Somer M. Nacy1*
and Wisam T. Abbood2
1. Al-Khwarizmi College of Engineering, University of Baghdad, Baghdad, Iraq
2. Al-Khwarizmi College of Engineering, University of Baghdad, Baghdad, Iraq
*
Email of the corresponding author:nacys2@asme.org
Abstract
This research comprises the design and fabrication of an automated surface defect detection system in which the
defected part is automatically rejected. A special purpose rejection mechanism is designed in a manner to
whether accept the defect free parts or reject the defected parts. The inspection vision system adopted in the
design is an area scan camera, which works in conjunction with the MATLAB image acquisition tool. The
control process is achieved via a PIC16F84A microcontroller, where it controls the image capturing and the
defected part rejection mechanism. To validate the performance of this designed system, three types of plates
were used, namely, defect free, punch defected and crack defected. Results showed that all the defected plates
were rejected thus insuring the high efficiency of the system.
Keywords: area scan camera, inspection vision system, surface detection
1. Introduction
Due to the fast development in industry, traditional inspection methods are les considered or almost removed
from production lines. Automated inspection technologies are widely used nowadays. These technologies are
mainly dependent on vision system inspection, especially those used in surface defect detection. On-line quality
control has many benefits, such as, early detection of defects, rapid feedback, reduced costs and finally reduced
customer claims.
Many researchers have investigated the application of automated inspection systems in different industrial
disciplines, such as, fabrics, Conci and Proenca (2002); float glass fabrication, Peng et al. (2008); solder joint
segmentation, Mar et al. (2009); weld beads, Li et al. (2010); coatings in metal lids, Kamal and Adnan (2010);
rotationally symmetric parts, Laurowski et al. (2011); transparent parts with non-plane surfaces, Martinez et al.
(2012). Others worked on different applications, where Seulin et al. (2001), implemented a vision surface
inspection system as a tool for design and optimization. A study on automatic thresholding techniques for defect
detection was achieved by Ng (2006). Surface image synthesis through an area scan camera was conducted by
Tabata et al. (2010).
The present work consists of a design for an automated surface defect detection using area scan camera. This
system comprises three main subsystems, namely, the mechanical subsystem, including the conveyor belt and a
special purpose rejection mechanism; the electrical subsystem, including motors, IR sensors, microcontroller and
the host computer; and finally the software subsystem, in which programs were established to control the
detection and rejection processes.
2. System Description
The basic idea in designing this system is to achieve an on-line inspection mode, making decisions of rejection
for defected surfaces and acceptance for defect free surfaces without any waste of time. A schematic diagram of
the system is presented in figure 1, showing all the dimensions adopted in fabrication. Figure 2 depicts two
views of the system, showing all the fixtures, conveyor belt, motor drivers, area scan camera, IR sensors and the
rejection mechanism which consists of a gate driven by a geared DC motor.
The duty of the IR1 sensor is to sense the arrival of the plate to be inspected thus allowing the camera to capture
an image for the plate. While the IR2 sensor is to sense the arrival of the plate near the rejection gate, thus in
case of rejection, i.e. the plate is defected; it activates the DC motor to open the gate. The microcontroller circuit
diagram is shown in figure 3. It is of type PIC16F84A, which belongs to a class of 8-bit microcontroller of RISC
architecture with program memory made in FLASH technology, which can be programmed and cleared for
many times. Two main tasks are to be accomplished by the microcontroller, where it regulates the trigger pulses
of the area scan camera and it controls the movement of the rejection gate.
3. Programs
Two main programs were implemented and used by the system. The first is the control program, written in
assembly language as listed below,
Innovative Systems Design and Engineering www.iiste.org
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online)
Vol.4, No.8, 2013
2
LIST P=PIC16F84A
INCLUDE “P16F84A.INC”
__CONFIG _XT_OSC & _WDT_OFF
GOTO MAIN
DELAY
LOOP1 DECFSZ COUNT1,1
GOTO LOOP1
DECFSZ COUNT2,1
GOTO LOOP1
RETURN
TRIGGER
BSF PORTB,4
CALL DELAY
CALL DELAY
BCF PORTB,4
RETURN
CHANGE
BTFSC PORTB,1
GOTO BB
BSF PORTB,2
CALL DELAY
CALL DELAY
CALL DELAY
CALL DELAY
CALL DELAY
CALL DELAY
GG BTFSS PORTB,1
GOTO GG
BCF PORTB,2
RETURN
MAIN
BSF STATUS,5
MOVLW b'00001011'
MOVWF TRISB
BCF STATUS,5
MOVLW b'00000000'
MOVWF PORTB
AA BTFSS PORTB,3
CALL TRIGGER
BTFSS PORTB,0
CALL CHANGE
GOTO AA
END
This program allows the microcontroller to receive inputs and transmits controlling outputs. It contains four
subroutines. The DELAY subroutine produces the required delay time for the rejection gate after the plate passes
IR2 sensor. The TRIGGER subroutine activates the area scan camera to capture an image. The CHANGE
subroutine activates the DC motor of the rejection gate in case of a defected plate is passing. The MAIN
subroutine is the previous subroutines.
Innovative Systems Design and Engineering www.iiste.org
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online)
Vol.4, No.8, 2013
3
The second program works under the MATLAB software, as listed below,
clc
daq=daqhwinfo('parallel');
dio=digitalio('parallel', 'LPT1');
addline(dio,0:7,0,'out');
putvalue(dio.line(1),0);
A = imread('A1.jpg');
K = graythresh(A)
E= imread('A2.jpg');
F = graythresh(E)
vid = videoinput('winvideo', 1, 'RGB24');
src = getselectedsource(vid);
vid.FramesPerTrigger = 1;
preview(vid);
vid.ReturnedColorspace = 'grayscale';
for j=1:50
clc
F8 = waitforbuttonpress;
close
B = getsnapshot(vid);
save B
C = ('B.jpg');
str = sprintf('%s',C);
imwrite(B,str,'jpg');
C = graythresh(B)
if K==C;
msgbox('similar','OK');
elseif F==C;
msgbox('similar','OK');
else
dio=digitalio('parallel', 'LPT1');
addline(dio,0:7,0,'out');
putvalue(dio.line(1),1);
h=0;
for i=1:100
h=h+1;
end
dio=digitalio('parallel', 'LPT1');
addline(dio,0:7,0,'out');
putvalue(dio.line(1),0);
end
end
This program conducts two jobs, the first is to compare the image captured by the camera with a previously
stored image of a defect free plate, while the second job is to analyze the light intensity of the captured image.
4. Experimentation and Procedure
The inspected products are rectangular Aluminum plates; each is 100 mm X 110 mm in dimension. These plates
fall in one of three categories, defect free, notch defected and crack defected. The total number of plates
inspected by this system is 1000, 350 of them are punch defected with different locations of the punch defect on
the plate surface, 350 are crack defected with different crack locations and positions on the plate surface, while
the rest 300 plates are defect free. A block diagram clarifying the procedure of the inspection process is
presented in figure 4. When any plate passes on the IR1 sensor, a signal is generated as an input to the
microcontroller, which in turn delivers a signal to the area scan camera, through the MATLAB program in the
host computer, thus an image of the plate to be inspected is captured and returned back to the host computer. The
MATLAB program analyzes the image, stores its light intensity data, compare it with a previously stored defect
free image and makes a decision on whether this inspected plate is defected or not. If the decision is made as the
Innovative Systems Design and Engineering www.iiste.org
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online)
Vol.4, No.8, 2013
4
plate is defected, the host computer generates a signal to the microcontroller, which in turn takes an action after
receiving a signal from the IR2 sensor, hence activating the DC motor of the rejection gate. While, if the
decision is made as the plate is defect free, the inspected plate passes as an accepted one.
5. Results and Discussion
The results to be presented here are those obtained from the MATLAB program, concerning the light intensity of
three selected samples representing a defect free plate, a plate with punch defect and a plate with crack defect.
The MATLAB program used in this work was constructed in a way to convert the image captured by the area
scan camera to a gray scale, hence to remove the noise and the contrast of colors that result from the analysis of
white light.
Light intensity graphs for the three samples, defect free plate, plate with punch defect and plate with crack defect
are shown in figures 5, 6 and 7, respectively. It is very clear that for the defect free plate, light intensity is more
concentrated around the gray color, in the range between 100 and 200. While the light intensity spreads out of
this range for the punch defected plate, reaching a range between 100 and 235, and as the defect becomes larger
on the plate surface, as for the case of crack defected plate, light intensity spreads more, reaching a range of 90
to 250. Where any defect acts as a disturbing factor on the light intensity distribution, and as the defect takes
more area on the plate surface, the disturbance becomes greater.
So, as for any defect happened to be on the surface of the plate, light intensity becomes more non-homogeneous
and spreads more outside the gray color limits. On these bases the decision was taken on whether the plate is
defected or not.
6. Conclusions
From the inspection tests conducted on all the 1000 plates, it was found that all the 700 defected plates were
rejected. According to this result, it can be concluded that the method adopted, which relays on light intensity in
its decision making, is an efficient and reliable method in distinguishing between defect free and surface
defected plates.
References
A., Conci, &C., B., Proenca (2002) “A System for Real-Time Fabric Inspection and Industrial Decision,” 14th
International Conference on Software Engineering and Knowledge Engineering, ACM, 707-714.
X., Peng, Y., Chen,W. Yu, Z., Zhou, &G., Sun (2008), “An online defects inspection method for float glass
fabrication based on machine vision,” J. Advanced Manufacturing Technology 39(11-12), springer, 1180-1189.
N., S., S., Mar, C., Fookes, &P., K., D., V., Yarlagadda (2009), “Design of automatic vision-based inspection
system for solder joint segmentation,” J. AMME 34(2), 145-151.
Y., Li, Y., F., Li, Q., L., Wang, D., Xu, &M., Tan(210) “Measurement and Defect Detection of the Weld Bead
Based on Online Vision Inspection,” IEEE, Transactions on Instrumentation and Measurement 59(7), 1841-
1849
I., Al Kamal, &M., Adnan (2010), “Online Machine Vision Inspection System for Detecting Coating Defects in
Metal Lids,” International Multiconference of Engineers and Computer Scientists 2.
M., Laurowski, PH., Klein, M., Weyrich, P., Scharf, & S., Stark (2011), “Use-appropriate Design of Automated
Optical Inspection Systems for Rotationally Symmetric Parts,” International Scientific Colloquium Ilmenau
University 56, 12-16.
S., S., Martinez, J., G., Ortega, J., G., Garcia, &A., S., Garcia (2012), “A machine vision system for defect
characterization on transparent parts with non-plane surfaces,” J. Machine Vision and Application 23, springer,
1-13.
R., Seulin, F., Merienne, &P.. Gorria (2001), “Machine Vision System for Specular Surface Inspection Process
as a Tool for Design and Optimization,” International Conference on Quality Control by Artificial Vision 1, 147-
152.
H., F., Ng, (2006), “Automatic thresholding for defect detection,” Pattern Recognition Letters 27(14), Science
Direct, 1644-1649.
T., Tabata, T., Komuro, &M., Ishikawa (2010), “Surface image synthesis of moving spinning cans using a
1,000-fps area scan camera,” J. Machine Vision and Applications 21(5), springer, 643-652.
Innovative Systems Design and Engineering www.iiste.org
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online)
Vol.4, No.8, 2013
5
Figure 1. Schematic diagram of the inspection system
(All dimensions in cm)
Innovative Systems Design and Engineering
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online
Vol.4, No.8, 2013
Figure 2
2871 (Online)
6
Figure 2. Details of the inspection system
www.iiste.org
Innovative Systems Design and Engineering www.iiste.org
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online)
Vol.4, No.8, 2013
7
Figure 3. Microcontroller circuit diagram
Figure 4. Block diagram of the inspection process
Innovative Systems Design and Engineering
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online
Vol.4, No.8, 2013
Figure 5. Defect free plate with its light intensity distribution
2871 (Online)
8
Figure 5. Defect free plate with its light intensity distribution
www.iiste.org
Innovative Systems Design and Engineering
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online
Vol.4, No.8, 2013
Figure 6. Punch defected with its light intensity distribution
2871 (Online)
9
Figure 6. Punch defected with its light intensity distribution
www.iiste.org
Innovative Systems Design and Engineering
ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online
Vol.4, No.8, 2013
Figure 7. Crack defected plate with its light intensity distribution
2871 (Online)
10
Figure 7. Crack defected plate with its light intensity distribution
www.iiste.org
This academic article was published by The International Institute for Science,
Technology and Education (IISTE). The IISTE is a pioneer in the Open Access
Publishing service based in the U.S. and Europe. The aim of the institute is
Accelerating Global Knowledge Sharing.
More information about the publisher can be found in the IISTE’s homepage:
http://www.iiste.org
CALL FOR PAPERS
The IISTE is currently hosting more than 30 peer-reviewed academic journals and
collaborating with academic institutions around the world. There’s no deadline for
submission. Prospective authors of IISTE journals can find the submission
instruction on the following page: http://www.iiste.org/Journals/
The IISTE editorial team promises to the review and publish all the qualified
submissions in a fast manner. All the journals articles are available online to the
readers all over the world without financial, legal, or technical barriers other than
those inseparable from gaining access to the internet itself. Printed version of the
journals is also available upon request of readers and authors.
IISTE Knowledge Sharing Partners
EBSCO, Index Copernicus, Ulrich's Periodicals Directory, JournalTOCS, PKP Open
Archives Harvester, Bielefeld Academic Search Engine, Elektronische
Zeitschriftenbibliothek EZB, Open J-Gate, OCLC WorldCat, Universe Digtial
Library , NewJour, Google Scholar

More Related Content

What's hot

On an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbusOn an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbusISA Interchange
 
IRJET- Inspection of Components with the Support of the Drones
IRJET- Inspection of Components with the Support of the DronesIRJET- Inspection of Components with the Support of the Drones
IRJET- Inspection of Components with the Support of the DronesIRJET Journal
 
Online and Offline Testing Of C-Bist Using Sram
Online and Offline Testing Of C-Bist Using SramOnline and Offline Testing Of C-Bist Using Sram
Online and Offline Testing Of C-Bist Using Sramiosrjce
 
AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...
AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...
AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...csandit
 
Lecture handout by Mohd. Ayub Khan
Lecture handout by Mohd. Ayub KhanLecture handout by Mohd. Ayub Khan
Lecture handout by Mohd. Ayub Khanmayank agarwal
 
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...ijsrd.com
 
Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Ankita Tiwari
 
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
 SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS  SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS Nandakishor Jahagirdar
 

What's hot (10)

On an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbusOn an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbus
 
IRJET- Inspection of Components with the Support of the Drones
IRJET- Inspection of Components with the Support of the DronesIRJET- Inspection of Components with the Support of the Drones
IRJET- Inspection of Components with the Support of the Drones
 
Online and Offline Testing Of C-Bist Using Sram
Online and Offline Testing Of C-Bist Using SramOnline and Offline Testing Of C-Bist Using Sram
Online and Offline Testing Of C-Bist Using Sram
 
A046010104
A046010104A046010104
A046010104
 
AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...
AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...
AUTO LANDING PROCESS FOR AUTONOMOUS FLYING ROBOT BY USING IMAGE PROCESSING BA...
 
Cn33543547
Cn33543547Cn33543547
Cn33543547
 
Lecture handout by Mohd. Ayub Khan
Lecture handout by Mohd. Ayub KhanLecture handout by Mohd. Ayub Khan
Lecture handout by Mohd. Ayub Khan
 
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
 
Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.
 
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
 SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS  SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
SIMULTANEOUS MAPPING AND NAVIGATION FOR RENDEZVOUS IN SPACE APPLICATIONS
 

Similar to Automated surface defect detection using area scan camera

IRJET - Military Spy Robot with Intelligentdestruction
IRJET - Military Spy Robot with IntelligentdestructionIRJET - Military Spy Robot with Intelligentdestruction
IRJET - Military Spy Robot with IntelligentdestructionIRJET Journal
 
Maze solving quad_rotor
Maze solving quad_rotorMaze solving quad_rotor
Maze solving quad_rotornguyendattdh
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronicsAlex Folz
 
Monitor and Quality Control for Automatic Production Line System
Monitor and Quality Control for Automatic Production Line SystemMonitor and Quality Control for Automatic Production Line System
Monitor and Quality Control for Automatic Production Line SystemIRJET Journal
 
Actuator Fault Decoupled Residual Generation on Lateral Moving Aircraft
Actuator Fault Decoupled Residual Generation on Lateral Moving AircraftActuator Fault Decoupled Residual Generation on Lateral Moving Aircraft
Actuator Fault Decoupled Residual Generation on Lateral Moving AircraftTELKOMNIKA JOURNAL
 
IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...
IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...
IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...IRJET Journal
 
AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...
AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...
AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...sipij
 
IRJET - Road Condition Improvement in Smart Cities using IoT
IRJET - Road Condition Improvement in Smart Cities using IoTIRJET - Road Condition Improvement in Smart Cities using IoT
IRJET - Road Condition Improvement in Smart Cities using IoTIRJET Journal
 
Design and development of touch screen controlled stairs climbing robot
Design and development of touch screen controlled stairs climbing robotDesign and development of touch screen controlled stairs climbing robot
Design and development of touch screen controlled stairs climbing roboteSAT Journals
 
Thesis_Khan_2073209.pptx
Thesis_Khan_2073209.pptxThesis_Khan_2073209.pptx
Thesis_Khan_2073209.pptxAlmasrurKhan2
 
Hardware software co simulation of edge detection for image processing system...
Hardware software co simulation of edge detection for image processing system...Hardware software co simulation of edge detection for image processing system...
Hardware software co simulation of edge detection for image processing system...eSAT Publishing House
 
Annunciator for Hazard Prevention & Temperature Control
Annunciator for Hazard Prevention & Temperature ControlAnnunciator for Hazard Prevention & Temperature Control
Annunciator for Hazard Prevention & Temperature ControlIOSR Journals
 
IRJET - Autonomous Eviscerating BOT using ANT Colony Optimization
IRJET -  	  Autonomous Eviscerating BOT using ANT Colony OptimizationIRJET -  	  Autonomous Eviscerating BOT using ANT Colony Optimization
IRJET - Autonomous Eviscerating BOT using ANT Colony OptimizationIRJET Journal
 

Similar to Automated surface defect detection using area scan camera (20)

IRJET - Military Spy Robot with Intelligentdestruction
IRJET - Military Spy Robot with IntelligentdestructionIRJET - Military Spy Robot with Intelligentdestruction
IRJET - Military Spy Robot with Intelligentdestruction
 
Maze solving quad_rotor
Maze solving quad_rotorMaze solving quad_rotor
Maze solving quad_rotor
 
MTVS Poster
MTVS PosterMTVS Poster
MTVS Poster
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronics
 
Monitor and Quality Control for Automatic Production Line System
Monitor and Quality Control for Automatic Production Line SystemMonitor and Quality Control for Automatic Production Line System
Monitor and Quality Control for Automatic Production Line System
 
Actuator Fault Decoupled Residual Generation on Lateral Moving Aircraft
Actuator Fault Decoupled Residual Generation on Lateral Moving AircraftActuator Fault Decoupled Residual Generation on Lateral Moving Aircraft
Actuator Fault Decoupled Residual Generation on Lateral Moving Aircraft
 
IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...
IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...
IRJET- Automatic Gate Crossing and IoT based Train Track Crack Detection Syst...
 
Autonomous Eye
Autonomous EyeAutonomous Eye
Autonomous Eye
 
AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...
AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...
AUTOMATIC IMAGE PROCESSING ENGINE ORIENTED ON QUALITY CONTROL OF ELECTRONIC B...
 
IRJET - Road Condition Improvement in Smart Cities using IoT
IRJET - Road Condition Improvement in Smart Cities using IoTIRJET - Road Condition Improvement in Smart Cities using IoT
IRJET - Road Condition Improvement in Smart Cities using IoT
 
Design of a Non-Contact Surface Profilometry System for Automated Geometrical...
Design of a Non-Contact Surface Profilometry System for Automated Geometrical...Design of a Non-Contact Surface Profilometry System for Automated Geometrical...
Design of a Non-Contact Surface Profilometry System for Automated Geometrical...
 
Design and development of touch screen controlled stairs climbing robot
Design and development of touch screen controlled stairs climbing robotDesign and development of touch screen controlled stairs climbing robot
Design and development of touch screen controlled stairs climbing robot
 
Thesis_Khan_2073209.pptx
Thesis_Khan_2073209.pptxThesis_Khan_2073209.pptx
Thesis_Khan_2073209.pptx
 
Hardware software co simulation of edge detection for image processing system...
Hardware software co simulation of edge detection for image processing system...Hardware software co simulation of edge detection for image processing system...
Hardware software co simulation of edge detection for image processing system...
 
Annunciator for Hazard Prevention & Temperature Control
Annunciator for Hazard Prevention & Temperature ControlAnnunciator for Hazard Prevention & Temperature Control
Annunciator for Hazard Prevention & Temperature Control
 
H028038042
H028038042H028038042
H028038042
 
IRJET - Autonomous Eviscerating BOT using ANT Colony Optimization
IRJET -  	  Autonomous Eviscerating BOT using ANT Colony OptimizationIRJET -  	  Autonomous Eviscerating BOT using ANT Colony Optimization
IRJET - Autonomous Eviscerating BOT using ANT Colony Optimization
 
Kq3518291832
Kq3518291832Kq3518291832
Kq3518291832
 
Report NIYANTRA
Report NIYANTRAReport NIYANTRA
Report NIYANTRA
 
Pid
PidPid
Pid
 

More from Alexander Decker

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Alexander Decker
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inAlexander Decker
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesAlexander Decker
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksAlexander Decker
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dAlexander Decker
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceAlexander Decker
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifhamAlexander Decker
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaAlexander Decker
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenAlexander Decker
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksAlexander Decker
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget forAlexander Decker
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabAlexander Decker
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...Alexander Decker
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalAlexander Decker
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesAlexander Decker
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbAlexander Decker
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloudAlexander Decker
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveragedAlexander Decker
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenyaAlexander Decker
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health ofAlexander Decker
 

More from Alexander Decker (20)

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale in
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 

Automated surface defect detection using area scan camera

  • 1. Innovative Systems Design and Engineering www.iiste.org ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online) Vol.4, No.8, 2013 1 Automated Surface Defect Detection using Area Scan Camera Somer M. Nacy1* and Wisam T. Abbood2 1. Al-Khwarizmi College of Engineering, University of Baghdad, Baghdad, Iraq 2. Al-Khwarizmi College of Engineering, University of Baghdad, Baghdad, Iraq * Email of the corresponding author:nacys2@asme.org Abstract This research comprises the design and fabrication of an automated surface defect detection system in which the defected part is automatically rejected. A special purpose rejection mechanism is designed in a manner to whether accept the defect free parts or reject the defected parts. The inspection vision system adopted in the design is an area scan camera, which works in conjunction with the MATLAB image acquisition tool. The control process is achieved via a PIC16F84A microcontroller, where it controls the image capturing and the defected part rejection mechanism. To validate the performance of this designed system, three types of plates were used, namely, defect free, punch defected and crack defected. Results showed that all the defected plates were rejected thus insuring the high efficiency of the system. Keywords: area scan camera, inspection vision system, surface detection 1. Introduction Due to the fast development in industry, traditional inspection methods are les considered or almost removed from production lines. Automated inspection technologies are widely used nowadays. These technologies are mainly dependent on vision system inspection, especially those used in surface defect detection. On-line quality control has many benefits, such as, early detection of defects, rapid feedback, reduced costs and finally reduced customer claims. Many researchers have investigated the application of automated inspection systems in different industrial disciplines, such as, fabrics, Conci and Proenca (2002); float glass fabrication, Peng et al. (2008); solder joint segmentation, Mar et al. (2009); weld beads, Li et al. (2010); coatings in metal lids, Kamal and Adnan (2010); rotationally symmetric parts, Laurowski et al. (2011); transparent parts with non-plane surfaces, Martinez et al. (2012). Others worked on different applications, where Seulin et al. (2001), implemented a vision surface inspection system as a tool for design and optimization. A study on automatic thresholding techniques for defect detection was achieved by Ng (2006). Surface image synthesis through an area scan camera was conducted by Tabata et al. (2010). The present work consists of a design for an automated surface defect detection using area scan camera. This system comprises three main subsystems, namely, the mechanical subsystem, including the conveyor belt and a special purpose rejection mechanism; the electrical subsystem, including motors, IR sensors, microcontroller and the host computer; and finally the software subsystem, in which programs were established to control the detection and rejection processes. 2. System Description The basic idea in designing this system is to achieve an on-line inspection mode, making decisions of rejection for defected surfaces and acceptance for defect free surfaces without any waste of time. A schematic diagram of the system is presented in figure 1, showing all the dimensions adopted in fabrication. Figure 2 depicts two views of the system, showing all the fixtures, conveyor belt, motor drivers, area scan camera, IR sensors and the rejection mechanism which consists of a gate driven by a geared DC motor. The duty of the IR1 sensor is to sense the arrival of the plate to be inspected thus allowing the camera to capture an image for the plate. While the IR2 sensor is to sense the arrival of the plate near the rejection gate, thus in case of rejection, i.e. the plate is defected; it activates the DC motor to open the gate. The microcontroller circuit diagram is shown in figure 3. It is of type PIC16F84A, which belongs to a class of 8-bit microcontroller of RISC architecture with program memory made in FLASH technology, which can be programmed and cleared for many times. Two main tasks are to be accomplished by the microcontroller, where it regulates the trigger pulses of the area scan camera and it controls the movement of the rejection gate. 3. Programs Two main programs were implemented and used by the system. The first is the control program, written in assembly language as listed below,
  • 2. Innovative Systems Design and Engineering www.iiste.org ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online) Vol.4, No.8, 2013 2 LIST P=PIC16F84A INCLUDE “P16F84A.INC” __CONFIG _XT_OSC & _WDT_OFF GOTO MAIN DELAY LOOP1 DECFSZ COUNT1,1 GOTO LOOP1 DECFSZ COUNT2,1 GOTO LOOP1 RETURN TRIGGER BSF PORTB,4 CALL DELAY CALL DELAY BCF PORTB,4 RETURN CHANGE BTFSC PORTB,1 GOTO BB BSF PORTB,2 CALL DELAY CALL DELAY CALL DELAY CALL DELAY CALL DELAY CALL DELAY GG BTFSS PORTB,1 GOTO GG BCF PORTB,2 RETURN MAIN BSF STATUS,5 MOVLW b'00001011' MOVWF TRISB BCF STATUS,5 MOVLW b'00000000' MOVWF PORTB AA BTFSS PORTB,3 CALL TRIGGER BTFSS PORTB,0 CALL CHANGE GOTO AA END This program allows the microcontroller to receive inputs and transmits controlling outputs. It contains four subroutines. The DELAY subroutine produces the required delay time for the rejection gate after the plate passes IR2 sensor. The TRIGGER subroutine activates the area scan camera to capture an image. The CHANGE subroutine activates the DC motor of the rejection gate in case of a defected plate is passing. The MAIN subroutine is the previous subroutines.
  • 3. Innovative Systems Design and Engineering www.iiste.org ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online) Vol.4, No.8, 2013 3 The second program works under the MATLAB software, as listed below, clc daq=daqhwinfo('parallel'); dio=digitalio('parallel', 'LPT1'); addline(dio,0:7,0,'out'); putvalue(dio.line(1),0); A = imread('A1.jpg'); K = graythresh(A) E= imread('A2.jpg'); F = graythresh(E) vid = videoinput('winvideo', 1, 'RGB24'); src = getselectedsource(vid); vid.FramesPerTrigger = 1; preview(vid); vid.ReturnedColorspace = 'grayscale'; for j=1:50 clc F8 = waitforbuttonpress; close B = getsnapshot(vid); save B C = ('B.jpg'); str = sprintf('%s',C); imwrite(B,str,'jpg'); C = graythresh(B) if K==C; msgbox('similar','OK'); elseif F==C; msgbox('similar','OK'); else dio=digitalio('parallel', 'LPT1'); addline(dio,0:7,0,'out'); putvalue(dio.line(1),1); h=0; for i=1:100 h=h+1; end dio=digitalio('parallel', 'LPT1'); addline(dio,0:7,0,'out'); putvalue(dio.line(1),0); end end This program conducts two jobs, the first is to compare the image captured by the camera with a previously stored image of a defect free plate, while the second job is to analyze the light intensity of the captured image. 4. Experimentation and Procedure The inspected products are rectangular Aluminum plates; each is 100 mm X 110 mm in dimension. These plates fall in one of three categories, defect free, notch defected and crack defected. The total number of plates inspected by this system is 1000, 350 of them are punch defected with different locations of the punch defect on the plate surface, 350 are crack defected with different crack locations and positions on the plate surface, while the rest 300 plates are defect free. A block diagram clarifying the procedure of the inspection process is presented in figure 4. When any plate passes on the IR1 sensor, a signal is generated as an input to the microcontroller, which in turn delivers a signal to the area scan camera, through the MATLAB program in the host computer, thus an image of the plate to be inspected is captured and returned back to the host computer. The MATLAB program analyzes the image, stores its light intensity data, compare it with a previously stored defect free image and makes a decision on whether this inspected plate is defected or not. If the decision is made as the
  • 4. Innovative Systems Design and Engineering www.iiste.org ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online) Vol.4, No.8, 2013 4 plate is defected, the host computer generates a signal to the microcontroller, which in turn takes an action after receiving a signal from the IR2 sensor, hence activating the DC motor of the rejection gate. While, if the decision is made as the plate is defect free, the inspected plate passes as an accepted one. 5. Results and Discussion The results to be presented here are those obtained from the MATLAB program, concerning the light intensity of three selected samples representing a defect free plate, a plate with punch defect and a plate with crack defect. The MATLAB program used in this work was constructed in a way to convert the image captured by the area scan camera to a gray scale, hence to remove the noise and the contrast of colors that result from the analysis of white light. Light intensity graphs for the three samples, defect free plate, plate with punch defect and plate with crack defect are shown in figures 5, 6 and 7, respectively. It is very clear that for the defect free plate, light intensity is more concentrated around the gray color, in the range between 100 and 200. While the light intensity spreads out of this range for the punch defected plate, reaching a range between 100 and 235, and as the defect becomes larger on the plate surface, as for the case of crack defected plate, light intensity spreads more, reaching a range of 90 to 250. Where any defect acts as a disturbing factor on the light intensity distribution, and as the defect takes more area on the plate surface, the disturbance becomes greater. So, as for any defect happened to be on the surface of the plate, light intensity becomes more non-homogeneous and spreads more outside the gray color limits. On these bases the decision was taken on whether the plate is defected or not. 6. Conclusions From the inspection tests conducted on all the 1000 plates, it was found that all the 700 defected plates were rejected. According to this result, it can be concluded that the method adopted, which relays on light intensity in its decision making, is an efficient and reliable method in distinguishing between defect free and surface defected plates. References A., Conci, &C., B., Proenca (2002) “A System for Real-Time Fabric Inspection and Industrial Decision,” 14th International Conference on Software Engineering and Knowledge Engineering, ACM, 707-714. X., Peng, Y., Chen,W. Yu, Z., Zhou, &G., Sun (2008), “An online defects inspection method for float glass fabrication based on machine vision,” J. Advanced Manufacturing Technology 39(11-12), springer, 1180-1189. N., S., S., Mar, C., Fookes, &P., K., D., V., Yarlagadda (2009), “Design of automatic vision-based inspection system for solder joint segmentation,” J. AMME 34(2), 145-151. Y., Li, Y., F., Li, Q., L., Wang, D., Xu, &M., Tan(210) “Measurement and Defect Detection of the Weld Bead Based on Online Vision Inspection,” IEEE, Transactions on Instrumentation and Measurement 59(7), 1841- 1849 I., Al Kamal, &M., Adnan (2010), “Online Machine Vision Inspection System for Detecting Coating Defects in Metal Lids,” International Multiconference of Engineers and Computer Scientists 2. M., Laurowski, PH., Klein, M., Weyrich, P., Scharf, & S., Stark (2011), “Use-appropriate Design of Automated Optical Inspection Systems for Rotationally Symmetric Parts,” International Scientific Colloquium Ilmenau University 56, 12-16. S., S., Martinez, J., G., Ortega, J., G., Garcia, &A., S., Garcia (2012), “A machine vision system for defect characterization on transparent parts with non-plane surfaces,” J. Machine Vision and Application 23, springer, 1-13. R., Seulin, F., Merienne, &P.. Gorria (2001), “Machine Vision System for Specular Surface Inspection Process as a Tool for Design and Optimization,” International Conference on Quality Control by Artificial Vision 1, 147- 152. H., F., Ng, (2006), “Automatic thresholding for defect detection,” Pattern Recognition Letters 27(14), Science Direct, 1644-1649. T., Tabata, T., Komuro, &M., Ishikawa (2010), “Surface image synthesis of moving spinning cans using a 1,000-fps area scan camera,” J. Machine Vision and Applications 21(5), springer, 643-652.
  • 5. Innovative Systems Design and Engineering www.iiste.org ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online) Vol.4, No.8, 2013 5 Figure 1. Schematic diagram of the inspection system (All dimensions in cm)
  • 6. Innovative Systems Design and Engineering ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online Vol.4, No.8, 2013 Figure 2 2871 (Online) 6 Figure 2. Details of the inspection system www.iiste.org
  • 7. Innovative Systems Design and Engineering www.iiste.org ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online) Vol.4, No.8, 2013 7 Figure 3. Microcontroller circuit diagram Figure 4. Block diagram of the inspection process
  • 8. Innovative Systems Design and Engineering ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online Vol.4, No.8, 2013 Figure 5. Defect free plate with its light intensity distribution 2871 (Online) 8 Figure 5. Defect free plate with its light intensity distribution www.iiste.org
  • 9. Innovative Systems Design and Engineering ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online Vol.4, No.8, 2013 Figure 6. Punch defected with its light intensity distribution 2871 (Online) 9 Figure 6. Punch defected with its light intensity distribution www.iiste.org
  • 10. Innovative Systems Design and Engineering ISSN 2222-1727 (Paper) ISSN 2222-2871 (Online Vol.4, No.8, 2013 Figure 7. Crack defected plate with its light intensity distribution 2871 (Online) 10 Figure 7. Crack defected plate with its light intensity distribution www.iiste.org
  • 11. This academic article was published by The International Institute for Science, Technology and Education (IISTE). The IISTE is a pioneer in the Open Access Publishing service based in the U.S. and Europe. The aim of the institute is Accelerating Global Knowledge Sharing. More information about the publisher can be found in the IISTE’s homepage: http://www.iiste.org CALL FOR PAPERS The IISTE is currently hosting more than 30 peer-reviewed academic journals and collaborating with academic institutions around the world. There’s no deadline for submission. Prospective authors of IISTE journals can find the submission instruction on the following page: http://www.iiste.org/Journals/ The IISTE editorial team promises to the review and publish all the qualified submissions in a fast manner. All the journals articles are available online to the readers all over the world without financial, legal, or technical barriers other than those inseparable from gaining access to the internet itself. Printed version of the journals is also available upon request of readers and authors. IISTE Knowledge Sharing Partners EBSCO, Index Copernicus, Ulrich's Periodicals Directory, JournalTOCS, PKP Open Archives Harvester, Bielefeld Academic Search Engine, Elektronische Zeitschriftenbibliothek EZB, Open J-Gate, OCLC WorldCat, Universe Digtial Library , NewJour, Google Scholar