Skip to content

RFID

การประยุกต์ใช้มิดเดิลแวร์สำหรับการกรองข้อมูล RFID และการซิงโครไนซ์ฐานข้อมูลครุภัณฑ์ข้ามแพลตฟอร์ม เพื่อเพิ่มประสิทธิภาพการตรวจนับทรัพย์สินด้วยระบบอัตโนมัติApplying Middleware for RFID Data Filtering and Cross-Platform Asset Database Synchronization to Improve the Efficiency of Automated Asset Audits

Applying Middleware for RFID Data Filtering and Cross-Platform Asset Database Synchronization to Improve the Efficiency of Automated Asset Auditsการประยุกต์ใช้มิดเดิลแวร์สำหรับการกรองข้อมูล RFID และการซิงโครไนซ์ฐานข้อมูลครุภัณฑ์ข้ามแพลตฟอร์ม เพื่อเพิ่มประสิทธิภาพการตรวจนับทรัพย์สินด้วยระบบอัตโนมัติ

ประเภทType วิจัยและพัฒนา (R&D)Research and Development (R&D)ทุนFunding เงินรายได้ ปีงบประมาณ 2568Revenue-funded grant, fiscal year 2025 (B.E. 2568)ระยะเวลาDuration 8 เดือน8 months

คณะผู้วิจัยResearch Team

นนNN
หัวหน้าโครงการวิจัยPrincipal Investigator

นายนัฏพันธุ์ นันทวาศMr. Nattapan Nanthawat

ศษ.ม. (เทคโนโลยีการศึกษา)M.Ed. (Educational Technology)
nattapan.n@cmu.ac.th
ณจNJ
ผู้ร่วมวิจัยCo-investigator

นางสาวณัฐพร ใจพุทธMs. Nattaporn Jaiphut

วท.ม. (จัดการอุตสาหกรรม)M.Sc. (Industrial Management)
nattaporn.j@cmu.ac.th
สอSA
ผู้ร่วมวิจัยCo-investigator

นายสิทธิชน อังคุตรานนท์Mr. Sittichon Angkutranon

วศ.ม. (คอมพิวเตอร์)M.Eng. (Computer Engineering)
sittichon.a@cmu.ac.th
กบKB
ผู้ร่วมวิจัยCo-investigator

นายเกียรติชัย บุญทารักษ์Mr. Kiattichai Boontharak

รป.ม. (การจัดการภาครัฐ)M.P.A. (Public Management)
kiattichai.b@cmu.ac.th
นจNC
ผู้ร่วมวิจัยCo-investigator

นายนิวัฒน์ เจริญรัตนเดชะกูลMr. Niwat Charoenratdechakul

วศ.บ. (ไฟฟ้า)B.Eng. (Electrical Engineering)
niwat.j@cmu.ac.th

หน่วยงานร่วมวิจัย: งานพัฒนาเทคโนโลยีสารสนเทศ, งานบริหารงานวิจัย นวัตกรรมและบริการวิชาการ, ภาควิชาวิศวกรรมคอมพิวเตอร์ คณะวิศวกรรมศาสตร์Collaborating units: Information Technology Development Unit; Research, Innovation and Academic Services Administration Unit; Department of Computer Engineering, Faculty of Engineering

Mission & FocusResearch Areas
  • พัฒนามิดเดิลแวร์คัดกรองและประมวลผลข้อมูลจากอุปกรณ์ RFIDDevelop middleware that filters and processes data from RFID devices
  • พัฒนากลไกซิงโครไนซ์ฐานข้อมูลครุภัณฑ์ข้ามแพลตฟอร์มDevelop cross-platform synchronization of the asset database
  • เปรียบเทียบความเร็วและความแม่นยำกับการตรวจนับแบบดั้งเดิมCompare speed and accuracy against traditional asset counting
  • Passive UHF RFID
  • RFID Middleware & Data Filtering
  • Cross-Platform Database Synchronization
  • Asset Management & Automated Audit
  • Real-time Inventory Dashboard

ที่มาและความสำคัญBackground and Significance

คณะวิศวกรรมศาสตร์ตรวจนับครุภัณฑ์ด้วยบาร์โค้ดและการเขียนหมายเลขติดอุปกรณ์ ซึ่งต้องมองเห็นทีละชิ้นและใช้แรงงานมาก เกิดความล่าช้า ความผิดพลาดจากมนุษย์ และบางครั้งค้นหาครุภัณฑ์ไม่พบ ข้อมูลในระบบจึงไม่ตรงกับของจริงThe Faculty of Engineering counts its assets using barcodes and hand-written numbers on equipment. This requires line of sight to each item and a lot of manual work, which causes delays, human error, and sometimes assets that cannot be found, so the database drifts from reality.

RFID อ่านป้ายจำนวนมากพร้อมกันโดยไม่ต้องเห็นตัวป้าย แต่ข้อมูลดิบมักซ้ำซ้อนและมีสัญญาณรบกวน โครงการนี้จึงสร้างมิดเดิลแวร์เป็น “ด่านคัดกรอง” ก่อนบันทึกลงฐานข้อมูล SQL เดิมของคณะ ไม่ได้สร้างระบบใหม่ทดแทน พร้อมแดชบอร์ดแบบเรียลไทม์และแอปบนเครื่องอ่านพกพาRFID can read many tags at once without line of sight, but raw reads are often redundant and noisy. This project builds middleware as a “screening gate” before data reaches the faculty’s existing SQL database. It does not replace the current system, and adds a real-time dashboard and an app for handheld readers.

