Lean Manufacturing

Chapter 7
Built-in Quality and Defect Prevention

Bachelors Program in Machine Technology
Lean Manufacturing   •   Bachelor

Built-in Quality and Defect Prevention

Introduction

Lean manufacturing treats quality as a property of the process, not merely a characteristic checked at the end of production. Traditional inspection attempts to separate good products from defective products after value has been added. Lean quality instead seeks to prevent defects, detect abnormalities immediately, stop the process when necessary, and correct the underlying cause. This approach is often called built-in quality or quality at the source.

Built-in quality is essential because defects generate more than scrap. They cause rework, delayed deliveries, excess inventory, customer complaints, warranty costs, unsafe conditions, and loss of trust. A defect discovered late is usually more expensive to correct than one detected at the point of occurrence. Lean therefore combines human judgment, equipment design, visual management, standard work, problem solving, and statistical methods to make abnormal conditions visible and actionable.

This chapter explains jidoka, andon, stop-at-source, poka-yoke, source inspection, and quality-at-the-process. It also introduces basic statistical process control (SPC) and distinguishes the complementary roles of Lean, Total Quality Management (TQM), and Six Sigma.

Learning Objectives

After studying this chapter, you should be able to:

  1. Explain the purpose and operating logic of jidoka and stop-at-source.
  2. Describe how andon systems support rapid response to abnormalities.
  3. Design and evaluate basic poka-yoke and source-inspection methods.
  4. Distinguish common-cause from special-cause variation.
  5. Interpret basic control charts and calculate simple control limits.
  6. Explain how Lean, TQM, and Six Sigma complement one another.
  7. Analyze a manufacturing quality problem and recommend a defect-prevention system.

1. Quality as a Process Responsibility

Quality has two related meanings. Product quality concerns whether an output conforms to requirements and satisfies customer needs. Process quality concerns whether the method used to create the output is stable, capable, controlled, and continually improved. Inspection measures product quality; built-in quality develops process quality so that conformity is created consistently.

A useful distinction is between detection and prevention:

  • Detection identifies a defect after it has occurred.
  • Prevention changes the process so that the defect cannot occur or is detected immediately before progressing.

For example, inspecting ten assembled units at the end of a line may identify a missing fastener. A fixture that permits loading only when the fastener is present prevents the assembly from advancing without it. The second approach is generally more effective because it reduces escape, rework, and delayed feedback.

Lean quality does not mean that inspection is unnecessary. Verification may be required for safety, regulation, customer approval, or process validation. The key question is whether inspection is used as the primary substitute for process control or as one element of a broader prevention system.

The cost of defects

The cost of a defect often increases as it moves downstream. A machining error detected at the machine may require a tool adjustment; the same error detected after painting, assembly, and shipment may require disassembly, replacement, transport, and customer support. This relationship is sometimes described as the cost of poor quality and includes:

  • internal failure costs: scrap, rework, retesting, and downtime;
  • external failure costs: returns, warranty, complaints, and recalls;
  • appraisal costs: inspection, testing, and audits;
  • prevention costs: training, process design, mistake-proofing, and maintenance.

Lean emphasizes shifting effort from appraisal and failure toward prevention and rapid learning.

2. Jidoka: Intelligent Automation and Built-in Quality

Jidoka is commonly translated as “automation with a human touch.” In practice, it means that a process detects an abnormal condition and stops or signals for intervention rather than continuing to produce defects. Jidoka has two dimensions:

  1. Technical capability: equipment or processes detect abnormality automatically or through a simple human check.
  2. Organizational discipline: workers are authorized and expected to respond, investigate, and improve the process.

Jidoka is therefore more than installing sensors. A sensor that stops a machine without a response procedure may create repeated stoppages without improvement. Effective jidoka connects detection, notification, containment, diagnosis, corrective action, and learning.

A typical jidoka sequence is:

  1. Perform work according to standard.
  2. Detect an abnormal condition.
  3. Stop the process or prevent the abnormal product from moving forward.
  4. Signal the responsible person.
  5. Restore safe and stable operation.
  6. Identify and remove the root cause.
  7. Update the standard, training, or equipment if necessary.

The abnormality may be a dimensional out-of-tolerance condition, missing component, excessive cycle time, unsafe machine state, depleted material, or process parameter outside its approved range.

