17
1 Design and Analysis of Multi-Factored Experiments Module Engineering 7928 - 5 Response Surface Methodology (RSM) L . M. Lye DOE Course 1 (RSM) Introduction to Response Surface Methodology (RSM) Best and most comprehensive reference: Best and most comprehensive reference: R. H. Myers and D. C. Montgomery (2002): Response Surface Methodology: Process and Product Optimization Using Designed Experiments, John Wiley and Sons. Best software: L . M. Lye DOE Course 2 Design-Expert Version 7 or 8- Statease Inc. Available at www.statease.com Minitab also has DOE and RSM capabilities

Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

Embed Size (px)

Citation preview

Page 1: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

1

Design and Analysis of Multi-Factored Experiments Module

Engineering 7928 - 5 g ee g 79 8 5

Response Surface Methodology (RSM)

L . M. Lye DOE Course 1

(RSM)

Introduction to Response Surface Methodology (RSM)

• Best and most comprehensive reference:• Best and most comprehensive reference:– R. H. Myers and D. C. Montgomery (2002): Response

Surface Methodology: Process and Product Optimization Using Designed Experiments, John Wiley and Sons.

• Best software:

L . M. Lye DOE Course 2

– Design-Expert Version 7 or 8- Statease Inc.– Available at www.statease.com– Minitab also has DOE and RSM capabilities

Page 2: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

2

RSM: Introduction

• Primary focus of previous discussions is factorscreening– Two-level factorials, fractional factorials are widely used

• RSM dates from the 1950s (Box and Wilson, 1951)• Early applications in the chemical industry• Currently RSM is widely used in quality

improvement, product design, uncertainty analysis,

L . M. Lye DOE Course 3

p p g y yetc.

Objective of RSM• RSM is a collection of mathematical and statistical

techniques that are useful for modeling and analysis in applications where a response of interest is influenced by several variables and the objective is to optimize the response.

• Optimize maximize, minimize, or getting to a target.

L . M. Lye DOE Course 4

target.• Or, where a nonlinear model is warranted when

there is significant curvature in the response surface.

Page 3: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

3

Uses of RSM