ประโยชน์ที่คาดว่าจะได้รับExpected Benefits

  • บริหารสินทรัพย์ได้เร็วและมีประสิทธิภาพขึ้นFaster, more efficient asset management
  • ข้อมูลถูกต้องและน่าเชื่อถือ (Data Integrity)Accurate, trustworthy data (data integrity)
  • เสริมธรรมาภิบาลและความคุ้มค่าในการใช้ทรัพยากรStronger good governance and value for money

การนำไปใช้Intended Use

ภายในคณะวิศวกรรมศาสตร์ ทดสอบกับครุภัณฑ์ 100–200 ชิ้น เช่น คอมพิวเตอร์ เครื่องมือวัด และครุภัณฑ์สำนักงานมูลค่าสูงWithin the Faculty of Engineering, tested on 100–200 assets such as computers, measuring instruments, and high-value office equipment.

ระบบทำงานอย่างไรHow the System Works

ป้าย UHFบนครุภัณฑ์เครื่องอ่านประจำจุด/พกพาฐานข้อมูล SQL เดิมจับคู่ Tag กับรหัสแดชบอร์ดและแอปพกพามิดเดิลแวร์กรองข้อมูลซ้ำ/รบกวน UHF tagson assetsFixed / handheldreadersExisting SQL DBmaps tag to codeDashboard &mobile appMiddlewarefilters duplicates/noise

ลองจำลองการกรองข้อมูลTry the Filtering Simulation

ภาพจำลองเพื่ออธิบายหลักการ ไม่ใช่ผลการทดลองจริงของโครงการ ตัวเลขสุ่มใหม่ทุกครั้งAn illustration of the principle, not actual project results. Numbers are randomized each time.

วิธีวิจัยMethodology

  1. ศึกษาและวิเคราะห์ระบบStudy and analyze วิเคราะห์ขั้นตอนตรวจนับปัจจุบัน ศึกษา UHF และมาตรฐาน EPC Gen2 รวบรวมความต้องการจากเจ้าหน้าที่พัสดุAnalyze the current counting process, study UHF and the EPC Gen2 standard, and gather requirements from procurement staff.
  2. ออกแบบสถาปัตยกรรมDesign the architecture เลือกเครื่องอ่านแบบอยู่กับที่และแบบพกพา ออกแบบลำดับ Raw Data → Filtering → Grouping → Data Output และตารางจับคู่ RFID_Tag_ID กับ Asset_CodeChoose fixed and handheld readers, design the flow Raw Data → Filtering → Grouping → Data Output, and a mapping table pairing RFID_Tag_ID with Asset_Code.
  3. พัฒนาระบบDevelop the system มิดเดิลแวร์ตัดข้อมูลซ้ำ (Duplicate Filtering, Smoothing) API ซิงโครไนซ์ และ DashboardMiddleware for duplicate filtering and smoothing, a synchronization API, and a dashboard.
  4. ติดตั้งและทดสอบInstall and test ติดป้ายกับครุภัณฑ์ ทดสอบระดับหน่วยและระบบรวมAttach tags to assets, then run unit and integration tests.
  5. ทดลองใช้งานจริงRun the experiment เปรียบเทียบวิธีเดิม (Barcode/Manual) กับ RFID Middleware ในกลุ่มตัวอย่างคอมพิวเตอร์ห้องปฏิบัติการ 230 เครื่องCompare the existing method (barcode/manual) with the RFID middleware on a sample of 230 laboratory computers.
  6. วิเคราะห์และสรุปผลAnalyze and conclude สถิติเชิงพรรณนา และ Paired t-test ที่ระดับนัยสำคัญ 0.05Descriptive statistics and a paired t-test at the 0.05 significance level.

ตัวชี้วัดและเครื่องมือวัดIndicators and Measurement Tools

มิติDimensionตัวชี้วัดIndicatorเครื่องมือTool
เวลาTimeเวลาต่อการนับ 1 รอบTime per counting roundStopwatch / System Timestamp
ความถูกต้องAccuracyความตรงกันของของจริงกับบัญชีคุมMatch between physical count and registerทะเบียนคุมทรัพย์สิน / ChecklistAsset register / checklist
มิดเดิลแวร์MiddlewareFiltering Rate = (Raw − Unique Valid) ÷ Raw × 100Log Analyzer
ซิงโครไนซ์SynchronizationLatency, Data Loss Rate, Data ConflictWireshark

ผลการทดลองResults

จะเติมหลังเก็บข้อมูลจากคอมพิวเตอร์ห้องปฏิบัติการ 230 เครื่องTo be added after data collection on 230 laboratory computers.

ตัวชี้วัดIndicatorBarcode/ManualRFID Middleware
เวลาเฉลี่ยต่อรอบAverage time per roundรอผลทดลองPendingรอผลทดลองPending
ความถูกต้องของการนับCounting accuracyรอผลทดลองPendingรอผลทดลองPending
Filtering Rateไม่เกี่ยวข้องNot applicableรอผลทดลองPending
Latency การซิงโครไนซ์Synchronization latencyไม่เกี่ยวข้องNot applicableรอผลทดลองPending

ความท้าทายและแนวทางแก้Challenges and Mitigation

  • โลหะดูดซับคลื่นหรือป้ายเสื่อมสภาพ: ปรับกำลังส่ง (dBm) ปรับมุมเสาอากาศ หรือใช้ Anti-Metal TagMetal absorbing signals or aging tags: tune transmit power (dBm), adjust antenna angle, or use anti-metal tags.
  • ข้อมูลขยะหลุดเข้าฐานข้อมูล: ปรับค่า RSSI Threshold และบีบ Time-Window ให้แคบลงJunk data reaching the database: adjust the RSSI threshold and narrow the time window.
  • ซิงโครไนซ์ช้า: ทำ Database Indexing และส่งข้อมูลเป็นชุด (Batch)Slow synchronization: apply database indexing and send data in batches.