Autonomation and human judgment

Jidoka is sometimes associated with autonomation, meaning partial automation that includes automatic abnormality detection. It does not imply that machines replace operators. Instead, machines handle repetitive monitoring while people apply judgment to diagnosis, improvement, and decisions involving uncertain conditions.

Good jidoka design answers four questions:

  • What constitutes an abnormality?
  • How will it be detected?
  • What is the immediate safe response?
  • Who owns the investigation and restoration?

3. Andon and Stop-at-Source

An andon is a visual or audible indication of the current condition of a process. It may be a light tower, electronic display, signal board, software alert, or other visible communication method. An andon commonly distinguishes normal operation, assistance required, and line stop.

Andon supports jidoka by reducing the time between problem occurrence and response. A useful system displays information such as:

  • workstation or machine location;
  • type of abnormality;
  • time of call;
  • response status;
  • production or quality consequence;
  • responsible support function.

The purpose is not to rank operators or create fear. If employees are punished for calling attention to problems, abnormalities will be hidden and the system will fail. Andon must be treated as a learning and support mechanism.

Stop-at-source

Stop-at-source means stopping the process at the point where a defect or abnormality is created, or before it can pass to the next operation. It is stronger than finding defects at a distant inspection station because it preserves immediate feedback and prevents defect propagation.

Stopping does not always mean shutting down an entire factory. The response may be:

  • stopping a tool while the rest of a line continues;
  • holding a single suspect part in a clearly identified containment area;
  • stopping the line after a short response window;
  • switching to a safe backup process;
  • preventing the next cycle until confirmation is obtained.

The correct response depends on risk, process coupling, safety, and customer requirements. Safety-critical abnormalities generally require immediate interruption and controlled containment.

Practical design principles

A stop-at-source system should include:

  1. Clear standards: operators know the normal condition and acceptable limits.
  2. Simple detection: abnormalities are easy to recognize.
  3. Immediate visibility: the signal identifies where help is needed.
  4. Defined escalation: unresolved problems move to the appropriate level.
  5. Containment: suspect material is identified and segregated.
  6. Root-cause learning: recurring calls trigger structured improvement.

A high number of andon calls does not automatically indicate poor performance. At first, calls may increase because hidden problems become visible. The more meaningful measures are response time, recurrence rate, defect escape rate, and the proportion of calls resolved through permanent corrective action.

4. Poka-Yoke and Source Inspection

Poka-yoke means mistake-proofing: designing a product, fixture, tool, or procedure so that an error is prevented or made immediately evident. Poka-yoke does not assume that people are careless. It recognizes that fatigue, distraction, variation, ambiguous instructions, and similar components are normal features of human work.

Two broad forms are:

  • Prevention: the process cannot proceed when an error is made.
  • Detection: an error is identified immediately after occurrence, before the product advances.

Examples include:

  • a connector that can be inserted in only one orientation;
  • a fixture that detects the presence of all components;
  • a torque tool that prevents completion until the specified torque is achieved;
  • a limit switch that confirms guard closure;
  • a counting device that prevents a package from being released without the required quantity;
  • color, shape, or coding differences that prevent part mix-ups.

A good poka-yoke is simple, reliable, inexpensive relative to the risk, and difficult to bypass. A warning label alone is usually weaker than a physical or logical constraint.

Source inspection

Source inspection checks conditions before they create a defect. It differs from successive inspection, which checks the work received from the previous operation, and from final inspection, which checks the completed product.

Suppose a drilling operation produces holes at the wrong location because the workpiece is incorrectly positioned. A final inspector may detect the error; a successive inspector may prevent the next operation from using the part; source inspection confirms correct positioning before drilling begins. The last method attacks the causal condition.

Source inspection may examine:

  • input material identity and condition;
  • machine setup and tool selection;
  • fixture seating;
  • process parameters;
  • environmental conditions;
  • operator completion of critical steps;
  • software or program revision.

The objective is not to increase bureaucracy. Checks should focus on characteristics that are critical to quality, safety, compliance, or defect generation.

Designing a poka-yoke: a practical method

  1. Define the defect and its customer or process consequence.
  2. Map where the error can occur.
  3. Identify the physical or informational condition that enables it.
  4. Eliminate the possibility if feasible.
  5. Otherwise detect the error at the earliest practical point.
  6. Ensure the detection produces a clear response.
  7. Test the device under realistic misuse and failure conditions.
  8. Include bypass control, maintenance, and verification in standard work.