• To determine the factor levels that will simultaneously satisfy a set of desired specification (e g modelsatisfy a set of desired specification (e.g. model calibration)

• To determine the optimum combination of factors that yield a desired response and describes the response near the optimum

• To determine how a specific response is affected by

L . M. Lye DOE Course 5

To determine how a specific response is affected by changes in the level of the factors over the specified levels of interest

Uses of RSM (cont)

• To achieve a quantitative understanding of the system behavior over the region testedsystem behavior over the region tested

• To find conditions for process stability = insensitive spot (robust condition)

• To replace a more complex model with a much simpler second-order regression model for use within a limited range replacement models meta

L . M. Lye DOE Course 6

within a limited range replacement models, meta models, or surrogate models. E.g. Replacing a FEM with a simple regression model.

Page 4: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

4

ExampleSuppose that an engineer wishes to find the levels of temperature (x1) and feed concentration (x2) that maximize the yield (y) of a process. The yield is a y (y) p yfunction of the levels of x1 and x2, by an equation:

Y = f (x1, x2) + ε

If we denote the expected response by

L . M. Lye DOE Course 7

E(Y) = f (x1, x2) = η

then the surface represented by:

η = f (x1, x2)

is called a response surface.

The response surface maybe represented graphically using a contour plot and/or a 3-D plot. In the

L . M. Lye DOE Course 8

contour plot, lines of constant response (y) are drawn in the x1, x2, plane.

Page 5: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

5

L . M. Lye DOE Course 9

These plots are of course possible only when we have two factors.

With more than two factors the optimal yield has toWith more than two factors, the optimal yield has to be obtained using numerical optimization methods.

In most RSM problems, the form of the relationship between the response and the independent variables is unknown. Thus, the first step in RSM is to find a

L . M. Lye DOE Course 10

, psuitable approximation for the true relationship between Y and the X’s.

Page 6: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

6

If the response is well modeled by a linear function of the independent variables, then the approximating function is the first-order model (linear):

Y = β0 + β1 x1 + β2 x2 + … + βk xk + ε

This model can be obtained from a 2k or 2k-p design.

If there is curvature in the system, then a polynomial of higher degree must be used, such as the second-order model:

L . M. Lye DOE Course 11

Y = β0 + Σβi xi + Σβii x2i + ΣΣβij xi xj + ε

This model has linear + interaction + quadratic terms.

• Many RSM problems utilize one or both of these approximating polynomials. The response surface analysis is then done in terms of the fitted surface. yThe 2nd order model is nearly always adequate if the surface is “smooth”.

• If the fitted surface is an adequate approximation (high R2) of the true response function, then analysis of the fitted surface will be approximately

L . M. Lye DOE Course 12

equivalent to analysis of the actual system (within bounds).

Page 7: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

7

Types of functionsFigures 1a through 1c illustrate possible behaviors of responses as functions of factor settings. In each case, assume the value of the response increases from the bottom of the figure to the top and that the factor settings increase from left to rightg g

L . M. Lye DOE Course 13

Figure 1a

Linear function

Figure 1b

Quadratic function

Figure 1c

Cubic function

• If a response behaves as in Figure 1a, the design matrix to quantify that behavior need only contain factors with two levels -- low and high. Thi d l i b i ti f i l t• This model is a basic assumption of simple two-level factorial and fractional factorial designs.

• If a response behaves as in Figure 1b, the minimum number of levels required for a factor to quantify that behavior is three.

• One might logically assume that adding center points to a two level design would satisfy that

L . M. Lye DOE Course 14

points to a two-level design would satisfy that requirement, but the arrangement of the treatments in such a matrix confounds all quadratic effects with each other.

Page 8: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

8

• While a two-level design with center points cannot estimate individual pure quadratic effects, it can detect them effectively.

• A solution to creating a design matrix that permits the estimation of simple curvature as shown inthe estimation of simple curvature as shown in Figure 1b would be to use a three-level factorial design. Table 1 explores that possibility.

• Finally, in more complex cases such as illustrated in Figure 1c, the design matrix must contain at least four levels of each factor to characterize the behavior of the response adequately.

L . M. Lye DOE Course 15

behavior of the response adequately.

Table 1: 3 level factorial designs

• No. of factors # of combinations(3k) Number of coefficients• 2 9 6• 3 27 103 27 10• 4 81 15• 5 243 21• 6 729 28

• The number of runs required for a 3k factorial becomes unacceptable even more quickly than for 2k d i

L . M. Lye DOE Course 16

2k designs. • The last column in Table 1 shows the number of

terms present in a quadratic model for each case.

Page 9: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

9

Designs for fitting 2nd order models

• Two very useful and popular experimental designs• Two very useful and popular experimental designs that allow a 2nd order model to be fit are the:

• Central Composite Design (CCD)• Box-Behnken Design (BBD)

L . M. Lye DOE Course 17

• Both designs are built up from simple factorial or fractional factorial designs.

3-D views of CCD and BBD

L . M. Lye DOE Course 18

Page 10: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

10

Central Composite Design (CCD)

• Each factor varies over five levels• Each factor varies over five levels • Typically smaller than Box-Behnken designs • Built upon two-level factorials or fractional

factorials of Resolution V or greater• Can be done in stages factorial + centerpoints +

i l i t

L . M. Lye DOE Course 19

axial points• Rotatable

General Structure of CCD• 2k Factorial + 2k Star or axial points + nc

CenterpointsCenterpoints • The factorial part can be a fractional factorial as

long as it is of Resolution V or greater so that the 2 factor interaction terms are not aliased with other 2 factor interaction terms.

• The “star” or “axial” points in conjunction with

L . M. Lye DOE Course 20

• The star or axial points in conjunction with the factorial and centerpoints allows the quadratic terms (βii) to be estimated.

Page 11: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

11

Generation of a CCD

Factorial Axialpoints +

centerpoints

Axial points

L . M. Lye DOE Course 21

Axial points are points on the coordinate axes at distances “α”from the design center; that is, with coordinates: For 3factors, we have 2k = 6 axial points like so:

(+α 0 0) ( α 0 0) (0 +α 0) (0 α 0) (0 0 +α)(+α, 0, 0), (-α, 0, 0), (0, +α, 0), (0, -α, 0), (0, 0, +α),(0, 0, -α)

The “α” value is usually chosen so that the CCD is rotatable.

At least one point must be at the design center (0, 0,0) Usually more than one to get an estimate of “pure

L . M. Lye DOE Course 22

0). Usually more than one to get an estimate of pureerror”. See earlier 3-D figure.

If the “α” value is 1.0, then we have a face-centered CCD Not rotatable but easier to work with.

Page 12: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

12

A 3-Factor CCD with 1 centerpointA 3 factor CCD with nc=1

Runs x1 x2 x3

1 -1 -1 -123456789

10

1-11-11-11

-1.6821.682

-111-1-11100

-1-1-1111100

L . M. Lye DOE Course 23

1112131415

00000

-1.6821.682

000

00

-1.6821.682

0

Values of α for CCD to be rotatable

k=2 3 4 5 6 7

1.414 1.682 2.000 2.378 2.828 3.364

