Σ
SDCalc
בינונייםApplications·14 min

תרשימי בקרה ובקרת תהליכים

שליטה בבקרת תהליכים סטטיסטית (SPC) באמצעות תרשימי בקרה. למדו להגדיר גבולות בקרה באמצעות סטיית תקן, ליישם כללי ווסטרן אלקטריק ולזהות סחף בתהליך.

בקרת תהליכים סטטיסטית: הבסיס לאיכות

תרשימי בקרה הם אבן הפינה של בקרת תהליכים סטטיסטית (SPC), המשתמשים בסטיית תקן כדי לנטר את יציבות התהליך לאורך זמן. פותחו על ידי וולטר שוהארט במעבדות בל בשנות ה-20, כלים רבי עוצמה אלה מבדילים בין שונות מסיבה שגרתית (טבועה בתהליך) לבין שונות מסיבה מיוחדת (המצביעה על בעיות הדורשות טיפול).

הגאונות של תרשימי בקרה טמונה בפשטותם: סרטטו את המדידות שלכם לאורך זמן, הוסיפו גבולות בקרה המבוססים על סטיית תקן, ועקבו אחר נקודות או דפוסים המסמנים בעיה. ניטור בזמן אמת זה מונע פגמים לפני שהם מתרחשים, במקום לתפוס אותם באמצעות בדיקה בדיעבד.

ייצור מודרני, שירותי בריאות ותעשיות שירות מסתמכים על תרשימי בקרה לשמירה על איכות. מייצור מוליכים למחצה הדורש דיוק בסקאלת ננומטר ועד לשיעורי זיהום בבתי חולים, SPC מספקת מסגרת אוניברסלית לשיפור תהליכים.

סיבה שגרתית לעומת סיבה מיוחדת

שונות מסיבה שגרתית היא השתנות טבעית וצפויה בכל תהליך. שונות מסיבה מיוחדת מצביעה על שינוי — מפעיל חדש, כלי שחוק או חומר מזוהם. תרשימי בקרה עוזרים להבחין בין השניים.

סוגי תרשימי בקרה

סוגי נתונים שונים דורשים תרשימי בקרה שונים. בחירת התרשים הנכון מבטיחה ניטור מדויק של התהליך:

סוג תרשיםסוג נתוניםשימוש
X̄-R (ממוצע וטווח)רציפים, תת-קבוצות n≤10מדידות ייצור
X̄-S (ממוצע וסט“ת)רציפים, תת-קבוצות n>10דגימות אצוות גדולות
I-MR (פרטני-טווח נע)מדידות בודדותבדיקות יקרות/הרסניות
תרשים pשיעור פגומיםבדיקת עובר/נכשל
תרשים cספירת פגמיםפגמים ליחידה

לנתונים רציפים (מדידות כמו אורך, משקל, טמפרטורה), תרשים X̄-R הוא הנפוץ ביותר. אוספים תת-קבוצות של דגימות, מסרטטים את הממוצע (X̄) על תרשים אחד ואת הטווח (R) על תרשים אחר. יחד, הם מנטרים הן את מיקום התהליך והן את השונות שלו.

חישוב גבולות בקרה

גבולות הבקרה מגדירים את תחום השונות הצפויה. הם מוגדרים ב-±3 סטיות תקן מקו המרכז, ולוכדים 99.73% מהנקודות כאשר התהליך תחת שליטה:

Control Limits

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

לתרשים X̄ בשיטת הטווח, הנוסחאות הן:

X-bar Chart Limits

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

כללי ווסטרן אלקטריק לזיהוי בעיות

נקודה בודדת מחוץ לגבולות הבקרה אינה האות היחיד לבעיה. כללי ווסטרן אלקטריק מזהים דפוסים עדינים יותר על ידי חלוקת התרשים לאזורים המבוססים על סטיות תקן:

  • אזור 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.