隨著科技發展,微控制器(microcontroller unit, MCU)及單板電腦(single-board computer, SBC)在近年來有長足的進展,其中Arduino及樹莓派(Raspberry Pi)分別為MCU及SBC最具代表性的產品。二者最主要的差別在於樹莓派為一部小巧、功能完整,但處理速度較慢的電腦,因此具備網路與外接攝影機等Arduino沒有的功能。本文的研究目標為模擬一條具有自動組裝功能的小型產線,包括由樹莓派控制的一具機械手臂及一條輸送帶,另外藉由機器視覺結合卷積神經網路判別組裝結果。根據實驗結果顯示,本文所設計發展的小型產線,雖然初步可以完成設定的目標及功能,但仍有很大改進的空間。
With the development of technology, microcontrollers (MCUs) and single-board computers (SBCs) have made great progress in recent years, where Arduino and Raspberry Pi are the most representative products of MCUs and SBCs, respectively. The main difference between the two is that Raspberry Pi is a small, full-featured, but slow computer. That is to say, Arduino does not support some features, such as the Internet and external cameras. The goal of this thesis is to simulate a small production line with automatic assembly function, including a robotic arm and a conveyor belt controlled by Raspberry Pi, and to recognize the assembly result by using machine vision combined with a convolutional neural network. According to the experimental results, the small production line designed and developed in this thesis can initially achieve the setting goals and functions, but it still have much room for improvement.