Statistical Process Control - Process Capability

Review: specifications and process control

To get a new industrial product to the market there is often a long process that goes from the initial discussions and briefings to the start of production on the shop floor. For products produced in millions or billions of units this process can take several years but once its completed the specifications often remain stable for years.

This is why it is important to assess the capability of the manufacturing processes and to define good specifications from the start. For the characteristics that are critical to quality (CTQ) we may decide to implement a statistical process control (SPC).

Question: capability indexes

Quality control is know for its many acronyms (we’ve just seen already seen CTQ, SPC). Would you know some more?

Exercise: summary statistics

For this exercise we’ve loaded the {industRial} package in memory with library(industRial). It comes with various simple functions in the area of SPC that can be used as a starting point to build dashboards and advanced applications, e.g. off_spec() and process_Cpk(). How can we easily check the arguments that the functions take?

dput(formals(process_Cpk))

It was useful to see in the previous question what USL means!

What about if we wanted to see the code inside the function? We’re giving a hint but better workout your memory before!

body(process_Cpk)

As said its a rather simple function but it proves very helpful if we know the specification limits, the process mean and its standard deviation.

Play: capability app

Lets now try all these ideas together in a dynamic context. In the app below the specification limits are calculated as a percentage of the specification target, starting with 10%. This means that for a target of 0.90 we have a min of 0.81 and a max of 0.99 [g]. In these circumstances the percentage out of specification is of 2.39%, very high for industry standards.

Check the following points below:

  • Could we get to zero defects in percentage just by re-centering the process? By how much (in grams).
  • How much is the Cpk in this case?
  • Could we further narrow the specification below 10% and still have zero % out of spec?

Process Capability Study

Exercise: histogram

Finally a process capability chart is nothing more than our old histogram:

Enter below the code to obtain this histogram, using the tablet_weight data set:

tablet_weight %>%
  clean_names()
# Check out the chart_Cpk() function body, although there is more than a simple histogram the base is the same:
body(chart_Cpk)

Quizz: Cpk formula

There are many different ways of expressing the process capability with various indexes that all resemble a bit. We’ve mostly been looking into the Cpk which takes into account the off centering of the process. From the function explored before we can now find out its mathematical formula.