DETECTING THE FAULT FROM SPECTROGRAMS BY USING GENETIC ALGORITHM TECHNIQUES

Similar documents
Genetic Algorithm. Outline

CSC 4510 Machine Learning

Lecture 9 Evolutionary Computation: Genetic algorithms

Data Warehousing & Data Mining

Chapter 8: Introduction to Evolutionary Computation

Evolutionary computation

Genetic Algorithms & Modeling

Search. Search is a key component of intelligent problem solving. Get closer to the goal if time is not enough

Lecture 15: Genetic Algorithms

Fundamentals of Genetic Algorithms

Evolutionary Computation

V. Evolutionary Computing. Read Flake, ch. 20. Genetic Algorithms. Part 5A: Genetic Algorithms 4/10/17. A. Genetic Algorithms

Evolutionary Computation. DEIS-Cesena Alma Mater Studiorum Università di Bologna Cesena (Italia)

V. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA

IV. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA

GENETIC ALGORITHM FOR CELL DESIGN UNDER SINGLE AND MULTIPLE PERIODS

The Role of Crossover in Genetic Algorithms to Solve Optimization of a Function Problem Falih Hassan

Lecture 22. Introduction to Genetic Algorithms

Evolutionary Computation: introduction

Artificial Intelligence Methods (G5BAIM) - Examination

Local Search & Optimization

Genetic Algorithms. Donald Richards Penn State University

Haploid & diploid recombination and their evolutionary impact

Department of Mathematics, Graphic Era University, Dehradun, Uttarakhand, India

An Effective Chromosome Representation for Evolving Flexible Job Shop Schedules

Artificial Intelligence (AI) Common AI Methods. Training. Signals to Perceptrons. Artificial Neural Networks (ANN) Artificial Intelligence

Crossover Techniques in GAs

Co-evolution of Morphology and Control for Roombots

Interplanetary Trajectory Optimization using a Genetic Algorithm

Development. biologically-inspired computing. lecture 16. Informatics luis rocha x x x. Syntactic Operations. biologically Inspired computing

The European Applied Business Research Conference Rothenburg, Germany 2002

Intelligens Számítási Módszerek Genetikus algoritmusok, gradiens mentes optimálási módszerek

Approximating the step change point of the process fraction nonconforming using genetic algorithm to optimize the likelihood function

Methods for finding optimal configurations

Genetic Algorithm: introduction

Scaling Up. So far, we have considered methods that systematically explore the full search space, possibly using principled pruning (A* etc.).

Geometric Semantic Genetic Programming (GSGP): theory-laden design of variation operators

Computational statistics

APES C4L2 HOW DOES THE EARTH S LIFE CHANGE OVER TIME? Textbook pages 85 88

Stochastic Search: Part 2. Genetic Algorithms. Vincent A. Cicirello. Robotics Institute. Carnegie Mellon University

The Genetic Algorithm is Useful to Fitting Input Probability Distributions for Simulation Models

A GA Mechanism for Optimizing the Design of attribute-double-sampling-plan

Energy Minimization of Protein Tertiary Structure by Parallel Simulated Annealing using Genetic Crossover

Introduction to Digital Evolution Handout Answers

Evolutionary Functional Link Interval Type-2 Fuzzy Neural System for Exchange Rate Prediction

Genetic Algorithm for Solving the Economic Load Dispatch

SOLUTION: SOLUTION: SOLUTION:

INFORMATION-THEORETIC BOUNDS OF EVOLUTIONARY PROCESSES MODELED AS A PROTEIN COMMUNICATION SYSTEM. Liuling Gong, Nidhal Bouaynaya and Dan Schonfeld

Genetic Changes Lesson 2 CW

How do species change over time?

Design Optimization of an Electronic Component with an Evolutionary Algorithm Using the COMSOL-MATLAB LiveLink

Computational Complexity and Genetic Algorithms

OPTIMIZED RESOURCE IN SATELLITE NETWORK BASED ON GENETIC ALGORITHM. Received June 2011; revised December 2011

Using Genetic Algorithm for classification of flower plants

Koza s Algorithm. Choose a set of possible functions and terminals for the program.

(60-245) Modeling Mitosis and Meiosis. Mitosis

CSC 421: Algorithm Design & Analysis. Spring 2018

Genetic Algorithms: Basic Principles and Applications

Evolutionary Design I

CSC242: Artificial Intelligence. Lecture 4 Local Search

A Genetic Algorithm Approach for Doing Misuse Detection in Audit Trail Files

Artificial Intelligence. 3 Problem Complexity. Prof. Dr. Jana Koehler Fall 2016 HSLU - JK

