Anda di halaman 1dari 4

In the Laboratory

An Automated Statistical Process Control Study W


of Inline Mixing Using Spectrophotometric Detection
Michael D. Dickey, Michael D. Stewart, and C. Grant Willson*
Department of Chemical Engineering, The University of Texas at Austin, Austin, TX 78712; *willson@che.utexas.edu

David A. Dickey
Department of Statistics, North Carolina State University, Raleigh, NC 27695

Feedback from recent graduates of the undergraduate tations for a stable, naturally fluctuating process are repre-
chemical engineering program at The University of Texas in- sented graphically on the control chart by three parallel hori-
dicates that familiarity with statistical process control (SPC) zontal lines: the centerline, the upper control limit (UCL),
charts is one of the most valuable skills for newly hired pro- and lower control limit (LCL). Naturally occurring process
cess engineers. In this experiment, which is designed for a variation causes the data to fluctuate about the centerline and
junior-level chemical engineering fundamentals of measure- the UCL and LCL lines provide statistically acceptable
ments and data analysis course, students are introduced to bounds for the data. The process control limits are typically
the concept of SPC through a simple inline mixing experi- set at 3 from the centerline, where is the standard de-
ment. An aqueous stream with a high concentration of green viation of the measured parameter. For a stable system,
food coloring is diluted with a stream of tap water and the 99.7% of the measured parameter values should fall within
dye concentration is monitored in situ spectroscopically be- the three-sigma control limits (2).
fore and after an inline mixer. Students learn to create SPC An out-of-control process results when there is a sta-
control charts and, more importantly, to understand their tistically significant portion of the data outside the control
function through some subtleties in the acquired data. limits (typically one or more points) or when there is sys-
tematic variability in the monitored parameter such as cyclic
Background patterns, trends, and shifts that demonstrate nonrandom fluc-
tuations resulting from assignable causes.
Walter A. Shewhart first introduced the concept of sta- In this experiment, SPC charts will be created to evalu-
tistical process control (SPC) charts in the 1920s as a diag- ate an inline mixing process where a solution stream with a
nostic tool that can be used to systematically reduce variability high concentration of food coloring will be mixed with a pure
in production (1). SPC charts typically monitor processing water stream to create a diluted product stream. The dye
parameters (e.g., temperature, product yield, etc.) associated concentration in the product stream will be monitored spec-
with repetitive operations in industrial plants and scientific troscopically at points immediately before and after an inline
laboratories. The principal function of the control chart is mixing device. Charts created in this experiment illustrate
to distinguish natural variability in a process from fluctua- some important lessons in statistical process control. The most
tions attributable to an assignable cause (e.g., equipment fail- critical lesson is that effective use of control charts requires
ure, operator error, etc.). more than simple visual inspection. Knowledge of the pro-
Process control charts are generated by plotting a mea- cess and a common-sense approach to analysis are critical re-
surable process parameter as a function of time. The expec- quirements for coming to the proper conclusions regarding

water through
rotameter

detection detection
(premixer flow cell) (postmixer flow cell)

accumulator
tank

0.2% dye
recycle peristaltic inline mixer
pump pump

Figure 1. Process diagram for the mixing system. A concentrated bulk green dye solution (0.2 wt %) is mixed with a pure water stream to
create a product stream (0.1 wt %). The dye concentration is measured with spectrophotometers before and after an inline mixer.

110 Journal of Chemical Education Vol. 83 No. 1 January 2006 www.JCE.DivCHED.org


In the Laboratory

SPC charts. Specifically, efforts to reduce variability in a pro-


cess, such as adding an inline mixer, typically result in nar-
rower control limits. Narrow control limits are more sensitive
to minor nonrandom fluctuations and therefore are more
likely to produce out-of-control results. The key is for stu-
dents to recognize this tradeoff and make the proper recom-
mendations for handling sensitive control limits.

Experimental Procedure
A diagram of the experimental process is shown in Fig-
ure 1, where a feed stream of green dye solution is mixed
with a pure water stream to create a product stream with a
lower dye concentration. Green food coloring (Adams Ex-
Figure 2. Typical dye concentration data for the premixer and
tract) is used as the process dye and a pair of spectropho-
postmixer measured spectroscopically. The data demonstrate the
tometers are used for detection. Full details for the equipment dramatic decrease in variability achieved by the inline mixer and,
and materials are given in the Supplemental Materials.W consequently, the improved process capability.
The students should be familiar with the basic concept
of control charts from the lecture portion of the class. The
students are required to perform several simple tasks during
the experiment: mix the feedstock solution, calibrate the water Subgroups intervals are chosen such that the variation within
flow meter prior to beginning the data acquisition, and make each subgroup is attributable to only natural process varia-
simple calculations using LambertBeer law. The spectropho- tion. This is often accomplished by picking a time interval
tometer comes with user-friendly software but may require a that is short relative to any possible systematic process varia-
briefing by the instructor prior to operation. tion. Figures 3 and 4 present the pre- and postmixer data in

