Research on Fault Prediction for Marine Diesel Engines

Condition-based maintenance based on fault prediction has been widely concerned by the industry. Most of the contributions on fault prediction are based on various sensor data and mathematical models of the equipment. The complexity of the model and data signal is the key factor affecting the practicability of the model. In addition, even for the same type and batch of equipment, the manufacturing process, operation environment and other factors also affect the model parameters. In this paper, a series event model is conducted to predict the fault of marine diesel engines. Numerical example illustrates that the proposed event model is feasible.


Introduction
Equipment maintenance activities can be roughly divided into three categories: corrective maintenance, planned maintenance and condition-based maintenance (CBM). In corrective maintenance, the equipment has failed, and the purpose of maintenance activities is to repair the failure to quickly recover the system [1] [2] [3]. This process passively waits for the failure and then fixes it. During scheduled maintenance, check the machine regularly and replace the appropriate parts according to the fixed schedule. Therefore, it is also called time-based maintenance [4]. CBM is a flexible method to determine whether maintenance activities are needed or not according to the actual health status of the equipment. It emphasizes the prediction of the possible faults of the equipment in advance to make maintenance strategies and improves the operation efficiency and reliability of the equipment through more effective planning of maintenance ac-tivities, thus improving the economic benefits of the enterprise.
In recent years, due to the development of big data and artificial intelligence technology, CBM has been widely concerned by the maintenance research community. In reference [5], a proportional risk model is used to describe the combined effects of aging and cumulative damage, and a CBM strategy is developed for systems susceptible to aging and cumulative damage. Nazanin et al. proposed a fuzzy early warning CBM strategy for automobile production line to provide early warning for potential production line failure or other dangerous situations, so as to make a more intelligent decision on maintenance strategy [6]. Phuc Do research group has established a binary system CBM model with stochastic and economic dependence. Taking the gearbox system as an example, in order to select one or more components for preventive maintenance, adaptive preventive maintenance and opportunistic maintenance rules are proposed [7]. In reference [8], a CBM strategy for soft and hard faults is proposed. Unlike traditional CBM strategies, this study does not use thresholds to define maintenance actions. The goal is to determine the optimal maintenance strategy to minimize the long-term expected average cost per unit time. The optimization problem is established in the framework of semi Markov decision process and solved by strategy iteration algorithm. In reference [9], a dynamic state maintenance model based on inverse Gaussian process is proposed for equipment maintenance decision-making with dynamic degradation. Firstly, an inverse Gaussian process with random parameters is proposed to describe the change of degradation characteristics of equipment during operation, and the important stochastic characteristics related to condition based maintenance are derived. Secondly, the dynamic maintenance threshold function is proposed, which can reduce the early failure risk of the equipment under the premise of ensuring a lower expected cost ratio. On this basis, a multi-objective dynamic maintenance decision model is established.
Most of the existing CBM related research is based on numerical calculation model, which requires input data for various operating conditions. Generally speaking, these parameter values need to be specially designed related sensors to detect data. From another point of view, based on the traditional equipment operation log information, this paper calculates the internal connection probability between various events to predict the possible failure of the equipment. The experimental results show that the method is feasible.

Event Based Prediction of Equipment Operation State
Whether it is the traditional manual record or the automatic generation of the system, the operation of the system will produce a large number of work logs recording all kinds of events during the operation of the system. Examples include hardware health, business processes, and server activity. The work log records all kinds of events occurred in the system, and these events must have certain internal relations. Therefore, it is theoretically feasible to predict the occurrence of specific events in the system through the event records in the work log.

Event Vector Model
Event vector model is used to calculate the probability model of a sequence of events. It is based on an event library. Suppose The parameter θ is a vector of length n, which looks simple and its concrete calculation is not easy. If the number of possible atomic events is m, then the sequence events with length n have n n m n C P possibilities. How to calculate these parameters efficiently is a problem that must be considered in practical application system.

Model Parameter Calculation
Considering the approximate calculation of ( )( ) For formula (3), theoretically, the larger n is, the better the effect is. In fact, when n is large to a certain extent, the improvement of model effect will be smaller. According to experience, n can be taken as 4.
There are two problems in formula (3) In order to solve the above problems, a general method in machine learning field is used: after modeling the problem under consideration, an objective function is constructed first, and then the objective function is optimized to obtain a set of optimal parameters.
Considering the maximum log likelihood, the objective function can be designed as The calculation of the optimal parameters can be realized by the algorithm of neural probability language model (Word2Vec) [10]. Figure 1 shows the schematic diagram of the neural grid structure for the optimal parameters of formula (4), which consists of four layers: input layer, projection layer, hidden layer and output layer. Where W, u are the weight matrix between the projection layer and the hidden layer and between the hidden layer

