Skip to the content

Topics Covered

\(\bar{X}\) Chart R Chart S Chart Standards Specified Standards Unspecified Control Limits Subgroup Size
On this page
  1. 1. What Are Variable Control Charts?
  2. 2. Preliminaries: Rational Subgroups and Constants
  3. 3. \(\bar{X}\) and R Charts — Standards Unspecified
  4. 4. \(\bar{X}\) and R Charts — Standards Specified
  5. 5. \(\bar{X}\) and S Charts
  6. 6. Process Capability Analysis (\(C_p\), \(C_{pk}\))
  7. Key Take-aways

1. What Are Variable Control Charts?

DEFINITION

A variable control chart monitors a quality characteristic that is measured on a continuous scale — length, weight, temperature, hardness, voltage, etc. Because the data are quantitative, we track both the central tendency (mean) and the dispersion (range or standard deviation) of the process.

Why Two Charts?

Tracking only the mean is insufficient — a process could have the right average but excessive variability, and vice versa. Hence variable charts are always used in pairs:

2. Preliminaries: Rational Subgroups and Constants

2.1 Rational Subgroup

Samples (subgroups) of size \(n\) are taken at regular intervals. A rational subgroup is one in which the items within a subgroup are produced under essentially the same conditions (same operator, same machine setting, same short time window). This maximises the chance of detecting between-subgroup shifts.

2.2 Control Chart Constants

For a normal population with standard deviation \(\sigma\), the sampling distributions of \(\bar{X}\), \(R\), and \(S\) are related to \(\sigma\) through well-known constants that depend only on the subgroup size \(n\):

\(n\)\(A_2\)\(D_3\)\(D_4\)\(A_3\)\(B_3\)\(B_4\)\(d_2\)\(c_4\)
21.88003.2672.65903.2671.1280.7979
31.02302.5751.95402.5681.6930.8862
40.72902.2821.62802.2662.0590.9213
50.57702.1141.42702.0892.3260.9400
60.48302.0041.2870.0301.9702.5340.9515
70.4190.0761.9241.1820.1181.8822.7040.9594
80.3730.1361.8641.0990.1851.8152.8470.9650
90.3370.1841.8161.0320.2391.7612.9700.9693
100.3080.2231.7770.9750.2841.7163.0780.9727

3. \(\bar{X}\) and R Charts — Standards Unspecified

SCENARIO

When no prior standard values of \(\mu\) and \(\sigma\) are given, we estimate them from the sample data (typically 20–25 subgroups of size \(n\)).

3.1 Computing \(\bar{X}\) and R for Each Subgroup

For subgroup \(j\) of size \(n\), compute:

\[ \bar{X}_j = \frac{1}{n}\sum_{i=1}^{n} X_{ij}, \qquad R_j = X_{\max,j} - X_{\min,j}. \]

3.2 Grand Mean and Average Range

\[ \bar{\bar{X}} = \frac{1}{k}\sum_{j=1}^{k} \bar{X}_j, \qquad \bar{R} = \frac{1}{k}\sum_{j=1}^{k} R_j, \]

where \(k\) is the number of subgroups.

3.3 Control Limits for R Chart

\[ \text{UCL}_R = D_4\,\bar{R}, \qquad \text{CL}_R = \bar{R}, \qquad \text{LCL}_R = D_3\,\bar{R}. \]

Always construct the R chart first and verify it is in control before constructing the \(\bar{X}\) chart, because the \(\bar{X}\) chart limits depend on \(\bar{R}\).

3.4 Control Limits for \(\bar{X}\) Chart

\[ \text{UCL}_{\bar{X}} = \bar{\bar{X}} + A_2\,\bar{R}, \qquad \text{CL}_{\bar{X}} = \bar{\bar{X}}, \qquad \text{LCL}_{\bar{X}} = \bar{\bar{X}} - A_2\,\bar{R}. \]

3.5 Estimating Process \(\sigma\)

\[ \hat{\sigma} = \frac{\bar{R}}{d_2}. \]
EXAMPLE 1 — \(\bar{X}\) and R chart (standards unspecified)

