design optimization

34
Ken Youssefi Mechanical Engineering Dept. 1 Design Optimization • Optimization is a component of design process • The design of systems can be formulated as problems of optimization where a measure of performance is to be optimized while satisfying all the constraints.

Upload: craig-mcgee

Post on 31-Dec-2015

59 views

Category:

Documents


1 download

DESCRIPTION

Design Optimization. Optimization is a component of design process The design of systems can be formulated as problems of optimization where a measure of performance is to be optimized while satisfying all the constraints. Design Optimization. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 1

Design Optimization

• Optimization is a component of design process

• The design of systems can be formulated as problems of optimization where a measure of performance is to be optimized while satisfying all the constraints.

Page 2: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 2

Design Optimization

• Design variables – a set of parameters that describes the system (dimensions, material, load, …)

• Design constraints – all systems are designed to perform within a given set of constraints. The constraints must be influenced by the design variables (max. or min. values of design variables).

• Objective function – a criterion is needed to judge whether or not a given design is better than another (cost, profit, weight, deflection, stress, ….).

Page 3: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 3

Optimum Design – Problem Formulation

The formulation of an optimization problem is extremely important, care should always be exercised in defining and developing expressions for the constraints.

The optimum solution will only be as good as the formulation.

Page 4: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 4

Problem Formulation Design of a two-bar structure

The problem is to design a two-member bracket to support a force W without structural failure. Since the bracket will be produced in large quantities, the design objective is to minimize its mass while also satisfying certain fabrication and space limitation.

Page 5: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 5

Problem FormulationIn formulating the design problem, we need to define structural failure more precisely. Member forces F1 and F2 can be used to define failure condition.Apply equilibrium conditions; Σ Fx = 0, Σ Fy = 0

Page 6: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 6

Problem Formulation

Design VariablesAn important first step in the proper formulation of the problem is to identify design variables for the system.

1. All design variables should be independent of each other as far as possible.

2. All options of identifying design variables should be investigated.

3. There is a minimum number of design variables required to formulate a design problem properly.

4. Designate as many independent parameters as possible as at the beginning. Later, some of the design variables can be eliminated by assigning numerical values.

Page 7: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 7

Problem Formulation

Represent all the design variables for a problem in the vector x.

x1 = height h of the truss

x2 = span s of the truss

x3 = outer diameter of member 1

x4 = inner diameter of member 1

x5 = outer diameter of member 2

x6 = inner diameter of member 2

Page 8: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 8

Problem FormulationObjective Function

A criterion must be selected to compare various designs

1. It must be a scalar function whose numerical values could be obtained once a design is specified.

2. It must be a function of design variables, f (x).

3. The objective function is minimized or maximized (minimize cost, maximize profit, minimize weight, maximize ride quality of a vehicle, minimize the cost of manufacturing, ….)

4. Multi-objective functions; minimize the weight of a structure and at the same time minimize the deflection or stress at a certain point.

Page 9: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 9

Problem FormulationObjective Function

Mass is selected as the objective function

x1 = height h of the truss

x2 = span s of the truss

x3 = outer diameter of member 1

x4 = inner diameter of member 1

x5 = outer diameter of member 2

x6 = inner diameter of member 2

Mass = density x area x length

Page 10: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 10

Problem FormulationDesign Constraints

Feasible Design

A design meeting all the requirements is called a feasible (acceptable) design. An infeasible design does not meet one or more requirements

Implicit Constraints

All restrictions placed on a design are collectively called constraints. Some constraints are simple (explicit) such as min. and max. values of design variables, some are more complex and indirectly influenced by design variable (implicit constraints), deflection of a complex structure.

Page 11: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 11

Problem FormulationLinear and Nonlinear Constraints

Constraint functions having only first-order terms in design variables are called linear constraints. More general problems have nonlinear constraint functions as well.

Equality and Inequality Constraints

Design problems may have equality as well as inequality constraints. A feasible design must satisfy precisely all the equality constraints.

A machine must move precisely by a delta (equality). Stress must not exceed the allowable stress of the material (inequality)

It is easier to find feasible designs for a system having only inequality constraints.

Page 12: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 12

Problem FormulationConstraints for the example problem are: member stress shall not exceed the allowable stress, and various limitations on design variables shall be met.

Constraint on stress

σ (applied) < σ (allowable)

Page 13: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 13

Problem Formulation

Finally, the constraints on design variables are written as

Where xil and xiu are the minimum and maximum values for the ith design variable. These constraints are necessary to impose fabrication and physical space limitations.

Page 14: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 14

Problem FormulationThe problem can be summarized as follows

Find design variables x1, x2, x3, x4, x5, and x6 to minimize the objective function,