A mistake-proofing device itself can fail. For critical applications, its function should be checked periodically or monitored by a second independent control.

5. Quality at the Process and Standard Work

Quality at the process means that each operation produces conforming output for the next operation and receives timely information about its own performance. It depends on the relationship among standard work, capable equipment, trained people, controlled materials, and rapid problem solving.

Standard work specifies the best currently known method, including sequence, timing, inventory at the point of use, quality checks, and safety requirements. It is not intended to suppress improvement. Rather, it provides a baseline against which improvement can be tested. Without a stable method, a change in defect rate cannot easily be attributed to a specific cause.

A practical quality-at-the-process system includes:

  • defined critical-to-quality characteristics;
  • measurement methods with known suitability;
  • reaction plans for abnormal results;
  • first-piece or setup approval where appropriate;
  • layered process audits;
  • preventive maintenance and calibration;
  • traceability for critical parts and parameters;
  • feedback from downstream users and customers.

Measurement-system considerations

A process decision is only as trustworthy as the measurement system. If two inspectors obtain substantially different results, the organization may respond to measurement noise rather than process variation. Measurement-system analysis may evaluate repeatability, reproducibility, bias, stability, and resolution. For a bachelor-level application, the essential principle is: validate the measurement method before using its data to control the process.

6. Variation and Statistical Process Control

Every process contains variation. Common-cause variation arises from the normal system of materials, methods, machines, people, and environment. Special-cause variation results from an identifiable, unusual change, such as a broken tool, incorrect setup, contaminated material, or sensor failure.

SPC uses data collected in time order to distinguish these types of variation and to detect changes before large numbers of defects occur. A control chart is not merely a graph with upper and lower limits; it is a decision system linked to a rational sampling plan and reaction procedure.

Control limits and specification limits

Control limits describe the expected behavior of a stable process. Specification limits describe customer, engineering, or regulatory requirements. They are not interchangeable:

  • A process can be stable but consistently outside specification.
  • A process can be inside specification on average but unstable.
  • Control limits are calculated from process behavior; specification limits come from requirements.

Individuals and moving-range chart

When one observation is collected at a time, an individuals chart can be used. Let xi be the observation at time i, and let m be the number of observations. The center line is the average:

X̄ = (∑xᵢ) / m

The moving range between successive observations is:

MRᵢ = |xᵢ − xᵢ₋₁|

The average moving range is:

MR̄ = (∑MRᵢ) / (m − 1)

For the individuals chart, an estimate of short-term standard deviation is commonly:

σ̂ = MR̄ / d₂

For a moving range of two observations, d2 is approximately 1.128. The approximate three-sigma control limits are:

UCL = X̄ + 3σ̂
LCL = X̄ − 3σ̂

Equivalently, using 2.66 ≈ 3/1.128:

UCL = X̄ + 2.66MR̄
LCL = X̄ − 2.66MR̄

These formulas assume observations are collected in time order, the process is reasonably stable, and the moving ranges represent short-term variation. If the lower limit is physically impossible, it may be set to zero for a nonnegative characteristic, but the reason must be documented.

Worked example: individuals chart

A shaft diameter is measured in millimetres at five successive times: 10.02, 10.01, 10.03, 10.02, and 10.04.

The average is:

X̄ = (10.02 + 10.01 + 10.03 + 10.02 + 10.04) / 5 = 10.024 mm

The moving ranges are 0.01, 0.02, 0.01, and 0.02 mm. Therefore:

MR̄ = (0.01 + 0.02 + 0.01 + 0.02) / 4 = 0.015 mm

Using the individuals-chart constant:

UCL = 10.024 + 2.66(0.015) = 10.0639 mm

LCL = 10.024 − 2.66(0.015) = 9.9841 mm

All five observations lie within these limits. This does not prove that the process meets specification; specification limits must be assessed separately. Nor does it prove permanent control: the chart must be continued and interpreted using appropriate rules for trends, runs, and unusual patterns.

X̄ and R charts

When rational subgroups contain several observations, an X̄ chart monitors subgroup averages and an R chart monitors within-subgroup ranges. For subgroup size n, the range is:

Rⱼ = max(xⱼ) − min(xⱼ)

The average subgroup mean and average range are:

X̄̄ = (∑X̄ⱼ) / k
R̄ = (∑Rⱼ) / k

where k is the number of subgroups. Common three-sigma limits are:

UCLX̄ = X̄̄ + A₂R̄
LCLX̄ = X̄̄ − A₂R̄
UCLR = D₄R̄
LCLR = D₃R̄

The constants A2, D3, and D4 depend on subgroup size and are obtained from standard SPC tables. These charts assume rational subgroups and approximately appropriate distributional behavior. Control limits should not be recalculated simply to hide an out-of-control point; the cause should first be investigated.

Interpreting a control chart

Typical signals include:

  • a point beyond a control limit;
  • a sustained run on one side of the center line;
  • a sustained trend upward or downward;
  • cyclic or stratified patterns;
  • unusually small variation suggesting data manipulation or measurement problems.

Rules should be selected carefully. Too many rules produce false alarms; too few allow real changes to pass unnoticed. Every signal should lead to a documented reaction plan, not automatic adjustment. Over-adjusting a stable process in response to random variation can increase variation, a behavior known as tampering.

7. Lean, TQM, and Six Sigma: Complementary Roles

Lean, TQM, and Six Sigma overlap but are not identical.

ApproachPrimary emphasisTypical methodsMain contribution
LeanFlow, value, waste reduction, responsivenessValue-stream mapping, standard work, pull, jidokaRemoves delays and exposes problems
TQMOrganization-wide quality culture and customer satisfactionQuality planning, participation, supplier quality, PDCAMakes quality everyone’s responsibility
Six SigmaReduction of variation and defects through dataDMAIC, statistical analysis, capability studiesProvides rigorous analytical problem solving

TQM is a broad management philosophy. It emphasizes customer requirements, leadership, employee involvement, process orientation, prevention, supplier relationships, and continuous improvement. Its strength is organizational integration; its weakness can be excessive generality if not translated into specific operating practices.

Lean emphasizes the design of a responsive system in which abnormality is visible and waste is removed. Its strength is speed, flow, and practical engagement at the workplace. Lean tools alone, however, may not adequately analyze complex variation or measurement problems.

Six Sigma provides a disciplined, data-intensive approach. DMAIC—Define, Measure, Analyze, Improve, Control—is useful when the problem is important, measurable, and not solved by obvious standardization or mistake-proofing. Six Sigma can become inefficient when applied with excessive statistical formality to simple problems.

An integrated system may use Lean to expose a recurring defect, TQM to establish ownership and customer focus, and Six Sigma to analyze complex causes. None of the approaches should be treated as a universal substitute for engineering judgment.

8. Applied Case: Defects in a Hydraulic-Valve Assembly

The following is an illustrative case based on common manufacturing conditions.

Background

A factory assembles hydraulic valves for industrial equipment. Customer returns show intermittent leakage. The final pressure test detects approximately 3% failures. Rework is performed at the end of the line, and production supervisors believe that operators are “missing” a sealing step.

Problem analysis

A process observation reveals that the seal is installed at an upstream station. Operators select one of two visually similar seals from open trays. The correct seal is sometimes installed in the wrong orientation, and the tray is occasionally replenished with the wrong part. The final test detects the consequence several operations later. No andon signal exists at the seal station, and the operator is not authorized to stop the line.

A preliminary cause analysis identifies:

  • ambiguous part appearance;
  • no physical orientation constraint;
  • no positive confirmation of part identity;
  • delayed feedback from final testing;
  • weak replenishment control;
  • a performance culture that discourages stoppage.

Approach and solution

The team introduces the following controls:

  1. A keyed fixture permits the seal to be placed in only the correct orientation.
  2. A barcode scan confirms the seal part number before replenishment.
  3. A sensor confirms seal presence before the valve advances.
  4. A local andon light requests support when the sensor detects an abnormality.
  5. Operators receive authority to stop the station and contain suspect units.
  6. The first five units after replenishment receive an enhanced verification.
  7. A daily review tracks escapes, response time, recurring causes, and bypasses.
  8. Standard work and training are revised after validation.

The team also checks whether the sensor can detect incorrectly seated seals and whether it fails safely. A deliberate challenge test is added to the start-of-shift verification.

