Check · Test yourselfPractice tests

Academy › Topic library › Going Deeper: Response Surfaces, Complex Blocking and Automated Process Control

Q-BOT ACADEMY · FREE VIDEO LESSON · 12 MIN

Going Deeper: Response Surfaces, Complex Blocking and Automated Process Control

A two level experiment draws straight lines between its corners. That's perfect for finding which factors matter. But many processes have a sweet spot in the middle: too little cure and the coating is soft, too much and it turns brittle. Straight lines can't find a peak. And real experiments run across days, powder lots and hard to change settings, which can hide the answer, or fake one.

12:24 · Q-Bot · narrated, with worked example and a check-yourself question

In short

Center points test for curvature. A response surface adds squared terms, and a central composite design estimates them, so you can find the peak, then confirm it. Blocks keep known nuisances out of the error, and a split plot needs its own analysis. Box Behnken, mixture, Taguchi and E V O P fit special situations. And A P C adjusts while S P C watches, including watching the controller.

Check yourself

A process is stable, with a standard deviation of point two millimeters. An operator adjusts by the full miss after every reading. What's the new standard deviation? A: point two. B: about point two eight. C: point four. Or D: point one.

Show the answer

The answer is B. Each reading now carries its own random error plus the last one's, through the adjustment. Variances add: point two squared, times two, is point oh eight. The square root is about point two eight, the old spread times the square root of two. A ignores the adjustment, C doubles the standard deviation instead of the variance, and D is wishful thinking. That's response surfaces, complex blocking and automated process control. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the response surface go to the gym? It wanted to reach its peak!

Where this topic is taught

This lesson is part of every free Academy course whose Body of Knowledge covers it. Each course puts it in context, with exercises and checks.

Full lesson transcript

The narration from the video, by chapter. Brindlewood Outdoor Furniture and its people are a fictional company used in every Q-Bot Academy lesson.

Intro

Brindlewood, Monday. Hannah has a box of photos from a restaurant customer: Harbor chairs with chipped paint where they stack. Priya's impact test agrees. The coating should take one hundred twenty inch pounds before it cracks, and these frames crack at about one hundred ten. Last spring, to push more frames through, the cure was cut to three ninety degrees for twelve minutes. Lou says turn the oven up. Dwayne says leave it longer. Marcus says, let's find the top of the hill!

Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today we're going deeper: response surfaces, complex blocking and automated process control! If fractional factorials are new to you, start with the Fractional Factorials, Resolution and Confounding video. Today: how to analyze the factors in an experiment, how to find a peak with a response surface, how to block when runs can't all be alike, a tour of other experiment designs, and how automatic control and S P C work together.

Why the math matters

Why does this matter? A two level experiment draws straight lines between its corners. That's perfect for finding which factors matter. But many processes have a sweet spot in the middle: too little cure and the coating is soft, too much and it turns brittle. Straight lines can't find a peak. And real experiments run across days, powder lots and hard to change settings, which can hide the answer, or fake one.

Factor analysis

First, factor analysis: reading what each factor does. Marcus starts with a two by two experiment on the oven: temperature at three ninety and four ten degrees, time at twelve and eighteen minutes, plus three center points at four hundred degrees and fifteen minutes. The four corners read one hundred ten, one hundred twenty six, one hundred twenty four and one hundred twenty seven inch pounds. The three centers read one thirty nine, one forty one and one forty two.

The effects, the same way as always: the average at the high level minus the average at the low level. Temperature: plus nine and a half. Time: plus seven and a half. The interaction: minus six and a half. The center points give a pure error estimate: a standard deviation of about one and a half, with two degrees of freedom. Temperature and time are significant at five percent. The interaction is right on the edge, with a p value of about point oh five.

Now the key test: curvature. If the world were flat, the centers would land on the average of the corners, one hundred twenty one point eight. They average one hundred forty point seven: almost nineteen inch pounds higher! The curvature F is about two hundred sixty, against a critical value of eighteen point five, from an F table or F dot INV dot RT in Excel. The surface bends. Bad: pick the best corner. Good: go find the peak!

Response surfaces

That's a response surface: a model of the response as a curved surface over the factors. The usual model is second order: a constant, a slope for each factor, an interaction, and a squared term for each factor. The squared terms bend the surface. To estimate them, you need more than two levels of each factor, so you add runs.

The most common design is the central composite design. Take the two by two corners and the center points, and add axial points, out along each axis. For two factors, at one point four one four coded units. Five levels per factor, with only fourteen runs here. For temperature, that's about three eighty six and four fourteen degrees. For time, about ten point eight and nineteen point two minutes.

Marcus runs the axial points and three more centers, and fits the model. In coded units: one hundred forty point four, plus five point seven three temperature, plus three point four seven time, minus three point two five for the interaction, minus nine point nine eight temperature squared, minus eight point four eight time squared. Every term is significant, and R squared is ninety nine percent. Check the residuals, too: no pattern, no runaway points.

Where's the top? Set both slopes to zero and solve. The stationary point is at plus point two six for temperature and plus point one five for time: about four hundred three degrees and fifteen and a half minutes. Both squared terms are negative, so it's a true maximum, not a saddle. The predicted impact is about one hundred forty one inch pounds, against about one hundred ten at the old setting!