Local Search & Optimization

Efficiency of genetic algorithm and determination of ground state energy of impurity in a spherical quantum dot

how should the GA proceed?

Evolution & Natural Selection

Evolutionary computation

Overview. Optimization. Easy optimization problems. Monte Carlo for Optimization. 1. Survey MC ideas for optimization: (a) Multistart

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE

Evolutionary Algorithms

Genetic Algorithms and Genetic Programming Lecture 17

Fall 2003 BMI 226 / CS 426 LIMITED VALIDITY STRUCTURES

Evolutionary Dynamics

Artificial Intelligence Methods (G5BAIM) - Examination

An Implementation of Compact Genetic Algorithm on a Quantum Computer

Multi-objective genetic algorithm

Efficiency Improvement of PM Disc Motor Using Genetic Algorithm

TUTORIAL: HYPER-HEURISTICS AND COMPUTATIONAL INTELLIGENCE

1. Brief History of Intelligent Control Systems Design Technology

7.1 Basis for Boltzmann machine. 7. Boltzmann machines

CSC242: Intro to AI. Lecture 5. Tuesday, February 26, 13

Metaheuristics and Local Search

How to Treat Evolutionary Algorithms as Ordinary Randomized Algorithms

Zebo Peng Embedded Systems Laboratory IDA, Linköping University

CHAPTER 3 FEATURE EXTRACTION USING GENETIC ALGORITHM BASED PRINCIPAL COMPONENT ANALYSIS

Optimal Design of PM Axial Field Motor Based on PM Radial Field Motor Data

CS 331: Artificial Intelligence Local Search 1. Tough real-world problems

Chapter 2 Section 1 discussed the effect of the environment on the phenotype of individuals light, population ratio, type of soil, temperature )

Cell Division Review Game Page 1

Metaheuristics and Local Search. Discrete optimization problems. Solution approaches

Adaptive Generalized Crowding for Genetic Algorithms

Available online at ScienceDirect. Procedia Computer Science 20 (2013 ) 90 95

A study on measures to reduce infrequent yarn faults - Development of an attachment

Keywords: tropical cyclone eye fix; remote sensing data; Genetic algorithm.

Data Mining. Preamble: Control Application. Industrial Researcher s Approach. Practitioner s Approach. Example. Example. Goal: Maintain T ~Td

Reading Selection: How do species change over time?

Lecture 5: Linear Genetic Programming

Geometric Semantic Genetic Programming (GSGP): theory-laden design of semantic mutation operators

BIOINFORMATICS: An Introduction

State of the art in genetic algorithms' research

Transcription:

DETECTING THE FAULT FROM SPECTROGRAMS BY USING GENETIC ALGORITHM TECHNIQUES Amin A. E. 1, El-Geheni A. S. 2, and El-Hawary I. A **. El-Beali R. A. 3 1 Mansoura University, Textile Department 2 Prof. Dr. Alexandria University, Textile Department 3 Prof. Dr. Mansoura University, Textile Department Abstract: During the last thirty years there has been a rapidly growing interest in the field of genetic algorithms (GAs). The field is at a stage of tremendous growth, as evidenced by the increasing number of conferences, workshops, and papers concerning it, as well as the emergence of a central journal for the field. With their great robustness, genetic algorithms have proven to be a promising technique for many optimisation, design, control, and machine learning applications. This paper presents a new technique for detecting the source of fault in spinning mills from spectrograms by using genetic algorithm. Key words: Textile spectrogram, genetic algorithm 1. Introduction The problem of faults and defects produced during the mechanical spinning of yarns is as old as the industry itself. In earlier times, much skill and experience were required in order to detect and remove these faults. In this paper, an attempt is made at providing a key to enable the source of faults to be located. It is understood that only the more common defects can be covered here, since there is no end to the list of possible reasons. In any event, there is no complete replacement for skill and experience. An important point to be borne in mind is: - that machines generally create short term variations, and - that when ultimately drafted, these appear as long-term or count variations. Figure 1 illustrates the types of fault in the spinning mill. Detects in cotton spinning periodical non-periodical Waves peaks in spectrogram Hills in spectrogram Repeating high and low peaks in chart Distance between the variations over 2 yds faulty drafts. sliver feed cleanliness of machine Distance between the variations under 2 yds Figure 1. Chart illustrating types of fault. http://www.autexrj.org/no2-2007/0161.pdf 80