20 subgroups of size \(n = 5\) from a steel-rod cutting process. Summary: \(\bar{\bar{X}} = 48.02\) mm, \(\bar{R} = 3.84\) mm.

For \(n = 5\): \(A_2 = 0.577\), \(D_3 = 0\), \(D_4 = 2.114\).

R chart: UCL = 2.114 × 3.84 = 8.12 mm; CL = 3.84; LCL = 0.

\(\bar{X}\) chart: UCL = 48.02 + 0.577 × 3.84 = 48.02 + 2.22 = 50.24 mm; CL = 48.02; LCL = 48.02 − 2.22 = 45.80 mm.

Process estimate: \(\hat{\sigma} = 3.84/2.326 = 1.651\) mm.

EXAMPLE 2 — Out-of-control detection

Continuing the same data, subgroup 14 has \(\bar{X}_{14} = 51.30\) mm and \(R_{14} = 9.50\) mm.

The range \(R_{14} = 9.50\) exceeds UCL\(_R\) = 8.12 → R chart flags an out-of-control signal. The mean \(\bar{X}_{14} = 51.30\) exceeds UCL\(_{\bar{X}}\) = 50.24 → \(\bar{X}\) chart also flags. Investigate: the cutting tool was replaced at subgroup 14, causing both a shift in mean and increased variability until the new tool settled in.

X̄ Chart — subgroup means UCL = 50.24 CL = 48.02 LCL = 45.80 out of control (14) Subgroup number →
Fig 2.1 — An \(\bar X\) chart: subgroup means are plotted in time order between the centre line (CL) and the 3-sigma control limits. All points sit inside the band until subgroup 14 jumps above the UCL — the visual signal of an assignable cause (here, the tool change).

4. \(\bar{X}\) and R Charts — Standards Specified

SCENARIO

When the target (standard) values \(\mu_0\) and \(\sigma_0\) are specified by engineering design or historical process capability, the control limits are computed directly from these standards rather than from sample data.

4.1 Control Limits for \(\bar{X}\) Chart (Standards Given)

\[ \text{UCL}_{\bar{X}} = \mu_0 + \frac{3\sigma_0}{\sqrt{n}}, \qquad \text{CL}_{\bar{X}} = \mu_0, \qquad \text{LCL}_{\bar{X}} = \mu_0 - \frac{3\sigma_0}{\sqrt{n}}. \]

4.2 Control Limits for R Chart (Standards Given)

\[ \text{UCL}_R = D_4\,d_2\,\sigma_0, \qquad \text{CL}_R = d_2\,\sigma_0, \qquad \text{LCL}_R = D_3\,d_2\,\sigma_0. \]
EXAMPLE 1 — \(\bar{X}\) and R chart (standards specified)

Specified: \(\mu_0 = 50.00\) mm, \(\sigma_0 = 1.50\) mm, \(n = 5\).

\(d_2 = 2.326\), \(D_3 = 0\), \(D_4 = 2.114\).

\(\bar{X}\) chart: UCL = 50 + 3(1.50)/\(\sqrt{5}\) = 50 + 2.012 = 52.01; CL = 50; LCL = 50 − 2.012 = 47.99.

R chart: CL = 2.326 × 1.50 = 3.489; UCL = 2.114 × 3.489 = 7.375; LCL = 0.

EXAMPLE 2 — Process shift detection with standards

Using the same standards, a subgroup of 5 measurements yields \(\bar{X} = 52.50\) mm. This exceeds UCL = 52.01 mm, so the process mean has shifted upward from the target \(\mu_0 = 50\). Investigation reveals a new operator (Man) set the machine at a higher offset.

5. \(\bar{X}\) and S Charts

WHY USE S INSTEAD OF R?

For small subgroups (\(n \le 10\)), the range \(R\) is an efficient estimator of variability and is easy to compute. For larger subgroups (\(n > 10\)), the standard deviation \(S\) is preferred because it uses all the observations. The range uses only the two extremes, so as \(n\) grows it throws away more information and becomes a less efficient estimate of \(\sigma\).

