Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © Cengage Learning. All rights reserved. 16 Quality Control Methods.

Similar presentations


Presentation on theme: "Copyright © Cengage Learning. All rights reserved. 16 Quality Control Methods."— Presentation transcript:

1 Copyright © Cengage Learning. All rights reserved. 16 Quality Control Methods

2 Copyright © Cengage Learning. All rights reserved. 16.5 CUSUM Procedures

3 3 A defect of the traditional X chart is its inability to detect a relatively small change in a process mean. This is largely a consequence of the fact that whether a process is judged out of control at a particular time depends only on the sample at that time, and not on the past history of the process. Cumulative sum (CUSUM) control charts and procedures have been designed to remedy this defect.

4 4 CUSUM Procedures There are two equivalent versions of a CUSUM procedure for a process mean, one graphical and the other computational. The computational version is used almost exclusively in practice, but the logic behind the procedure is most easily grasped by first considering the graphical form.

5 5 The V-Mask

6 6 Let  0 denote a target value or goal for the process mean, and define cumulative sums by S 1 = x 1 –  0 S 2 = (x 1 –  0 ) + (x 2 –  0 ) = (x i –  0 ). S 1 = (x 1 –  0 ) +... + (x 1 –  0 ) = (x 1 –  0 ) (in the absence of a target value, x is used in place of  0 ).

7 7 The V-Mask These cumulative sums are plotted over time. That is, at time l, we plot a point at height S l. At the current time point r, the plotted points are (1, S 1 ), (2, S 2 ), (3, S 3 ),…, (r, S r ).

8 8 The V-Mask Now a V-shaped “mask” is superimposed on the plot, as shown in Figure 16.7. Figure 16.7 (b) CUSUM plots: (a) successive points (I, S l ) in a CUSUM plot; (b) a V-mask with 0 = (r, S r ); (a)

9 9 The V-Mask Figure 16.7 (d) CUSUM plots: (c) an in-control process; (d) an out-of-control process (c)

10 10 The V-Mask The point 0, which lies a distance d behind the point at which the two arms of the mask intersect, is positioned at the current CUSUM point (r, S r ). At time r, the process is judged out of control if any of the plotted points lies outside the V-mask—either above the upper arm or below the lower arm. When the process is in control, the x i ’ will vary around the target value  0, so successive S i ’s should vary around 0. Suppose, however, that at a certain time, the process mean shifts to a value larger than the target.

11 11 The V-Mask From that point on, differences x i ’ –  0 will tend to be positive, so that successive S l ’s will increase and plotted points will drift upward. If a shift has occurred prior to the current time point r, there is a good chance that (r, S r ) will be substantially higher than some other points in the plot, in which case these other points will be below the lower arm of the mask. Similarly, a shift to a value smaller than the target will subsequently result in points above the upper arm of the mask.

12 12 Any particular V-mask is determined by specifying the “lead distance” d and “half-angle” , or, equivalently, by specifying d and the length h of the vertical line segment from 0 to the lower (or to the upper) arm of the mask. One method for deciding which mask to use involves specifying the size of a shift in the process mean that is of particular concern to an investigator. Then the parameters of the mask are chosen to give desired values of  and , the false-alarm probability and the probability of not detecting the specified shift, respectively. The V-Mask

13 13 The V-Mask An alternative method involves selecting the mask that yields specified values of the ARL (average run length) both for an in-control process and for a process in which the mean has shifted by a designated amount. After developing the computational form of the CUSUM procedure, we will illustrate the second method of construction.

14 14 Example 8 A wood products company manufactures charcoal briquettes for barbecues. It packages these briquettes in bags of various sizes, the largest of which is supposed to contain 40 lbs. Table 16.4 displays the weights of bags from 16 different samples, each of size n = 4. Table 16.4 Observations, x’s and Cumulative Sums for Example 8

15 15 Example 8 The first 10 of these were drawn from a normal distribution with  =  0 = 40 and  =.5. Starting with the eleventh sample, the mean has shifted upward to  = 40.3. Figure 16.8 displays an x chart with control limits  0  3  x = 40  3  (.5/ ) = 40 .75 Figure 16.8 X control chart for the data of Example 8 cont’d

