11.2 Statistical Process Control for Attributes (p, np, c, and u Charts)
Key Takeaways
Attribute data is bifurcated into nonconforming units (defective items governed by the binomial distribution) and nonconformities (defects per unit governed by the Poisson distribution).
The -chart monitors the fraction nonconforming and accommodates either constant or variable sample sizes (), whereas the -chart tracks the absolute count of defective units and strictly requires a constant sample size across all subgroups.
The -chart tracks total defect counts over a strictly constant area of opportunity (), whereas the -chart monitors defect density per unit across variable inspection units ().
Because proportions, counts of defectives, and defect counts cannot be negative, calculated lower control limits that evaluate below zero must be truncated to zero ().
Normal approximation to the binomial and Poisson distributions requires adequate expected counts ( or ); small sample sizes yield severe skewness and asymmetric false alarm rates.
Statistical Process Control for Attributes (, , , and Charts)
Core Principle: Attribute control charts monitor qualitative, count-based, or pass/fail quality characteristics. Attribute SPC is organized according to whether the inspection records nonconforming units (defective products modeled by the binomial distribution) or nonconformities (defects per inspection unit modeled by the Poisson distribution).
In many manufacturing, assembly, and service systems, measuring continuous numerical dimensions is neither practical nor cost-effective. Instead, quality inspectors evaluate parts using "go/no-go" functional gauges, visual optical inspection, or defect counts per assembly. Statistical Process Control for attributes provides the quantitative framework for tracking these discrete metrics. Industrial engineers must select the correct attribute chart based on the mathematical nature of the data and whether the sample inspection size remains constant or varies.
1. Fundamentals of Attribute Data: Defectives vs. Defects
A critical distinction on the PE exam is between nonconforming units (defective items) and nonconformities (defects):
Attribute Data Classification
├── Nonconforming Units (Defective Items)
│ ├── Binary outcome: Conforming (Pass) vs Nonconforming (Fail)
│ ├── Underlying distribution: Binomial Distribution B(n, p)
│ └── Appropriate Control Charts:
│ ├── p-chart: Fraction nonconforming (constant or variable n)
│ └── np-chart: Number nonconforming (strictly constant n)
└── Nonconformities (Defects per Unit)
├── Count of discrete imperfections, flaws, or blemishes per unit
├── Underlying distribution: Poisson Distribution Poisson(lambda)
└── Appropriate Control Charts:
├── c-chart: Total defects across constant area of opportunity (n = 1)
└── u-chart: Defects per inspection unit (constant or variable n_i)
The Binomial Model for Nonconforming Units
When an inspection station evaluates whether a manufactured part meets functional standards, each part represents a Bernoulli trial with two mutually exclusive outcomes: conforming (probability ) or nonconforming (probability ). In a random sample of independent units, the probability of observing exactly nonconforming units is governed by the Binomial Distribution:
For the fraction nonconforming :
The Poisson Model for Nonconformities
A single complex product (e.g., an automobile door panel, a printed circuit board, or an aircraft turbine blade) can satisfy overall functional requirements while exhibiting several discrete blemishes (scratches, pinholes, solder bridges). When the opportunities for defects across a continuous area of opportunity are vast, but the probability of a defect at any specific point is extremely small, defect occurrences follow the Poisson Distribution:
The defining characteristic of the Poisson distribution is that its variance equals its mean ().
2. Fraction Nonconforming () and Number Nonconforming () Charts
The -Chart (Fraction Nonconforming)
The -chart monitors the proportion of nonconforming items in a subgroup. It is the most versatile attribute chart because it accommodates both constant sample sizes and variable sample sizes ().
Given subgroups where subgroup contains inspected units and nonconforming units, the subgroup fraction nonconforming is . The overall weighted process fraction nonconforming is:
Case A: Constant Sample Size ()
When every subgroup contains exactly units, the control limits remain fixed across all intervals:
Case B: Variable Sample Size ( varies)
In high-mix manufacturing or shipping dock receiving inspection, the number of inspected units varies per lot. Control limits must be calculated individually for each subgroup :
Notice that as increases, the standard error decreases, causing the control limits to narrow. Conversely, smaller sample sizes cause the limits to expand. Alternatively, engineers construct a Standardized -Chart where the plotted statistic is the standard normal variate :
The -Chart (Number Nonconforming)
When operators on a shop floor inspect a fixed number of components each hour (e.g., ), plotting fractional percentages (such as or ) can introduce calculation errors. The -chart plots the integer count of nonconforming items () directly.
Important
Strict Operational Requirement: An -chart strictly requires a constant subgroup size across all sampling periods. If sample size varies between lots, an -chart cannot be used; the engineer must use a -chart.
Formulation for the -chart:
Where . Note the mathematical relationship: the limits are simply the -chart limits multiplied through by .
3. Count of Nonconformities () and Nonconformities per Unit () Charts
The -Chart (Total Defects per Constant Unit)
The -chart monitors the total count of nonconformities () observed in a single, strictly constant area of opportunity (). Typical industrial units include:
- Number of weave defects in exactly of composite cloth.
- Number of solder bridge defects on a single complex avionics circuit board.
- Number of surface paint imperfections on an automobile hood.
Given inspection intervals with defect counts :
Because the variance of a Poisson random variable equals its mean (), the Shewhart control limits are:
The -Chart (Nonconformities per Unit)
When the size of the inspection unit varies between samples (e.g., different rolls of fabric with varying yardage, or inspecting variable batch sizes of electronic subassemblies), the raw defect count cannot be compared directly. The -chart tracks the average defect density per inspection unit ():
Where represents the number of inspection units in subgroup , and is the total count of defects observed across those units. The grand average defect density across subgroups is:
Because and , the variance of is . The standard error is .
The control limits for the -chart are:
If the inspection unit size is constant across all subgroups (), the limits simplify to fixed horizontal lines with denominator .
4. Attribute Chart Selection Decision Framework
Selecting the correct control chart is a frequent focus on the PE exam. The decision tree below structures the selection process:
Attribute Chart Selection Flowchart
What is being inspected?
|
+-----------------------+-----------------------+
| |
Nonconforming Units Nonconformities
(Defective Items) (Defect Counts)
| |
Is sample size n Is the area of
strictly constant? opportunity constant?
| |
+---+---+ +---+---+
| | | |
YES NO YES NO
| | | |
np-chart p-chart c-chart u-chart
(or p) (variable limits) (n = 1) (variable n_i)
Comprehensive Attribute Comparison Matrix
| Attribute Chart | Quality Metric Monitored | Sample Size () | Governing Distribution | Center Line () | Control Limit Formula () |
|---|---|---|---|---|---|
| -Chart | Fraction Nonconforming | Constant or Variable () | Binomial | ||
| -Chart | Number Nonconforming | Strictly Constant () | Binomial | ||
| -Chart | Total Defect Count | Strictly Constant Area () | Poisson | ||
| -Chart | Defects per Inspection Unit | Constant or Variable () | Poisson |
5. Lower Control Limit Truncation and Zero-Bound Mechanics
In physical manufacturing systems, the count of defects, count of defective items, and fraction nonconforming have a natural physical boundary at zero (). However, Shewhart formulas calculate symmetrical limits using margins:
When process quality is high (low or low ) or sample size is small, frequently exceeds the center line value, yielding a negative mathematical result ().
Note
The Zero-Truncation Protocol: Whenever the calculated Lower Control Limit is negative, it must be truncated to zero: . Because observed sample values can never fall below zero (), a single point can never trigger an out-of-control alarm below the lower control limit on a zero-truncated chart.
Engineering Implications of
When , the control chart becomes one-sided for single-point violations. An operational breakthrough (e.g., an improved solder flux yielding zero defects) cannot register as a lower limit breach. To detect significant quality improvements on low-defect lines:
- Increase the subgroup size until the calculated is strictly positive ():
- For a -chart:
- For a -chart:
- Apply run rules (e.g., 8 consecutive points below the center line) to confirm statistically significant quality improvements.
6. Comprehensive Worked Numerical Problem: Multi-Chart Comparison
A quality engineer at an automated electronics manufacturing facility monitors surface-mount technology (SMT) assembly on a high-density telecommunications PCB. The engineer evaluates 25 historical production shifts during stable operations. Across these 25 shifts, exactly PCBs were inspected per shift ( boards).
Inspection records reveal:
- A cumulative total of boards were classified as nonconforming (defective) due to failure on automated optical inspection.
- Across all inspected boards, a cumulative total of solder defects (bridging, insufficient wetting, tombstoning) were recorded. Note that some defective boards contained multiple defects.
Task A: Construct the -Chart and -Chart Control Limits
1. Calculate baseline parameters:
2. -Chart Limits:
3. -Chart Limits (since is constant):
Notice that boards.
Task B: Construct the -Chart Limits
Because the engineer is tracking the count of nonconformities (defects) across inspection units of boards per shift, a -chart monitors the average defects per board:
1. Calculate baseline defect rate per board ():
2. -Chart Limits for standard shift ( boards):
Notice that because is small, the lower control limit is strictly positive (). If a shift exhibits an average defect rate below defects/board, it triggers an assignable cause alarm indicating a statistically significant quality improvement!
3. Evaluation of an Unusual Batch: On shift 26, line maintenance reduces production such that only boards are assembled. Inspectors record total defects on these 36 boards. Is Shift 26 in statistical control?
- Observed rate: .
- Revised standard error for :
Since falls well within , Shift 26 remains in statistical control despite the smaller sample size.
7. Common PE Exam Pitfalls for Attribute Charts
- Using an -Chart with Variable Subgroup Sizes: An -chart tracks the count of defectives, which directly scales with sample size. If an exam problem states that lot sizes fluctuate from 80 to 120 units, selecting an -chart is an immediate disqualifier; you must use a -chart.
- Confusing Defect Counts with Defective Unit Counts: A part with 4 solder bridges is 1 defective unit, but contributes 4 defects. Watch the problem statement terminology carefully: "fraction nonconforming" or "defective items" dictates or ; "defects per unit" or "imperfections per roll" dictates or .
- Failing to Truncate Negative Lower Control Limits: When calculations yield , never select an answer option displaying a negative limit. The lower limit for attribute charts is bounded by zero ().
- Forgetting in -Chart Standard Error: The standard deviation of the proportion is . Examinees occasionally forget to divide by inside the radical or erroneously multiply by , confusing with .
An industrial inspection station evaluates printed circuit boards (PCBs) for surface-mount soldering defects. Every hour, inspectors examine a sample of 25 completed boards and record the total number of nonconforming (defective) boards. Across 30 historical sampling intervals during stable production, a total of 120 nonconforming boards were identified. The quality team wishes to implement an -chart to monitor the count of defective boards per sample. What are the center line () and Upper Control Limit () for this -chart?
and
and
and
and
An aerospace composites manufacturer inspects rolls of carbon fiber fabric for surface weave imperfections (nonconformities). Because rolls vary in surface area, inspectors record the total number of imperfections and the total inspected area in square meters for each lot. Across 20 inspected lots totaling , inspectors found a cumulative total of 450 imperfections. For a newly produced roll measuring exactly , what are the Upper Control Limit () and Lower Control Limit () on a -chart?
and
and
and
and
Sections you finish are checked off in the contents.