Accendo Reliability

Your Reliability Engineering Professional Development Site

  • Home
  • About
    • Contributors
    • About Us
    • Colophon
    • Survey
  • Reliability.fm
  • Articles
    • CRE Preparation Notes
    • NoMTBF
    • on Leadership & Career
      • Advanced Engineering Culture
      • ASQR&R
      • Engineering Leadership
      • Managing in the 2000s
      • Product Development and Process Improvement
    • on Maintenance Reliability
      • Aasan Asset Management
      • AI & Predictive Maintenance
      • Asset Management in the Mining Industry
      • CMMS and Maintenance Management
      • CMMS and Reliability
      • Conscious Asset
      • EAM & CMMS
      • Everyday RCM
      • History of Maintenance Management
      • Life Cycle Asset Management
      • Maintenance and Reliability
      • Maintenance Management
      • Plant Maintenance
      • Process Plant Reliability Engineering
      • RCM Blitz®
      • ReliabilityXperience
      • Rob’s Reliability Project
      • The Intelligent Transformer Blog
      • The People Side of Maintenance
      • The Reliability Mindset
    • on Product Reliability
      • Accelerated Reliability
      • Achieving the Benefits of Reliability
      • Apex Ridge
      • Field Reliability Data Analysis
      • Metals Engineering and Product Reliability
      • Musings on Reliability and Maintenance Topics
      • Product Validation
      • Reliability by Design
      • Reliability Competence
      • Reliability Engineering Insights
      • Reliability in Emerging Technology
      • Reliability Knowledge
    • on Risk & Safety
      • CERM® Risk Insights
      • Equipment Risk and Reliability in Downhole Applications
      • Operational Risk Process Safety
    • on Systems Thinking
      • Communicating with FINESSE
      • The RCA
    • on Tools & Techniques
      • Big Data & Analytics
      • Experimental Design for NPD
      • Innovative Thinking in Reliability and Durability
      • Inside and Beyond HALT
      • Inside FMEA
      • Institute of Quality & Reliability
      • Integral Concepts
      • Learning from Failures
      • Progress in Field Reliability?
      • R for Engineering
      • Reliability Engineering Using Python
      • Reliability Reflections
      • Statistical Methods for Failure-Time Data
      • Testing 1 2 3
      • The Manufacturing Academy
  • eBooks
  • Resources
    • Accendo Authors
    • FMEA Resources
    • Glossary
    • Feed Forward Publications
    • Openings
    • Books
    • Webinar Sources
    • Podcasts
  • Courses
    • Your Courses
    • Live Courses
      • Introduction to Reliability Engineering & Accelerated Testings Course Landing Page
      • Advanced Accelerated Testing Course Landing Page
    • Integral Concepts Courses
      • Reliability Analysis Methods Course Landing Page
      • Applied Reliability Analysis Course Landing Page
      • Statistics, Hypothesis Testing, & Regression Modeling Course Landing Page
      • Measurement System Assessment Course Landing Page
      • SPC & Process Capability Course Landing Page
      • Design of Experiments Course Landing Page
    • The Manufacturing Academy Courses
      • An Introduction to Reliability Engineering
      • Reliability Engineering Statistics
      • An Introduction to Quality Engineering
      • Quality Engineering Statistics
      • FMEA in Practice
      • Process Capability Analysis course
      • Root Cause Analysis and the 8D Corrective Action Process course
      • Return on Investment online course
    • Industrial Metallurgist Courses
    • FMEA courses Powered by The Luminous Group
    • Foundations of RCM online course
    • Reliability Engineering for Heavy Industry
    • How to be an Online Student
    • Quondam Courses
  • Calendar
    • Call for Papers Listing
    • Upcoming Webinars
    • Webinar Calendar
  • Login
    • Member Home
  • Barringer Process Reliability Introduction Course Landing Page
  • Upcoming Live Events
You are here: Home / Articles / Determining the Subgroup Size and Frequency on a Control Chart

by Ray Harkins 1 Comment

Determining the Subgroup Size and Frequency on a Control Chart

Determining the Subgroup Size and Frequency on a Control Chart

Anyone who knows me knows I love hearing from the students who take my online classes. One reason is that they ask the most challenging questions. Here’s a recent question from a student taking my “Process Capability Analysis” class:

“In case of time-based sampling, on what basis we decide the sample size and also what is the criteria behind deciding the sampling interval?

“I am a Process Development Scientist for a Pharmaceutical manufacturing Company. Compression of 0.5 million tablets from powder takes around 10 hours to complete. So, to ensure that all my tablets weight is with the specification limits and to study the process capability, I perform stratified sampling. What factors are to be considered while selecting the sample size (number of tablets to be checked for weight) and the interval (total number of sampling points throughout the manufacturing)?”

