Chapter 38

Quality Control

Making one good workpiece is a craft; making ten thousand good workpieces is a system. Quality control brings together what we’ve seen in the chapters on metrology (instruments, uncertainty, conformity) and transforms it into a method for the entire production process: what to inspect and when, how to interpret the data using statistics, how to determine whether a machine is capable of staying within tolerance, and how to detect in a timely manner that a process is changing. The chapter concludes with tools for identifying the causes of defects and eliminating them, as well as in-process inspection directly on the CNC machine.

38.1 What Is Quality?

In the workshop, quality does not mean “luxury” or “excessive precision.” It means compliance with requirements: the workpiece has the dimensions, tolerances, roughness, material, and finish specified in the drawing and contract; it arrives in the promised quantity and on the promised date; and it performs its function within the assembly. A shaft with a tolerance of ±0.1 mm that is manufactured to ±0.002 mm is not “higher quality”—it simply cost more without anyone asking for it (Chapter 14).

The Cost of Poor Quality

Every defective workpiece comes at a cost, and that cost manifests in many ways that aren't all reflected in a single line item on the balance sheet:

  • scrap: discarded materials, machine hours, and tools;
  • Rework: The workpiece can be salvaged, but it goes through the machine twice;
  • Inspections: When a batch is suspected of being defective, it must be inspected in its entirety, workpiece by workpiece;
  • External costs: returns, penalties, customer production line downtime, expedited shipping, and, above all, lost trust.

The rule of thumb is that the same error costs about ten times as much with each subsequent stage at which it is discovered. A dimensional error found on the drawing can be corrected with an eraser; if found on the first workpiece, it costs one workpiece; if found during final inspection, it costs a batch that needs to be sorted out; if found by the customer, it can cost a contract.

Cost to correct the same defect (approximate values, logarithmic scale)1in design10on the first workpieceor on the machine100per final inspectionof the batch1,000from the customer(returns, production line stoppages)
Figure 38.1 · The “rule of ten”: the earlier a defect is detected, the less it costs. The values are approximate and are intended to give an order of magnitude.

Prevent Instead of Discard

For a long time, quality control was performed only “at the end”: an inspector would separate the good workpieces from the bad ones. This approach detects defects but does not prevent them: the defective workpieces have already been set aside and paid for. Modern quality control shifts the focus to the beginning and throughout the machining operations: clear drawings, equipment designed to prevent errors, verified machines, and in-process measurements that correct deviations before they exceed tolerances. Final inspection remains, but it becomes a confirmation.

Example 38.1 · How much does a defective lot cost?

A batch of 2,000 flanges results in a 3% scrap rate (each flange is worth €14 in material and machining operations already performed) and a 5% rate of workpieces requiring rework (€6 each). To be on the safe side, the entire batch is inspected, at a cost of €0.40 per workpiece. A new clamping fixture costing €900 would cut scrap and rework in half. Is it worth it?

scrap: 2000 · 0.03 = 60 workpieces → 60 · 14 = 840 €
rework: 2000 · 0.05 = 100 workpieces → 100 · 6 = 600 €
selection: 2000 · 0.40 = 800 €
Total: 840 + 600 + 800 = 2,240 € → 2,240 / 2,000 = 1.12 € per flange
Savings on equipment: (840 + 600) / 2 = 720 € per lot → 900 / 720 = 1.25 lots
Poor quality costs €2,240 per batch (€1.12 per workpiece); the equipment pays for itself in less than one and a half batches

38.2 The Quality Management System and the PDCA Cycle

A company cannot rely on someone’s good will to ensure quality: it needs a system—that is, a set of written rules for how to work. The international standard of reference is ISO 9001, which does not specify how to make a workpiece but rather how to organize operations so that workpieces are always produced correctly. Here we’re just giving you the general idea; certified companies implement it in detail, and an external body checks every year to make sure they’re actually doing so.

  • Processes: Work is viewed as a chain of processes (supply, purchases, production, quality control, shipping) with inputs, outputs, and a person in charge.
  • Documents: instructions that explain how to do something (procedures, work instructions, control plans, drawings with valid revisions).
  • Records: evidence that the work was performed (completed test sheets, material certificates, instrument calibrations, nonconformity reports). The rule is simple: if it’s not in writing, it wasn’t done.
  • Continuous improvement: The data collected (scrap, complaints, lead times) is used to determine where to improve, with measurable goals.

The driving force behind continuous improvement is the PDCA cycle (also known as the Deming cycle), a four-step process that repeats endlessly.

PPlanDDoCCheckATake actionP · Plangoals, root cause analysis, action planD · DoImplement the plan, starting smallC · CheckMeasure the results and compare themA · ActIf it works, it becomes the standard;if not, start over with a new plan
Figure 38.2 · The PDCA cycle: plan, do, check, act. When a solution works, it is documented as a standard, so that the improvement is not reversed and the next cycle starts from a higher level.

A workshop example: Scrap due to out-of-tolerance diameters on a lathe is 4% (P: The causes are analyzed, and it is decided to test an updated corrector every 20 workpieces); for one week, it is tested on a single machine (D); the scrap rates before and after are compared (C); if they have decreased, the procedure is incorporated into the control plan for all lathes; otherwise, the process is re-evaluated (A).

38.3 The Control Plan

The control plan is the document that specifies, for each workpiece and each stage, how quality is monitored. It answers five questions:

  • What is inspected: the feature, along with its tolerance (critical dimensions are often marked with a symbol on the drawing);
  • with what: the instrument, chosen according to the rule of tenths (paragraph 31.8);
  • how often: on the first workpiece, every n workpieces, at every tool change, 100% of the time;
  • Who: the machine operator, quality control, the lab;
  • What to do if it's out of spec: the response plan (stop production, correct the issue, set aside the workpieces from the last pass inspection, notify the appropriate parties).
FeatureToolFrequencyWhoIf it's outside
Ø25 h70.001 mm micrometer1st workpiece, then 1 every 20operatorstop, proofreader, 100% review of the last 20
length 120 ± 0.10.01 mm gauge1st workpiece, then 1 for every 50operatorStop, check for work zero
M16 × 1.5-6g threadpass/fail ring1 out of every 20 and with every insert changeoperatorReplace insert, check the last 20
Ra 0.8 on Ø25roughness meter1st workpiece and 1 per shiftquality controlCheck Radius and Feed Rate
hardness after reclamationhardness tester3 workpieces per lotworkshopBlocked lot, nonconformity report

Frequency is a trade-off: checking often takes time, while checking infrequently means that, when a workpiece is found to be out of spec, there are many “suspicious” workpieces that need to be rechecked.

Example 38.2 · How many workpieces to check

A lathe produces one workpiece every 1.5 minutes. The diameter is checked every 20 workpieces, and each check takes 1 minute. How many workpieces must be set aside if a check finds that the diameter is out of spec? How much time is spent during an 8-hour shift? And what if checks are performed every 10 workpieces?