subject to the constraints of the equations

Page 15: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 15

Example – Design of a Beer Can

Design a beer can to hold at least the specified amount of beer and meet other design requirement. The cans will be produced in billions, so it is desirable to minimize the cost of manufacturing. Since the cost can be related directly to the surface area of the sheet metal used, it is reasonable to minimize the sheet metal required to fabricate the can.

Page 16: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 16

Example – Design of a Beer CanFabrication, handling, aesthetic, and shipping considerations impose the following restrictions on the size of the can

1. The diameter of the can should be no more than 8 cm. Also, it should not be less than 3.5 cm.

2. The height of the can should be no more than 18 cm and no less than 8 cm.

3. The can is required to hold at least 400 ml of fluid.

Page 17: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 17

Example – Design of a Beer Can

Design variables

D = diameter of the can (cm)

H = height of the can (cm)

Objective function

The design objective is to minimize the surface area

Page 18: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 18

Example – Design of a Beer Can

The constraints must be formulated in terms of design variables.

The first constraint is that the can must hold at least 400 ml of fluid.

The other constraints on the size of the can are:

The problem has two independent design variable and five explicit constraints. The objective function and first constraint are nonlinear in design variable whereas the remaining constraints are linear.

Page 19: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 19

Standard Design Optimization ModelThe standard design optimization model is defined as follows: Find an n-vector x = (x1, x2, …., xn) of design variables to minimize an objective function

subject to the p equality constraints

and the m inequality constraints

Page 20: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 20

Observations on the Standard Model• The functions f(x), hj(x), and gi(x) must depend on

some or all of the design variables.• The number of independent equality constraints

must be less than or at most equal to the number of design variables.

• There is no restriction on the number of inequality constraints.

• Some design problems may not have any constraints (unconstrained optimization problems).

• Linear programming is needed If all the functions f(x), hj(x), and gi(x) are linear in design variables x, otherwise use nonlinear programming.

Page 21: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 21

Example of unconstraint optimization problem

Design a compression spring of minimum weight, given the following data:

Page 22: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 22

Example – spring designThe weight of the compression spring is given by the following equation:

Page 23: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 23

Example – spring designThe equation can be expressed in terms of the spring index C = D/d

The maximum shear stress and the deflection in the spring are given by the following equations

Page 24: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 24

Example – spring designSubstituting all of the equations into the weight equation, we obtain the following expression in terms of spring index C:

The plot of the objective function W vs. C, the spring index

Page 25: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 25

Infeasible ProblemConflicting requirements, inconsistent constraint equations or too many constraints on the system will result in no solution to the problem.

No region of design space that satisfies all constraints.

Page 26: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 26

Optimization using graphical methodA wall bracket is to be designed to support a load of W. The bracket should not fail under the load.

W = 1.2 MN

h = 30 cm

s = 40 cm

1

2

Page 27: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 27

Problem FormulationDesign variables:

Objective function:

Stress constraints:

Where forces on bar 1 and bar 2 are:

Page 28: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 28

Graphical Solution

Page 29: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 29

Numerical Methods for Non-linear Optimization

Graphical and analytical methods are inappropriate for many complicated engineering design problems.

1. The number of design variables and constraints can be large.

2. The functions for the design problem can be highly nonlinear.

3. In many engineering applications, objective and/or constraint functions can be implicit in terms of design variables.

Page 30: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 30

Structural OptimizationStructural optimization is an automated synthesis of a mechanical component based on structural properties.

For this optimization, a geometric modeling tool to represent the shape, a structural analysis tool to solve the problem, and an optimization algorithms to search for the optimum design are needed.

Structural Optimization

Geometric Modeling Structural Analysis Optimization

Finite element modeling

Finite element analysis

Nonlinear programming algorithm

Page 31: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 31

Optimization Categories

• Size optimizationkeeps a design’s shape and topology unchanged while

modifying specified dimensions of the design.

• Shape optimizationholds the topology constant while modifying the shape.

Design variables control the shape of the design.

• Topology optimization

In order to obtain a globally optimal shape, topology must be also modified, allowing the creation of new boundaries (applies to structures

Page 32: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 32

Optimization Categories

Size and configuration optimization of a truss, design variables are the cross sectional areas and nodal coordinates of the truss.

The truss could also be optimized for material.

The topology or connectivity of the truss is fixed.

Page 33: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 33

Optimization Categories

Shape optimization of a torque arm. Parts of the boundary are treated as design variables.

Page 34: Design Optimization

Ken Youssefi Mechanical Engineering Dept. 34

Optimization Categories

Topology optimization can be performed by using genetic algorithm.

Optimum shapes of the cross section of a beam for plastic (b), aluminum (c), and steel (d)