Examples / 01

Screening with ten factors: warpage in injection moulding

An injection-moulded part warps, and ten machine settings are candidates for the cause. Every combination would be 1,024 runs. This example shows how 26 runs are enough to find the four settings that matter — along with the one interaction a one-factor-at-a-time trial would never have seen.

Design
Min-run, resolution IV, with centre runs
Runs
22 + 4 = 26
Factors
10, all continuous
Response
Warpage in mm, to be minimised

The measurements are simulated. They come from a model we set ourselves, plus random scatter — which makes it possible to check at the end whether the analysis finds what is really in there. The model is given in the section “Cross-check”. Every table and chart was computed and drawn by DoEStat.

Step 1 / The question

Ten settings, one question: which of them matter?

The part is a flat housing made of a semi-crystalline polymer. Warpage is measured as the largest deviation from the plane in millimetres; the smaller, the better. The process engineers name ten quantities they can change on the machine and consider suspect. For each they set a low and a high value between which the machine runs safely.

FactorUnitlow (−1)centre (0)high (+1)
A · Melt temperature°C220240260
B · Mould temperature°C405570
C · Injection speedmm/s4070100
D · Holding pressurebar300400500
E · Holding times4710
F · Cooling times101520
G · Back pressurebar4070100
H · Screw speed1/min6090120
J · Switch-over pointmm81114
K · Drying timeh234

A screening does not yet answer the question of the best setting. It separates the few active factors from the many that can be left alone afterwards — and it should do so in few enough runs to leave budget for the optimisation proper.

Step 2 / Choosing the design

Four candidates, one criterion: keep the main effects clean

For ten factors DoEStat offers several screening designs. The table puts four of them side by side, each with four centre runs. Two figures decide: the power, that is the probability of detecting an effect of two standard deviations, and the largest correlation between a main effect and a two-factor interaction. If that correlation is not zero, an interaction can mimic or mask a main effect.

DesignRunsKindError degrees of freedomPower for an effect of 2 σLargest correlation main effect ↔ interaction
Plackett–Burman16resolution III578.90.33
Definitive screening design24three levels1397.50.00
Min-run, resolution IV26resolution IV1598.20.00
Fractional factorial 2^(10−5)36resolution IV25100.00.00

The Plackett–Burman design is the most economical, but its main effects are entangled with interactions (correlation 0.33), and with five degrees of freedom for error its power stays below 80%. The regular 210−5 fraction is statistically the strongest but costs ten more runs. In between are two designs that keep main effects clear of interactions: the definitive screening design and the minimum-run resolution IV design. The min-run design is chosen: two levels per factor suit the question, and 15 degrees of freedom for error leave room to add interactions to the model later.

The price of 22 instead of 32 runs: the main effects are no longer exactly uncorrelated among themselves (largest correlation 0.27, variance inflation at most 1.16). That costs a little precision but distorts nothing, because the analysis estimates all ten jointly.

Decision: minimum-run resolution IV design with 22 runs, plus four centre runs — 26 instead of 1,024.

Step 3 / Design and data

The design in the order it is run

The order is random; only the four centre runs (all factors at mid setting, highlighted in the table) are spread evenly over the series. That way they also show whether the process drifts during the experiment. A plus stands for the high, a minus for the low level of the factor; the letters are those of the table above.

RunABCDEFGHJKWarpage [mm]
1+++++−+−−+1.59
2−+−++−−+−−1.36
3+−+++−−+++0.94
4−−−−−+−++−1.13
5+++−−−−+−−2.00
600000000001.27
7−−−−+−++−+1.47
8−++−++−+−+1.53
9+−−+−−+−+−0.87
10−−+−+−+−+−1.58
11+−+−−++−++1.41
12++−+−+−+−+1.24
1300000000001.22
14−−++−−−−−+0.76
15−−−++++−++0.48
16+−−−++−−−−1.43
17−+++++−−+−1.06
18+−++++++−−0.64
1900000000001.19
20++−−+++++−1.68
21++++−+−−+−1.26
22−+−−−−−−++1.72
23−+++−−++++1.31
24+−−−−−++−+1.73
25−+−−−++−−−1.44
2600000000001.18