workpieces per hour: 60 / 1.5 = 40 → in 8 hours: 40 × 8 = 320 workpieces
every 20: suspicious workpieces = those produced after the last pass = 20
checks per shift: 320 / 20 = 16 → 16 × 1 = 16 minutes
every 10: suspected cases 10; tests 320 / 10 = 32 → 32 minutes
For every 20 workpieces: 20 suspects and 16 minutes per shift; for every 10 workpieces: 10 suspects and 32 minutes. The choice depends on the value of the workpiece and the stability of the process (paragraph 38.7)

38.4 100% Inspection and Sampling Inspection

A 100% inspection checks every workpiece. It seems like the safest option, but it has three limitations: it’s very expensive, it’s impossible when the test destroys the workpiece (such as a tensile test or cutting the workpiece open), and it’s not perfect. Someone inspecting thousands of identical workpieces by hand will get tired and let some defective ones slip through: experience shows that a 100% visual inspection usually finds 80–90% of them, not all. 100% inspection remains mandatory for safety-critical features, and today machines perform this task effectively (machine vision, automatic measurement).

Sampling inspection involves randomly selecting a sample of n workpieces from a lot of N workpieces and making a decision about the entire lot based on the number of defective workpieces, d, found in the sample. The plan specifies two numbers: the acceptance number Ac (if d ≤ Ac, the lot is accepted) and the rejection number Re (if d ≥ Re, the lot is rejected).

LotN = 1,000 workpiecesRandom samplen = 80 workpiecesInspectiond = defective items foundd ≤ 2?yes (Ac = 2)no (Re = 3)batch acceptedDefective items found are rejectedBatch rejected100% inspection or return
Figure 38.3 · A simple sampling plan: A sample is randomly drawn from the lot, the number of defective items is counted, and that number is compared with Ac and Re.

Tables and the Acceptable Quality Limit (AQL)

These plans aren’t made up: they’re found in the tables of the ISO 2859-1 standard (attribute sampling, i.e., pass/fail). You enter the lot size and the inspection level (usually “II,” which is standard) to find a code letter and the sample size; then, using the AQL agreed upon between the customer and the supplier, you determine Ac and Re. For example, for a lot of 501 to 1,200 workpieces with control level II and an AQL of 1.0, the table specifies a sample size of 80 workpieces with Ac = 2 and Re = 3.

L'AQL (Acceptable Quality Limit) is the percentage of defective items that is still considered acceptable as average in the long run. Note: this does not mean that the customer “accepts” that percentage of defective workpieces; it means that lots with that level of quality are almost always accepted, and lots of much poorer quality are almost always rejected. In between, there is a zone of uncertainty, which can be seen on the operating curve.

Probability of Accepting a Lot (Binomial Distribution)
P(d) = C(n, d) · pd · (1 − p)n − d Pa = P(0) + P(1) + … + P(Ac)
n workpieces in the sample · d defective workpieces found · p proportion of defective workpieces in the lot (1% = 0.01) · C(n, d) is the number of ways to select d workpieces from n: C(n, 0) = 1, C(n, 1) = n, C(n, 2) = n · (n − 1) / 2 · Pa is the probability of accepting the lot. This works well when the lot is at least ten times the size of the sample.
Example 38.3 · The plan n = 80, Ac = 2 put to the test

What is the probability of accepting a batch that contains 1% defective items? And one that contains 5%?

p = 0,01: C(80, 2) = 80 · 79 / 2 = 3160
P(0) = 0,9980 = 0,4475
P(1) = 80 · 0,01 · 0,9979 = 80 · 0,01 · 0,4520 = 0,3616
P(2) = 3160 · 0,0001 · 0,9978 = 0,316 · 0,4566 = 0,1443
Pa = 0,4475 + 0,3616 + 0,1443 = 0,9534 → 95,3%
p = 0,05: P(0) = 0,0165; P(1) = 0,0695; P(2) = 0,1446 → Pa = 0,2306 → 23,1%
The 1% lot passes 95 times out of 100; the 5% lot still passes nearly once in four. Sampling protects against very defective lots, but it does not guarantee the quality of a single workpiece.
02468100255075100p = 1% → Pa = 95.3%p = 5% → Pa = 23.1%Defective items in batch p (%)probability of accepting Pa (%)
Figure 38.4 · Operating curve for the plan with n = 80 and Ac = 2, calculated using the binomial distribution. An ideal plan would be a step function (all accepted below a threshold, all rejected above); a real sample always leaves an intermediate zone.

38.5 Test Report, First-Workpiece Inspection, and Acceptance Testing

The Test Report

The test sheet (or measurement report) is a record of the measurements taken on a workpiece. On the drawing, each feature to be inspected is assigned a number inside a circle (the “callout”); the sheet has a row for each number, listing the nominal value, tolerances, limits, instrument, measured value, and result. It is signed, dated, and kept with the batch.

7M16×1.5-6g3Ø18 g62Ø32 ± 0.051Ø25 h78Ra 0.861 × 45°45 ± 0.055120 ± 0.14
Figure 38.5 · The tree from Example 38.4 with the eight numbered characteristics: numbered 1 through 8, they appear in the same order in the rows of the worksheet.
Example 38.4 · A Completed Test Report

C45 shaft, drawing 2611-045 rev. B, first workpiece of the batch. The limits are calculated from the tolerances (Ø25 h7 = 0/−0.021 and Ø18 g6 = −0.006/−0.017, from the tables in Chapter 14).

N.FeatureDimensions (mm)ToolMeasureResult
1Ø25 h724,979 · 25,000micrometer 25–50, 0.00124,992C
2Ø32 ± 0,0531,95 · 32,050.01 digital caliper32,02C
3Ø18 g617,983 · 17,994micrometer 0–25, 0.00117,990C
4length 120 ± 0.1119,90 · 120,100.01 digital caliper120,06C
5shoulder width 45 ± 0.0544,95 · 45,05comparator and blocks45,07NC
61 × 45° chamfer0,8 · 1,2profile projector1,1C
7M16 × 1.5-6g threadP goes in, NP doesn't go inP/NP regionsP: Yes, NP: NoC
8Ra on Ø25≤ 0.8 µmroughness meter0.62 µmC
Dimension 5: 45.07 > 45.05 → 0.02 mm out of tolerance, much greater than the dial indicator’s uncertainty (paragraph 31.9)
The shoulder is too long: the work zero on the Z-axis or the tool's Z-axis offset are misaligned
Non-conforming workpiece (C = conforming, NC = non-conforming): the release of the lot is halted; the workpiece is corrected, and the first workpiece is remade

The First Workpiece

The first-piece inspection is performed at every startup: a new batch, a modified program, retooled equipment, or a machine after repairs. All dimensions specified in the drawing are measured—not just those on the inspection sheet—because this is when errors in the program, the work zero, and the offset are detected. Until the first workpiece is approved and recorded, production of the batch does not begin. For major supply contracts (for example, in the automotive and aerospace industries), there is an even more comprehensive first-article inspection, with a report signed by the customer.

