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.
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.
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?
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.
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).
| Feature | Tool | Frequency | Who | If it's outside |
|---|---|---|---|---|
| Ø25 h7 | 0.001 mm micrometer | 1st workpiece, then 1 every 20 | operator | stop, proofreader, 100% review of the last 20 |
| length 120 ± 0.1 | 0.01 mm gauge | 1st workpiece, then 1 for every 50 | operator | Stop, check for work zero |
| M16 × 1.5-6g thread | pass/fail ring | 1 out of every 20 and with every insert change | operator | Replace insert, check the last 20 |
| Ra 0.8 on Ø25 | roughness meter | 1st workpiece and 1 per shift | quality control | Check Radius and Feed Rate |
| hardness after reclamation | hardness tester | 3 workpieces per lot | workshop | Blocked 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.
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?
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).
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.
What is the probability of accepting a batch that contains 1% defective items? And one that contains 5%?
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.
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. | Feature | Dimensions (mm) | Tool | Measure | Result |
|---|---|---|---|---|---|
| 1 | Ø25 h7 | 24,979 · 25,000 | micrometer 25–50, 0.001 | 24,992 | C |
| 2 | Ø32 ± 0,05 | 31,95 · 32,05 | 0.01 digital caliper | 32,02 | C |
| 3 | Ø18 g6 | 17,983 · 17,994 | micrometer 0–25, 0.001 | 17,990 | C |
| 4 | length 120 ± 0.1 | 119,90 · 120,10 | 0.01 digital caliper | 120,06 | C |
| 5 | shoulder width 45 ± 0.05 | 44,95 · 45,05 | comparator and blocks | 45,07 | NC |
| 6 | 1 × 45° chamfer | 0,8 · 1,2 | profile projector | 1,1 | C |
| 7 | M16 × 1.5-6g thread | P goes in, NP doesn't go in | P/NP regions | P: Yes, NP: No | C |
| 8 | Ra on Ø25 | ≤ 0.8 µm | roughness meter | 0.62 µm | C |
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.
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)?
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.
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).
| Subgroup | 1st workpiece | 2° | 3° | 4° | 5° | Total | Average x̄ | Field R |
|---|---|---|---|---|---|---|---|---|
| 1 | −2 | +5 | −1 | +8 | +7 | 17 | 3,4 | 10 |
| 2 | −3 | +1 | +7 | +3 | +3 | 11 | 2,2 | 10 |
| 3 | +5 | +5 | +2 | +10 | +8 | 30 | 6,0 | 8 |
| 4 | −4 | +7 | +10 | +2 | +4 | 19 | 3,8 | 14 |
| 5 | +9 | +10 | −5 | +5 | +5 | 24 | 4,8 | 15 |
| 6 | −3 | +3 | +3 | +10 | +9 | 22 | 4,4 | 13 |
| 7 | +15 | +4 | +14 | +6 | +7 | 46 | 9,2 | 11 |
| 8 | 0 | +2 | +4 | −1 | −1 | 4 | 0,8 | 5 |
| 9 | −1 | +2 | −10 | +4 | +11 | 6 | 1,2 | 21 |
| 10 | +8 | +14 | +7 | −3 | −5 | 21 | 4,2 | 19 |
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.
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.5 | from −7.5 to −2.5 | from −2.5 to +2.5 | from +2.5 to +7.5 | from +7.5 to +12.5 | from +12.5 to +17.5 |
|---|---|---|---|---|---|---|
| Workpieces | 1 | 6 | 11 | 19 | 10 | 3 |
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.
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.
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.
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 Distance | One workpiece in a million | Review |
|---|---|---|---|
| 0,67 | 2σ | 45 500 | unable |
| 1,00 | 3σ | 2 700 | barely enough, at risk |
| 1,33 | 4σ | 63 | capable (common objective) |
| 1,67 | 5σ | 0,57 | highly capable (critical characteristics) |
| 2,00 | 6σ | 0,002 | excellent |
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.
| z | Q(z) % | z | Q(z) % | z | Q(z) % | z | Q(z) % |
|---|---|---|---|---|---|---|---|
| 1,0 | 15,9 | 2,0 | 2,28 | 3,0 | 0,135 | 4,0 | 0,00317 |
| 1,1 | 13,6 | 2,1 | 1,79 | 3,1 | 0,0968 | 4,1 | 0,00207 |
| 1,2 | 11,5 | 2,2 | 1,39 | 3,2 | 0,0687 | 4,2 | 0,00133 |
| 1,3 | 9,68 | 2,3 | 1,07 | 3,3 | 0,0483 | 4,3 | 0,000854 |
| 1,4 | 8,08 | 2,4 | 0,820 | 3,4 | 0,0337 | 4,4 | 0,000541 |
| 1,5 | 6,68 | 2,5 | 0,621 | 3,5 | 0,0233 | 4,5 | 0,000340 |
| 1,6 | 5,48 | 2,6 | 0,466 | 3,6 | 0,0159 | 4,6 | 0,000211 |
| 1,7 | 4,46 | 2,7 | 0,347 | 3,7 | 0,0108 | 4,7 | 0,000130 |
| 1,8 | 3,59 | 2,8 | 0,256 | 3,8 | 0,00723 | 4,8 | 0,0000793 |
| 1,9 | 2,87 | 2,9 | 0,187 | 3,9 | 0,00481 | 4,9 | 0,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.
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.
The Ø25 h7 shaft: the effect of centering
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.
Adjust the tool so that the average value falls at the center of the tolerance range, 24.9895 mm. σ remains 2.5 µm.
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.
Still Ø25 h7. What is the maximum value of σ if the process is centered? And what if the mean remains at 24.992 mm?
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.
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.
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.
From Table 38.1 (10 subgroups of 5 workpieces each, in µm greater than 30,000).
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.
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?
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.
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.
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.
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.
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.
| Defect | Workpieces | % of the total | Cumulative % |
|---|---|---|---|
| diameter | 52 | 52 / 120 = 43,3 | 43,3 |
| roughness | 27 | 22,5 | 43,3 + 22,5 = 65,8 |
| drool | 18 | 15,0 | 80,8 |
| length | 11 | 9,2 | 90,0 |
| thread | 7 | 5,8 | 95,8 |
| dents | 5 | 4,2 | 100,0 |
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.
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.
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.
| Entry | Completed Example |
|---|---|
| number and date | RNC 2026-118, dated November 14, 2026 |
| workpiece, drawing, lot | shaft, drawing 2611-045 rev. B, lot L-0457 |
| description | Dimension 5 (shoulder width 45 ± 0.05) measured at 45.07 on the first workpiece |
| amount involved | 1 workpiece (the shipment hadn't left yet) |
| treatment | rejected workpiece; lot held until the next first workpiece |
| cause | work zero workpiece taken on the blank side instead of the polished side |
| corrective action | Updated setup instructions: zero after facing, with photos |
| effectiveness assessment | No occurrences in the next 5 startups (as of 11/28) |
| signatures | Person 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.
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.
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.
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?
38.15 The Formulas in This Chapter
| What Are You Looking For? | Formula | Units |
|---|---|---|
| Probability of defective items in the sample | P(d) = C(n, d) · pd · (1 − p)n − d | pure number |
| Probability of Accepting the Lot | Pa = P(0) + P(1) + … + P(Ac) | absolute number or % |
| Field | R = xmax − xmin | mm or µm |
| Standard Deviation Using Sums | s = √((Σxi² − (Σxi)² / n) / (n − 1)) | mm or µm |
| Potential capacity | Cp = (USL − LSL) / (6σ) | pure number |
| Actual capacity | Cpk = min(USL − μ; μ − LSL) / (3σ) | pure number |
| Distance from the boundaries in σ | zU = (USL − μ) / σ · zL = (μ − LSL) / σ | pure number |
| Percentage Outside Tolerance | output = Q(zU) + Q(zL), where Q is from Table 38.2 | % |
| Machine Capacity | Cm = T / (6s) · Cmk = min(USL − x̄ ; x̄ − LSL) / (3s) | pure number |
| Key points of the paper | X̿ = Σx̄ / k · R̄ = ΣR / k | mm or µm |
| Paper limits x̄ (n = 5) | X̿ ± 0,577 · R̄ | mm or µm |
| R-card limits (n = 5) | UCL = 2.114 · R̄ · LCL = 0 | mm or µm |
| σ estimated from the map (n = 5) | σ ≈ R̄ / 2,326 | mm 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.
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.
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.
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%.
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.
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).
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.
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.
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.
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.
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.
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%.
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.
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.
Solution
Comparator: Measurement. Bars: Material. Hot shop: Equipment (environment). New operator: Labor. Feeds too high: Method. Spindle clearance: Machine.