At least 500 absorbance measurements are taken of just the two control chart formats, X chart and R (range) chart.

the feedstock stream, which is used for analysis of the vari- X charts plot the average value of each subgroup, while R
ability of the detectors and to determine the concentration charts plot the range of each subgroup, a measure of vari-
of the feedstock solution. Following these measurements, the ability (see the Supplemental MaterialW for details on the for-
pure water stream is set to the appropriate flow rate to dilute mation of control charts). As expected, the measured
the feedstock stream to 0.1 wt %. A minimum of 1000 ab- variability is lower after the stream passes through the inline

sorbance measurements are taken on this process stream (at mixer. Based on the R values found on the R charts in Fig-
a rate of about 1 per second). These experimental data are ures 3B and 4B, the mixer reduces concentration variation
then used to generate SPC charts. The entire experiment can by a factor of 13. Students are asked to consider why de-
be performed in two hours. creased variance is important to the process by becoming fa-
miliar with the process capability index (Cp). Cp is the ratio
Hazards of product tolerance limits to the process control limits, which
provides a useful heuristic for evaluating the ability of a pro-
A safe, nontoxic food coloring should be used as the pro- cess to meet given product specifications. The students will
cess dye. Some care should be taken to position electrical equip- find that the premixer and postmixer capability values differ
ment (pumps, computer, spectrophotometer lamp) in dry areas significantly. The premixer process has a Cp value of about
away from any potential dripping or leaking piping. 0.2 versus a value of about 1.6 for the postmixer (using speci-
fication limits of 0.100 0.002 wt %). Generally, a Cp of at
Results and Discussion least 1.3 is desired to ensure that the product meets specifi-
cation. Thus, the calculation of Cp clearly demonstrates the
The primary pedagogical goal of this experiment is to importance of the mixer in assuring the product is actually
teach students how to create and analyze SPC charts by evalu- meeting specifications.
ating the effects of the inline mixer on the dye mixing pro- Intuition suggests to most students that having an inline
cess. These charts can be quickly produced using a statistical mixer will provide an improvement in variance over not hav-
software package (e.g., JMP, SAS Institute) or using a spread- ing a mixer in the process stream. This intuition is validated
sheet program such as Microsoft Excel. Students are required by the dramatic reduction in variability achieved by the inline
to provide sample hand calculations in the lab report to avoid mixer, as seen in Figure 2 and by the corresponding increase
an overreliance on black box computer programs. in Cp obtained through use of the mixer. Despite these im-
Some typical raw data from this experiment are shown provements, a non-discerning examination of the SPC charts
in Figure 2, where absorbance has been converted to dye con- could lead to the incorrect conclusion that the inline mixer

centration via Beers Law. It is readily apparent that concen- is detrimental to the process. The postmixer X chart (Figure
tration fluctuations are much greater in the premixer readings 4A) shows that the process is out-of-control because there
than in the postmixer readings, which implies that the inline are numerous points outside the control limits, which is in
mixer is effectively reducing concentration variations. contrast to the premixer data. Based on this purely statistical
The students convert the raw data into control chart for- analysis, the inline mixer has seemingly made things worse
mat, breaking down the data into subgroups of size n = 5. not better. This apparent contradiction between simplistic

www.JCE.DivCHED.org Vol. 83 No. 1 January 2006 Journal of Chemical Education 111


In the Laboratory

chart reading and common sense expectations provides a pow- control charts. If the data are truly random, then the order
erful learning tool. The ability of the inline mixer to homog- of the data should have no affect on the control charts. How-