The α value is calculated as the 4th root of 2k.

L . M. Lye DOE Course 24

For a rotatable design the variance of the predicted response is constant at all points that

are equidistant from the center of the design

Page 13: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

13

Types of CCDs

The diagrams illustrate the three types of central composite designs for two factors. Note that the CCC explores the largest process space and the CCI explores the smallest process space. Both the CCC and CCI are rotatable designs, but the CCF is not. In the CCC design, the design points describe a circle

b d b h f i l

L . M. Lye DOE Course 25

circumscribed about the factorial square. For three factors, the CCC design points describe a sphere around the factorial cube.

Box-Behnken Designs (BBD)• The Box-Behnken design is an independent

quadratic design in that it does not contain an b dd d f t i l f ti l f t i l d iembedded factorial or fractional factorial design.

• In this design the treatment combinations are at the midpoints of edges of the process space and at the center.

• These designs are rotatable (or near rotatable) and require 3 levels of each factor.

L . M. Lye DOE Course 26

require 3 levels of each factor. • The designs have limited capability for orthogonal

blocking compared to the central composite designs.

Page 14: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

14

BBD - summary

• Each factor is varied over three levels (within low• Each factor is varied over three levels (within low and high value)

• Alternative to central composite designs which requires 5 levels

• BBD not always rotatableC bi ti f 2 l l f t i l d i f th

L . M. Lye DOE Course 27

• Combinations of 2-level factorial designs form the BBD.

A 3-Factor BBD with 1 centerpoint A 3-factor BBD with nc=3

Runs x1 x2 x3

1 -1 -1 0

11

23456789

10

-111-1-11100

1-110000-1-1

000-11-11-11

L . M. Lye DOE Course 28

10111213

0000

1110

1-110

Page 15: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

15

Brief Comparison of CCD and BBD

With one centerpoint, for k = 3, CCD requires 15 runs; BBD requires 13 runsk = 4, CCD requires 25 runs; BBD also requires 25 runsk = 5, CCD requires 43 runs; BBD requires 41 runs

but, for CCD we can run a 25-1 FFD with Resolution V. Hence we need only 27 runs

L . M. Lye DOE Course 29

Hence we need only 27 runs.

In general CCD is preferred over BBD. See separate handout comparing CCD and BBD in more detail.

RSM Design and Analysis ExampleAn engineer has determined that three factors are involved in determining the conversion and activity of a certain polymer: time, temperature, and % catalyst. The responses are thetime, temperature, and % catalyst. The responses are the conversion and activity. Use the simulator available at www.engr.mun.ca/~llye/Javaapplets/PolymerConversion.htmto conduct the experiment. Hint: Use a BBD or CCD design.

a) Design an appropriate experiment, b) Conduct the experiment, and analyze the data.

L . M. Lye DOE Course 30

Page 16: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

16

Multiple responses optimization• Desirability Function Approach• The desirability function approach is one of the most widely

used methods in industry for the optimization of multiple response processes.

• It is based on the idea that the "quality" of a product or process that has multiple quality characteristics, with one of them outside of some "desired" limits, is completely unacceptable.

• The method finds operating conditions x that provide the "most desirable" response values.

• See handout for details. It is implemented in Design-Expert.

L . M. Lye DOE Course 31

Example

Consider the previous example:

What combination of factors would maximize conversion but limit activity to between 60 and 65?

L . M. Lye DOE Course 32

Page 17: Design and Analysis of Multi-Factored Experiments Moduleadfisher/7928-12/DOE/DOE Module Part 5 - RSM.pdf · Figure 1b would be to use a three-level factorial design. Table 1 explores

17

Other RSM Designs• What if we need a higher order model? CCD and BBD

can only give 2nd order models. We need a design with more than 3 levels.

h• In Design-Expert 8, we can fit models up to 6th order by using the Optimal Design option. These are computer generated designs based on certain criterion depending on which optimal design is chosen.

• Optimal IV design is the default in DX-8. This is also used in mixture designs and can be used for metamodeling f d lof computer models.

• Design and Analysis of Computer Experiments (DACE) is covered in the graduate course on DOE.

L . M. Lye DOE Course 33

Other Aspects of Response Surface Methodology• Robust parameter design and process robustness

studies– Find levels of controllable variables that optimize mean

d i i i i bilit i thresponse and minimize variability in the response transmitted from “noise” variables

– Original approaches due to Taguchi (1980s)– Modern approach based on RSM

• Experiments with mixtures– Special type of RSM problem

L . M. Lye DOE Course 34

– Design factors are components (ingredients) of a mixture

– Response depends only on the proportions– Many applications in product formulation