Advancing QE Skills | How to Properly Divide Inspection Lots — Four Constituent Elements, Batch Size and Time Limits, and the 78.7% Failure Rate After Mixing Lots

By: QTank Published: 12/2/2026 Views: 14
Current rating: ★★★☆☆ Rate this Equivalent to 8 ratings

A company's IQC conducts a sampling inspection of a standard part according to AQL 1.0. A shipment of 10,000 pieces arrives, sourced from three suppliers and produced over three weeks. The warehouse, finding it cumbersome to handle separate batches, combines them into one lot with a single batch number and one inspection report. They inspect 200 pieces, with an acceptance number of 5, and the lot is deemed acceptable, thus entering inventory.

Three months later, the assembly line reports that the defects are concentrated in the parts from one supplier—approximately 20% of the 1,000 pieces from that supplier are defective, resulting in a 2% defect rate for the entire lot. The quality manager reviews the inspection records but finds no execution errors to blame: the sampling was random, the judgment was correct, and the records are complete. The mistake lies in an earlier step—these 10,000 pieces should not have been considered a single batch.

In sampling inspection, a "batch" is not a management unit but a statistical premise. All tables in GB/T 2828.1, the acceptance probability of AQL, and the transfer rules for normal, tightened, and reduced inspection are based on the assumption that "units within a batch are produced under basically identical conditions and the quality within the batch is roughly uniform." When this premise is not met, a larger sample size merely measures the average, which can obscure the segment that should have been isolated.

1. When Does a "Batch" Qualify

The starting point for judgment is not the batch size but whether these four elements are consistent.

Constituent Element Must Be Consistent Allowed Variations What to Do If Inconsistent
Design and Version Drawing number, version, material grade None Split batches and inspect separately
Production Conditions Supplier (or in-house process route), equipment, mold/cavity Consistency must be verified for different production lines of the same supplier Split batches by supplier and production line
Process Parameters Key parameter set values, program number Normal drift within control limits Restart the batch after parameter adjustment
Production Time Within one shift and no more than 24 hours Continuation allowed if no material change or machine adjustment during shift change Start a new batch if the time limit is exceeded or if it spans shifts

Only when all four elements are consistent can we say, "the quality level of this batch is p." If any of these elements are combined, the sample represents not a single p but a weighted average of several p values.

Scenarios Where Sampling Should Not Be Used to Judge the Entire Batch:

  • Single-piece or project-type production. For a single piece of equipment, a single mold, or a single sample, there is no "batch" to infer. Direct full inspection is required when N ≤ 50, and the inspection conclusion is the product conclusion.
  • Continuous processes. Liquids, bulk materials, rolls, and powders do not have distinct "unit" boundaries. Batches are defined by tanks, reactors, time windows, and sampling is done proportionally over time rather than randomly by unit.
  • Processes already controlled by SPC with sufficient capability. Sampling at this point only serves for periodic verification (e.g., one batch out of every 10 batches using a tightened scheme) and should not be used for batch-by-batch judgment. Mixing these two tasks can lead to repeated "leniency" in sampling schemes.
  • Safety characteristics, regulatory characteristics, and customer-specified special characteristics. These should undergo full inspection with poka-yoke and not enter the sampling channel.
  • In-batch non-uniformity has been confirmed. When multiple machines, molds, or workstations are used in parallel, split the batch by machine/mold first; otherwise, any sampling scheme will only average out the differences.

The main actors in this scenario are the IQC engineer, process QE, and supplier quality engineer. The warehouse is concerned with "one truck, one batch for easier accounting," and the purchasing department is concerned with "entire batch delivery for easier settlement." Both of these concerns push for larger batches, so the rules for batch division must be documented by the quality department, not left to warehouse practices.

2. Criteria and Thresholds

2.1 Time Limit: One Shift and No More Than 24 Hours

The production time for a batch is the smaller of "one shift" or "24 hours." The primary sources of in-batch variation are not equipment precision but changes in personnel, materials, and parameter adjustments, which typically occur on a shift basis.

For time-sensitive products, different rules apply: adhesives, coatings, and rubber compounds are defined by their process validity period or scorch time, usually 4 to 8 hours; heat treatment, painting, and cleaning lines are defined by furnace or tank cycles; and environment-sensitive products (humidity, cleanliness) start a new batch immediately when environmental parameters exceed limits.

2.2 Batch Size Limit: One Process Cycle and No More Than Shift Production

The upper limit for batch size is not "how much the warehouse can store at once" but "how much is produced in one process cycle": per reactor, per furnace, per pallet, per mold, per roll. When multiple machines are used in parallel, split by machine, not by order.