The four centre runs lie between 1.18 and 1.27 mm. That span is the scatter of the process at an unchanged setting — the yardstick for every effect. Across the whole design the warpage ranges from 0.48 to 2.00 mm: there is something to find.

Step 4 / Main effects

Four factors stand out, six do not

First the simplest model: ten main effects. The effect of a factor is the average change in warpage when it is moved from its low to its high level.

FactorEffect (low → high)Std. errortp
D · Holding pressure−0.6100.054−11.22< 0.0001
B · Mould temperature0.4430.0548.15< 0.0001
F · Cooling time−0.2980.054−5.47< 0.0001
A · Melt temperature0.2110.0543.900.0014
E · Holding time0.0390.0540.720.4798
C · Injection speed0.0320.0540.600.5591
J · Switch-over point−0.0210.054−0.380.7098
H · Screw speed−0.0190.054−0.360.7266
K · Drying time0.0100.0540.180.8566
G · Back pressure−0.0030.054−0.060.9549
Half-normal plot of the ten effects: six points lie close to zero on a straight line, four points – holding pressure, mould temperature, cooling time and melt temperature – lie far to the right beyond the significance limits drawn in.
Half-normal plotEffects that are only noise lie on the line through the origin. Four factors lie beyond both limits.
Pareto chart of the t-values of the ten effects: four bars clearly exceed the significance limit, six stay far below it.
Pareto chartThe same statement, ordered by size: holding pressure ahead of mould temperature, cooling time and melt temperature.

The picture is clear: holding pressure (−0.61 mm), mould temperature (+0.44 mm), cooling time (−0.30 mm) and melt temperature (+0.21 mm) are active, all with p < 0.002. The other six effects are smaller than 0.04 mm and cannot be told from chance (p ≥ 0.48).

That does not finish the analysis. The residual standard deviation of this model is 0.118 mm — almost three times what the centre runs show as process scatter — and the lack-of-fit test responds (p = 0.039). The model is missing something.

Step 5 / Interaction

What the model lacks is an interaction

In a resolution IV design the main effects are clear of two-factor interactions, but the 45 interactions cannot all be separated from one another. So one does not test all of them, only the plausible ones: interactions between factors that are active themselves. With four active factors that is six candidates. DoEStat adds them to the ten main effects and removes backwards, step by step, whatever is not significant (p-value, α = 0.05); a main effect stays in the model as long as an interaction needs it.

What remains are the four main effects and exactly one interaction: mould temperature × holding pressure.

SourceSum of squaresdfMean squareFp
Model3.07150.6142214.25< 0.0001
Melt temperature0.230110.230180.27< 0.0001
Mould temperature1.03711.037361.90< 0.0001
Holding pressure1.89511.895660.97< 0.0001
Cooling time0.472710.4727164.90< 0.0001
Mould temperature × Holding pressure0.171210.171259.72< 0.0001
Residual0.05733200.002867
Lack of fit0.05243170.0030841.890.3320
Pure error0.00490030.001633
Total3.12825
TermCoefficient (coded)Std. errortp95% CI lower95% CI upper
Intercept1.2810.01054121.60< 0.00011.2591.303
Melt temperature0.10390.011598.96< 0.00010.079670.1280
Mould temperature0.22050.0115919.02< 0.00010.19630.2447
Holding pressure−0.29800.01159−25.71< 0.0001−0.3222−0.2738
Cooling time−0.14890.01159−12.84< 0.0001−0.1730−0.1247
Mould temperature × Holding pressure0.088520.011467.73< 0.00010.064630.1124

The residual standard deviation falls from 0.118 to 0.054 mm, R² rises to 0.982 (adjusted 0.977, predicted 0.971), and the lack of fit is no longer significant (p = 0.33). The coefficients are in coded units: they apply per step from the centre to the high level; the effect from low to high is twice that.

Interaction plot: warpage against holding pressure, one line for a mould temperature of 40 degrees and one for 70 degrees. Both lines fall with rising holding pressure, the line for 40 degrees much more steeply; at high holding pressure they are further apart than at low.
Interaction mould temperature × holding pressureThe lines are not parallel: with a cold mould the holding pressure lowers warpage almost twice as much as with a warm one.