Bad: change the work instruction straight from the model. Good: confirm it! Lou sets the oven to four hundred three degrees and fifteen and a half minutes, and Priya tests eight frames. They average one hundred forty one inch pounds, every one above one hundred twenty. The chipped chair complaints stop. And if the peak had been outside the region, Marcus would have used steepest ascent: small steps up the slope, then a new design around the new spot.

Complex blocking

Now, complex blocking. Marcus couldn't run all fourteen frames in one day. Day one used one powder lot, day two another. A block is a group of runs that are alike, so a known nuisance gets its own term in the model, and stays out of the error. He ran the corners and three centers on day one, the axial points and three centers on day two.

Did it matter? The day two centers read one forty three to one forty five, about four inch pounds above day one. With a block term, the error standard deviation is one point five. Without it, the day difference lands in the error: two point nine. Almost twice as noisy! And the design was chosen so the block doesn't tangle with the factors: with axial points at one point four one four and equal centers in each block, the blocks are orthogonal.

Other blocking structures, when life is messier. A randomized complete block puts every treatment in every block. A Latin square blocks two nuisances at once: three hook designs, tested across three days and three rack positions, each design once in every row and column. Nine runs instead of twenty seven. When a block can't hold every treatment, use a balanced incomplete block. And in a fractional design, you can confound the highest interaction with the blocks on purpose.

Split plots

The trickiest one: the split plot. Oven temperature is hard to change: it takes about half an hour to settle. Line time is easy. A fully random order might change the oven thirteen times! So you set the temperature once, and run every time setting at it. Temperature is the whole plot. Time is the sub plot. Cheaper and faster.

But the analysis must match. The hard to change factor has fewer real repeats, so it's tested against a bigger whole plot error, with fewer degrees of freedom. Bad: analyze a split plot as if it were fully random. That makes the hard to change factor look more significant than it is. Good: tell the software it's a split plot, and it uses two error terms!

Other DOE approaches

A quick tour of other designs. Box Behnken: three levels, no extreme corners, fifteen runs for three factors instead of twenty. Good when the corners are unsafe, like the hottest oven for the longest time. Mixture designs: when the factors are proportions that add up to one hundred percent, like the blend in a slat finish. And Taguchi robust design: control factors in an inner array, noise like humidity in an outer array, to find settings that don't care about the noise.

And evolutionary operation, E V O P: experimenting on the running line. Lou nudges the oven a few degrees up and down in planned cycles, too small to make a bad frame, and the averages over many cycles show which way is uphill. Slow, but no scrap and no shutdown.

APC and SPC

Last, automated process control, A P C, and how it fits with S P C. They answer different questions. A P C adjusts: the oven's controller reads the temperature and turns the burner up or down, many times a minute. S P C watches: it looks for special causes, so someone can find them and remove them for good. A P C compensates. S P C investigates.

Here's the catch. On a stable process, adjusting after every reading makes things worse. That's tampering. Coating thickness has a standard deviation of point one two mils. Move the powder flow by the full miss after every check, and the spread grows by about forty one percent, to point one seven! Adjust by half the miss, and it's point one four. Leave a stable process alone: point one two.

But some processes drift on purpose, like a powder gun's output dropping as the nozzle wears. Say thickness drops point oh four mils every check, ten checks a shift. With no adjusting until the next shift, it's point four mils low by shift end, and the typical miss is about point two eight. Adjust by the full miss: point one seven. Adjust by half: point one six. Here, a gentle controller wins!

So use them together. Let A P C handle a known, steady drift. Then put S P C on the controller itself: chart the adjustments it makes and the misses that are left. If the controller suddenly works much harder, something changed: a kinked hose, a new powder lot. The controller hides the problem. The chart finds it!

Common mistakes

Common mistakes. One: optimizing from a two level design when the center points show curvature. Two: trusting a model outside the region you tested. Three: ignoring days and lots, so they land in the error. Four: running a split plot and analyzing it as fully random. Five: adjusting a stable process after every reading. And six: letting a controller hide a special cause, with no chart watching it!

Recap

Let's recap. Center points test for curvature. A response surface adds squared terms, and a central composite design estimates them, so you can find the peak, then confirm it. Blocks keep known nuisances out of the error, and a split plot needs its own analysis. Box Behnken, mixture, Taguchi and E V O P fit special situations. And A P C adjusts while S P C watches, including watching the controller.

Check yourself

Now, check yourself. A process is stable, with a standard deviation of point two millimeters. An operator adjusts by the full miss after every reading. What's the new standard deviation? A: point two. B: about point two eight. C: point four. Or D: point one. Pause the video if you want to think about it.

The answer is B. Each reading now carries its own random error plus the last one's, through the adjustment. Variances add: point two squared, times two, is point oh eight. The square root is about point two eight, the old spread times the square root of two. A ignores the adjustment, C doubles the standard deviation instead of the variance, and D is wishful thinking.

That's response surfaces, complex blocking and automated process control. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the response surface go to the gym? It wanted to reach its peak!

Independent study material; not affiliated with or endorsed by ASQ. Body of Knowledge codes identify where the topic appears in each certification's published outline.