Example 38.5 · The First Workpiece Out and the Correction

On the CNC lathe, the Ø25 h7 diameter is programmed at X24.990 (close to the center of the tolerance, 24.9895). The first workpiece measures 25.012 mm. What correction should be entered into the X-axis wear compensator (which affects the diameter)?

error = measured − target = 25.012 − 24.990 = +0.022 mm
correction = −0.022 mm in the X-axis wear compensator of the finishing tool
The workpiece is large, so there's still material left: perform finishing on it and measure it again → 24.991 mm
Correction: −0.022; after re-machining: 24.991 mm, within 24.979–25.000: first workpiece approved and recorded. If it had come out too small, it would have been scrapped.

Acceptance Testing

Incoming inspection is performed on incoming materials: bars, castings, workpieces machined by a subcontractor, and purchased components. We check the documentation (delivery note, material certificate with casting and analysis), the integrity of the packaging, and—on a sample basis—the key characteristics. For a supplier with a long track record of reliable performance, inspections can be scaled back; for a new supplier or one that has had issues, they are intensified. Material that has not yet been inspected is stored in a separate, clearly marked area to prevent it from accidentally entering production.

38.6 Basic Production Statistics

No machine produces two exactly identical workpieces: the dimensions “vary” slightly from one workpiece to the next due to a thousand small factors (temperature, insert wear, material hardness, clearances). In Chapter 31, we used the mean and standard deviation for repeated readings on the same workpiece; here, we use them for measurements of many different workpieces, and they serve to describe the machine’s behavior.

  • The mean x̄ indicates where production is centered;
  • The range R = xmax − xmin is the simplest form of dispersion: it is easy to calculate by machine, but depends on only two workpieces;
  • The standard deviation s (same formula as in paragraph 31.6) uses all the workpieces. Calculated from a sample, s is an estimate of the process standard deviation σ (sigma), which is the value that would be used if all workpieces could be measured; in capacity formulas, σ is written but s is substituted.
Standard Deviation Using Sums (Useful When You Have a Lot of Data)
s = √Σxi² − (Σxi)² / nn − 1 R = xmax − xmin
Σxi sum of the measurements · Σxi² sum of the squares of the measurements · n number of workpieces · s standard deviation of the sample, an estimate of σ · R range. This yields the same result as the formula using deviations; it is advisable to work in µm relative to the nominal value to obtain small numbers.

In the rest of this chapter, we will consistently use the same example: a CNC lathe produces a pin with a diameter of Ø30 ± 0.025 mm (limits 29.975 and 30.025, tolerance 50 µm). During a shift, every hour, the operator measures 5 consecutive workpieces (a subgroup) using a thousandth-micrometer micrometer; after 10 hours, they have 50 measurements. We record them in micrometers relative to 30.000 (+7 means 30.007 mm, −3 means 29.997 mm).

Subgroup1st workpiece2°3°4°5°TotalAverage x̄Field R
1−2+5−1+8+7173,410
2−3+1+7+3+3112,210
3+5+5+2+10+8306,08
4−4+7+10+2+4193,814
5+9+10−5+5+5244,815
6−3+3+3+10+9224,413
7+15+4+14+6+7469,211
80+2+4−1−140,85
9−1+2−10+4+1161,221
10+8+14+7−3−5214,219

Table 38.1 · The 50 measurements of the Ø30 ± 0.025 pin, in µm relative to 30.000. The mean and range for each subgroup are used for the control chart in paragraph 38.9.

Example 38.6 · Mean, range, and standard deviation of the 50 measurements
Σx = 17 + 11 + 30 + 19 + 24 + 22 + 46 + 4 + 6 + 21 = 200 µm → x̄ = 200 / 50 = 4.0 µm
range: xmax = +15, xmin = −10 → R = 15 − (−10) = 25 µm
sum of the squares: Σx² = 2216 µm²
Σx² − (Σx)² / n = 2216 − 200² / 50 = 2216 − 800 = 1416 µm²
s = √(1416 / 49) = √28.90 = 5.38 µm
mean 30.004 mm · range 25 µm · standard deviation 5.38 µm

The Histogram

To see the shape of the distribution, we construct a histogram: we divide the data range into classes of equal width (with 50 data points, 6–8 classes are sufficient) and count the number of data points that fall into each class. Here, the classes are 5 µm wide and have their boundaries midway between two integer values, so no measurement falls on a boundary.

Class (µm)from −12.5 to −7.5from −7.5 to −2.5from −2.5 to +2.5from +2.5 to +7.5from +7.5 to +12.5from +12.5 to +17.5
Workpieces161119103
05101520161119103−30−20−100+10+20+30LSL 29.975USL 30.025average 30.004Standard with μ = 4, σ = 5.38Deviation from nominal value 30.000 (µm) · 5 µm wide classes
Figure 38.6 · The histogram of the 50 measurements (sum of 1 + 6 + 11 + 19 + 10 + 3 = 50) with the normal curve having the same mean and standard deviation. The workpieces are all well within the limits, but the production run is shifted upward by 4 µm.

The Normal Distribution

When a dimension depends on many small, independent factors, none of which dominates, the histogram takes the shape of a normal distribution (bell curve, or Gaussian curve). It is symmetric about the mean μ, and its width depends only on σ. The key point is that the percentages of workpieces within a certain number of σ from the mean are always the same, regardless of the dimension.

μ − 3σμ − 2σμ − σμμ + σμ + 2σμ + 3σ68,27%95,45%99,73%0,135%0,135%
Figure 38.7 · In a normal distribution, 68.27% of the workpieces fall within ±1σ of the mean, 95.45% within ±2σ, and 99.73% within ±3σ. The remaining 0.27% falls outside ±3σ: 0.135% on each side, or 2,700 workpieces out of a total of one million.
Example 38.7 · Do the 50 measurements follow a normal distribution?

Let's count how many workpieces fall within ±1s, ±2s, and ±3s of the mean (x̄ = 4.0 and s = 5.38 µm) and compare them with the theoretical percentages.

±1s: from 4.0 − 5.38 = −1.38 to 4.0 + 5.38 = 9.38 µm → 34 out of 50 = 68% (theoretical value: 68.27%)
±2s: from −6.75 to +14.75 µm → 48 workpieces = 96% (theoretical 95.45%); −10 and +15 are excluded
±3s: from −12.13 to +20.13 µm → 50 workpieces = 100% (theoretical value: 99.73%)
That's a good approach: you can use the standard method to estimate the percentages outside tolerance. With only 50 workpieces, you can't expect a perfect match.

38.7 Process Capability: Cp and Cpk

A machine is considered capable when the natural variation of its workpieces falls comfortably within the tolerance. Since almost all workpieces (99.73%) fall within a 6σ band, the tolerance is compared to 6σ. There are two indices:

  • Cp only looks at the width: how many times the variation “fits” within the tolerance. It indicates how well the process could perform if it were centered.
  • CPK also considers position: it measures the distance between the mean and the nearest limit, in units of 3σ. It indicates how well the process actually performs.