16 16 Example 8 No point on the chart lies outside the control limits. This chart suggests a stable process for which the mean has remained on target. Figure 16.9 shows CUSUM plots with a particular V-mask superimposed. cont’d

17 17 Example 8 The plot in Figure 16.9(a) is for current time r = 12. All points in this plot lie inside the arms of the mask. However, the plot for r = 13 displayed in Figure 16.9(b) gives an out-of-control signal. (a)(b) Figure 16.9 CUSUM plots and V-masks for data of Example 8: (a) V-mask at time r = 12, process in control; (b) V-mask at time r = 13, out-of-control signal cont’d

18 18 Example 8 The point falling below the lower arm of the mask suggests an increase in the value of the process mean. The mask at r = 16 is even more emphatic in its out-of-control message. This is in marked contrast to the X chart. cont’d

19 19 A Computational Version

20 20 A Computational Version The following computational form of the CUSUM procedure is equivalent to the previous graphical description. Let d 0 = e 0 = 0, and calculate d 1, d 2, d 3,..., and e 1, e 2, e 3,..., recursively, using the relationships d l = max[0, d l – 1 + (x l – (  0 + k))] e l = max[0, e l – 1 – (x l – (  0 – k))] (l = 1, 2, 3,...) Here the symbol k denotes the slope of the lower arm of the V-mask, and its value is customarily taken as  /2 (where  is the size of a shift in  on which attention is focused).

21 21 A Computational Version If at current time r either d r > h or e r > h, the process is judged to be out of control. The first inequality suggests that the process mean has shifted to a value greater than the target, whereas e r > h indicates a shift to a smaller value.

22 22 Example 9 Reconsider the charcoal briquette data displayed in Table 16.4 of Example 8. Table 16.4 Observations, X’s and Cumulative Sums for Example 8

23 23 Example 9 The target value is  0 = 40, and the size of a shift to be quickly detected is  =.3. Thus k = =.15  0 + k = 40.15  0 – k = 39.85 so d l = max[0, d l – 1 + (x l – 40.15)] e l = max[0, e l – 1 – (x l – 39.85)] cont’d

24 24 Example 9 Calculations of the first few d l ’s proceeds as follows: d 0 = 0 d 1 = max[0, d 0 + (x 1 – 40.15)] = max[0, 0 + (40.20 – 40.15)] =.05 cont’d

25 25 Example 9 d 2 = max[0, d 1 + (x 2 – 40.15)] = max[0,.05 + (39.72 – 40.15)] = 0 d 3 = max[0, d 2 + (x 3 – 40.15)] = max[0, 0 + (40.42 – 40.15)] =.27 cont’d

26 26 Example 9 The remaining calculations are summarized in Table 16.5. Table 16.5 CUSUM Calculations for Example 9 cont’d

27 27 Example 9 The value h =.95 gives a CUSUM procedure with desirable properties—false alarms (incorrect out-of-control signals) rarely occur, yet a shift of  =.3 will usually be detected rather quickly. With this value of h, the first out-of-control signal comes after the 13th sample is available. Since d 13 = 1.17 >.95, it appears that the mean has shifted to a value larger than the target. cont’d

28 28 Example 9 This is the same message as the one given by the V-mask in Figure 16.9(b). (b) Figure 16.9 CUSUM plots and V-masks for data of Example 8: (b) V-mask at time r = 13, out-of-control signal cont’d

29 29 A Computational Version To demonstrate equivalence, again let r denote the current time point, so that x 1, x 2..., x r are available. Figure 16.10 displays a V-mask with the point labeled 0 at (r, S r ). Figure 16.10 A V-mask with slope of lower arm = k

30 30 A Computational Version The slope of the lower arm, which we denote by k, is h/d. Thus the points on the lower arm above r, r – 1, r – 2,... are at heights S r – h, S r – h – k, S r – h, S r – h – 2k and so on. The process is in control if all points are on or between the arms of the mask. We wish to describe this condition algebraically. To do so, let T l = [ x i – (  0 + k)] l = 1, 2, 3,..., r

31 31 A Computational Version The conditions under which all points are on or above the lower arm are S r – h  S r (trivially satisfied) i.e., S r  S r + h S r – h – k  S r – 1 i.e., S r  S r – 1 + h + k S r – h – 2k  S r – 2 i.e., S r  S r – 2 + h + 2k..

