This paper presents an implementation of real-time fault diagnosis system for marine diesel engines using a multi-thread technique on Windows 98. Knowledge-base for the system is implemented using EE (Element Environment) shell. To reduce waiting time of resources, multi-buffers and an interprocess communication method are used.
Whenever an alarm occurs in monitoring system, alarm data are sent from the monitoring system to the real-time fault diagnosis system. And then, the data acquisition thread in the fault diagnosis system decodes and stores the received alarm data. The preprocessing thread calculates the diagnosis data using the alarm data. The inference thread drive OLE automation server of EE shell for inferring the causes of faults from diagnosis data.