Process Capability Indices
Cp = USL − LSL6 σ Cpk = min(USL − μ; μ − LSL)3 σ
USL: upper specification limit · LSL: lower specification limit (USL − LSL = tolerance T) · μ: process mean (estimated by x̄) · σ: process standard deviation (estimated by s) · min: the smaller of the two values. All values must be in the same unit, either mm or µm. Cpk is always less than or equal to Cp; Cpk equals Cp only if the process is centered.

What values are needed? When Cp = 1, the 6σ band is exactly as wide as the tolerance: even when centered, 2,700 workpieces out of a million will be out of tolerance, and even the slightest shift is enough to cause many more to be out of tolerance. For this reason, the usual goal is Cpk ≥ 1.33 for normal processes and Cpk ≥ 1.67 for critical features or new processes that have yet to prove their stability.

Cp = Cpk (centered)Average-Limit DistanceOne workpiece in a millionReview
0,672σ45 500unable
1,003σ2 700barely enough, at risk
1,334σ63capable (common objective)
1,675σ0,57highly capable (critical characteristics)
2,006σ0,002excellent

Number of workpieces outside tolerances: the standard table

To estimate the percentage outside the tolerance limits, calculate, for each limit, how many σ there are between the mean and the limit, and then look up the “tail” of the normal distribution beyond that value.

Estimated percentage outside tolerance
zU = USL − μσ zL = μ − LSLσ outside = Q(zU) + Q(zL)
zU, zL: distance of the mean from the limits, calculated as σ · Q(z), the proportion of the normal distribution beyond z (the “tail”), as shown in Table 38.2 · The relationship between z and Cpk is Cpk = zmin / 3
zQ(z) %zQ(z) %zQ(z) %zQ(z) %
1,015,92,02,283,00,1354,00,00317
1,113,62,11,793,10,09684,10,00207
1,211,52,21,393,20,06874,20,00133
1,39,682,31,073,30,04834,30,000854
1,48,082,40,8203,40,03374,40,000541
1,56,682,50,6213,50,02334,50,000340
1,65,482,60,4663,60,01594,60,000211
1,74,462,70,3473,70,01084,70,000130
1,83,592,80,2563,80,007234,80,0000793
1,92,872,90,1873,90,004814,90,0000479

Table 38.2 · Tail of the normal distribution: percentage of workpieces that lie more than z standard deviations from one side of the mean, calculated using the error function (three significant figures). For z = 0.5, the tail is 30.9%. For z ≥ 5, the tail is less than 0.3 workpieces per million and is considered zero.

Example 38.8 · The capacity of the Ø30 ± 0.025 pin

Based on the 50 measurements in Example 38.6: x̄ = 4.0 µm, s = 5.38 µm (more precisely, 5.376), LSL = −25, and USL = +25 µm.

Cp = 50 / (6 × 5.376) = 50 / 32.26 = 1.55
USL − μ = 25 − 4 = 21 µm · μ − LSL = 4 − (−25) = 29 µm → the closest limit is USL
Cpk = 21 / (3 × 5.376) = 21 / 16.13 = 1.30
zU = 21 / 5.376 = 3.9 → Q = 0.00481% · zL = 29 / 5.376 = 5.4 → negligible
Cp = 1.55 but Cpk = 1.30, just below 1.33: the machine is capable, but the alignment is off. An estimated 48 workpieces out of a million are out of specification.

The Ø25 h7 shaft: the effect of centering

LSL 24,979USL 25,000μ = 24.9895centeredCp = 1.40 · Cpk = 1.40Out-of-tolerance: 27 ppmLSL 24.979USL 25.000μ = 24.9840shifted by 5.5 µmCp = 1.40 · Cpk = 0.67Out of tolerance: 2.28% (in red)
Figure 38.8 · Ø25 h7 (from 24.979 to 25.000) machined with σ = 2.5 µm. Above, the process is centered: Cp = Cpk = 1.40. Below, the same machine is adjusted 5.5 µm lower: Cp remains unchanged, Cpk drops to 0.67, and the red tail—representing 2.28% of the workpieces—is scrap.
Example 38.9 · Ø25 h7, improperly adjusted

A shaft with a diameter of Ø25 and a height of h7 (tolerance 21 µm, limits 24.979 and 25.000) has a mean diameter of 24.984 mm and a standard deviation of σ = 2.5 µm. Calculate Cp, Cpk, and the rejection rate.

Cp = 21 / (6 × 2.5) = 21 / 15 = 1.40
USL − μ = 25,000 − 24,984 = 0.016 mm = 16 µm · μ − LSL = 24,984 − 24,979 = 5 µm
Cpk = 5 / (3 × 2.5) = 5 / 7.5 = 0.67
zL = 5 / 2.5 = 2.0 → Q = 2.28% · zU = 16 / 2.5 = 6.4 → zero
Cp = 1.40 · Cpk = 0.67 · estimated rejection rate of 2.28%, i.e., approximately 23 shafts out of every 1,000, all undersized (unrecoverable)
Example 38.10 · Just center it

Adjust the tool so that the average value falls at the center of the tolerance range, 24.9895 mm. σ remains 2.5 µm.

distance from each boundary: 21 / 2 = 10.5 µm
Cpk = 10.5 / 7.5 = 1.40 = Cp
z = 10.5 / 2.5 = 4.2 per side → Q = 0.00133% on each side
out = 2 × 0.00133 = 0.0027% = 27 workpieces out of a million
With a single correction of 5.5 µm, the deviation drops from 2.28% to 0.0027%—nearly a thousand times smaller—without touching the machine

The lesson is important: first you achieve alignment, then you reduce dispersion. Achieving alignment requires a correction; reducing σ may mean changing the tools, equipment, parameters, or even the machine.

Example 38.11 · What value of σ is needed to achieve a Cpk of 1.33?

Still Ø25 h7. What is the maximum value of σ if the process is centered? And what if the mean remains at 24.992 mm?

Centered: Cpk = 10.5 / (3 σ) ≥ 1.33 → σ ≤ 10.5 / (3 · 1.33) = 10.5 / 3.99 = 2.6 µm (approximately T/8)
average 24.992: USL − μ = 8 µm, μ − LSL = 13 µm → count 8 µm
σ ≤ 8 / 3.99 = 2.0 µm
σ ≤ 2.6 µm if centered, σ ≤ 2.0 µm if the mean is shifted by 2.5 µm: poor centering “eats into” capacity
📏
These indices are valid only for a stable process. Cp and Cpk are meaningful only if the control chart (paragraph 38.9) shows no special causes: if the mean fluctuates from hour to hour, a σ calculated from that data is meaningless. And you need a sufficient number of workpieces—usually at least 50, and preferably 100—collected over a period that includes normal variations (changes in inserts, operators, and temperature).

38.8 Machine capacity: Cm and Cmk

