Optimization Of Spring Weight Using Genetic Algorithm

DOI : 10.17577/IJERTV1IS9507

Download Full-Text PDF Cite this Publication

Text Only Version

Optimization Of Spring Weight Using Genetic Algorithm

A. M. Satyanarayana, B. T. N. Charyulu, C. S. C. V. Ramanamurthy Naidu, D.

G. Appala Naidu

  1. Abstract:

    Optimization is a technique through which better results are obtained under certain circumstances. The present work deals with the problem of weight minimization of Spring.

    Spring problem has large number of multivariable and non-linear equations / in equalities. Hence traditional optimization techniques cannot be applied in these cases. Traditional optimization techniques have a possibility for the solutions to get trapped into local minima. Also the algorithm developed for one type of problem may not be suitable for another type of problem.

    1. M.Satyanarayana, Roll No.10A01D1505, NOVA College of Engg.& Tech.Jangareddigudem, W.G.Dist,A.P Corresponding author, Email:satyamallapu@gmail.com,

    2. Assistant Professor, Department of Mechanical Engineering, NOVA College of E&T ,Jangareddigudem,W.G.Dist A.P

    3. Professor, Department of Mechanical Engineering, KHIT, Guntur, A.P

    4. G.AppalaNaidu,Roll No.10A01D1501 NOVA College of Engg.& Tech. W.G.Dist,A.P

      In this paper, a non traditional optimization technique, namely Genetic Algorithm is used. Optimal design of

      /Spring is solved using Genetic Algorithm. From the results obtained, it is observed that the optimum dimensions and weight obtained by GA are closer and they are much better than the values obtained by Consol-Opt cad

      In the present study, weight minimization of a spring has been investigated. Powerful evolutionary algorithm (Genetic Algorithm) has been used to solve this problem.

      Keywords: Optimization, Spring, Genetic Algorithm, Weight.

  2. Introduction

    Design optimization can be defined as the process of finding the maximum or minimum of some parameters which may call the objective function and it must also satisfy a certain set of specified requirements called constraints. Many methods have been developed and are in

    use for design optimization. All these methods use mathematical programming techniques for solutions.

    In these cases it is difficult to apply traditional optimization techniques. Non- conventional techniques are applied to such cases. These are potential search and optimization techniques for complex engineering problems. Genetic algorithms are found to have a better global perspective than the traditional methods.

    Dr. Shapour Azarm [1, 2] has worked on optimization of helical spring using consol-optcad and he extended his work to fly wheel using the same optimization procedure.

    S.Vijayarangan, V.Alagappan [3] was applied Genetic Algorithm technique for machine component i.e. Leaf spring. By using Genetic Algorithm, the optimum dimensions of the leaf spring were found to be minimum weight with adequate strength and stiffness.

    Kalyanmoy Deb [5] presented different types of optimization algorithms viz., traditional and non-traditional algorithms. Genetic and simulated annealing algorithms were explained with examples in non traditional algorithms.

    Genetic Algorithms have good potential as optimization techniques for complex problems and have been

    successfully applied in the area of Mechanical Engineering. Popular applications include machine elements design, heat transfer, scheduling, vehicle routing, etc.

      1. Optimal Problem Formulation

        The objectives in a design problem and the associated design parameters vary from product to product. Different techniques are to be used in different problems. The purpose of the formulation procedure is to create a mathematical model of the optimal design problem, which then can be solved using an optimization algorithm. An optimization algorithm accepts an optimization problem only in a particular format. Figure 1 show the common steps involved in an optimal design formulation process. The first step is to realize the need for using optimization for a specific design problem. Then the designer needs to choose the important design variables associated with the design problem. The formulation of optimal design problems requires other considerations such as constraints, objective function, and variable bounds. Usually a hierarchy is followed in the optimal design process, although one consideration may get influenced by the other.

        Fig.1 Flow chart for general Optimal design Procedure.

      2. Design variables and Constraints:

        The formulation of an optimization problem begins with identifying the underlying design variables, which are primarily varied during the optimization process. Other design parameters usually remain fixed or vary in relation to the design variables.

        The constraints represent some- functional relationships among the design variables and other design parameters satisfying certain physical phenomenon and certain resource limitations. Some of these considerations require that the design remain in static or dynamic equilibrium. In many mechanical engineering problems,

        the constraints are formulated to satisfy stress and deflection limitations. Often, a component needs to be designed in such a way that it can be placed inside a fixed housing, there by restricting size of the component. The nature and number of constraints to be included in the formulation depend on the user.

        There are usually two types of constraints that emerge from most considerations. Either the constraints are of an inequality type or of an equality type.

      3. Objective function and Variable bounds:

        The common engineering objectives involve minimization of overall cost of manufacturing or minimization of overall weight of a component or maximization of net profit earned or maximization of total life of a product or others. Instead the designer chooses the most important objective as the objective function of the optimization problem and the other objectives are included as constraints by restricting their values with in a certain range. The objective function can be of two types. Either the objective function is to be maximized or minimized. The final task of the formulation procedure is to set the minimum and the maximum bounds on each design variable.

        Certain Optimization algorithms do not require this information. In these problems, the constraints completely surround the feasible region. In general, all N design variables are restricted to lie with in the minimum and the maximum bounds as follows:

        Xi (L) Xi Xi (U) for i = 1, 2 N.

        In any given problem the determination of the variables bounds

        Xi (L) and Xi (U) may be difficult. One way to remedy this situation is to make a guess about the optimal solution and set the minimum and maximum bounds so that the optimal solution lies within these two bounds. The chosen bound may not be correct. The chosen bound may be readjusted and the optimization algorithm may be simulated again.

  3. Optimization Problem Format:

    The optimization problem can be mathematically written in a special format, known as nonlinear programming format. Denoting the design variables as a column vector X= (xl, x2,.., xN)T, the objective function as a scalar quantity f(X),

    J, inequality constraints as gj(X) 0, and k

    equality constraints and hK(X)=0; Mathematical representation of the nonlinear programming problem: Minimize f(X)

    Subject to gj(X) 0, j= 1,2,,J;

    hK(X)=0, k=1,2,,K;

    Xi (L) Xi Xi (U) , i =l,2,.,N;

    The constraints must be written in a way so tat the right side of the inequality or equality sign is zero.

    3.1. Optimization Algorithms.

    Certain problems involve linear terms for constraints and objective function but certain other problems involve nonlinear terms for them. Some algorithms perform better on one problem, but may perform poorly on other problems. That is why the optimization literature contains a large number of algorithms, each suitable to solve a particular type of problem. The optimization algorithms involve repetitive application of certain procedures they need to be used with the help of a computer.

  4. Working Principle.

    When the simple Genetic Algorithms is implemented it is usually done in a manner that involves the following operators such as fitness proportionate,reproduction, crossover and mutation. The Genetic Algorithm begins with an initial population of size is equal to 10 (zeroth generation) of strings which consists of binary coding selected at random. Thereafter convert the binary coding in to decimal value and calculate the actual values of design variables with

    in their range by using mapping rule. Next calculates the value of objective function by substituting the design variables and thereafter violation coefficient (C) and the corresponding modified objective function is obtained.

    This modified objective function is used to calculate the fitness values of each individual string and also calculate the average fitness value. First, the reproduction operator makes a match of two individual strings for mating, and then crossover site is selected at random with in the string length and position values are swapped between the same strings.

    Finally the mutation is applied to the randomly selected strings. It is the random flipping of the bits or gene that is changing a zero to one and vice versa, so that the first cycle of operation is completed which is called as iteration. This iteration is termed as generation in genetic Algorithms. This new generation creates a second population (i.e. generation -1). This second population is further evaluated and tested for optimal solution which is obtained at zero violation and at the higher fitness value. Genetic algorithm is a population based search and optimization technique. It is an iterative optimization procedure. Genetic algorithm works as follows

    Fig.2. Flow chart of Genetic algorithm

  5. Optimal Design of Spring.

  1. 1 Introduction

    Mechanical springs are used in machines to exert force, to provide flexibility, and to store or absorb energy. In general, springs may be classified as wire springs, flat springs or special-shaped springs and there are variations within these divisions. Wire springs include helical springs of round or square wire and are made to resist tensile, compressive or torsional loads. Cantilever and elliptical types belongs to flat springs, the wound motor or clock-type power springs, the flat

    spring washers are often called Belleville springs.

    The main applications of the springs are as follows:

    1. To act as a reservoir energy, e.g. springs in clocks, toys or movie- cameras.

    2. To absorb shocks and

      vibrations, e.g. vehicle

      storage capacity. In such analysis only one objective is considered at a time for a given application. In this case consider the optimum design of a valve spring.

        1. Objective Function

          The objective function is to minimize the weight of the spring.

          The weight of the spring is the sum of the weight of active and inactive coils.

          suspension spring.

          Minimum of

          2

          N

          4

          • QCd 3

    3. To return the mechanical part to its original position when it has been temporarily displaced, e.g. springs in valves, clutches and linkages.

      N and Q are the number of active and inactive coils respectively.

      Q is a constant and N depends on the spring gradient k.

      Where k is defined as:

    4. To measure force, e.g. spring balance

      k FU FL

      Gd 2

      8D3 N

      In certain applications

      springs are designed with a specific

      So it can be written a

      2 Gdc3 3

      objective such as minimum weight, minimum volume or maximum energy

      M inimum of

      4 8k

      • Q Cd

      d

      increase the maximum shear stress in the spring, possibly resulting in a premature fatigue failure. In a high speed mechanism the natural frequency of the spring is taken

      as 13 times the fundamental frequency of

      D

      the applied force.

      f = 13 fan

      This requirement (fn f) is

      Fig.5.1 Helical compression spring

      expressed as follows:

      g1: K1C-1d2 1

      Where

        1. CONSTRAINTS:-

      There are 11 constraints in this problem. They are

      5.3.2 Buckling (g2):-

      K1

      Gf

      112800(FU

      • FL )

      5.3.1 Surging (g1):-

      If the spring is used in a high speed mechanism and a condition of resonance exists with the forcing function, large amplitude longitudinal vibration will result. This will appreciably affect the force exerted by the spring on the

      components of the mechanism also, such

      The critical length of spring is a function of boundary conditions and is normally presented graphically. An approximate equation to avoid buckling conservatively assuming both ends hinged is

      d 2

      L=Nd(1+A) 11.5k

      4Fu

      Gd 4

      internal vibrations will significantly

      Where N=

      8D3 k

      g2: K2C-5 1

      number, IU and a minimum number, IL.

      Where

      K GFU (1 A)

      2 22.3k 2

      Experience indicates that extreme values are IL 4

      IU 20

          1. Minimum number of coils (g3):-

            A lower limit on the number of coils must be imposed in order to obtain accuracy and control in manufacturing. A

            The corresponding constraints are:

            g4: K4C 1

            g5: K5C-1 1

            value of three is normally used as an absolute minimum but a larger value can

            be selected to keep the pitch angle small

            K 4

            Where

            1

            I

            (Preferably 120-150). This requirement is

            Gd 4

            U

            K5 IL

            Where N=

            8D3 k

            5.3.5 Pocket Length (g6):-

            (5.3.3.2)

            Substituting (5.3.3.2) into (5.3.3.1) and normalizing results to the constraint:

            g3: K3C3 d-1 1

            When space is limited, the length of a spring in its machine setting must be below an upper limit. The maximum length (Lm) at maximum force (Fu) is L+Qd Lm

            where

            K 8kNmin

            3 G

          2. Spring Index (g4):-

      The spring index (defined by

      Substituting (5.3.2.1) into (5.3.2.2) and normalizing gives

      g6: K6d2C-3 +L6d 1

      C=D/d) must be bounded by a maximum

      5.3.6 Maximum Allowable Outside Diameter (g7):-

      Maximum allowable outside diameter, OD

      D+d OD

      or in normalized form g7: K7 (Cd +d) 1

      Where

      7

      K 1 5.3.7 Minimum

      OD

      Allowable Inside Diameter (g8) :-

      Minimum allowable outside

      The strength of the spring material is a function of the wire diameter. This relation was found for the given limits of the wire diameter for different materials.

      10

      g9 : K9 d-1 1 g10 : K-1 d 1

      5.3.9 Clash allowance (g11):-

      Stresses are limited by the spring solid condition. Therefore if the maximum working load approaches the spring condition, it is only necessary to provide sufficient clash allowance (i.e., the

      diameter, ID

      Where

      D-d ID

      or in normalized form: g8 : C-1+K8 C-1d-1 1

      K8 ID

      (5.3.7.3)

      difference in spring length between maximum load and spring solid positions) to allow for any possible combinations of tolerance stack-up, differential thermal expansion and wear of parts. The usual recomendation is to provide a clash allowance of approximately 10% of the total spring deflection at the maximum work load.

      5.3.8 Upper and Lower on wire Diameter (g9, g10):-

      L2-Ls 0.1

      = LF-L2

      Where K1 =

      Gf

      112800(FU FL )

      Where = FU FL

      k

      L2=[N(1+A)+Q]d Ls=(N+Q)d

      L -L = NAd

      G=79982 N/mm3

      f=500 Hz, =6.35mm Fu=133.4466N, Fl=80.06796 N

      g2: K2 -C5 0

      Where

      K2= GFU (1 A) ,Cl

      22.3K 2

      2 s

      Constraint g11 in normalized form is g11 : K11 C3d-2 1

      earance constant = 0.4

      Where

      k11

      0.8(FU – FL )

      AG

      g3: K3C3 -d 0

      Where K3= 8KN min

      ; Nmin=3

      The objective is to minimize the weight of spring is given by

      Minimize

      G

      g4: K4C 1

      Where K4= 1 =

      IU

      1 =0.05

      20

      2

      W=

      4

      { G dC-3

      8K

      +Q} Cd3

      g5: K5C-1 1

      Subjected to eleven constraints, Gi (X) 0,i=1,2,3j

      Where j=number of

      constraints =1 to 11

      Where K5=IL=4 g6:K6d2C-3+L6d 1

      Where K6= G(1 A)

      8KLm

      written as

      Gi(X) can be

      g1: K1d2-C 0

      L6= Q Lm= 31.75 mm .Q = 2.

      Lm

      g7 : C-K7d-1 + 1 0

      Where K7 = 1

      OD

      OD = 38.1 mm.

      Optimal design of helical compression spring has been discussed by using Consol-Optcad and optimization

      g8:

      K8d-1-C+10

      capability of Genetic Algorithms (GA).

      Two design variables and 11

      Where K8=ID=19.05 mm.

      g9: K9d-1 1

      constraints are considered in the helical compression spring problem. The results

      g : (K

      )-1d 1

      obtained for helical compression spring

      10 10

      g11: K11C3 -d2 0

      Where K11= 0.8(FU FL )

      AG

      5.3.8. Optimal Design Model Mathematical model for optimal design of spring is summarized as

      are shown in table A. It was observed that the optimum dimensions and minimum weight obtained by GA are better than the values obtained by the Consol-Optcad method.

      Minimize W=

      2 G

      {

      4 8K

      dC-3

      +Q} Cd3

  2. Results and Discussions