There is a hard line for the lower limit of batch size: N ≤ 50 requires full inspection. When the batch size is small enough that the sample size represents more than 10% of the batch (n/N > 10%), the binomial approximation becomes too lenient, and the OC calculation must be replaced with a hypergeometric distribution. For example, with N=1000, n=200, and an acceptance number of 2, the binomial distribution gives an acceptance probability of 5.9%, while the hypergeometric distribution gives 4.2%—a difference of 1.7 percentage points, which can change the conclusion in a "concession acceptance" meeting.

2.3 Batch Size and Discriminatory Power: Batch Size Increases Tenfold, but Discriminatory Power Only Slightly

The actual effects of a sampling plan (general inspection level II, AQL 1.0, normal single sampling) as batch size changes:

Batch Size N Code Letter Sample Size n Acceptance Number Ac Batch Defect Rate 1% 2% 3% 5% Sampling Rate
1201~3200 K 125 3 96.3% 75.9% 48.1% 12.4% 4.17%
3201~10000 L 200 5 98.4% 78.7% 44.3% 6.2% 2.50%
10001~35000 M 315 7 98.5% 70.3% 27.0% 1.0% 1.05%
35001~150000 N 500 10 98.7% 58.3% 11.5% 0.0% 0.50%

(Reception probabilities are shown in the table. When the batch size increases from 3,000 to 100,000, about 33 times, the sample size only increases from 125 to 500, 4 times; the interception rate for a 3% defective batch increases from 52% to 88%, at the cost of quadrupling the inspection quantity and reducing the sampling rate to one-eighth of the original.)

Two conclusions:

  • Increasing batch size saves "proportion," not "quantity." The inspection quantity increases from 125 to 500, which is an absolute increase in workload. Using "large batch size, low sampling rate" to justify less inspection is confusing proportion with workload.
  • Increasing batch size does not equate to stricter judgment. The leverage for discriminatory power lies in sample size and acceptance number, with batch size indirectly affecting n through the code letter. What truly determines whether a 3% defective batch can be intercepted is where the AQL is set and which inspection level is chosen.

2.4 Three-point Verification for In-batch Uniformity

