Σ
SDCalc
ระดับกลางการประยุกต์ใช้·14 min

แผนภูมิควบคุมและการควบคุมกระบวนการ

เชี่ยวชาญการควบคุมกระบวนการทางสถิติ (SPC) ด้วยแผนภูมิควบคุม เรียนรู้การกำหนดขอบเขตควบคุมโดยใช้ส่วนเบี่ยงเบนมาตรฐาน ประยุกต์ใช้กฎ Western Electric และตรวจจับการเบี่ยงเบนของกระบวนการ

การควบคุมกระบวนการทางสถิติ: รากฐานของคุณภาพ

แผนภูมิควบคุม เป็นหัวใจของการควบคุมกระบวนการทางสถิติ (SPC) โดยใช้ส่วนเบี่ยงเบนมาตรฐานเพื่อเฝ้าติดตามความเสถียรของกระบวนการตลอดเวลา พัฒนาโดย Walter Shewhart ที่ Bell Labs ในทศวรรษ 1920 เครื่องมืออันทรงพลังเหล่านี้แยกแยะระหว่างความแปรผันจากสาเหตุทั่วไป (ธรรมชาติของกระบวนการ) กับความแปรผันจากสาเหตุพิเศษ (บ่งชี้ปัญหาที่ต้องแก้ไข)

ความเฉลียวฉลาดของแผนภูมิควบคุมอยู่ที่ความเรียบง่าย: พล็อตค่าที่วัดได้ตามเวลา เพิ่มขอบเขตควบคุมตามส่วนเบี่ยงเบนมาตรฐาน แล้วสังเกตจุดหรือรูปแบบที่ส่งสัญญาณปัญหา การเฝ้าติดตามแบบเรียลไทม์นี้ป้องกันข้อบกพร่องก่อนเกิดขึ้น แทนที่จะจับได้จากการตรวจสอบภายหลัง

อุตสาหกรรมการผลิต สาธารณสุข และบริการสมัยใหม่อาศัยแผนภูมิควบคุมในการรักษาคุณภาพ ตั้งแต่การผลิตเซมิคอนดักเตอร์ที่ต้องการความแม่นยำระดับนาโนเมตร ไปจนถึงอัตราการติดเชื้อในโรงพยาบาล SPC ให้กรอบงานสากลสำหรับการปรับปรุงกระบวนการ

สาเหตุทั่วไป vs สาเหตุพิเศษ

ความแปรผันจากสาเหตุทั่วไปคือความแปรผันตามธรรมชาติที่คาดหวังในกระบวนการใดๆ ความแปรผันจากสาเหตุพิเศษบ่งชี้ว่ามีบางอย่างเปลี่ยนไป เช่น พนักงานใหม่ เครื่องมือสึกหรอ หรือวัตถุดิบปนเปื้อน แผนภูมิควบคุมช่วยคุณแยกแยะระหว่างสองสิ่งนี้

ประเภทของแผนภูมิควบคุม

ข้อมูลประเภทต่างๆ ต้องการแผนภูมิควบคุมที่แตกต่างกัน การเลือกแผนภูมิที่ถูกต้องช่วยให้เฝ้าติดตามกระบวนการได้อย่างแม่นยำ:

ประเภทแผนภูมิชนิดข้อมูลกรณีใช้งาน
X̄-R (X-bar and Range)ต่อเนื่อง กลุ่มย่อย n≤10การวัดในการผลิต
X̄-S (X-bar and Std Dev)ต่อเนื่อง กลุ่มย่อย n>10การสุ่มตัวอย่างล็อตใหญ่
I-MR (Individual-Moving Range)การวัดแต่ละค่าการทดสอบที่แพง/ทำลายตัวอย่าง
p-chartสัดส่วนของเสียการตรวจสอบผ่าน/ไม่ผ่าน
c-chartจำนวนข้อบกพร่องข้อบกพร่องต่อหน่วย

สำหรับข้อมูลต่อเนื่อง (การวัดเช่น ความยาว น้ำหนัก อุณหภูมิ) แผนภูมิ X̄-R เป็นที่นิยมมากที่สุด คุณเก็บกลุ่มย่อยของตัวอย่าง พล็อตค่าเฉลี่ย (X̄) บนแผนภูมิหนึ่งและพิสัย (R) บนอีกแผนภูมิ ทั้งสองร่วมกันเฝ้าติดตามทั้งจุดศูนย์กลางและความแปรผันของกระบวนการ