enize the solution reduces the postmixer variability, which ever, after randomizing the data, the average range (R ) typi-
in turn results in narrower control limits for the postmixer. cally increases by a factor of 510 for the postmixer data.
Consequently, the postmixer control charts are more sensi- This simple analysis proves the fluctuations are nonrandom
tive to small processing fluctuations that are otherwise and implies that the data are correlated.
drowned out by the large variability in the premixer data. In the final step of the analysis, students must identify
Narrow control limits rapidly alert the observer to small non- the source of the nonrandom trends. The most likely culprit
random fluctuations, but are also more likely to detect non- is nonconstant water flow rates owing to changing water pres-
significant process variations. Therefore, it is critical that sure in the building manifold. Careful observation of the rota-
the student understands both the source and the impact of meter on the water line would reveal slight fluctuations during
any assignable variations to determine whether the source the experiment. The sensitive control limits of the postmixer
should be addressed or neglected. charts are capable of detecting these small process fluctua-
The primary reason the postmixer data in Figure 4A are tions. The premixer charts are incapable of detecting these
out-of-control is due to the presence of systematic trends in fluctuations due to the magnitude of the variations caused
the data. The trends in the data are known as autocorrela- by poor mixing.
tion, where successive measurements are not independent. Based on their analysis, students must make recommen-
Although rigorous methods exist to quantify autocorrelation, dations for a future course of action, such as eliminating the
a simple test is suggested in the lab handout to prove the assignable causes of variation or reevaluating the control limits
data are nonrandom. The method involves randomizing the in light of the processing requirements. Typically when a pro-
order of the data as a function of time and recalculating the cess is out-of-control, the source of nonrandom fluctuations

A A
0.106
Subgroup Concentration (wt %)

Subgroup Concentration (wt %)

0.1015
0.104

0.102 0.1010

0.100 0.1005

0.098
0.1000

0.096

0.0995
0 50 100 150 200 250 300 0 50 100 150 200 250 300

UCL = 0.1053 Subgroup Number UCL = 0.1010 Subgroup Number


AVG = 0.1006 AVG = 0.1006
LCL = 0.0960
LCL = 0.1003

B B
0.016 0.0016
Subgroup Range (wt %)

Subgroup Range (wt %)

0.0014

0.012 0.0012

0.0010

0.008 0.0008

0.0006

0.004 0.0004

0.0002

0.000 0.0000
0 50 100 150 200 250 300 0 50 100 150 200 250 300

UCL = 0.0171 Subgroup Number UCL = 0.0013 Subgroup Number


AVG = 0.0081 AVG = 0.0006
LCL = 0.0000 LCL = 0.0000

Figure 3. Example SPC charts from the premixer detector during Figure 4. Example SPC charts from the postmixer detector during

mixing trial: (A) X chart and (B) R chart. mixing trial: (A) X chart and (B) R chart.

112 Journal of Chemical Education Vol. 83 No. 1 January 2006 www.JCE.DivCHED.org


In the Laboratory

must be removed. However, since all of the data fall within Acknowledgments
the processing requirements, reevaluation of the control limits
would be the least expensive corrective action. We are grateful to Pavlos Tsiartas for assistance with the
optics for the spectrophotometer.
Conclusions
W
Supplemental Material
An experiment designed to teach students the power of
SPC charts was presented. The students learn how to create An expanded version of the text, a detailed experimen-
and analyze control charts in an effort to evaluate the ben- tal procedure for the students, notes for the instructor, and a
efits of a mixer. The experimental configuration is useful for prelab quiz are available in this issue of JCE Online. The tech-
statistical analysis since the spectrophotometer detectors can niques to create SPC charts are well established and can be
rapidly acquire many data points. An important component found in most general statistics books (35).
of the pedagogical power of this experiment lies in the seem-
ingly contradictory nature of the data obtained, which forces Literature Cited
the students to develop a deeper understanding of control
charts. The experimental results show that the mixer clearly 1. Shewhart, W. A. Economic Control of Quality of Manufactured
reduces measured variability in dye concentration. However, Product; D. Van Nostrand Company Inc.: New York, 1931.
the reduction in variability narrows the control limits, mak- 2. Wheeler, D. J.; Chambers, D. S. Understanding Statistical Pro-
ing the postmixer control charts hypersensitive to minor pro- cess Control; Statistical Process Controls: Knoxville, TN, 1986;
cess fluctuations. The consequence of this effect is that the pp 7283.
postmixer data are technically out-of-control whereas the 3. John, P. W. M. Statistical Methods in Engineering and Quality
premixer data are in-control despite having significantly Assurance; Wiley: New York, 1990.
greater process variance. The source of the out-of-control data 4. Walpole, R. E. Probability & Statistics for Engineers & Scien-
can be logically narrowed down to a single assignable cause: tists, 7th ed.; Prentice Hall: Upper Saddle River, NJ, 2002;
variation in water flow rate. Students are forced to justify a pp 625635.
course of action based on the analysis of the control charts. 5. Miller, I.; Freund, J. E.; Johnson, R. A. Miller and Freunds
Options include modifying the control limits or eliminating Probability and Statistics for Engineers; Prentice Hall: Engle-
sources of nonnatural variability. wood Cliffs, NJ, 1994; pp 516523.

www.JCE.DivCHED.org Vol. 83 No. 1 January 2006 Journal of Chemical Education 113

Anda mungkin juga menyukai