When you buy or test a car, you want to know what it does on its own, without the variations that occur over time (different batches of material, operators, and days). At least 50 workpieces are then processed in succession, using the same tool, the same material, and the same operator, and the indices of machine capacity, using the same Cp and Cpk formulas.

Machine Capacity Indices
Cm = USL − LSL⁶ s Cmk = min(USL − x̄ ; x̄ − LSL)³ s
s and ̄x: standard deviation and mean of at least 50 consecutive workpieces processed under constant conditions · USL, LSL: specification limits. Since the test excludes many sources of variation, higher requirements are imposed: typically, Cm and Cmk ≥ 1.67 (some customers require 2.0).
Example 38.12 · Testing a New Lathe

During the test, 50 shafts with a diameter of 25 and a depth of 7 were machined consecutively. Result: x̄ = 24.991 mm, s = 1.8 µm. The contract specifies Cm ≥ 1.67 and Cmk ≥ 1.67.

cm = 21 / (6 × 1.8) = 21 / 10.8 = 1.94
USL − x̄ = 25,000 − 24,991 = 9 µm · x̄ − LSL = 24,991 − 24,979 = 12 µm
Cmk = 9 / (3 × 1.8) = 9 / 5.4 = 1.67
Cm = 1.94 and Cmk = 1.67: test passed, but just barely. If the mean were set to 24.9895, Cmk would also rise to 1.94

38.9 X̄-R Control Charts

Cp and Cpk are a “snapshot.” To monitor the process as it runs, we use the control chart, invented in the 1920s by Walter Shewhart. The idea is this: at regular intervals, a subgroup of consecutive workpieces (usually 5) is selected; their mean x̄ and range R are calculated and plotted on two charts. Each chart features a center line and two control limits calculated from the process data itself.

⚠️
Control limits and tolerance limits are two different things. Tolerance limits are specified in the drawing and apply to individual workpieces. Control limits are derived from the machine and apply to the averages of the subgroups: they indicate where the machine “should” be if nothing changes. Tolerance limits are never plotted on the average chart: the averages are much less scattered than the individual workpieces, and comparing them would be misleading.
Limitations of X̄-R cards (groups of 5)
X̿ = x̄1 + … + x̄kk R̄ = R1 + … + Rkk
UCLx̄ = X̿ + A2 · R̄ LCLx̄ = X̿ − A2 · R̄ UCLR = D4 · R̄ LCLR = D3 · R̄
k: number of subgroups (at least 20–25 for a true chart; here, 10 to keep things simple) · X̿: mean of the means (center line) · R̄ mean of the ranges · UCL, LCL upper and lower control limits · constants for n = 5: A2 = 0.577, D3 = 0, D4 = 2.114. From the chart, we can also estimate σ ≈ R̄ / d2, where d2 = 2.326 for n = 5.
Example 38.13 · Limits for the Ø30 pin

From Table 38.1 (10 subgroups of 5 workpieces each, in µm greater than 30,000).

sum of the means = 3.4 + 2.2 + 6.0 + 3.8 + 4.8 + 4.4 + 9.2 + 0.8 + 1.2 + 4.2 = 40.0 → X̿ = 40.0 / 10 = 4.00 µm
sum of the fields = 10 + 10 + 8 + 14 + 15 + 13 + 11 + 5 + 21 + 19 = 126 → R̄ = 12.6 µm
A2 · R̄ = 0.577 · 12.6 = 7.27 µm
UCLx̄ = 4.00 + 7.27 = 11.27 µm · LCLx̄ = 4.00 − 7.27 = −3.27 µm
UCLR = 2.114 × 12.6 = 26.64 µm · LCLR = 0 × 12.6 = 0
Check: σ ≈ 12.6 / 2.326 = 5.42 µm, very close to s = 5.38 µm in Example 38.6
Paper x̄: CL 30.0040 · UCL 30.0113 · LCL 29.9967 mm. Paper R: CL 0.0126 · UCL 0.0266 mm. All 10 points are within the limits: process under control
Average x̄ (µm, over 30,000)−50+5+10UCL = 11.27CL = 4.00LCL = −3.27R-field map (µm)0102030UCL = 26.64CL = 12.6LCL = 012345678910subgroup (5 workpieces per hour)
Figure 38.9 · The X̄ and R plots for the 10 subgroups. Subgroup 7 (mean 9.2) has the highest score but remains within the UCL of 11.27; in the R plot, the highest point is 9 (R = 21), which is below the UCL of 26.64.

The two charts are interpreted together: the R chart monitors dispersion (a chipped insert or a loosening clamp causes it to increase), while the x̄ chart monitors position (wear, thermal expansion, or an incorrect corrector cause it to shift). Check the R chart first: if the dispersion is out of control, even the limits of the x̄ chart—which depend on R̄—are unreliable.

38.10 Reading the Map: Common and Special Causes

Variations in a process have two origins.

  • Common causes: many small, ever-present factors that are part of the process (minor differences in material, vibrations, machine resolution). These account for “normal” and random variation; to reduce them, the process must be changed, which is the responsibility of management and the technical staff.
  • Special Cases (or identifiable): specific, recognizable events (a broken insert, a bar from a different pour, a mistyped correction, the coolant running out). These cause the process to deviate from its normal behavior; they must be identified and eliminated immediately, and it is often the operator who can do so.

A process with only common causes is said to be under control (or stable): this does not mean that it produces good workpieces; it means that it is predictable. The chart serves to distinguish between the two cases, using simple rules that indicate a special cause.

  • a point beyond a control limit, above the UCL or below the LCL;
  • a sequence: 7 points filed in a row, all on the same side of the center line (some companies use 8 or 9);
  • a trend: 6 consecutive points, each higher (or lower) than the previous one;
  • Other signs to look for with a trained eye: data points all clustered around the centerline (often “adjusted” data or poorly defined subgroups), and periodic patterns (such as those related to shifts or the time of day).

If the rules aren't triggered, don't touch the machine: adjusting a stable process in response to every small random variation increases variation instead of reducing it. This is one of the most common errors made in the workshop.

Example 38.14 · The Following Hours

Production continues within the limits of Example 38.13. The averages for subgroups 11 through 18 are: 3.6 · 5.0 · 5.8 · 6.6 · 7.8 · 9.0 · 10.4 · 11.8 µm (the ranges remain between 9 and 15, below the UCLR). When should action have been taken?

point beyond the limit: only 18 (11.8 > 11.27)
trend: 3.6 < 5.0 < 5.8 < 6.6 < 7.8 < 9.0 → in subgroup 16, there is a 6-point increase
sequence: from 12 to 18, seven points above 4.00 → the rule kicks in at 18
No workpiece is currently out of tolerance (USL = +25), but the average is increasing by about 1 µm per hour: typical wear of the insert
The first alarm is in subgroup 16 (trend), two hours before the point where the limit is exceeded. At that point, the tool is changed or adjusted before the part is scrapped.
−50+5+10+15UCL 11.27CL 4.00LCL −3.271234567891011121314151617186 points on the rise (11–16): first alarm7 points above the midline (12–18)18 beyond the limitsubgroup
Figure 38.10 · The average chart showing the subsequent hours (red dots). The upward trend triggers the alarm for subgroup 16 before subgroup 18 exceeds the control limit.

