摘要 本論文主要是建立一套工具機的遠端監視系統,並以六軸工具機當作實驗操控之對象。設計訊號處理及擷取電路,直接擷取具高雜訊干擾之馬達編碼器的回授訊號,並對工具機的運動學和切削力模型進行推導,將建立之數學模型以程式方式建入虛擬工具機中。 利用MATLAB來作訊號處理及使用EON虛擬軟體來作虛擬顯示,並建立訊號擷取系統、訊號傳輸系統及虛擬顯示系統三個不同的子系統作處理;訊號擷取系統負責對編碼器訊號作擷取及逆向運動學的轉換;訊號傳輸系統則負責將Target PC上的工具機姿態訊號傳送回操控電腦,並將此訊號透過ActiveX的功能傳送給虛擬軟體作顯示;而將MATLAB已建立好之虛擬工具機模型嵌入於虛擬顯示系統,並接收工具機的姿態訊號作即時顯示。 另探討時間延遲的問題,將之分為通訊延遲時間和虛擬顯示延遲時間,分別對兩電腦間的通訊延遲與虛擬顯示時造成畫面的延遲作估算,求得整個虛擬監視系統與實際工具機姿態的延遲時間,來設計同步遠端控制及監視之效果。以及分別利用垂直進給訊號和平面軌跡訊號來驗證擷取電路之精度,探討在不同軌跡之間的誤差關係。
In this study, a remote monitoring system is established on an example of a six-axis CNC machine. A signal processing circuitry is designed to filter and collect the high noise and large disturbance encoder signal of each axis. The kinematics and the force model of the 6-axis CNC machine are derived and used to build the virtual CNC machine. The entire system is developed under the PC-based structure. It uses xPC function of the MATLAB/Simulink for signal process and EON VR software for virtual reality to build the signal capture, the signal transmission, and virtual display sub-systems. Signal capture system is in charge of capturing feedback signal and transforming inverse kinematics. Signal transmission system is in charge of transferring the position signal from Target PC to the Host PC, and to the EON software by Active X function. The virtual display system implements the established CNC-machine model to the EON and collects position signals to display the virtual CNC machine in real time. The problem of time delay is concerned to include the communication time delay and display time delay. These time delays are calculated to obtain the entire time delay in order to design the synchronous remote control and monitoring objective. Practical experiment of vertical and horizontal cutting trajectory is carried on to verify the preciseness of the developed system.