
คู่มือ GUM: วิธีคำนวณค่าความไม่แน่นอนของการวัดสำหรับนักสอบเทียบ
ค่าความไม่แน่นอนของการวัดคืออะไร?
ทุกการวัดมีความไม่แน่นอน (uncertainty) อยู่เสมอ ไม่ว่าเครื่องมือจะแม่นยำแค่ไหน ค่าความไม่แน่นอนของการวัด (Measurement Uncertainty) คือพารามิเตอร์ที่บ่งบอกช่วงของค่าที่สามารถนำมาแทนผลการวัดนั้นได้อย่างสมเหตุสมผล
ใน ISO/IEC 17025 §7.6 กำหนดชัดเจนว่าห้องปฏิบัติการสอบเทียบต้องรายงาน uncertainty พร้อมกับผลการวัดทุกครั้ง วิธีมาตรฐานสากลที่ใช้คำนวณคือ GUM (Guide to the Expression of Uncertainty in Measurement) จัดทำโดย JCGM (Joint Committee for Guides in Metrology)
โครงสร้างของ GUM — 4 ขั้นตอนหลัก
ขั้นที่ 1: กำหนด measurand และ measurement model
ก่อนคำนวณ uncertainty ต้องเข้าใจก่อนว่าคุณวัดอะไรและวัดอย่างไร เขียน mathematical model ที่แสดงความสัมพันธ์ระหว่าง measurand (Y) กับ input quantities (X₁, X₂, ..., Xₙ):
Y = f(X₁, X₂, ..., Xₙ)
เช่น สำหรับการสอบเทียบ temperature sensor ด้วย reference thermometer:
ΔT = T_UUT − T_ref
โดย ΔT คือ error ของเครื่องมือที่ทดสอบ, T_UUT คืออ่านค่าจากเครื่องมือที่ทดสอบ, T_ref คืออ่านค่าจาก reference thermometer
ขั้นที่ 2: ระบุและประเมิน uncertainty components (Type A และ Type B)
Uncertainty components แบ่งออกเป็นสองประเภทตามวิธีการประเมิน (ไม่ใช่แหล่งที่มา):
- Type A: ประเมินด้วยวิธีทางสถิติจากชุดข้อมูลการวัดซ้ำ เช่น standard deviation of the mean จากการวัด n ครั้ง: u_A = s / √n
- Type B: ประเมินด้วยวิธีอื่น เช่น จากใบรับรองสอบเทียบของเครื่องมือ, datasheet ผู้ผลิต, หรือจาก scientific judgment ส่วนใหญ่ใช้ distribution สมมติ (normal, rectangular, U-shaped) เพื่อแปลงเป็น standard uncertainty
ตัวอย่าง Type B components ที่พบบ่อยในงานสอบเทียบ:
- Uncertainty จากใบรับรองของ reference standard: u_ref = U_cert / k_cert
- Resolution ของเครื่องมือ: u_res = resolution / (2√3) (rectangular distribution)
- Temperature coefficient/drift ของเครื่องมือ
- Repeatability จากการศึกษา reproducibility ก่อนหน้า (ถ้าใช้ผลเฉลี่ยเพียงครั้งเดียว)
ขั้นที่ 3: รวม uncertainty components เป็น combined standard uncertainty (u_c)
สมมติ input quantities เป็นอิสระต่อกัน (ไม่มี correlation) ใช้ law of propagation of uncertainty:
u_c(Y) = √[Σ(cᵢ · u(Xᵢ))²]
โดย cᵢ คือ sensitivity coefficient = ∂f/∂Xᵢ
กรณีที่ measurand เป็น linear function ของ inputs (เช่น ΔT = T_UUT − T_ref) sensitivity coefficients มักเท่ากับ ±1 ทำให้สูตรลดเหลือ:
u_c = √(u_A² + u_B1² + u_B2² + ...)
ขั้นที่ 4: คำนวณ expanded uncertainty (U)
ใน calibration certificates จะรายงาน expanded uncertainty U ซึ่งได้จากการคูณ:
U = k · u_c
สำหรับ normal distribution และ confidence level ~95% ใช้ k = 2 ต้องระบุใน certificate ว่าใช้ k เท่าไหร่และ confidence level เท่าไหร่ เช่น:
"The reported expanded uncertainty is based on a standard uncertainty multiplied by a coverage factor k = 2, providing a coverage probability of approximately 95% for a normal distribution."
ตัวอย่างจริง: Uncertainty Budget สำหรับการสอบเทียบ Digital Thermometer
สมมติสอบเทียบ digital thermometer ที่ 100°C ด้วย platinum resistance thermometer (PRT) เป็น reference:
- Repeatability (Type A), n=10: s = 0.05°C → u_A = 0.05/√10 = 0.016°C
- Reference PRT uncertainty จาก certificate: U_cert = 0.10°C, k=2 → u_ref = 0.05°C
- Resolution ของ UUT: 0.1°C → u_res = 0.1/(2√3) = 0.029°C
- Temperature coefficient drift: ±0.02°C/yr ถือเป็น rectangular → u_drift = 0.02/√3 = 0.012°C
Combined standard uncertainty: u_c = √(0.016² + 0.05² + 0.029² + 0.012²) = √(0.000256 + 0.0025 + 0.000841 + 0.000144) = √0.003741 ≈ 0.061°C
Expanded uncertainty (k=2): U = 2 × 0.061 = 0.12°C
ข้อผิดพลาดที่พบบ่อยในการคำนวณ Uncertainty
- ลืม uncertainty ของ reference standard: บางแล็บลืมใส่ uncertainty จากใบรับรองสอบเทียบของ reference instrument เข้าไปใน budget
- รายงาน u_c แทน U: ใบรับรองต้องรายงาน expanded uncertainty (U) พร้อม k-factor ไม่ใช่ standard uncertainty
- ใช้ k=2 โดยไม่ตรวจสอบ degrees of freedom: ถ้า effective degrees of freedom (ν_eff ตาม Welch-Satterthwaite) ต่ำกว่า 30 ควรใช้ t-distribution แทน
- ไม่ตรวจสอบ dominant component: ใน uncertainty budget ควรมี component หนึ่งที่ dominant (มีค่าสูงสุด) หากทุก component เล็กพอๆ กันอาจหมายความว่าลืม component สำคัญ
เครื่องมือช่วยคำนวณ Uncertainty
LabSync มีโมดูล GUM Uncertainty Budget ที่ built-in อยู่ในทุก job item card รองรับการกำหนด input components, เลือก distribution type, คำนวณ sensitivity coefficient, และรายงาน expanded uncertainty พร้อม k-factor อัตโนมัติ ผลการคำนวณถูกบันทึกไว้กับ job record โดยตรง — ไม่ต้องกลับไปหา Excel ที่ไม่มี audit trail
ทดลองใช้ LabSync ฟรี 14 วัน และดูว่า uncertainty budget module ช่วยลดงานคำนวณซ้ำซ้อนได้อย่างไร