38.11 Repeatability and Reproducibility of the Measurement System

All the numbers in this chapter come from measurements, and measurements have their own variation (Chapter 31). If the instrument and the measurement method “fluctuate” as much as the workpieces do, the control chart will follow the whims of the measurement rather than those of the machine. Before trusting the data, one must therefore perform a R&R Studio (repeatability and reproducibility) of the measurement system—that is, the instrument, method, and operators taken together.

  • Repeatability (EV, instrument variation): the variation in results when the same operator measures the same workpiece multiple times using the same instrument.
  • Reproducibility (AV, inter-operator variation): the difference between the averages obtained by different operators measuring the same workpiece with the same instrument.
Simplified R&R Study
σGRR = √(EV² + AV²) %GRR = 6 · σGRRT · 100
EV standard deviation of repeatability (with two operators: square root of the mean of the squares of their s-values) · AV standard deviation of reproducibility (with two operators: difference between the means divided by √2) · σGRR standard deviation of the measurement system · T tolerance of the characteristic · %GRR proportion of the tolerance “used up” by the measurement. Typical thresholds: below 10%, the system is good; from 10% to 30%, it is acceptable depending on the significance of the dimension and the cost of a better instrument; above 30%, it is not acceptable.

Proper studies use multiple workpieces (usually 10), 2 or 3 operators, and 2 or 3 repetitions, and involve calculations using means and ranges or analysis of variance; however, the principle is the same as in the example below.

Example 38.15 · The micrometer for the Ø30 ± 0.025 pin

Two operators each measure the same pin five times using the same micrometer. Readings in µm exceed 30,000. Operator A: 4, 5, 3, 5, 4. Operator B: 6, 7, 6, 5, 7.

A: average 21 / 5 = 4.2 · deviations −0.2; +0.8; −1.2; +0.8; −0.2 → sum of squares 2.8 → sA = √(2.8 / 4) = 0.84 µm
B: average 31 / 5 = 6.2 · deviations −0.2; +0.8; −0.2; −1.2; +0.8 → sB = 0.84 µm
EV = √((0.7 + 0.7) / 2) = √0.7 = 0.84 µm
AV = (6.2 − 4.2) / √2 = 2.0 / 1.414 = 1.41 µm
σGRR = √(0.84² + 1.41²) = √(0.70 + 2.00) = 1.64 µm
%GRR = 6 × 1.64 / 50 × 100 = 19.7%
%GRR = 19.7%: acceptable with reservations. The difference between operators carries more weight than the tool itself: Does Operator B tighten the micrometer more? A ratchet used by both operators in the same way is the first solution.

38.12 Quality Tools

When a defect recurs, you need to find the cause. There are some simple tools, used in workshops all over the world, that help you think systematically rather than relying on intuition.

The Pareto Chart

Usually, just a few types of defects account for most of the rejects (the “80/20 rule”: about 80% of the problems stem from 20% of the causes). The Pareto chart illustrates this: the defect types are plotted as bars ordered from highest to lowest, and the cumulative percentage curve is added. Work begins with the top bars, where every effort yields the greatest return.

Example 38.16 · The Flaws of a Month

In one month, the lathe department recorded 120 defective workpieces: 52 with diameters out of tolerance, 27 with surface roughness issues, 18 with burrs, 11 with lengths out of tolerance, 7 with threads, and 5 with dents.

DefectWorkpieces% of the totalCumulative %
diameter5252 / 120 = 43,343,3
roughness2722,543,3 + 22,5 = 65,8
drool1815,080,8
length119,290,0
thread75,895,8
dents54,2100,0
Three out of six defects (diameter, roughness, burrs) account for 80.8% of the rejects: the improvement team is starting with the diameter
03060901200%25%50%75%100%80%52diameter27roughness18burrs11length7thread5dents43.3%65.8%80.8%90.0%95.8%100.0%number of defects (left) and cumulative percentage (right)
Figure 38.11 · The Pareto chart from Example 38.16. The light blue curve crosses the 80% threshold (green line) at the third bar: the three red bars represent the causes that should be addressed first.

The cause-and-effect diagram (fishbone diagram)

The Ishikawa diagram, named after the Japanese engineer who popularized it, lists all the possible causes of a problem. The effect is written in the “head” of the fish; the main branches list the categories of causes, which in a workshop are usually the 6 M’s: Manpower, Machine, Method, Material, Measurement, and Environment (temperature, dust, vibrations). The diagram is filled out as a group, involving the operator, the programmer, the maintenance technician, and quality control, because each person identifies different causes.

Ø25 outsidetoleranceLaborincorrect correctorInsufficient trainingMachineX-axis slide playWorn insertMethodHeavy passesNo finishingMaterialoversized barVariable hardnessMeasurementcalibrated micrometerhot workpieceEnvironmentcold sectionvibrations
Figure 38.12 · The cause-and-effect diagram for the most frequent defect in the Pareto chart. Each bar represents one of the 6 M’s; the small bars represent possible causes, which should be verified one by one using the data.

The 5 Whys

The "5 Whys" method is the simplest of all: when faced with a problem, you ask yourself "why?" and, once you have an answer, you ask "why?" again, until you arrive at a root cause that you can actually address. Five is just a guideline: sometimes three questions are enough, and sometimes you need seven. The goal is not to stop at the symptom.

Example 38.17 · Why is the diameter so large?
Why does the Ø25 come out too large in the afternoon? Because the finishing insert wears down more than expected.
Why is it using more power? Because it's running hotter than usual.
Why does it run hotter? Because the coolant stream isn't reaching the cutting edge.
Why isn't it working? Because the nozzle moves when you change the turret.
Why does it move? Because it's a flexible tube with no reference point, and there are no instructions on how to align it.
Root cause: No reference point or instructions for the nozzle. Solution: A fixed, properly aligned nozzle and a guideline on the setup sheet. Simply replacing the insert more often would have addressed the symptom.

Poka-yoke

Poka-yoke is a Japanese term that means “foolproof.” It is a device that makes it impossible to make a mistake, or that immediately detects an error: a reference pin in the equipment that prevents a workpiece from being mounted upside down; a sensor that prevents the cycle from starting if the workpiece is not properly positioned; a piece counter that stops the machine when the tool has reached the end of its service life; a pass/fail gauge instead of a reading that needs to be interpreted. The principle is that people always make errors, sooner or later: the system must be designed so that the error does not result in a defective workpiece.

38.13 Nonconformities, Corrective Actions, and Traceability

A nonconformity is a requirement that has not been met: a workpiece that is out of dimension, a material without a certificate, or a tool used with an expired calibration. The first step is to isolate the suspect workpiece by marking it with a red tag and placing it in a designated area to prevent it from being used or shipped by mistake. Then a decision is made on how to handle it: rework, scrap, downgrade, or use as-is with a waiver signed by the customer (only if the customer, having been informed, agrees).