Answer:

Excellent questions. Let’s start with the subgroup size. If the subgroup is too large, your chart may be “hyper sensitive”, identifying conditions as out-of-control, when in fact, they are not. This is called a Type I error (aka “Alpha”), analogous to convicting an innocent person. In process control, an excessively large sample size could result in over adjusting an in-control process.

If the subgroup is too small, your chart may lack the sensitivity to identify significant process shifts, increasing the probability of a Type II (aka “Beta”) error. This is analogous to acquitting a criminal, and in the context of process control, may lead to validating an out-of-control process.

And these errors are joined at the hip … as alpha goes up, beta goes down, and vice versa. The trick therefore, is to find a happy medium.

For most applications, engineers go with standard subgroup sizes like 3, 5 or 7. In his classic reference titled  “Quality Engineering Handbook”, Thomas Pyzdek recommends a maximum subgroup size of 9 for X-bar and R charts.

For most applications, the standard subgroup sizes provide an adequate snapshot of your process. Working in pharmaceutical though, rules of thumb may not be good enough. But it would seem to me that some oversight body in your industry has worked through the issues and published it for everyone to use. Nonetheless, in order to calculate the optimum sample size, you need to know the acceptable limits on your alpha and beta errors, and have a sense of the magnitude of shift you’re trying to detect.

The formula for subgroup size, n is:

$$ \displaystyle n=\frac{\left(\frac{Z_{alpha}}{2}+Z_{beta}\right)^{2}\sigma^{2}}{D^{2}}$$

where D is the size of the process shift that bears significance in your application. Maybe it’s 1/5 of your process range. Maybe 1/10. It has to be larger than the low end of what your measurement system can discriminate, but not so small that it’s insignificant. Zalpha/2 and Zbeta are found using the Z score tables once you determine your maximum acceptable limits of the Type I and II errors.

In applications where the control limits are set by estimating +/- 3 standard deviations from the mean, the alpha error is usually set at a corresponding .0027, resulting in an alpha/2 of .00135. You can see this connection by consulting a Z-score table.

Regarding the sampling interval, I think you’ll find the concept of “rational subgroups” helpful in deciding how to proceed.

Manufacturing pills, like most other processes, has a variety of raw material, process and tooling variables that change over time and strokes of your machine. Maybe you know that the die used to press the pill is expected to last about 10,000 shots, after which, you need to shut down and change the die. If you’re sampling interval is too long, you’re more likely to miss the point at which the die is worn out, and end up with a bunch of defective pills.

If your sampling interval is too short, then the cost of sampling increases with little benefit to show for it. An excessively short sampling interval matters most in destructive testing or with a measurement system that requires hands-on intervention by an operator. With an automated measurement system in a nondestructive test, there may be no cost implications to over-sampling.

Once you determine the sampling interval required to “sneak up” on your wearing die tool and other process variables, you set your sampling interval accordingly. You may decide that weighing a sub-group of pills after every 1,000 pills produced gives the machine operator an adequate opportunity to make adjustments and tool changes with little risk of unknowingly running an out-of-control process.

In high-speed operations with complex measurements, the time required to perform the measurements sometimes drives the sampling interval. If it takes 10 minutes to perform the inspection, then a minimum number of parts will have been produced prior to drawing the next subgroup.

Before setting your interval though, you need to understand how at least all your major process variables move over time. Ambient conditions (day to night), temperature cycles, material cycles, etc. all cause the output characteristics (like weight in your case) to vary. Understanding these cycles in your process will help you set the appropriate sampling interval. And like anything new, you can err to the side of caution, and open up the interval later.

[display_form id=362]

Filed Under: Articles, on Tools & Techniques, The Manufacturing Academy

About Ray Harkins

Ray Harkins is a senior manufacturing professional with over 25 years of experience in manufacturing engineering, quality management, and business analysis.

During his career, he has toured hundreds of manufacturing facilities and worked with leading industry professionals throughout North America and Japan.

« I’m Not Perfect & It’s Okay
Myth Busting 1: Maintenance is Asset Management »

Comments

  1. Elijah says

    December 4, 2022 at 11:48 AM

    Good

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Logo for The Manufacturing Acadamey headshot of RayArticle by Ray Harkins
in the The Manufacturing Academy article series

Join Accendo

Receive information and updates about articles and many other resources offered by Accendo Reliability by becoming a member.

It’s free and only takes a minute.

Join Today

Recent Posts

  • Gremlins today
  • The Power of Vision in Leadership and Organizational Success
  • 3 Types of MTBF Stories
  • ALT: An in Depth Description
  • Project Email Economics

© 2025 FMS Reliability · Privacy Policy · Terms of Service · Cookies Policy