设计了一套应用于机械设备故障诊断的便携式数据采集分析系统。系统整体采用主从结构:上位机软件基于Labview,主要实现路径、数据、通讯等的管理以及数据分析;下位机实现采集、分析。下位机的硬件层核心采用片上系统(SoC)芯片;操作系统层移植了自行研发的实时操作系统(RTOS):TDNC—OS,给出了任务划分;应用软件层引入了缓冲区操作机制;通讯层主要由UART模块组成。实例表明系统具有很好的实时性和可靠性。
A portable data acquisition and analysis system was developed. This system was used to diagnose faults of mechanical equipments. A structure of principal and subordinate was adopted by the instrument, the former was based on Labview, and it achieved the management of trails, data and communications and the analysis of signals~ the latter was used for data acquisition and data analysis. The subordinate consisted of hardware layer, hardware-driven layer, operating system layer, application software layer and commutation layer between the upper and the lower system. The kernel of hardware layer was a SoC~ our laboratory's RTOS. TDNC-OS was transplanted into the SoC as its operating system layer, and the division of tasks was given~ a principle of buffer zone was introduced into the application software layer~ UART module was the main part of communication layer. Finally, an example was given to show that the system run accurately in practice. The prototype of the instrument has been produced, and it is well- functioning.