การคำนวณขอบเขตควบคุม

ขอบเขตควบคุมกำหนดขอบเขตของความแปรผันที่คาดหวัง กำหนดที่ ±3 ส่วนเบี่ยงเบนมาตรฐานจากเส้นกลาง จับ 99.73% ของจุดเมื่อกระบวนการอยู่ในการควบคุม:

ขอบเขตควบคุม

UCL = x̄ + 3σ, CL = x̄, LCL = x̄ - 3σ

สำหรับแผนภูมิ X̄ โดยใช้วิธีพิสัย สูตรจะเป็น:

ขอบเขตแผนภูมิ X-bar

UCL = X̿ + A₂R̄, LCL = X̿ - A₂R̄

โดยที่ X̿ คือค่าเฉลี่ยรวม R̄ คือพิสัยเฉลี่ย และ A₂ คือค่าคงที่ที่ขึ้นกับขนาดกลุ่มย่อย (เช่น A₂ = 0.577 สำหรับ n=5)

ขอบเขตควบคุม ≠ ขอบเขตข้อกำหนด

ขอบเขตควบคุมคำนวณจากข้อมูลของคุณและสะท้อนสิ่งที่กระบวนการทำจริง ขอบเขตข้อกำหนดกำหนดโดยลูกค้า/วิศวกรและสะท้อนสิ่งที่กระบวนการควรทำ กระบวนการสามารถอยู่ในการควบคุมแต่ยังผลิตชิ้นส่วนนอกข้อกำหนดได้

ค่าคงที่ขอบเขตควบคุม

nA₂D₃D₄
21.88003.267
31.02302.574
40.72902.282
50.57702.114

กฎ Western Electric สำหรับตรวจจับปัญหา

จุดเดียวนอกขอบเขตควบคุมไม่ใช่สัญญาณเดียวของปัญหา กฎ Western Electric ตรวจจับรูปแบบที่ละเอียดกว่าโดยแบ่งแผนภูมิเป็นโซนตามส่วนเบี่ยงเบนมาตรฐาน:

  • โซน C:ภายใน 1σ จากเส้นกลาง
  • โซน B:ระหว่าง 1σ ถึง 2σ จากจุดศูนย์กลาง
  • โซน A:ระหว่าง 2σ ถึง 3σ จากจุดศูนย์กลาง

กฎหลักสี่ข้อ

1

กฎที่ 1: จุดเดียว

หนึ่งจุดเกิน 3σ (โซน A หรือเกิน) มีโอกาสเพียง 0.27% ที่จะเกิดตามธรรมชาติ
2

กฎที่ 2: ติดต่อกัน 9 จุด

9 จุดติดต่อกันอยู่ด้านเดียวกันของเส้นกลาง บ่งชี้การเปลี่ยนแปลงค่าเฉลี่ยกระบวนการ
3

กฎที่ 3: แนวโน้ม 6 จุด

6 จุดติดต่อกันที่มีแนวโน้มขึ้นหรือลง บ่งชี้การเบี่ยงเบนของกระบวนการหรือเครื่องมือสึกหรอ
4

กฎที่ 4: รูปแบบโซน

2 ใน 3 จุดติดต่อกันในโซน A หรือเกิน (ด้านเดียวกัน) เป็นสัญญาณเตือนล่วงหน้าของการเปลี่ยนแปลง

การจดจำรูปแบบที่พบบ่อย

ผู้ปฏิบัติงานที่มีประสบการณ์เรียนรู้การจดจำรูปแบบภาพที่บ่งชี้ปัญหาเฉพาะ:

รูปแบบลักษณะสาเหตุที่เป็นไปได้
การเปลี่ยนแปลงระดับเปลี่ยนฉับพลันพนักงานใหม่ ล็อตวัตถุดิบ การปรับอุปกรณ์
แนวโน้มเบี่ยงเบนค่อยเป็นค่อยไปขึ้น/ลงเครื่องมือสึกหรอ อุณหภูมิเปลี่ยน ความเมื่อยล้า
วงจรรูปแบบขึ้น/ลงซ้ำการเปลี่ยนกะ วงจรสิ่งแวดล้อม ตารางหมุนเวียน
เกาะกลุ่มจุดรวมกลุ่มใกล้จุดศูนย์กลางขอบเขตไม่ถูกต้อง ข้อมูลถูกปัดเศษ/แก้ไข
การแบ่งชั้นจุดหลีกเลี่ยงจุดศูนย์กลางกระแสผสม เครื่องจักรหลายตัว

