การบูรณาการ MATLAB กับ ระบบพีแอลซี S7-300 กรณีศึกษาการตรวจจับขวด

Main Article Content

นายสะกล คำแผ่น
นายไสว พงศ์สวัสดิ์

บทคัดย่อ

ในบทความนี้ นำเสนอการประยุกต์ใช้กล้องถ่ายภาพขวดที่อยู่บนสายพานลำเลียง มาทำการวิเคราะห์หาจำนวนและความหนาแน่นของจำนวนขวดต่อพื้นที่สายพานลำเลียงล่วงหน้าแทนการใช้ตัวเซนเซอร์หรือลิมิตสวิตซ์ที่จะรับรู้ข้อมูลเมื่อขวดต้องมาถึงตำแหน่งตรวจจับ โดยข้อมูลที่ได้จากการประมวลผลภาพจะถูกนำไปใช้งานร่วมกับโปรแกรมควบคุมการขับเคลื่อนสายยพานลำเลียง เพื่อทำการปรับความเร็วของสายพานให้สอดคล้องกับปริมาณขวด ซึ่งในบทความได้ใช้โปรแกรม MATLAB ในการวิเคราะห์ข้อมูลภาพ เพื่อให้ได้ข้อมูลจำนวนขวดในบริเวณพื้นที่ ที่กำหนดและนำส่งข้อมูลผ่าน OPC (OLE for Process Control) ให้กับโปรแกรมควบคุม ในระบบพีแอลซี S7-300 เพื่อทำการควบคุมระบบขับสายพานลำเยง ผลของการทดลองการแลกเปลี่ยนข้อมูลระหว่างโปรแกรมดังกล่าวผ่าน OPC แสดงให้เห็นว่าระบบสามารถทพการแลกเปลี่ยนข้อมูลปริมาณขวดได้และสามารถทำงานร่วมกันได้จริง

Article Details

ประเภทบทความ
บทความวิจัย

เอกสารอ้างอิง

Pieter P. Jonker, “Image Processing Hardware for Counting Massive Object Streams”, IV Conference D: Architectures for Vision and Pattern Recognition (IAPR), International Conference, 1992, page(s) 31-33

OPC Foundation, OLE for Process Control Data Access Custom Interface Standard Version 2.5

OPC ToolboxTM User’s Guide 2004-2015 by The MathWorks, Inc., https://cn.mathworks.com/help/pdf_doc/opc/opc.pdf

Siements TCP/IP Ethemet Driver Help © 2015 Kepware Technologies; https://www.kepware.com/support/manuals/siemenstcp-ip-ethernet-manual.pdf.

Image Processing Toolbox™ User's Guide © COPYRIGHT 1993–2014 by The MathWorks, Inc.

Image Acquisition Toolbox™ User's Guide © COPYRIGHT 2013–2015 by The MathWorks, Inc.

Jae-Ho Kim, “Look-up table reduction using the relationship between pixel pitch and reconstructed distance”, Information and Communication Technology Convergence (ICTC), 2010, page(s) 205-204.

L.N. Wayne, “The Automated Inspection of Moving Webs using Machine Vision” IEE Colloquium in Application of Machine Vision, 1995, page(s) 3/1-3/8.

Zhang Lieping. “On Remote Real-time Communication between MATLAB and PLC Based on OPC Technology”. Control Conference Chinese (CCC), 2007, page(s) 545-548.