5.1 Computing S for Each Subgroup

\[ S_j = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(X_{ij} - \bar{X}_j)^2}. \]

5.2 \(\bar{X}\) and S Charts — Standards Unspecified

Compute \(\bar{\bar{X}}\) and \(\bar{S} = \frac{1}{k}\sum_{j=1}^{k} S_j\).

\[ \text{UCL}_{\bar{X}} = \bar{\bar{X}} + A_3\,\bar{S}, \qquad \text{CL}_{\bar{X}} = \bar{\bar{X}}, \qquad \text{LCL}_{\bar{X}} = \bar{\bar{X}} - A_3\,\bar{S}. \] \[ \text{UCL}_S = B_4\,\bar{S}, \qquad \text{CL}_S = \bar{S}, \qquad \text{LCL}_S = B_3\,\bar{S}. \]

Process \(\sigma\) estimate: \(\hat{\sigma} = \bar{S}/c_4\).

5.3 \(\bar{X}\) and S Charts — Standards Specified

\[ \text{UCL}_{\bar{X}} = \mu_0 + \frac{3\sigma_0}{\sqrt{n}}, \qquad \text{CL}_{\bar{X}} = \mu_0, \qquad \text{LCL}_{\bar{X}} = \mu_0 - \frac{3\sigma_0}{\sqrt{n}}. \] \[ \text{UCL}_S = B_4\,c_4\,\sigma_0, \qquad \text{CL}_S = c_4\,\sigma_0, \qquad \text{LCL}_S = B_3\,c_4\,\sigma_0. \]
EXAMPLE 1 — \(\bar{X}\) and S chart (standards unspecified)

25 subgroups of size \(n = 8\). \(\bar{\bar{X}} = 62.5\), \(\bar{S} = 2.40\). For \(n = 8\): \(A_3 = 1.099\), \(B_3 = 0.185\), \(B_4 = 1.815\), \(c_4 = 0.9650\).

S chart: UCL = 1.815 × 2.40 = 4.356; CL = 2.40; LCL = 0.185 × 2.40 = 0.444.

\(\bar{X}\) chart: UCL = 62.5 + 1.099 × 2.40 = 62.5 + 2.638 = 65.138; CL = 62.5; LCL = 62.5 − 2.638 = 59.862.

\(\hat{\sigma} = 2.40/0.9650 = 2.487\).

EXAMPLE 2 — \(\bar{X}\) and S chart (standards specified)

Specified: \(\mu_0 = 200.0\) g, \(\sigma_0 = 3.0\) g, \(n = 9\). Constants: \(A_3 = 1.032\), \(B_3 = 0.239\), \(B_4 = 1.761\), \(c_4 = 0.9693\).

\(\bar{X}\) chart: UCL = 200 + 3(3)/3 = 203.0; CL = 200; LCL = 197.0.

S chart: CL = 0.9693 × 3.0 = 2.908; UCL = 1.761 × 2.908 = 5.121; LCL = 0.239 × 2.908 = 0.695.

6. Process Capability Analysis (\(C_p\), \(C_{pk}\))

Control charts show whether a process is in control (stable); capability indices show whether a stable process can actually meet the customer's specification limits (LSL, USL). They compare the specification width to the process spread \(6\sigma\).

\[ C_p = \dfrac{\text{USL} - \text{LSL}}{6\sigma}, \qquad C_{pk} = \min\!\left(\dfrac{\text{USL} - \mu}{3\sigma},\ \dfrac{\mu - \text{LSL}}{3\sigma}\right). \]
EXAMPLE

Specifications LSL = 46, USL = 54; process \(\mu = 51,\ \sigma = 1\).

\(C_p = (54-46)/(6\cdot1) = 1.333\) (potentially capable), but \(C_{pk} = \min\!\big((54-51)/3,\ (51-46)/3\big) = \min(1.0,\ 1.667) = 1.0\). The process is off-centre (mean shifted toward the USL), so its actual capability (1.0) is well below its potential (1.33) — re-centring to \(\mu = 50\) would raise \(C_{pk}\) to 1.33.

Key Take-aways