32 32 A Computational Version Now subtract rk from both sides of each inequality to obtain S r – rk  S r – rk + h i.e., T r  T r + h S r – rk  S r – 1 – (r – 1)k + h i.e., T r  T r – 1 + h S r – rk  S r – 2 – (r – 2)k + h i.e., T r  T r – 2 + h..

33 33 A Computational Version Thus all plotted points lie on or above the lower arm if and only if (iff) T r – T r  h, T r – T r – 1  h, T r – T r – 2  h, and so on. This is equivalent to T r – min(T 1, T 2,..., T r )  h In a similar manner, if we let V r = [x i – (  0 – k)] = S r + rk

34 34 A Computational Version it can be shown that all points lie on or below the upper arm iff max(V 1,.., V r ) – V r  h If we now let d r = T r – min(T 1,..., T r ) e r = max(V 1,..., V r ) – V r

35 35 A Computational Version it is easily seen that d 1, d 2,..., and e 1, e 2,...can be calculated recursively as illustrated previously. For example, the expression for d r follows from consideration of two cases: 1. min(T 1,..., T r ) = T r, whence d r = 0 2. min(T 1,..., T r ) = min(T 1,..., T r – 1 ), so that d r = T r – min(T 1,..., T r – 1 )

36 36 A Computational Version = x r – (  0 + k) + T r – 1 – min(T 1,..., T r – 1 ) = x r – (  0 + k) + d r – 1 Since d r cannot be negative, it is the larger of these two quantities.

37 37 Designing a CUSUM Procedure

38 38 Designing a CUSUM Procedure Let  denote the size of a shift in  that is to be quickly detected using a CUSUM procedure. It is common practice to let k =  /2. Now suppose a quality control practitioner specifies desired values of two average run lengths: 1. ARL when the process is in control (  =  0 ) 2. ARL when the process is out of control because the mean has shifted by  (  =  0 +  or  =  0 –  )

39 39 Designing a CUSUM Procedure A chart developed by Kenneth Kemp (“The Use of Cumulative Sums for Sampling Inspection Schemes,” Applied Statistics, 1962: 23), called a nomogram, can then be used to determine values of h and n that achieve the specified ARLs. This chart is shown as Figure 16.11. Figure 16.11 The Kemp nomogram

40 40 Designing a CUSUM Procedure The method for using the chart is described in the accompanying box. Either the value of  must be known or an estimate is used in its place.

41 41 Designing a CUSUM Procedure Using the Kemp Nomogram 1. Locate the desired ARLs on the in-control and out-of-control scales. Connect these two points with a line. 2. Note where the line crosses the k scale, and solve for n using the equation Then round n up to the nearest integer.

42 42 Designing a CUSUM Procedure 3. Connect the point on the k scale with the point on the in-control ARL scale using a second line, and note where this line crosses the h scale. Then h = (  / )  h. The value h =.95 was used in Example 9. In that situation, it follows that the in-control ARL is 500 and the out-of-control ARL (for  =.3) is 7.

43 43 Example 10 The target value for the diameter of the interior core of a hydraulic pump is 2.250 in. If the standard deviation of the core diameter is  =.004, what CUSUM procedure will yield an in-control ARL of 500 and an ARL of 5 when the mean core diameter shifts by the amount of.003 in.?

44 44 Example 10 Figure 16.11 The Kemp nomogram* cont’d Connecting the point 500 on the in-control ARL scale to the point 5 on the out of-control ARL scale and extending the line to the k scale on the far left in Figure 16.11 gives k =.74. Thus

45 45 Example 10 So The CUSUM procedure should therefore be based on the sample size n = 4. cont’d

46 46 Example 10 Now connecting.74 on the k scale to 500 on the in-control ARL scale gives h = 3.2, from which h = (  / )  (3.2) = (.004 / )(3.2) =.0064 An out-of-control signal results as soon as either d r >.0064 or e r > 0064. cont’d


Download ppt "Copyright © Cengage Learning. All rights reserved. 16 Quality Control Methods."

Similar presentations


Ads by Google