The Nonconformity Report

Each nonconformity is recorded in a nonconformity report (NCR). A standard module is used to collect this information.

EntryCompleted Example
number and dateRNC 2026-118, dated November 14, 2026
workpiece, drawing, lotshaft, drawing 2611-045 rev. B, lot L-0457
descriptionDimension 5 (shoulder width 45 ± 0.05) measured at 45.07 on the first workpiece
amount involved1 workpiece (the shipment hadn't left yet)
treatmentrejected workpiece; lot held until the next first workpiece
causework zero workpiece taken on the blank side instead of the polished side
corrective actionUpdated setup instructions: zero after facing, with photos
effectiveness assessmentNo occurrences in the next 5 startups (as of 11/28)
signaturesPerson who conducted the inspection, quality manager

Correction, corrective action, preventive action

  • The correction resolves today's problem: either the workpiece is scrapped or reworked, or the corrector is adjusted;
  • The corrective action eliminates the root cause so that the same problem does not recur (as seen in the Pareto chart, Ishikawa diagram, and the "5 Whys" method);
  • Preventive action eliminates the cause of a problem that has not yet occurred, for example, by extending the solution to other machines facing the same risk. In today’s ISO 9001, this idea has become “risk-based thinking,” which calls for anticipating what could go wrong.

An action is considered complete only after its effectiveness has been verified using data: this is Phase C of the PDCA cycle.

Batch Traceability

Traceability is the ability to trace a finished part back to its entire history: production lot, material pour, machine, date, operator, and test reports. This is achieved through a lot number that accompanies the workpieces (on a tag, on the box, or marked on the workpiece itself) and through records that link it to the relevant documentation. Without traceability, when a defect is discovered, the entire batch must be recalled; with traceability, only the workpieces actually involved are recalled.

Example 38.18 · Which workpieces to call up

A batch of 600 shafts was produced using bars from two castings: the first for workpieces 1 through 200 and 451 through 600, and the second for workpieces 201 through 450. The workshop discovers that the second casting has a hardness that is too low. 120 workpieces from the second casting have already been shipped.

workpieces from the second pour: 450 − 201 + 1 = 250
To be recalled from the customer: 120 · To be held in inventory: 250 − 120 = 130
No traceability by pour: all 600, with the customer having already received more than that
120 workpieces are recalled, and 130 are blocked—instead of 600: traceability saves 350 good workpieces and a great deal of trust

38.14 On-Machine Inspection and Quality Control in CNC Machining

Modern CNC machines can measure the workpiece on their own, without disassembling it. The probe (also called a sensor), mounted in the spindle or turret like a tool, touches the workpiece, and the control system records the position of the axes at the moment of contact. Probes and other modern measuring systems are described in Chapter 37; tool offsets and CNC cycles are covered in Chapter 50. What matters here is their impact on quality.

  • Before machining: automatic work zero detection and verification that the blank is the correct one and is properly mounted (an automatic poka-yoke).
  • During machining operations (in-process measurement): After semi-finishing, the part is measured, the remaining amount is calculated, and the finishing pass is adjusted.
  • After machining: the critical dimensions are measured and the values are recorded for the control chart; if a dimension is out of tolerance, the machine stops or marks the workpiece as scrap.
  • Wear Compensation: Every n workpieces, the probe measures a dimension, and if it has shifted beyond a threshold, the control automatically updates the tool wear compensator.

Machine-based measurement has a limitation that must not be overlooked: it is performed by the machine itself, and thus is subject to its geometric errors and the fact that the workpiece is still hot (paragraph 31.10). For this reason, it does not completely replace the metrology lab: occasionally, a workpiece measured on the machine is remeasured in the lab to verify that the two measurements agree.

Example 38.19 · The corrector updated by the probe

On a lathe equipped with a probe, a Ø25 h7 shaft is being machined with a target center diameter of 24.9895 mm. Insert wear causes the diameter to increase by approximately 0.6 µm per workpiece. The probe takes measurements every 10 workpieces. After how many workpieces would the workpiece go out of tolerance without corrections? What does the control system do when it measures the tenth workpiece, which reads 24.9955 mm?

Margin relative to USL: 25,000 − 24,9895 = 0.0105 mm = 10.5 µm
workpieces before it goes out of spec: 10.5 / 0.6 = 17.5 → starting with the 18th workpiece, the diameter is out of spec
For the tenth workpiece: deviation = 24.9955 − 24.9895 = +0.006 mm (exactly 10 × 0.6 µm)
X-axis wear compensation: −0.006 mm, and the next workpiece returns to the center
Without correction, the process stops after 17 workpieces; with automatic correction every 10 workpieces, the diameter varies between 24.9895 and 24.9955 mm, always in the upper half but within tolerance
USL 25,000center 24,9895LSL 24,979−20−100010203040Without correction: out of spec after 17 workpiecesprobe every 10 workpieces: correction −0.006machined workpieces · diameter in µm relative to 25.000
Figure 38.13 · The diameter increases as the insert wears down. Without corrections (dashed red line), it exceeds the upper limit after 17 workpieces; with the probe measuring every 10 workpieces and updating the compensator (sawtooth-patterned light blue line), it remains within tolerance at all times.
🖥️
Try it in the CNC Code simulator. In the lathe simulator, change the finishing tool offset by a few hundredths (section 25.14) and rerun the cycle: this is the safest way to learn the sign of the correction (negative offset, smaller diameter) before doing it on a real machine.

38.15 The Formulas in This Chapter

What Are You Looking For?FormulaUnits
Probability of defective items in the sampleP(d) = C(n, d) · pd · (1 − p)n − dpure number
Probability of Accepting the LotPa = P(0) + P(1) + … + P(Ac)absolute number or %
FieldR = xmax − xminmm or µm
Standard Deviation Using Sumss = √((Σxi² − (Σxi)² / n) / (n − 1))mm or µm
Potential capacityCp = (USL − LSL) / (6σ)pure number
Actual capacityCpk = min(USL − μ; μ − LSL) / (3σ)pure number
Distance from the boundaries in σzU = (USL − μ) / σ · zL = (μ − LSL) / σpure number
Percentage Outside Toleranceoutput = Q(zU) + Q(zL), where Q is from Table 38.2%
Machine CapacityCm = T / (6s) · Cmk = min(USL − x̄ ; x̄ − LSL) / (3s)pure number
Key points of the paperX̿ = Σx̄ / k · R̄ = ΣR / kmm or µm
Paper limits x̄ (n = 5)X̿ ± 0,577 · R̄mm or µm
R-card limits (n = 5)UCL = 2.114 · R̄ · LCL = 0mm or µm
σ estimated from the map (n = 5)σ ≈ R̄ / 2,326mm or µm
Measurement SystemσGRR = √(EV² + AV²) · %GRR = 6 · σGRR / T · 100µm · %

38.16 Exercises

Try to solve them on your own, using a calculator and Table 38.2, before looking at the solution.

Exercise 1. A batch of 500 workpieces has a 4% scrap rate (€20 per workpiece) and a 6% rework rate (€5 per workpiece). What is the total cost of the batch’s quality issues, both in total and per workpiece?
Solution

Scrap: 500 × 0.04 = 20 workpieces × 20 € = 400 €. Rework: 500 × 0.06 = 30 workpieces × 5 € = 150 €. Total: 550 €, or 550 / 500 = 1.10 € per workpiece.

Exercise 2. A machine produces 30 workpieces per hour, and the inspection plan calls for one measurement every 15 workpieces. How often, in minutes, is a measurement taken? How many workpieces must be re-inspected if a measurement is out of specification?
Solution

One workpiece every 60 / 30 = 2 minutes; 15 workpieces = 30 minutes. If a measurement is out of spec, the suspect workpieces are the 15 made after the last pass.

Exercise 3. Sampling plan: n = 50, Ac = 1. What is the probability of accepting a lot with 2% defective items?
Solution

P(0) = 0.9850 = 0.3642. P(1) = 50 × 0.02 × 0.9849 = 1 × 0.3716 = 0.3716. Pa = 0.3642 + 0.3716 = 0.7358, approximately 73.6%.

Exercise 4. Eight workpieces measure 12.03, 12.05, 12.01, 12.04, 12.06, 12.02, 12.04, and 12.03 mm. Calculate the mean, range, and standard deviation.
Solution

Sum 96.28 → average 12.035 mm. Range 12.06 − 12.01 = 0.05 mm. Deviations: −0.005; +0.015; −0.025; +0.005; +0.025; −0.015; +0.005; −0.005; sum of squares 0.0018 mm². s = √(0.0018 / 7) = √0.000257 = 0.0160 mm.

Exercise 5. A dimension of 50 ± 0.04 mm has a mean of 50.012 mm and a standard deviation (σ) of 0.008 mm. Calculate Cp and Cpk. Is the process capable according to the standard criterion?
Solution

Cp = 0.08 / (6 × 0.008) = 0.08 / 0.048 = 1.67. USL − μ = 50.040 − 50.012 = 0.028; μ − LSL = 50.012 − 49.960 = 0.052. Cpk = 0.028 / (3 × 0.008) = 0.028 / 0.024 = 1.17. No: Cpk is below 1.33. Centering the process would be sufficient (Cpk would rise to 1.67).

Exercise 6. Using the data from Exercise 5, what percentage of workpieces is expected to be out of tolerance?
Solution

zU = 0.028 / 0.008 = 3.5 → Q = 0.0233%. zL = 0.052 / 0.008 = 6.5 → negligible. About 0.0233% of the workpieces are out of specification—that is, 233 workpieces out of a million—all of which are oversized.

Exercise 7. A Ø40 H7 (0/+0.025 mm) hole has a σ of 3 µm and an average of +15 µm above the nominal value. Calculate Cp and Cpk. What is the maximum value of σ for which Cp = 1.33?
Solution

Cp = 25 / 18 = 1.39. Distances: USL − μ = 25 − 15 = 10 µm; μ − LSL = 15 µm. Cpk = 10 / 9 = 1.11. For Cp = 1.33: σ ≤ 25 / 8 = 3.1 µm. The process has the correct dispersion but needs to be centered at +12.5 µm.

Exercise 8. From 25 subgroups of 5 workpieces, the values X̿ = 50.012 mm and R̄ = 0.010 mm are obtained. Calculate the limits of the x̄ and R cards.
Solution

A2 · R̄ = 0.577 · 0.010 = 0.00577 mm. UCLx̄ = 50.0178 mm; LCLx̄ = 50.0062 mm. UCLR = 2.114 × 0.010 = 0.0211 mm; LCLR = 0.

Exercise 9. A sheet x̄ has CL = 20, UCL = 26, and LCL = 14 µm. The averages of 12 subgroups are: 21 · 19 · 22 · 21 · 23 · 22 · 24 · 21 · 22 · 25 · 23 · 27. When does the first alarm trigger, and according to which rule?
Solution

Starting with subgroup 3, all averages are above 20: in subgroup 9, there are 7 consecutive points above the centerline (3–9)—the first alarm. In subgroup 12, there is also one point above the UCL (27 > 26). The trend isn’t clear, because the points go up and down.

Exercise 10. In an R&R study, EV = 0.9 µm and AV = 0.6 µm. The tolerance is 30 µm. Calculate the %GRR and evaluate the measurement system.
Solution

σGRR = √(0.81 + 0.36) = √1.17 = 1.08 µm. %GRR = 6 × 1.08 / 30 × 100 = 21.6%: between 10% and 30%, acceptable with reservations. Repeatability is the more important factor here: it’s best to check the instrument.

Exercise 11. Complaints over the course of a year: 64 regarding dimensions, 38 regarding roughness, 22 regarding oxidation, 12 regarding packaging, 8 regarding documentation, and 6 regarding delays. Calculate the cumulative percentages. How many types of defects are needed to exceed 80%?
Solution

Total: 150. Percentages: 42.7 · 25.3 · 14.7 · 8.0 · 5.3 · 4.0. Cumulative totals: 42.7 · 68.0 · 82.7 · 90.7 · 96.0 · 100. The first three (dimensions, roughness, oxidation) alone are enough to exceed 80%.

Exercise 12. During the acceptance testing of a milling machine, 50 workpieces with dimensions of 80 ± 0.025 mm yielded x̄ = 80.005 mm and s = 0.004 mm. Calculate Cm and Cmk. Does the machine meet the requirement of 1.67?
Solution

Cm = 0.05 / (6 × 0.004) = 0.05 / 0.024 = 2.08. USL − x̄ = 80.025 − 80.005 = 0.020; x̄ − LSL = 0.030. Cmk = 0.020 / 0.012 = 1.67. It passes, just barely.

Exercise 13. A shaft with a diameter of Ø30 and a height tolerance of h7 (0/−0.021 mm) starts at the center of the tolerance range, and wear on the cutting insert causes it to increase by 0.8 µm per workpiece. After how many workpieces will it go out of tolerance? Is a check with correction every 10 workpieces sufficient?
Solution

Tolerance: 21 / 2 = 10.5 µm. 10.5 / 0.8 = 13.1: starting with the 14th workpiece, it’s out of tolerance. If corrected every 10 workpieces, the diameter increases by a maximum of 10 × 0.8 = 8 µm, which is less than 10.5: that’s enough, but with little margin to spare.

Exercise 14. Place each of these causes under its corresponding “M” in the Ishikawa diagram: comparator with a jammed rod; bars with varying levels of excess allowance; department that gets hot in the afternoon; newly hired operator; schedule that is too tight; spindle with clearances in the bearings.
Solution

Comparator: Measurement. Bars: Material. Hot shop: Equipment (environment). New operator: Labor. Feeds too high: Method. Spindle clearance: Machine.