2. Wavelength range of machine s faults [1] Table 1 (1.A and 1.B) presents a specification of machine elements and machine sets at which faults may occur, together with the dimensions and formulas related, as well as their positions at the spectrograms. Table 1.A. Machine parts, schematic drawings and dimensions specification. Machine part Geometrical arrangement of the particular machine elements end sets Specification of dimensions and other parameters d o d f D 1 D 2 Ring spinning d i d d f = front roller diameter. d o = outer diameter of bobbin. d i = inner diameter of bobbin. d T = traveller diameter. D 1 = front draft. D 2 = back draft. l1 = length of top apron. l2 = length of bottom apron. d f D 1 D 2 Speed frame d f d i d f = front roller diameter. d o = outer diameter of bobbin. d i = inner diameter o bobbin. d T = traveller diameter. D 1 = front draft. D 2 = back draft. l1 = length of top apron. l2 = length of bottom apron. d Draw frame Comber 1 2 1 6 2 4 5 7 D 1 D 2 D 1 3 5 D 2 4 6 7 8 1,2 = front roller diameter. 3,4,5 = middle roller diameter. 6,7= back roller diameter. D 1 = front draft. D 2 = back draft. 1,2 = front roller diameter. 3,4 = middle roller diameter. 5,6 = back roller diameter. 7,8 = detaching roller diameter. D 1 = front draft. D 2 = back draft. Card 5 3 4 2 1 1 = licker-in diameter. 2= cylinder diameter. 3 = doffer diameter. 4 = lifting-of of flats. 5 = calender roller diameter. http://www.autexrj.org/no2-2007/0161.pdf 81

Table 1.B. Machine parts, formulations of wavelengths and positions at the spectrograms. Machine Source Calculation of wave length Ring Spinning Speed Frame Draw Frame II/I Comber Card Top apron Bottom apron Drawbox drive Ring traveller Empty spindle Full spindle Drafting waves Top apron Bottom apron Drawbox drive Empty spindle Full spindle Drafting waves Drawbox drive Drafting waves Drawbox drive Drafting waves Licker-in Cylinder Doffer Card flats Calender rollers 1 =d 1 *π 2 =d 1 *π*d 1 3 =d 1 *π*d total 4 =l 1 *D 1 5 =l 2 *D 1 6 shorter than 3 7 =d T *π 8 =d i *π 9 =d o *π 10 ~2.75*l 1 = d 1 *π 2 = d 1 *π*d 1 3 = d 1 *π*d total 4 =l 1 *D 1 5 =l 2 *D 1 6 shorter than 3 7 =d*π 8 =d*π 9 ~3.5*l 1 = d 1 *π 2 = d 2 *π 3 = d 1 *π*d 1 4,5 =d*π*d 1 6 =d*π*d total 7 =d*π*d total 8 shorter than 6 9 ~4*l 1,2 =d 1,2 *π 3,5,6 =d 3, 4,5 *π*d 1 4 =d 4 *π*d 1 7,8 =d*π * D total 9 shorter than 6 10 ~4*l d1 1 = d1 d2 2 = d2 d3 3 = d3 l * Vp 4 = l * n 4 5 = d 5 *π http://www.autexrj.org/no2-2007/0161.pdf 82

3. Genetic algorithms (GA) A genetic algorithm (GA) is a probabilistic search and optimisation technique based on the principles of biological evolution, natural selection, and genetic recombination, simulating the survival of the fittest in a population of potential solutions of individuals. GAs are capable of globally exploring a solution space, pursuing potentially fruitful paths while also examining random points to reduce the likelihood of settling for a local optimum [Goldberg, 1989]. They are conceptually simple yet computationally powerful, making them attractive for use in complex domains, and have been demonstrated on a wide variety of problems. GAs and evolutionary computation, which use the twin metaphors of natural evolution and survival of the fittest, derive their strength by working on populations of solutions and are therefore best exploited in a parallel computing environment. GAs function by iteratively refining a population of encoded representations of solutions. Parents from a population are selected for crossover and mutation. The offspring form the new population. The selection process is controlled via a fitness measure that is closely related to the optimisation objective. This generation cycle is repeated until a solution with the desirable quality is located. GA evolution emerges from the following simple rules: 1. Initiate: Create a population of a some specific size. 2. Evaluate fitness: Calculate a fitness value for each individual in the population by evaluating how good solution the individual is to the given problem. 3. Reproduce: Let the best individuals have offspring with each others by choosing two individuals at a time. The probability for choosing an individual is weighted by the individual s, fitness value so that the good ones in the population reproduce many time more likely than the bad ones. The offspring are created by cutting both of the two individuals at the same randomly selected point and then switching their ends, as shown in Figure 2. Crossover is done to a predefined fraction of the population. Figure 2. Genetic algorithmic reproduction. 4. Mutate: Choose a small, predefined percentage of the individuals randomly and randomly change one gene in each of them. 5. Copy the best individual of the last generation on one individual in the new generation to prevent possible degeneration. By repeating these simple rules, the population evolves very fast and finds a good or the optimum solution from huge search spaces by searching only a small fraction of the search space. By searching only 10-32 % fraction of a search space, a GA can still find the optimum solution in more than 10% of the searches [2]. Of course this depends on the structure of the problem. If not the optimum, a GA generally still finds very good solutions. The author applied the GA to the physically based jumping problem. The system learned to jump much higher than expected in only 50 generations. The population size was 400, mutations were http://www.autexrj.org/no2-2007/0161.pdf 83