Outcome

After implementation, final-test failures decline substantially, but the initial number of andon calls increases. This is interpreted correctly: the system is making abnormalities visible earlier. Over subsequent weeks, recurring calls decline as replenishment and fixture issues are corrected. The most important outcome is not merely a lower defect percentage; it is that suspect product no longer travels several operations before discovery.

Learning points

  • Final inspection identified the symptom but not the process condition.
  • Poka-yoke addressed orientation and presence directly.
  • Source inspection moved control upstream.
  • Andon and stop-at-source reduced defect propagation.
  • Operator authority was necessary for the technical controls to work.
  • Performance measures must distinguish visibility of problems from actual deterioration.

9. Implementation, Governance, and Contemporary Technology

Built-in quality requires governance as well as tools. Critical processes should define who may stop production, who releases contained material, how deviations are documented, and how corrective actions are verified. Safety, environmental, and regulatory requirements may impose mandatory inspection, traceability, validation, or record retention.

Digital systems can support this work through machine vision, connected sensors, electronic work instructions, traceability databases, and real-time SPC. Artificial intelligence may detect complex visual or process patterns, but it should not be treated as a replacement for process understanding. Models require representative data, validation, cybersecurity protection, and monitoring for drift. A false negative in a safety-critical application may be more serious than a false positive, so acceptance criteria must reflect risk.

Best practices include:

  • begin with a clearly defined defect and customer consequence;
  • stabilize standard work before interpreting process data;
  • validate measurement systems;
  • use the simplest reliable mistake-proofing method;
  • make abnormality response immediate and respectful;
  • separate containment from permanent corrective action;
  • avoid adjusting a stable process without evidence;
  • audit whether controls function under realistic conditions;
  • review recurring abnormalities at management level;
  • verify that improvements do not create new safety or ergonomic risks.

Challenges and Limitations

Built-in quality can fail when management values output volume more than process truth, when stop authority is nominal rather than real, or when andon calls are treated as operator failures. Excessive automation may create false confidence, while poorly maintained sensors can produce nuisance stops or missed defects. SPC can also be misused when data are not time-ordered, subgroups are irrational, specifications are confused with control limits, or limits are recalculated after every disturbance.

Poka-yoke is not always economically or technically feasible. Some defects arise from interactions among many variables and require design changes, capability studies, experiments, or supplier development. Likewise, a stable process may still be incapable of meeting a tight specification. In that case, management must improve the process rather than merely celebrate statistical stability.

Chapter Summary

Built-in quality creates conformity within the process rather than relying on distant final inspection. Jidoka combines abnormality detection, stopping, human response, and learning. Andon makes conditions visible and summons assistance, while stop-at-source prevents defects from moving downstream. Poka-yoke prevents or immediately detects errors, and source inspection checks causal conditions before they generate defects.

Quality at the process depends on standard work, capable equipment, suitable measurement, controlled materials, and disciplined reaction plans. SPC distinguishes common-cause from special-cause variation using time-ordered data and control charts. Control limits describe process behavior and must not be confused with specification limits. Lean, TQM, and Six Sigma are complementary: Lean improves flow and exposes problems, TQM integrates quality across the organization, and Six Sigma provides rigorous variation reduction and analytical problem solving.

Key Terms

Jidoka: Built-in quality through automatic or human detection of abnormality and appropriate interruption.

Andon: A visual or audible system that communicates process status and requests assistance.

Stop-at-source: Halting or containing work where an abnormality or defect is created.

Poka-yoke: A mistake-proofing method that prevents or immediately detects error.

Source inspection: Checking causal conditions before they generate a defect.

Successive inspection: Checking work received from a preceding operation.

Final inspection: Checking completed output before release.

Quality at the process: Responsibility for producing conforming output within each operation.

Common-cause variation: Normal variation produced by the established process system.

Special-cause variation: Non-random variation associated with an identifiable change.

Statistical process control: Use of statistical methods and time-ordered data to monitor process behavior.

Control limit: A statistically derived boundary indicating expected process variation.

Specification limit: A requirement boundary established by design, customer, or regulation.

Standard work: The documented best-known method for performing a process.

Containment: Isolation and control of suspect or nonconforming material.

TQM: Organization-wide management philosophy focused on customer-centered quality and continual improvement.

