| Vibration recorder is an instrument based on various functional sensors, which is widely used in mechanical fault detection and analysis. Mechanical vibration is one of the inherent characteristics when working. With the rapid development of industry, it has been becoming a significant obstacle for improving industrial output and efficiency. Therefore mechanical vibration has become an urgent issue to tackle.This article has designeda vibration recorder which is used on coal mining machine. It uses MC9S12XEQ512as the microcontroller core, ADXL345acceleration sensor as the data acquisition and tf card as the history data memory Unit. MC9S12XEQ512incorporates rich internal peripheral sources, including3-way SPI serial communication modules, eight16-bit timers,4MSCAN modules and a24-channel12-bit A/D, etc. It can implement program development of any function using the development tool CodeWarrior provided by Freescale, while supporting the development of language of C, C++and java. MC9S12XEQ512is suitable for all types of programmers. ADXL345is a triaxial accelerometer with a maximum sampling rate of3.2KHz, high-precision of measuring range±16g, low power consumption and fully functional acceleration sensor with digital output. It meets the article requirement for measuring frequency vibration signal. Kinston leve1108G tf card is mainly used to store historical data for a long time. It supports FAT32file system and accesses to data stored up to10M, which is conducive to quick access and long term storage of data. The usage of MC9S12XEQ512and ADXL345simplifies hardware structure and improves integration of the overall system. The main circuit includes a power circuit, sensor data acquisition circuit, data storage circuit, data transmission circuit based on CAN bus and ESD protection of CAN bus, etc.The program design is the main workload in this article. It includes lower and upper computer program. The lower computer program realizes the basic soft protection and warning measures while equipment is working, such as how to protect operating parameters at outage, how to ensure continuous storage and reuse of storage devices, how to keep abreast of the state of equipment, how to achieve human-computer interaction settings and so on. Full equipped lower computer program can improve the apparatus intelligence and prevent common operation errors effectively.Upper computer program is designed by MFC in VC++6.0. Abundant of API function packaged in Windows and interface design controls provided by MFC reduce the difficulty of program development. The upper computer program includes real-time monitoring and control program, historical data reading program and analysis program. Real-time monitoring and control program realizes real-time obtaining equipment vibration, work status and control operating parameters, etc. Historical data reading program is aimed at tf card. Taking real-time and accuracy of data storage into account, tf card stores data using a direct way. It stores the historical data in file coordinating the reading data program on the PC which extends the storage time of data. Historical data analysis program mainly fulfils reading data from files and displaying in digital, then doing frequency domain analysis (a combination of graphics and digital) by Fourier Transform (FFT). In order to facilitate the operator finding the feature data quickly, the program designs a data display window which is similar to Excel document. It displays the special characteristic data and the corresponding information for each axis and the other auxiliary functions such as scaling, zooming, cycling, shifting to complete the basic data analysis.Finally, actual running tests have done on designed vibration recorder. In the percussion test, every part of equipment worked properly. The test in standard signal environment corrected the presented possibility problem in the device and reduced the data error caused by device. The actual test of turbine vibration displayed the specific circumstances in actual work environment for error correction in the future. |