In figures: from 300 to 500 bar the warpage falls by 0.77 mm at a mould temperature of 40 °C, and by only 0.42 mm at 70 °C. Anyone who had tried the holding pressure with a warm mould and found it moderately effective would have underrated their best lever.

Residuals against predicted values: the points scatter around the zero line without a visible pattern.
Residuals against predictionNo funnel, no arc — the scatter does not depend on the level of warpage.
Normal quantile plot of the standardised residuals: the points follow the straight line.
Normality of the residualsThe points follow the line; no outlier, no skew.

Step 6 / Curvature

The centre runs say: the surface is not flat

A two-level design can only fit straight lines. Whether that is enough is what the centre runs check: if the model holds, they should lie on its prediction for the centre. The model predicts 1.281 mm there (95% confidence interval 1.259 to 1.303); the measured mean is 1.215 mm. The centre is better than the average of the corners — the surface sags.

In DoEStat this is tested by adding a quadratic term to the model. It is significant: 0.078 ± 0.024 mm, p = 0.004. What matters is what this test does not say: in a two-level design with centre runs the squares of all factors are one and the same column. The design knows that something is curved, but not which factor.

Conclusion: for the corners of the region the model is sound. Looking for the optimum in the interior takes a follow-up design with more than two levels — for four factors instead of ten. How that works is shown in example 2 and example 4.

Step 7 / Result

The setting, and three runs that confirm it

The smallest warpage is in the corner all four effects point to: holding pressure high, cooling time long, mould and melt cold. The six inactive factors are free — they can be set by cost, cycle time or wear.

FactorSettingReason
A · Melt temperature220 °Cactive – the low level lowers warpage
B · Mould temperature40 °Cactive – the low level lowers warpage
C · Injection speed70 mm/sno detectable effect – free to choose, centre here
D · Holding pressure500 baractive – the high level lowers warpage
E · Holding time7 sno detectable effect – free to choose, centre here
F · Cooling time20 sactive – the high level lowers warpage
G · Back pressure70 barno detectable effect – free to choose, centre here
H · Screw speed90 1/minno detectable effect – free to choose, centre here
J · Switch-over point11 mmno detectable effect – free to choose, centre here
K · Drying time3 hno detectable effect – free to choose, centre here

For this setting the model predicts 0.42 mm; a single part should lie between 0.29 and 0.55 mm with 95% confidence. In the opposite corner it would be 1.96 mm. Three confirmation runs at the recommended setting:

Prediction95% prediction intervalConfirmation 1Confirmation 2Confirmation 3Joint test p
0.4210.292 … 0.5510.380.430.450.8772

Result: all three confirmation runs lie within the prediction interval. Four of ten factors carry the warpage, which can be brought down from just under 2 mm to a little over 0.4 mm within the region studied.

Cross-check

What is really in the data

Because the measurements are simulated, the analysis can be measured against the truth. The model behind the data, in coded units and with a standard deviation of 0.035 mm:

Warpage = 1.20 + 0.11·A + 0.21·B − 0.30·D − 0.15·F + 0.10·B·D + 0.09·D² + 0.02·E − 0.015·H

TermTrueEstimated95% CI
Intercept1.2901.2811.259 … 1.303
Melt temperature0.1100.1040.080 … 0.128
Mould temperature0.2100.2210.196 … 0.245
Holding pressure−0.300−0.298−0.322 … −0.274
Cooling time−0.150−0.149−0.173 … −0.125
Mould temperature × Holding pressure0.1000.0890.065 … 0.112

All five estimated coefficients hit their true value within the confidence interval. The constant is listed as 1.29 because D² equals 1 at the corners and the two-level design cannot separate the two. The test found the curvature (estimated 0.078, true 0.09) — that it comes from the holding pressure it could not know. Two effects the analysis did not find: holding time (0.02) and screw speed (−0.015) do act, but more weakly than the process scatter. That is not a flaw of the design; it is the limit of what 26 runs resolve.

Project files

Run it yourself

The example ships with DoEStat: Help ▸ Open sample project ▸ Screening ▸ “Ten-factor screening: warpage in injection moulding”, once with the data only and once with the finished analysis. The same files can be downloaded here.

All examples Next: response surface with three responses

Try DoEStat for free

30 days, the full feature set, no payment details. We send the download link by e-mail, usually on the next business day.

Request the trial