Six Sigma: A data-driven approach for reducing defects and process variation.

DMAIC: Define, Measure, Analyze, Improve, and Control problem-solving framework.

Tampering: Unnecessary adjustment of a stable process in response to random variation.

Review Questions

Short Answer Questions

  1. What is the central difference between defect detection and defect prevention?
  2. Define jidoka and identify its technical and organizational dimensions.
  3. What information should an andon system communicate?
  4. Distinguish control limits from specification limits.
  5. What is the difference between common-cause and special-cause variation?

Long Answer Questions

  1. Explain how jidoka, andon, and stop-at-source operate as an integrated quality system.
  2. Describe the principles for designing an effective poka-yoke and provide two manufacturing examples.
  3. Explain source inspection and compare it with successive and final inspection.
  4. Discuss the assumptions and limitations of an individuals control chart.
  5. Compare the contributions of Lean, TQM, and Six Sigma to an organization’s quality strategy.

Analytical / Application Questions

  1. A machining cell experiences occasional oversize holes that are discovered only during final assembly. Design a stop-at-source and source-inspection response, including detection, containment, escalation, and permanent corrective action.
  2. A process has all observations within control limits, but its mean is outside the engineering specification. Interpret this situation and recommend actions.
  3. Operators rarely activate an andon system because supervisors criticize lost production time. Analyze the organizational causes and propose technical, managerial, and measurement changes.

Multiple Choice Questions with Answers

Question 1

Which statement best describes jidoka?

A. Producing extra inventory to protect the customer

B. Detecting abnormalities and stopping or signaling so defects are not passed onward

C. Inspecting only finished products before shipment

D. Increasing machine speed after a defect is found

Correct Answer: B. Detecting abnormalities and stopping or signaling so defects are not passed onward

Question 2

What is the primary purpose of an andon system?

A. To hide process interruptions from management

B. To calculate product specifications

C. To make process conditions and requests for assistance visible

D. To replace all operator judgment

Correct Answer: C. To make process conditions and requests for assistance visible

Question 3

Which is the strongest example of prevention-oriented poka-yoke?

A. A final inspector checks the completed assembly

B. A warning poster reminds workers to install a part

C. A keyed fixture permits assembly in only the correct orientation

D. A monthly report lists customer complaints

Correct Answer: C. A keyed fixture permits assembly in only the correct orientation

Question 4

For individuals-chart data, if X̄ = 20 and MR̄ = 0.5, using 2.66MR̄ for the limits, what is the approximate upper control limit?

A. 18.67

B. 19.50

C. 20.50

D. 21.33

Correct Answer: C. 20.50

Question 5

Which statement correctly distinguishes control limits from specification limits?

A. Both are always set by the customer

B. Control limits describe process behavior, while specification limits describe requirements

C. Specification limits are calculated from moving ranges

D. Control limits determine whether a product is legally acceptable in every case

Correct Answer: B. Control limits describe process behavior, while specification limits describe requirements

Question 6

A broken cutting tool causes a sudden increase in measured diameter. This is most likely what type of variation?

A. Common-cause variation

B. Special-cause variation

C. Customer specification variation

D. Sampling neutrality

Correct Answer: B. Special-cause variation

Question 7

What is the principal purpose of source inspection?

A. To check causal conditions before they create defects

B. To increase final inspection paperwork

C. To replace all process standards

D. To classify finished goods by price

Correct Answer: A. To check causal conditions before they create defects

Question 8

Which approach is most specifically associated with Define, Measure, Analyze, Improve, and Control?

A. Six Sigma

B. Andon

C. Poka-yoke

D. Final inspection

Correct Answer: A. Six Sigma

Question 9

Why can recalculating control limits after every unusual observation be harmful?

A. It always reduces the sample size to zero

B. It can hide special causes instead of investigating them

C. It converts specifications into customer requirements

D. It guarantees that the process becomes capable

Correct Answer: B. It can hide special causes instead of investigating them

Question 10

A stable process has a mean outside its specification limits. What is the most appropriate conclusion?

A. The process is statistically stable but does not meet the requirement

B. The process must be perfectly capable

C. The specification limits should automatically be widened

D. No action is needed because all control limits are valid

Correct Answer: A. The process is statistically stable but does not meet the requirement

Lean Manufacturing
Chapter 7 of 15