本研究為了使工具機在加工過程中得以進行即時振動監測以及在運送過程中紀錄碰撞,將以數位加速規ADXL345、類比加速規ADXL326以及其微控制晶片dsPIC33EP512MU810為主要組成的模組,使用USB為資料傳輸方式取代以往業界普遍使用的RS232,提升其傳輸速度,也同時整合了資料擷取裝置,提升模組在即時監控的功能上使用的便利性與傳輸資料量,並在PC端以Visual Basic 2008撰寫出資料接收與波形顯示介面。碰撞記錄功能方面,配合RTC(Real Time Clock)晶片與加速規達成模組對足以造成工具機主軸損壞之碰撞記錄其波形和時間於記憶體中。碰撞紀錄則可以紀錄10次共1000筆,每筆6byte的碰撞的時間、波形。但是受到記憶體空間限制無法紀錄太多資料。 本研究在模組利用USB的HID(Human Interface Device)模式,其傳輸速度為64 byte/s。進行資料傳輸後,其資料輸出率(Output Data Rate)由RS232傳輸的200Hz提升至3200Hz。 實驗結果顯示數位式加速規ADXL345因其雜訊高達0.16g,並不適合用於工具機機台加工時的即時振動監測,相對而言類比式加速規ADXL326背景雜訊0.11g明顯較小,而碰撞紀錄受到記憶體空間限制無法紀錄太多資料。 (關鍵字:即時振動監測、碰撞波形記錄、USB傳輸)
To make machine tool be able to real-time vibration monitor and collision which happened when machine tool is be moved to record, this research will build a module with digital accelerometer ADXL345, analog accelerometer ADXL326, and micro-control-chip dsPIC33EP512MU810. Using USB transmission to replace RS-232 which is generally used in mechanical industry .That will increase the speed of data transmission. It also combines the part of the data acquisition device to make the module which is used to be real-time vibration monitor more convenient and more transfer data. And programming a data receive and waveform display program in PC by Visual Basic 2008.In the other hand, the monitor connected with RTC (Real Time Clock)chip and EEPROM to record the collision’s waveform and occurred time in the memory. In this research, the module’s output data rate raised from 200Hz to 3200Hz by using USB transmission in HID(Human Interface Device)mode. The module also can record 10 collisions ,each collision has 100 waveform data (every data has 6 byte)and one occurred time data. According to the experiment, the digital accelerometer can’t be used in real-time vibration monitor function because of its noise. And collision recording function can’t record too much data because of the memory space is not enough. Keyword: real-time vibration monitor, collision recording, the USB transmission