made to 10% of the population, and only the 10 best individuals were allowed to make offspring. The fitness function used simulated the system with each string of the population, and gave a simple rating relative to how high the system jumped. In his Siggraph 94 article [2], Karl Sims proposed a technique for creating evolving virtual creatures in a simulated physical environment. He used genetic algorithms for both, creating the bodies of the creatures as well as evolving behaviour for them. The behaviours that he created realised swimming, locomotion, jumping and following a light. The behaviours created were interesting, goal-oriented and life-like; they could not easily be predicted. The GA learns how to use the body it is given by knowing what it wants to accomplish with it (fitness evaluation). The GA basically tries everything the body is capable of, and improves the ways that lead towards the goal (better fitness value). GAs are a very good tool for finding solutions from huge search spaces. They are good for many problems such as scheduling, DNA fragment assembly, edge colouring, minimum set-covering, travelling salesman and other NP-hard (Non-deterministic Polynomial-time hard) problems [3]. NPhard problems are solvable in polynomial time. Usually this means that these problems grow in complexity so fast, as a function of the order of the problem, that no matter how much the computers evolve, the problems cannot be solved with brute-force methods. An example of this is the chess search problem. With a problem branching factor of 35, the problem grows so fast as the function of the planning depth that the exponential evolving speed of computers does not help much in essentially deeper planning. In relations to computer games, GAs embody one challenging problem. They search for solutions to a static problem, one that remains the same. The GA cannot iterate to find a maximum if the systems behaviour changes between generations. Thus, one cannot really make the GA learn while playing against the human user, as the human user does not act in the same way every time. However, there are many things, game AI wise, that can be done with GAs. For an example, one can make a population of individuals with different FSM behavioural probability distributions and rate their success as a fitness value. The best ones can then reproduce as the game proceeds. This would lead the game AI to slowly improve against the particular player. The choice of the fitness function is essential to how well a GA evolves. 3.1. Genetic algorithm procedure Figure 3 explains how the GA can be used to obtain the best chromosome which maximizes ψ χ ). Begin { Assume the fitness function as ψ k ( χ i ) Create a chromosome structural as follows; { Generate a number of slots equal to I, which represent input vector X. Put a random value 0 or 1 in each slot. } G=0, where G is the number of the generation. Create the initial population, P of T chromosomes, () G P () t G, where t=1 to T. Evaluate the fitness function according to P t. While termination conditions not satisfied, Do { G=G+1 Select number of chromosomes from P () t G according to the roulette wheel procedure. Recombine between them using crossover and mutation. G + 1 Modify the population from () P t. P t to () G Evaluate the fitness function according to P () t G. } show the best chromosome which satisfies the conditions } End Figure 3. Genetic algorithmic procedure. k ( i http://www.autexrj.org/no2-2007/0161.pdf 84

For extracting a rule belonging to class K, the best chromosome must be decoded as follows: - The best chromosome is divided into N segments. - Each segment represents one attribute, A n (n=1,2,.,n), and has a corresponding bit length m n which represents their values. - The attribute values are existed if the corresponding bits in the best chromosome equal one and vice versa. - The operators OR and AND are used to correlate the existing values of the same attribute and the different attributes respectively. The overall methodology of rule extraction is shown in Figure 4. Data base fault Create an output function, ( ) ψ k x i Maximize the fitness function, ( ) ψ k x i Create an initial population of chromosomes Iteration = 0 Evaluate the fitness function Selection Crossover Mutation Update the population Iteration = Iteration +1 No Is the iteration reach max.? Yes Arrange the fitness function descending until to certain level Decoding the corresponding chromosomes into equivalent rules which meeting the class K K=K+1 No Is K reach max.? Yes Stop Figure 4. The overall methodology for rule extraction. http://www.autexrj.org/no2-2007/0161.pdf 85

4. Illustrative example The authors applied this technique in a virtual draft system simulation model [VDSS] [4]. The VDSS was given a database with 4 attributes and one output class, as shown in Table 2. The linguistic values of each attribute and the output class are summarised as follows; Fault type = A 1 = (False Real) Spectrum shape = A 2 = (Mechanical Draft waves) Fault category = A 3 = (periodical Non periodical) Harmony = A 4 = (odd even odd & even Non) Fault source = A T = (Ambient Coiling Drafting) Table 2. Example for target concept draft system fault. Wave length Harmony Source zone Defect Source 0.12-0.25 no no Ambiant condition 0.6-1.2 no no Ambiant condition 0.12-0.25 no no Ambiant condition 0.12-0.25 no no Ambiant condition 0.1-0.15 no no 0,17 no coiling 0,16 no coiling 0,94 no coiling 0,16 no coiling 0,16 no coiling 0,165 no coiling 0,13 even front draft 1st bot roller in draft zone 0,13 even front draft 1st top roller in draft zone 0.12-0.15 no front draft 1st top roller in draft zone 0.12-0.15 no front draft 1st top roller in draft zone 0.08-0.1 no front draft 2nd top roller in draft zone 0.08-0.1 even front draft 2nd top roller in draft zone 0.2-0.3 even middle draft 0.2-0.3 even middle draft 0.2-0.3 no middle draft 0.4-0.6 no middle draft 0.9-0.95 no back draft 1-1.05 no back draft 0.9-0.95 even back draft 1-1.05 even back draft 0.06-0.23 no main draft 0.06-0.23 even main draft 0.09-0.35 no break draft 0.09-0.35 even break draft 0.05-0.1 no front draft 0.05-0.1 no front draft 0.05-0.1 no middle draft 0.05-0.1 no back draft The encoding values of the given database are shown in Table 3. Table 4 shows the result from the expert database by using the genetic algorithm (GA). http://www.autexrj.org/no2-2007/0161.pdf 86

Table 3. Encoded database. Defect Source Draft Zone coilingzone Source Fault Type harmony Roller coiling Ambiant zone Distance Pressure Driver Guide top bottom part condition rollers 1st 2nd 3rd 4th 1st 2nd 3rd D1 D2 1st 2nd 3rd 4th Can Coiler Can Coiler other periodic no coiling 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 no periodic no coiling 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 no periodic no coiling 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 no periodic no coiling 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 no periodic no coiling 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 no periodic no coiling 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Calender roller periodic even front draft 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic even front draft 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no front draft 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no front draft 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no front draft 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic even front draft 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic even middle draft 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic even middle draft 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no middle draft 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no middle draft 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no back draft 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no back draft 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 no periodic even back draft 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no periodic even back draft 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 no periodic no maindraft 0 0 0 0 0 0 0 narrow 0 0 0 0 0 0 0 0 0 0 0 no periodic even maindraft 0 0 0 0 0 0 0 great 0 0 0 0 0 0 0 0 0 0 0 no periodic no break draft 0 0 0 0 0 0 0 0 narrow 0 0 0 0 0 0 0 0 0 0 no periodic even break draft 0 0 0 0 0 0 0 0 great 0 0 0 0 0 0 0 0 0 0 no periodic no front draft 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 no periodic no front draft 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 no Table 4. Extracted ruler from expert database. Rule No. Fitness Xi vector from GA A1 A2 A3 A4 X1 X2 X1 X2 X1 X2 X1 X2 X3 X4 1 0,99988 1 0 0 1 1 0 0 0 0 0 2 0,99995 0 1 1 0 1 0 0 1 0 0 Directly Extracted Rule if Fault type is false And Spectrum shape is draft waves Then fault source is ambient condition if Fault type is real And Spectrum shape is mechanical And fault category is periodical and harmony is even Then fault source is drafting zone 5. Conclusion This paper studies AI techniques for detecting the spinning fault resource. This technique involves extracting the fault resource from the expert database by using genetic algorithms. The expert http://www.autexrj.org/no2-2007/0161.pdf 87

database consists of spectrogram specification such as fault category (periodic OR non-periodic), fault type (false OR real), spectrogram shape (mechanical OR Drafting wave), etc. References: 1. Application handbook for evenness testers of the Uster type; Determination of periodic mass variations (spectrum). 2. Karl Sims, Evolving Virtual Creatures, http://www.genarts.com/karl/papers/siggraph94.pdf (7.2002). 3. Sami Khuri, Genetic Algorithms, course handouts, Helsinki University of Technology, August 2002. 4. Amin. A. E., Development of a simulation draft system model applied in virtual educational environment, under publication. http://www.autexrj.org/no2-2007/0161.pdf 88