Subject to g1: K1d2-C 0 g2: K2 -C5 0 g3: K3C3 -d 0 g4: K4C 1

Method

C

d (mm)

W(N)

Consol-Optcad

9.56246

2.2248

0.09875

G A

10.032258

2.112903

0.089194

g5: K5C-1 1 g6:K6d2C-3+L6d 1

g7 : C-K7d-1 + 1 0 g8: K8d-1-C+10

g9: K9d-1 1 g10: (K10)-1d 1

g11: K11C3 -d2 0

Table A:-Helical Compression Spring.

The minimum weight of Helical Compression Spring obtained by GA is reduced by 9.67 %, when compared to the weight obtained by Consol – Optcad solution7.

Conclusions:

Operation in Engineering Design is the past aimed at a Design problem with single objective function with single variable and with or without constraints. But here the code is used for the optimization of helical compression spring to minimize the weight. It is found that the results obtained by genetic algorithms are better, search space is wide and it aims at global optimum than that the local optimum as in a traditional method for the same input parameters.

It is found that the results obtained from genetic algorithms are less in weight as compared to consol opticad method.

8. Reference

  1. Dr.Shapour Azarm, 1996, "Helical compression spring Optimization via Consol-optcad", University of Maryland, USA.

  2. S.Vijayarangan, V.Alagappan, I.Rajendran, 1999, "Design optimization of Leaf Springs using Genetic Algorithms", Journal of IE (I), vol 70 pp: 135-139.

  1. David E.Goldberg., 1989, "Genetic Algorithms in search optimization a Machine learning", Addison-Wesley publishing company, Singapore.

  2. Kalylanmoy Deb., 1995, "Optimization for Engineering Design Algorithms and Examples", Prentice-Hall of India Private Limited, New Delhi.

  3. Singiresu.S.Rao., 1984, "Optimization Theory and applications", Wiley Eastern, New Delhi.

Leave a Reply