OMAP5912是由ARM和DSP组成的不对称双核处理器。基于OMAP5912平台的准在线故障诊断系统需要很快的响应速度、双核的协调工作和稳健的数据处理算法。数据采集处理程序作为系统的关键应用软件,应具有以上所有特征。ARM端采用多线程技术编程,把采集任务和双核通信任务分别实现为两个线程,提高系统的响应速度;DSP端采用矢谱时域融合算法,对采集的数据进行处理和故障分析,准确提取设备的故障特征;通过DSP Gateway软件,在两端分别编写双核通信程序,实现ARM对DSP的控制和双核间数据传送。
OMAP5912 is an asymmetric dual-core processor,which is composed of ARM and DSP.The semi-online fault diagnosis system based on OMAP5912 platform requires fast response speed,dual-core coordination and sound data processing algorithms.As a key application software of the semi-online fault diagnosis system,data acquisition and processing program should have all of the above features.In ARM side,data acquisition task and dual-core communication task were realized as two threads to improve the response speed of the semi-online fault diagnosis system by the multi-thread technology programming.Through the vector spectrum fusion algorithm in time domain,fault features of equipments were extracted accurately in DSP side,to analyze the fault types and to process the data acquired in ARM's side.ARM could control DSP and data could be transmitted between ARM and DSP by the dual-core communication programming which was done respectively on the two sides of the processor and based on DSP Gateway software.