Σ
SDCalc
중급응용·14 min

관리도와 공정 관리

관리도를 활용한 통계적 공정 관리(SPC)를 마스터하세요. 표준편차로 관리 한계를 설정하고, 웨스턴 일렉트릭 규칙을 적용하며, 공정 이탈을 감지하는 방법을 배워봅니다.

통계적 공정 관리: 품질의 기초

관리도는 표준편차를 사용하여 시간에 따른 공정 안정성을 모니터링하는 통계적 공정 관리(SPC)의 핵심 도구입니다. 1920년대 벨 연구소의 월터 슈하트가 개발한 이 강력한 도구는 일반 원인 변동(공정에 내재된)과 특수 원인 변동(주의가 필요한 문제를 나타내는)을 구별합니다.

관리도의 장점은 단순함에 있습니다: 측정값을 시간 순서로 점으로 찍고, 표준편차 기반의 관리 한계를 추가한 뒤, 문제를 시사하는 점이나 패턴을 관찰합니다. 이 실시간 모니터링은 사후 검사가 아닌 결함 발생 전에 예방합니다.

현대의 제조업, 의료, 서비스 산업은 품질 유지를 위해 관리도에 의존합니다. 나노미터 정밀도가 필요한 반도체 제조부터 병원 감염률까지, SPC는 공정 개선을 위한 보편적 프레임워크를 제공합니다.

일반 원인 vs 특수 원인

일반 원인 변동은 모든 공정에 존재하는 자연적이고 예상되는 변동성입니다. 특수 원인 변동은 무언가가 변했다는 신호입니다—새 작업자, 마모된 도구, 오염된 재료 등. 관리도는 이 둘을 구별하도록 도와줍니다.

관리도의 유형

데이터 유형에 따라 다른 관리도가 필요합니다. 올바른 차트를 선택해야 정확한 공정 모니터링이 가능합니다:

차트 유형데이터 유형사용 사례
X̄-R (X-bar와 범위)연속형, 부분군 n≤10제조 측정
X̄-S (X-bar와 표준편차)연속형, 부분군 n>10대규모 배치 샘플링
I-MR (개별값-이동범위)개별 측정값고비용/파괴 검사
p-차트불량률합격/불합격 검사
c-차트결함 수단위당 결함

연속형 데이터(길이, 무게, 온도 등의 측정)에서는 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₂는 부분군 크기에 따른 상수입니다(예: n=5일 때 A₂ = 0.577).

관리 한계 ≠ 규격 한계

관리 한계는 데이터에서 계산되며 공정이 실제로 하는 것을 반영합니다. 규격 한계는 고객/엔지니어가 설정하며 공정이 해야 하는 것을 반영합니다. 공정이 관리 상태이면서도 규격 밖의 부품을 생산할 수 있습니다.

관리 한계 상수

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 구역 또는 그 너머)의 점 1개. 자연적으로 발생할 확률은 0.27%에 불과합니다.
2

규칙 2: 9연속

중심선의 같은 쪽에 연속 9개 점. 공정 평균의 이동을 나타냅니다.
3

규칙 3: 6연속 추세

연속 6개 점이 상승 또는 하강 추세. 공정 표류나 도구 마모를 시사합니다.
4

규칙 4: 구역 패턴

연속 3개 점 중 2개가 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.