Statistical Process Control with Excel
Statistical Process Control (SPC) is used to control a critical process output acting on the factors affecting it only when required. The purpose is to differentiate between a statistically significant change in the process and common cause variation because the actions required will be different.
Real Time Statistical Process Control enables the operators running the process to know when action is required, as described in Real Time SPC
Under-reaction is just as bad: a slow process degradation passes undetected until it is too late.
SPC Charts for Variables and Attributes
SPC Chart Interpretation
In our Excel file red dots indicate upward trend symptoms and green dots downward.
These are the upward symptoms definitions:
Individuals SPC chart
Since we collect a single value each hour we are using a variables SPC chart for individuals.
This chart can be complemented with a moving range chart where the absolute value of differences between each value and the one preceding is plotted.We automatically apply the Western Electric rules for Out-Of-Control symptoms and the alert description will appear in the corresponding row: 15 - 24
When any of these alerts appear the corresponding point in the chart will be colored: In red: upward symptom
In green: downward symptom
While there are no color dots the process is stable: there are no statistically significant changes.
Process Change
It is not until 1:00 that we have enough evidence to declare that the process has changed.
In this case, since we are measuring yield, an increase in yield is an improvement.
So we can say that process yield has improved sometime between 16:00 and 1:00. With this information we should now investigate what happened during this period of time that caused this improvement.
How much have we improved? If we compute the average between 6:00 and 16:00 we get an average yield of 93. And from 17:00 to 11:00 the next day 118. So we can estimate an average yield increase of 25.
Process Change Alerts
The values 9 starting at 1:00 on 11/04 mean that from 17:00 to 3:00 all values have been above the center line: yield has significantly increased.
Normality Test
X bar s Chart
Instead of making one single measurement we make several: in this case 4.
In this case green or red dots in the average chart are equally bad: significant deviation from the average.
Slow Trend
Let's interpret the chart in sheet Slow Trend:Looking at the chart we can graphically detect an upward trend which in this case of yield is a good thing: our process is improving significantly from the statistical point of view.
This trend is confirmed by the green dots up to 6:00 in day 11 followed by red dots starting at 12:00 until the end.
The interpretation of this situation is that we have a continuous process improvement starting around 11:00 on day 11 maybe due to some ongoing improvement actions.
The alerts of the chart:
- One value at 7:00 below the lower control limit
- Six values from 10/4 14:00 to 11/4 1:00 where 4 out of 5 consecutive values 1 sigma below the center line
- Five values from 10/4 8:00 to 11/4 6:00 where 2 out of 3 consecutive values 2 sigma below the center
- Four values starting from 11/4 11:00 above the upper control limit
- Eight values from 11/4 11:00 where 2 out of 3 consecutive values 2 sigma above the center
- Eight values from 11/4 14:00 where 4 out of 5 consecutive values are 1 sigma above the center
- Three values from 11/4 19:00 where 9 consecutive values are above the center
Day of the Week Effect
We now analyse sheet DOW:On the other hand we can see a repetitive cycle of 7 days which, of course, corresponds to a week.
If we look in our calendar the days of lowest production we realize they correspond to Sundays and the next lowest to Saturdays.
This is telling us that maybe there is significant seasonal trend within each week.
In order to check that we have added column DOW to our spreadsheet DOW2 where we calculate the day of the week corresponding to each date with this formula:
Where A2 holds the date and "2" is to start counting the week on Monday.
The confidence intervals for the average production each day of the week (1 = Monday) is:
We can now confirm that there are significant differences among the different days of the week:
- Wednesdays and Fridays we have the highest productions.
- On Thursdays, for some reason, it is significantly lower and, of course,
- it is lowest on Saturdays and Sundays.
Process Time
We have been collecting daily process time during 3 months in sheet Time and we want to know if there are any significant changes in process time during these 3 months.- There is always a physical lower limit in time
- On the other hand there is no upper limit: time may be extended by all sorts of defects or difficulties
Box-Cox Data Transformation
- Calculate lambda in cell I8 by maximizing cell I6
- The restrictions are -5 <= λ <= 5
- The resulting value is λ = - 0.348
- In column F we obtain the transformed data.
Attribute SPC Chart P for Proportion of Defectives (Sheet P)
In this case we want to control the daily proportion of defective units so we need to collect pairs of values each day:
- Sample size (Number of units controlled during the day)
- Number of defective units found
Attribute SPC Chart U for Defects Per Unit (DPU)
Conclusions
- Real Time SPC is a useful tool for operators in order to control their process by making the required adjustments as soon as needed but without over-reacting.
- Control charts are useless unless analysis and corrective actions are done in real time.
- To do this, data must be collected on the spot and charts updated fast enough.
- Operators need to be trained to to know what corrective action is required on each case.
- Variables SPC charts of critical process parameters are more accurate than attributes and they enable process adjustments before defects start to appear.
- Variables charts for individuals require normality so you may need data transformation.
- Being in control is not enough. We must make sure the process meets the customer requirements. Process capability measures to what extent is the process able to satisfy the customer.
Comments
Post a Comment