At the start of a batch, take the first, middle, and last pieces (or one piece at each of three time points), measure the same key characteristic, and calculate the range R₃. The expected value of the three-point range is 1.693σ (where σ is the standard deviation of the characteristic's established baseline, calculated from the R̄/d₂ of the most recent 25 subgroups).

Criterion: If R₃ > 4σ, the batch is deemed non-uniform and must be split or the time period shortened. Under pure random variation, this threshold has a false alarm rate of about 1.3%, which is acceptable in engineering; if the threshold is set at 3σ, the false alarm rate rises to 8.6%, leading to daily batch splits and eventually bypassing the rules.

The three-point verification can only catch "monotonic drift" and "initial good, later bad" scenarios. It cannot detect random clustering within a batch (e.g., a small batch of wrong material mixed in mid-process)—this requires material input records and batch number traceability, not just measuring three points.

2.5 Dilution Arithmetic of Mixed Batches: A 78.7% Bad Batch Can Still Be Accepted

Let's break down the initial truckload into numbers: N=10,000, with 1,000 pieces having a 20% defect rate and the remaining 9,000 pieces having zero defects, resulting in an average defect rate of 2% for the entire batch. Inspected according to AQL 1.0, n=200, Ac=5:

Inspection Method Judgment Object Acceptance Probability of the Defective Segment Expected Defective Outflow
Mixed into one batch for judgment Average defect rate of the entire batch 2% 78.7% Approximately 157 pieces
Inspect the sub-batch separately (n=200, Ac=5) Sub-batch defect rate 20% Approximately 10⁻¹³ Virtually zero
Stratify by sub-batch, each sub-batch n=20, Ac=0 Each sub-batch — Sub-batch detection probability 98.8%
Stratify by sub-batch, each sub-batch n=20, Ac=3 Each sub-batch — Sub-batch detection probability 58.9%

With the same inspection quantity of 200 pieces, mixing into one batch for judgment has nearly an 80% probability of releasing a sub-batch with a 20% defect rate; stratifying by sub-batch and using Ac=0 results in a detection rate of 98.8%. The difference lies not in the sample size but in whether the "judgment unit" and "batch" align.

This is why a "fixed sample size" system (where many companies switch to a fixed n when incoming batch sizes fluctuate) must have a prerequisite: the batch itself must be uniform. If the batch is non-uniform, a fixed n sample will be a mixture, and even the most standard scheme will be ineffective.

3. Executable Steps

Step 1: Write a one-page "Batch Division Rules." The content should include the four elements table, time limits, batch size limits, and a list of batch triggers, all of which should be documented and referenced in the SIP. The rules must be issued by the quality department, not left to warehouse practices.

Step 2: Define the Batch Trigger List (10 items, any one triggers a new batch). Change of supplier or receiving batch; change of material (including different batches of the same material number); change of mold, tool, or grinding wheel; adjustment of key process parameters; downtime exceeding 30 minutes (for heat processing, painting, and continuous flow); shift change; rework or repair; equipment maintenance; environmental parameters exceeding limits (temperature, humidity, cleanliness, static electricity); return of customer-rejected or concession-accepted items.

Step 3: Batch Number Coding and Record Fields. Use an 8 to 12-digit code: 6 digits for date + 2 digits for line + 1 digit for shift + 3 digits for the sequence of the day. Each batch must record at least 12 items: batch number, material number and version, supplier and incoming batch number, quantity, equipment and mold/cavity number, shift, start and end times, actual measurements of the first, middle, and last pieces, complete sampling plan (standard, level, AQL, n, Ac/Re), judgment, disposition, and inspector. Missing any item makes it impossible to prove "this is a batch" after the fact.

Step 4: Verify Uniformity Before Inspection. If the three-point range exceeds 4σ, split the batch; if splitting is not possible (already packaged or mixed), downgrade the entire batch to "pending" and resample by sub-batch. Do not accept "release and observe later."

Step 5: Handling and Annual Review of Mixed Batches. When mixed batches are detected, isolate them first, rejudge by sub-batch, and then trace the cause—SCARs issued in a mixed batch state cannot identify the supplier, and there is no basis for claims. The annual review should look at three numbers: the batch split rate (high indicates unstable processes or overly detailed rules), the dispersion of sub-batch defect rates within batches (high indicates overly coarse batch division), and the success rate of SCAR cause tracing (below 70% indicates a broken batch number traceability chain).

4. Counterexamples and Misconceptions

Misconception 1: Using Daily Production as a Batch. A 24-hour period typically spans two to three shifts, and parameter drift, material changes, and personnel changes during the night shift are all averaged out. This is the most common misconception and often has a legitimate reason: "convenient for daily reporting."

Misconception 2: Mixing Lots from Different Suppliers with the Same Material Number. Identical material numbers do not mean identical processes. After mixing, defects cannot be attributed to a specific supplier, and the basis for supplier performance scores and claims is lost.

Misconception 3: Mixing Returned, Reworked, or Concession-Accepted Items Back into the Inspection Area. The quality level of these items differs by an order of magnitude from normal production. Once mixed, the p value for the entire batch becomes meaningless. The inspection area must be divided by status, with reworked items starting and being judged separately.

Misconception 4: Selecting "Visibly Good" Pieces for Inspection. Picking the last piece first or inspecting the appearance before sampling turns a random sample into a convenience sample. When sampling tags specify positions (e.g., the 3rd, 17th, and 31st pieces of each pallet), follow the tags, not the feel.

Misconception 5: Recording Only the Date, Not the Batch Number. When problems arise, the entire warehouse must be sealed—sealing ranges based on "date" can result in losses several times greater than necessary, and there is no traceability evidence for customer audits.

Misconception 6: Assuming Larger Batch Sizes Are Stricter or More Cost-Effective. The data in Section 2.3 supports neither: increasing batch size only slightly increases discriminatory power, while the inspection quantity actually increases. The true cost-saving path is to divide batches to the "just uniform" granularity, not to infinitely expand them.

Misconception 7: The Finer the Batch Division, the Better. The finer the granularity, the more linearly the inspection quantity increases: monthly production of 60,000 pieces, 1,250 batches per month (2.1%), 30 batches per day totaling 3,750 pieces (6.3%), 60 batches per shift totaling 4,800 pieces (8.0%), and 240 batches every two hours totaling 7,680 pieces (12.8%). The benefit of finer division is traceability precision, but the cost is increased inspection quantity and batch management documentation. This should be priced according to product risk, not uniformly the finest.

5. Self-Check List

  • Are the batch division rules documented, controlled, and issued by the quality department, and referenced in the SIP?
  • Are the four elements (design version, production conditions, process parameters, production time) clearly defined for "must be consistent" and "allowed variations"?
  • Are the time limit and batch size limit specified with concrete numbers (shift/24 hours/process cycle production) rather than "depending on the situation"?
  • Are the ten batch triggers included in the system or inspection report, and do they automatically generate new batch numbers when triggered?
  • Does each batch record include the actual measurements of the first, middle, and last pieces and the complete sampling plan (standard, level, AQL, n, Ac/Re)?
  • Is the rule for "isolation and rejudgment" specified when mixed batches or uniformity verification fails, rather than "release and observe later"?

If the batch is not valid, even the most standard sampling plan only measures the average.

Knowledge code: 6.2.2

Version: v20261202

Author: QTank QTank is dedicated to providing systematic professional knowledge, methodologies, and practical tools for quality management practitioners, helping companies continuously improve their quality capabilities.