Sub topic 7
Why Centering Matters
Prerequisites and the working model
This chapter assumes that you can calculate a mean and standard deviation and have a basic idea of the normal distribution. You should also know that specification limits define acceptable output:
- LSL is the lower specification limit.
- USL is the upper specification limit.
- The target is the desired center of the specifications.
- The process mean is the average observed output.
- Sigma, written as σ, measures the process spread.
Capability indices compare process spread with the specification range. They are meaningful only when the process is stable and the standard deviation represents the process variation you want to study.
Cp ignores the process center
Cp measures potential capability. It compares the total specification width with six standard deviations:
\[ Cp = \frac{USL - LSL}{6\sigma} \]
The six-sigma width represents the approximate natural spread of a normally distributed process, from -3σ to +3σ around its mean.
Cp answers this question:
> Is the specification range wide enough for the process variation?
It does not use the process mean. A process can have a high Cp while producing output too close to one specification limit.
Consider a process with these values:
| Quantity | Value |
|---|---|
| LSL | 9.85 |
| USL | 10.15 |
| Mean | 10.02 |
| Sigma | 0.05 |
| Target | 10.00 |
The tolerance width is 0.30, and the natural process spread is:
\[ 6\sigma = 6(0.05) = 0.30 \]
Therefore:
\[ Cp = \frac{10.15 - 9.85}{6(0.05)} = 1.00 \]
Cp suggests that the process spread exactly fills the specification width. However, the mean is 10.02, which is closer to the USL than to the LSL.
Cpk accounts for centering
Cpk measures capability relative to the nearest specification limit. First calculate the upper and lower one-sided indices:
\[ Cpu = \frac{USL - \bar{x}}{3\sigma} \]
\[ Cpl = \frac{\bar{x} - LSL}{3\sigma} \]
Then select the smaller value:
\[ Cpk = \min(Cpu, Cpl) \]
For the example:
\[ Cpu = \frac{10.15 - 10.02}{3(0.05)} \approx 0.87 \]
\[ Cpl = \frac{10.02 - 9.85}{3(0.05)} \approx 1.13 \]
Therefore:
\[ Cpk = \min(0.87, 1.13) = 0.87 \]
The process has Cp = 1.00 but Cpk = 0.87. The difference shows that the process is not centered. If the same process had a mean of 10.00, both one-sided indices would be 1.00, so Cpk would equal Cp.
def cp_cpk(mean, sigma, lsl, usl):
cp = (usl - lsl) / (6 * sigma)
cpu = (usl - mean) / (3 * sigma)
cpl = (mean - lsl) / (3 * sigma)
return cp, cpu, cpl, min(cpu, cpl)
cp, cpu, cpl, cpk = cp_cpk(
mean=10.02,
sigma=0.05,
lsl=9.85,
usl=10.15,
)
print(round(cp, 2), round(cpu, 2), round(cpl, 2), round(cpk, 2))The output is:
1.0 0.87 1.13 0.87Common errors
- Do not calculate Cpk using the target instead of the observed mean. Cpk measures the current process location.
- Do not assume Cp and Cpk are interchangeable. Cp ignores centering; Cpk includes it.
- Do not expect Cpk to exceed Cp. For two-sided specifications, Cpk is always less than or equal to Cp.
- Do not adjust the mean mathematically and report the improved value as current capability. A changed Cpk requires a real process change.
- Do not interpret either index before checking stability. A drifting process does not have one reliable mean or spread.
Exercise
A stable process has LSL = 95, USL = 105, mean = 103, and sigma = 1. Calculate Cp, Cpu, Cpl, and Cpk. Which specification limit controls Cpk?
Show answer
Cp = (105 - 95) / (6 × 1) = 1.67. Cpu = (105 - 103) / 3 = 0.67. Cpl = (103 - 95) / 3 = 2.67. Cpk = 0.67, controlled by the upper specification limit.