Data Set
In this study, 20,360 operation logs of a certain ship are selected for model training and testing. The operation log records a series of abnormal or parameter mutation conditions in chronological order. Table 1 shows an example of a diesel engine working log. Event records only record some abnormal conditions, with different time intervals. Preprocess the event data as follows: Take the event sequence according to the fixed time interval. If there is no event record in a certain time interval segment, fill with "normal" event.
Take 4 events successively from each event to form a sequence event sample.
If there are n events in a time interval segment S, the event of the time series is expanded to n sample sequences. When the sample sequence is expanded, the events before and after the S fragment are unchanged, and one of n events in the S fragment is taken to form an event sequence.

Analysis of Test Results
In model training, the probability of the last event is calculated according to the first three events of each sample. When the model is applied, refer to the preprocessing method of sample data. The first three events from the current time are taken as the previous events, and the fourth event is the possible event to be predicted, which is repeated and postponed. When the calculated probability of an event is significantly increased, the event is predicted to occur (not necessarily the probability is greater than a certain threshold). Figure 2 records the effect of different total samples and events in a single sample on model training. It can be seen from the figure that the more the total number of samples, the higher the accuracy of the model. Under the condition that the total number of samples remains unchanged, the more events in a single sample, the higher the prediction accuracy. However, when the number of events in a single sample is greater than 4, the improvement of the prediction accuracy is not obvious. In fact, the occurrence of fault has a process from quantitative change to qualitative change. The prediction of a fault event needs to be based on multiple events in the time series. Generally speaking, the correlation of events far away from the time axis is relatively small, and the correlation between events far apart in sequence events can be ignored. Therefore, the possibility of using the first three events of sequence events to predict the occurrence of the fourth event according to the experiment is explainable. The number of events in a single sample is set as 4, that is, the first three events in each sample are preliminary events, and the last event is isometric events.
The results in Figure 3 show the probability changes of three events: "governor spring deformation", "fuel injection pump spring deformation" and "governor  flying iron Bush wear". Among them, the peak probability of "governor spring deformation" and "governor flying iron Bush wear" is 0.885 and 0.63 respectively, which indicates that it is more likely to occur. When the event probability of "governor spring deformation" increases obviously, the input event sequence is "oil consumption increases, normal and rotating speed is unstable". The predicted results show that "governor spring deformation" and "governor flying iron Bush wear" two events may occur, while "injection pump spring deformation" event is unlikely to occur. Moreover, according to the predicted results, the possibility of "regulator spring deformation" event is higher, so the governor spring should be checked first during maintenance.
In fact, when a diesel engine is running normally, as long as the working condition is certain, each cycle function of the diesel engine is the same, so its speed should also be stable. Only when the work of each cycle is different, the speed will be fast or slow. So there are three basic conditions to keep the speed of diesel engine stable: 1) The fuel supply of each cycle of the diesel engine is uniform (the quantity is the same) and the atomization quality of the fuel injector is uniform (the quality is the same).
2) Diesel engine governor is sensitive to regulation. Because the governor has the function of automatically adjusting the speed, that is, with the change of external load, automatically adjusting the fuel supply, so that the change of diesel engine speed is consistent.
3) The diesel engine has enough flywheel to store the inertia force and keep the engine running smoothly. This item is fully guaranteed by the general diesel engine manufacturer, and there will be no such problem in use.
There is no oil supply system problem in the predicted working condition (input event sequence), and the biggest problem basically occurs in the governor, so the prediction in Figure 3 is in line with the actual situation.

Conclusions
The traditional planned maintenance and repair maintenance of equipment have been increasingly unable to keep up with the requirements of efficient modern production. In recent years, with the development of big data and artificial intelligence technology, CBM maintenance based on equipment performance and fault prediction has been widely concerned by the industry. Most of the mainstream equipment performance and fault prediction are based on various sensor data and mathematical models of the equipment. The complexity of the model and data signal is the key factor affecting the practicability of the model. In addition, even for the same type and batch of equipment, the manufacturing process, operation environment and other factors also affect the model parameters. In this study, the marine diesel engine is taken as the object, the event log of equipment operation is taken as the data source, and the probability of the target event is predicted by the sequential event occurrence model. Its data and goal are simple and direct, and more targeted. The experimental results show that the event model proposed in this paper is feasible.
This study attempts to use the historical data of log events to predict the feasibility of fault events. Our further work will be devoted to standardizing the equipment maintenance log and using various information sources to improve the practical performance of the research method.