การนำไปใช้ด้วย Python

สร้างแผนภูมิควบคุม X̄-R พร้อมการตรวจสอบกฎอัตโนมัติ:

python
import numpy as np
import matplotlib.pyplot as plt

def create_xbar_chart(data, subgroup_size=5):
    """Create X-bar control chart with control limits."""
    # Reshape data into subgroups
    n_subgroups = len(data) // subgroup_size
    subgroups = data[:n_subgroups * subgroup_size].reshape(n_subgroups, subgroup_size)

    # Calculate subgroup means and ranges
    xbar = subgroups.mean(axis=1)
    R = subgroups.max(axis=1) - subgroups.min(axis=1)

    # Control chart constants (for n=5)
    A2 = 0.577
    D3, D4 = 0, 2.114

    # Calculate control limits
    xbar_bar = xbar.mean()
    R_bar = R.mean()

    UCL = xbar_bar + A2 * R_bar
    LCL = xbar_bar - A2 * R_bar

    # Check for out-of-control points
    ooc = (xbar > UCL) | (xbar < LCL)

    # Plot
    plt.figure(figsize=(12, 5))
    plt.plot(xbar, 'b-o', markersize=4)
    plt.axhline(xbar_bar, color='g', linestyle='-', label='CL')
    plt.axhline(UCL, color='r', linestyle='--', label='UCL')
    plt.axhline(LCL, color='r', linestyle='--', label='LCL')
    plt.scatter(np.where(ooc)[0], xbar[ooc], color='red', s=100, zorder=5)
    plt.xlabel('Subgroup')
    plt.ylabel('X-bar')
    plt.title('X-bar Control Chart')
    plt.legend()
    plt.show()

    return {'xbar': xbar, 'UCL': UCL, 'LCL': LCL, 'ooc': ooc}

# Example: Monitor a manufacturing process
np.random.seed(42)
# Simulate 100 measurements (20 subgroups of 5)
measurements = np.random.normal(100, 2, 100)
# Add a shift at subgroup 15
measurements[75:] += 3

result = create_xbar_chart(measurements)

Further Reading

How to Read This Article

A statistics tutorial is a practical interpretation guide, not just a formula dump. It refers to the assumptions, notation, and reporting language that analysts need when they explain a result to a teacher, manager, client, or reviewer. The article body covers the specific topic, while the sections below create a common interpretation frame that readers can reuse across related metrics.

Reading goalWhat to focus onCommon mistake
DefinitionWhat the metric is and what quantity it summarizesTreating the formula as self-explanatory
Formula choiceSample versus population assumptions and notationUsing n when n-1 is required or vice versa
InterpretationWhether the result indicates concentration, spread, or riskCalling a large value good or bad without context

Frequently Asked Questions

How should I interpret a high standard deviation?

A high standard deviation means the observations are spread farther from the mean on average. Whether that spread is acceptable depends on the context: wide dispersion might signal risk in finance, instability in manufacturing, or genuine natural variation in scientific data.

Why do some articles mention n while others mention n-1?

The denominator reflects the difference between population and sample formulas. Population variance and population standard deviation use N because the full dataset is known. Sample variance and sample standard deviation often use n-1 because Bessel’s correction reduces bias when estimating population spread from a sample.

What is a statistical interpretation guide?

A statistical interpretation guide is a page that moves beyond arithmetic and explains meaning. It tells you what a metric is, when the formula applies, and how to describe the result in plain English without overstating certainty.

Can I cite this article in a report?

You should cite the underlying authoritative reference for formal work whenever possible. This page is best used as an explanatory bridge that helps you understand the concept before quoting the original standard or handbook.

Why include direct citations on every article page?

Direct citations give readers a route to verify the definition, notation, and assumptions. That improves trust and reduces the chance that a simplified explanation is mistaken for the entire technical standard.

Authoritative References

These sources define the concepts referenced most often across our articles. Bessel's correction is a sample adjustment, variance is a squared measure of spread, and standard deviation is the square root of variance expressed in the same units as the data.