Automobile engine fault diagnosis method and device, electronic equipment and storage medium
By dividing the data group according to the single sample length and non-repeated sampling length of the sample vibration signal data in automobile engine fault diagnosis and inputting it into the neural network model, the problem of lack of parameter settings is solved, the diagnosis accuracy and reliability are improved, and the diagnosis time is reduced. Use of time and human resources.
Patent Information
- Application Number
- CN202410635240.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-21
AI Technical Summary
In automobile engine fault diagnosis, there is a lack of research on parameter settings of single sample length and non-repeated sampling length, which leads to a decrease in the reliability of diagnostic results and the inability to conduct unified and effective evaluation and analysis of the performance of different diagnostic methods.
Collect sample vibration signal data of the engine under various operating conditions. After preprocessing, divide the data group according to the number of working state sample parameters according to the single sample length and non-repeated sampling length, and input it into multiple neural networks to be tested. The network model determines the target data that meets the preset diagnostic conditions to obtain fault diagnosis results.
It improves diagnostic accuracy, reduces the impact of human factors on results, reduces diagnostic time and the use of human resources, and enables unified evaluation and analysis of the performance of different diagnostic methods.
Smart Images

Figure CN118606853A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, electronic equipment and storage medium for diagnosing automobile engine faults. Background Art
[0002] At present, most of the traditional fault detection methods are used in the field of automobile engine fault diagnosis, that is, using sensitive sensors and other measuring devices to collect the engine fault characteristic signals without disassembling the engine, and then constructing a fault diagnosis system based on mathematical statistics for diagnosis or using empirical methods to diagnose the faults based on the experience of senior workers. With the rapid development of machine learning technology, using machine learning technology to build an engine fault diagnosis system has become a current and future development trend. Its role can not only reduce the impact of human factors on the diagnosis results, thereby improving the accuracy of diagnosis, but also reduce the diagnosis time and the use of human resources. At present, most of the related research focuses on the development and verification of intelligent diagnosis algorithms, but rarely pays attention to how to set sample parameters during the diagnosis process. Summary of the invention
[0003] The present application provides an automobile engine fault diagnosis method, device, electronic device and storage medium to solve the problem that when the original data is segmented, parameters such as single sample length and non-repetitive sampling length will have a certain impact on the fault diagnosis results. However, there is currently a lack of research on how to set this type of parameters, which will lead to a decrease in the reliability of the diagnosis results and make it impossible to uniformly and effectively evaluate and analyze the performance of different diagnostic methods.
[0004] A first aspect of the present application provides a method for diagnosing automobile engine faults, comprising the following steps: collecting sample vibration signal data of the engine under various operating conditions, and obtaining working state sample parameters of the engine after preprocessing the sample vibration signal data; dividing the number of working state sample parameters into multiple data groups based on the number of the working state sample parameters according to a single sample length and a non-repetitive sampling length, and inputting the multiple data groups into multiple neural network models to be tested to obtain engine test results of the engine under each neural network model to be tested, and determining target data that meets preset diagnostic conditions from the multiple data groups based on the engine test results; and obtaining the fault diagnosis result of the engine according to the target data.
[0005] Optionally, the inputting the multiple data groups into multiple neural network models to be tested to obtain the engine test results of the engine under each neural network model to be tested includes: randomly allocating the multiple data groups into training sets and test sets in equal proportions according to a random allocation strategy; or, allocating the multiple data groups into the training sets and the test sets according to a front-to-back allocation strategy; or, according to a different source allocation strategy, using the vibration data collected from the multiple data groups using the same engine in different time periods as the training sets and the test sets respectively; and using the training sets and the test sets to train and test multiple neural network models to be tested to obtain the engine test results of each neural network model to be tested.
[0006] Optionally, the relationship between the single sample length, the working state sample parameter and the non-repetitive sampling length is:
[0007] L=L seg +(N-1)L non-overlap ;
[0008] Where L is the length of the vibration signal data, L seg is the length of a single sample, N is the number of working state sample parameters, L non-overlap is the non-repeating sampling length.
[0009] Optionally, the sample vibration signal data is preprocessed to obtain sample parameters of the engine's operating status, including: filtering out noise interference in the sample vibration signal data, and performing time domain analysis and frequency domain analysis on the sample vibration signal data after the noise interference is filtered out to obtain sample parameters of the engine's operating status.
[0010] Optionally, the multiple neural network models to be tested are BP neural network, convolutional neural network CNN and long short-term memory neural network LSTM.
[0011] A second aspect of the present application provides an automobile engine fault diagnosis device, including: an acquisition module, used to acquire sample vibration signal data of the engine under various operating conditions, and obtain working state sample parameters of the engine after preprocessing the sample vibration signal data; a testing module, used to divide the number of working state sample parameters into multiple data groups based on the number of working state sample parameters according to a single sample length and a non-repetitive sampling length, and input the multiple data groups into multiple neural network models to be tested, to obtain engine test results of the engine under each neural network model to be tested, and determine target data that meets preset diagnostic conditions from the multiple data groups based on the engine test results; an acquisition module, used to obtain the fault diagnosis result of the engine according to the target data.
[0012] Optionally, the test module is also used to: randomly allocate the multiple data groups into training sets and test sets in equal proportions according to a random allocation strategy; or, allocate the multiple data groups into the training sets and the test sets according to a front-to-back allocation strategy; or, according to a different source allocation strategy, use the vibration data collected from the multiple data groups using the same engine in different time periods as the training set and the test set respectively; use the training set and the test set to train and test multiple neural network models to be tested, and obtain the engine test results of each neural network model to be tested.
[0013] Optionally, the relationship between the single sample length, the working state sample parameter and the non-repetitive sampling length is:
[0014] L=L seg +(N-1)L non-overlap ;
[0015] Where L is the length of the vibration signal data, L seg is the length of a single sample, N is the number of working state sample parameters, L non-overlap is the non-repeating sampling length.
[0016] Optionally, the acquisition module is further used to filter out noise interference in the sample vibration signal data, and perform time domain analysis and frequency domain analysis on the sample vibration signal data after the noise interference is filtered out to obtain sample parameters of the working state of the engine.
[0017] Optionally, the multiple neural network models to be tested are BP neural network, convolutional neural network CNN and long short-term memory neural network LSTM.
[0018] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the automobile engine fault diagnosis method as described in the above embodiment.
[0019] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the automobile engine fault diagnosis method as described in the above embodiment.
[0020] In the above-mentioned implementation, sample vibration signal data of the engine under various operating conditions are collected, and the working state sample parameters of the engine are obtained after preprocessing the sample vibration signal data. The number of working state sample parameters is divided into multiple data groups based on the number of working state sample parameters according to the single sample length and the non-repetitive sampling length, and the multiple data groups are input into multiple neural network models to be tested to obtain the engine test results of the engine under each neural network model to be tested, and the target data that meets the preset diagnostic conditions is determined from the multiple data groups based on the engine test results, and the engine fault diagnosis results are obtained according to the target data. Thus, when the original data is segmented, the problem that parameters such as the single sample length and the non-repetitive sampling length will have a certain impact on the results of the fault diagnosis is solved. However, there is currently a lack of research on how to set this type of parameters, which will lead to a decrease in the reliability of the diagnostic results, and also make it impossible to uniformly and effectively evaluate and analyze the performance of different diagnostic methods. This can not only reduce the impact of human factors on the diagnostic results and improve the diagnostic accuracy, but also reduce the diagnostic time and the use of human resources.
[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0023] Figure 1 A flowchart of a method for diagnosing an automobile engine fault according to an embodiment of the present application;
[0024] Figure 2 A flowchart of a method for diagnosing a vehicle engine fault according to an embodiment of the present application;
[0025] Figure 3 is a schematic diagram of a vehicle engine fault diagnosis device according to an embodiment of the present application;
[0026] Figure 4 Schematic diagram of the structure of an electronic device according to an embodiment of the present application.
[0027] Description of reference numerals:
[0028] 10-automobile engine fault diagnosis device; 100-acquisition module; 200-test module; 300-acquisition module. DETAILED DESCRIPTION
[0029] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0030] The following describes the automobile engine fault diagnosis method, device, electronic device and storage medium of the embodiment of the present application with reference to the accompanying drawings. In view of the fact that when the original data is segmented, the parameters such as the single sample length and the non-repetitive sampling length mentioned in the above background technology will have a certain impact on the result of the fault diagnosis, but there is currently a lack of research on how to set this type of parameter, which will lead to a decrease in the reliability of the diagnosis result and also make it impossible to uniformly and effectively evaluate and analyze the performance of different diagnostic methods, the present application provides an automobile engine fault diagnosis method, in which sample vibration signal data of the engine under various operating conditions are collected, and the working state sample parameters of the engine are obtained after preprocessing the sample vibration signal data, and the number of working state sample parameters is divided into multiple data groups according to the single sample length and the non-repetitive sampling length based on the number of working state sample parameters, and the multiple data groups are input into multiple neural network models to be tested, and the engine test results of the engine under each neural network model to be tested are obtained, and the target data that meets the preset diagnostic conditions is determined from the multiple data groups based on the engine test results, and the engine fault diagnosis results are obtained according to the target data. Therefore, the problem that parameters such as single sample length and non-repetitive sampling length will have a certain impact on the results of fault diagnosis when the original data is segmented is solved. However, there is currently a lack of research on how to set this type of parameters, which will lead to a decrease in the reliability of the diagnosis results and make it impossible to uniformly and effectively evaluate and analyze the performance of different diagnostic methods. This can not only reduce the impact of human factors on the diagnostic results and improve diagnostic accuracy, but also reduce diagnostic time and the use of human resources.
[0031] Specifically, Figure 1 A flow chart of a method for diagnosing automobile engine faults provided in an embodiment of the present application.
[0032] like Figure 1 As shown, the automobile engine fault diagnosis method comprises the following steps:
[0033] The automobile engine fault diagnosis method of the embodiment of the present application meets the following experimental conditions:
[0034] (1) Environmental conditions: The motor vehicle was driven at idle speed and a flat hard floor was selected as the experimental site to eliminate the interference of external factors such as weather on the experiment;
[0035] (2) Meteorological conditions: The signal acquisition equipment is a piezoelectric accelerometer. The temperature has little effect on the vibration signal measurement experiment, so the experiment was carried out at room temperature.
[0036] (3) Vehicle conditions: The engine operating conditions, such as fuel, lubricants, ignition timing and injection time, must meet the manufacturer's specifications. The tires used and the tire pressure must be consistent and meet the manufacturer's specifications. All vehicle openings, such as sunroofs, windows, vehicle air intakes, etc., must be closed during the test. Vehicle auxiliary devices, such as air conditioning, wipers, engine cooling fans, etc., must remain closed during the test;
[0037] (4) Loading conditions: One driver, no other cargo is allowed except the equipment necessary for the experiment;
[0038] (5) The selection of measuring points is very important for obtaining vibration signals with a large amount of effective information and little interference from external noise. In this experiment, the correct measuring points were selected, and the measured signals contained more information about the engine's working status, which would be beneficial to the diagnosis of engine faults. Therefore, the principle of measuring point selection is: without affecting the normal operation of the engine, measure as low-noise, stable and most reflective signals of the engine's working status as possible. According to the engine vibration caused by some typical faults, such as a single-cylinder misfire, part of the combustion excitation is transmitted to the engine body through the piston-connecting rod-crankshaft-main bearing, and the other part directly acts on the engine cylinder head. The mechanical impact caused by valve group failure and flywheel group failure will also directly act on the engine cylinder head, so the measuring point of this application is selected on the engine cylinder cover.
[0039] In step S101, sample vibration signal data of the engine under various operating conditions are collected, and the sample vibration signal data are preprocessed to obtain sample operating state parameters of the engine.
[0040] Optionally, in some embodiments, the sample vibration signal data is preprocessed to obtain the sample parameters of the engine's operating status, including: filtering out noise interference in the sample vibration signal data, and performing time domain analysis and frequency domain analysis on the sample vibration signal data after filtering out the noise interference, to obtain the sample parameters of the engine's operating status.
[0041] Specifically, the embodiment of the present application uses an acceleration sensor to collect sample vibration signal data under various operating conditions, including normal engine operation, valve group failure, single cylinder misfire, and flywheel group wear conditions, and transmits the sample vibration signal data to a computer via a data transmission cable. The signal is recorded and analyzed by the data analysis and recording software in the computer.
[0042] Furthermore, the collected sample vibration signal data is preprocessed and feature extracted: (1) The frequency spectrum of the collected vibration signal is calculated to determine the degree of noise interference on the vibration signal; (2) The noise interference in the sample vibration signal is filtered out, and the engine status information is extracted from the signal components; (3) The sample vibration signal data is analyzed in the time domain and frequency domain to obtain the engine time domain parameters and characteristic frequencies and other sample parameters reflecting the working status of the engine, such as normal operation: all parameters are normal; valve group failure: intake and exhaust VVT abnormalities; single cylinder misfire: combustion abnormalities; flywheel group wear: torque and power fluctuations, and the sample vibration signal data are labeled.
[0043] In step S102, the number of working status sample parameters is divided into multiple data groups based on the number of working status sample parameters according to the single sample length and the non-repetitive sampling length, and the multiple data groups are input into multiple neural network models to be tested to obtain the engine test results of the engine under each neural network model to be tested, and based on the engine test results, the target data that meets the preset diagnostic conditions is determined from the multiple data groups.
[0044] In step S103, the engine fault diagnosis result is obtained according to the target data.
[0045] In some embodiments, the multiple neural network models to be tested are BP neural network, convolutional neural network CNN and long short-term memory neural network LSTM.
[0046] It should be understood that this application will be based on the widely used shallow machine learning network: BP (Back Propagation) neural network and two deep learning networks, namely: Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) neural network. The collected automobile engine vibration signal data will be used as training sets and test sets. By controlling variables, the relationship between the model output results and the parameters of interest is explored, thereby proposing a set of parameter systems that can make the diagnostic process more credible and improve the reliability of the diagnostic method.
[0047] Optionally, in some embodiments, the relationship between the single sample length, the working state sample parameter and the non-repetitive sampling length is:
[0048] L=L seg +(N-1)L non-overlap ; (1)
[0049] Where L is the length of the vibration signal data, L seg is the length of a single sample, N is the number of working state sample parameters, L non-overlap is the non-repeating sampling length.
[0050] It should be understood that the embodiment of the present application divides the number of working status sample parameters into multiple data groups based on the number of working status sample parameters according to single sample length and non-repetitive sampling length, and inputs the multiple data groups into multiple neural network models to be tested, obtains the engine test results of the engine under each neural network model to be tested, and determines the optimal sample parameters that meet the preset diagnostic conditions from the multiple data groups based on the engine test results.
[0051] Optionally, in some embodiments, multiple data groups are input into multiple neural network models to be tested to obtain engine test results of the engine under each neural network model to be tested, including: randomly allocating multiple data groups into training sets and test sets in equal proportions according to a random allocation strategy; or, allocating multiple data groups into training sets and test sets according to a front-to-back allocation strategy; or, according to a different source allocation strategy, using vibration data collected from the same engine in different time periods in multiple data groups as training sets and test sets respectively; using the training sets and test sets to train and test multiple neural network models to be tested to obtain engine test results for each neural network model to be tested.
[0052] In the embodiment of the present application, the sample vibration signal data is time series data. After the sample vibration signal data is divided into multiple data groups, the problem of how to allocate the training set and the test set will also be involved. Different allocation methods consider the index of generalization ability. The embodiment of the present application takes three methods of allocating data sets as considerations, namely random allocation, front-to-back allocation, and different source allocation. Among them, random allocation refers to randomly allocating multiple data groups to the training set and the test set in a 1:1 ratio; front-to-back allocation refers to allocating multiple data groups to the training set and the test set in chronological order, and the 50% of the data in the front chronological order is the training set, and the other 50% of the data in the back chronological order is the test set; different source allocation refers to using the data collected from the same engine in different time periods as the training set and the test set respectively, so the data volume of this allocation method is twice the data volume of the above two allocation methods. The specific allocation method can be seen in Example Tables 1 and 2. The numbers corresponding to each group of parameter settings in Tables 1 and 2 are the data sample sizes.
[0053] Table 1
[0054]
[0055]
[0056] Table 2
[0057]
[0058] The allocated training set and test set are sent to multiple neural network models to be tested for training and testing, and multiple models are verified with different sample parameters to obtain the engine test results of each neural network model to be tested.
[0059] Specifically, the embodiment of the present application divides according to the length of a single sample as follows: after obtaining the sample vibration signal data through the sensor, a window of equal length is used to move in equal steps on the horizontal axis to divide the data to obtain the sample signal. The fixed length of the window is the sample length. The information contained in a single sample is different due to the different data sample lengths, which will have different effects on the diagnostic effect; the division according to the non-repetitive sampling length is as follows: when dividing the continuous sample vibration signal data, the moving step length of the window determines whether there is an overlap between two adjacent samples. If the moving step length of the window is less than the length of a single sample, there will be an overlapping part between the two adjacent samples. This method can increase the amount of sample data, thereby enhancing the generalization ability of the model. In the present application, the length of the non-overlapping part of two adjacent samples is called the non-repetitive sampling length. The longer the non-repetitive sampling length, the shorter the overlapping part between the two adjacent samples. If the length of the entire vibration signal is represented as L, the single sample length and the number of samples are represented as L respectively. seg and N, and the non-repeating sampling length is represented as L non-overlap , then the relationship between the four can be expressed by formula (1).
[0060] Further, this application will discuss L seg and L non-overlap The impact on the model output.
[0061] Specifically, when dividing data, the present application selects different sample lengths and non-repetitive sampling lengths to group the data. In terms of sample parameter selection, two factors are usually considered. On the one hand, in order to facilitate computer processing, 2 is usually selected. n Sampling length. On the other hand, in the general case of intelligent fault diagnosis, when the single sample length in the sample parameters is set to 1024 and its multiples according to the sampling frequency, the integrity of the rotation of the diagnosed machine can be guaranteed. Therefore, the single sample length selected in this application is 1024 sample points, 2048 sample points and 4096 sample points for control experiments; and in terms of non-repetitive sampling length, 50 sample points are used as the starting point, 500 sample points are used as the end point, and the step length is set to 50 to set different non-repetitive sampling lengths. In addition to the equal step length change, the present application also considers setting the non-repetitive sampling length to 1 / 4, 1 / 2 and 3 / 4 of the sample length, that is, a total of 13 different non-repetitive sampling lengths are set under each sample length, and then the processed data set is sent to multiple neural network models to be tested for training.
[0062] Furthermore, in order to evaluate the impact of different parameters on the diagnostic results, two indicators are considered: the accuracy of the diagnostic results and the time required to train the model. When actually performing fault diagnosis, it is usually hoped that the accuracy of the diagnostic results is as high as possible, while the time required to train the model is as short as possible. Therefore, these two factors are comprehensively considered to select more appropriate parameters. The processed data sets are input into multiple neural network models to be tested for testing, and the accuracy and training time of each training result are recorded. In order to avoid accidental errors, this application trains each set of data sets with different parameter settings ten times, and takes the average of the ten results as the training result of the set of parameter settings. This indicator is called the average accuracy.
[0063] According to the performance indicators of different sample parameters under different neural network models, the optimal sample parameters with the best diagnostic effect are selected, that is, the target data that meets the preset diagnostic conditions. The optimal sample parameters can generally be applied to different algorithms to diagnose the engine and obtain the engine fault diagnosis results, which can further shorten the diagnosis cycle and improve the diagnosis accuracy.
[0064] In order to enable those skilled in the art to further understand the automobile engine fault diagnosis method of the embodiment of the present application, it is described in detail below in conjunction with specific embodiments. Figure 2 shown.
[0065] Step 1: Design an engine vibration signal measurement experiment;
[0066] Step 2: Measure sample vibration signal data;
[0067] Step 3: Analyze and process the sample vibration signal data and extract features;
[0068] Step 4: Extract sample parameters reflecting the working status of the engine;
[0069] Step 5: Select working status sample parameters;
[0070] Step 6: Divide the number of working state sample parameters into multiple data groups based on the number of working state sample parameters according to the single sample length and the non-repetitive sampling length;
[0071] Step 7: Send the divided data groups into BP, CNN, and LSTM neural network models for experimental verification;
[0072] Step 8: Evaluate the engine diagnosis effect according to the performance indicators of each model;
[0073] Step 9: Find the sample parameters with the best performance.
[0074] According to the automobile engine fault diagnosis method proposed in the embodiment of the present application, sample vibration signal data of the engine under various operating conditions are collected, and the working state sample parameters of the engine are obtained after preprocessing the sample vibration signal data. The number of working state sample parameters is divided into multiple data groups according to the single sample length and the non-repetitive sampling length based on the number of working state sample parameters, and the multiple data groups are input into multiple neural network models to be tested to obtain the engine test results of the engine under each neural network model to be tested, and the target data that meets the preset diagnostic conditions is determined from the multiple data groups based on the engine test results, and the engine fault diagnosis results are obtained according to the target data. Thus, when the original data is segmented, the parameters such as the single sample length and the non-repetitive sampling length will have a certain impact on the fault diagnosis results. However, there is currently a lack of research on how to set this type of parameters, which will lead to a decrease in the reliability of the diagnosis results, and also make it impossible to uniformly and effectively evaluate and analyze the performance of different diagnostic methods. It can not only reduce the impact of human factors on the diagnosis results and improve the diagnosis accuracy, but also reduce the diagnosis time and the use of human resources.
[0075] Next, the automobile engine fault diagnosis device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.
[0076] Figure 3 It is a block diagram of an automobile engine fault diagnosis device according to an embodiment of the present application.
[0077] like Figure 3 As shown, the automobile engine fault diagnosis device 10 includes: a collection module 100, a test module 200 and an acquisition module 300.
[0078] Among them, the acquisition module 100 is used to collect sample vibration signal data of the engine under various operating conditions, and obtain the working state sample parameters of the engine after preprocessing the sample vibration signal data; the test module 200 is used to divide the number of working state sample parameters into multiple data groups based on the number of working state sample parameters according to a single sample length and a non-repetitive sampling length, and input the multiple data groups into multiple neural network models to be tested, to obtain the engine test results of the engine under each neural network model to be tested, and determine the target data that meets the preset diagnostic conditions from the multiple data groups based on the engine test results; the acquisition module 300 is used to obtain the fault diagnosis results of the engine according to the target data.
[0079] Optionally, in some embodiments, the test module 200 is also used to: randomly allocate multiple data groups into training sets and test sets in equal proportions according to a random allocation strategy; or allocate multiple data groups into training sets and test sets according to a front-to-back allocation strategy; or, use vibration data collected from multiple data groups using the same engine in different time periods as training sets and test sets respectively according to a different source allocation strategy; use the training sets and test sets to train and test multiple neural network models to be tested, and obtain engine test results for each neural network model to be tested.
[0080] Optionally, in some embodiments, the relationship between the single sample length, the working state sample parameter and the non-repetitive sampling length is:
[0081] L=L seg +(N-1)L non-overlap ;
[0082] Where L is the length of the vibration signal data, L seg is the length of a single sample, N is the number of working state sample parameters, L non-overlap is the non-repeating sampling length.
[0083] Optionally, in some embodiments, the acquisition module 100 is further used to: filter out noise interference in the sample vibration signal data, and perform time domain analysis and frequency domain analysis on the sample vibration signal data after the noise interference is filtered out to obtain sample parameters of the engine's operating status.
[0084] Optionally, in some embodiments, the multiple neural network models to be tested are BP neural network, convolutional neural network CNN and long short-term memory neural network LSTM.
[0085] It should be noted that the above explanations of the embodiment of the automobile engine fault diagnosis method are also applicable to the automobile engine fault diagnosis device of this embodiment, and will not be repeated here.
[0086] According to the automobile engine fault diagnosis device proposed in the embodiment of the present application, sample vibration signal data of the engine under various operating conditions are collected, and the working state sample parameters of the engine are obtained after preprocessing the sample vibration signal data. The number of working state sample parameters is divided into multiple data groups according to the single sample length and the non-repetitive sampling length based on the number of working state sample parameters, and the multiple data groups are input into multiple neural network models to be tested to obtain the engine test results of the engine under each neural network model to be tested, and the target data that meets the preset diagnostic conditions is determined from the multiple data groups based on the engine test results, and the engine fault diagnosis results are obtained according to the target data. Thus, when the original data is segmented, the parameters such as the single sample length and the non-repetitive sampling length will have a certain impact on the fault diagnosis results. However, there is currently a lack of research on how to set this type of parameters, which will lead to a decrease in the reliability of the diagnosis results, and also make it impossible to uniformly and effectively evaluate and analyze the performance of different diagnostic methods. It can not only reduce the impact of human factors on the diagnosis results and improve the diagnosis accuracy, but also reduce the diagnosis time and the use of human resources.
[0087] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0088] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0089] When the processor 402 executes the program, the automobile engine fault diagnosis method provided in the above embodiment is implemented.
[0090] Furthermore, the electronic device further comprises:
[0091] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0092] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0093] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0094] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0095] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0096] The processor 402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0097] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned automobile engine fault diagnosis method is implemented.
[0098] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0099] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0100] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0101] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0102] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0103] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0104] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0105] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for diagnosing automobile engine faults, It is characterized in that The following steps are involved: Collecting sample vibration signal data of the engine under various operating conditions, and obtaining sample working state parameters of the engine after preprocessing the sample vibration signal data; Dividing the number of the working state sample parameters into a plurality of data groups according to a single sample length and a non-repetitive sampling length based on the number of the working state sample parameters, and inputting the plurality of data groups into a plurality of neural network models to be tested, obtaining an engine test result of the engine under each neural network model to be tested, and determining target data that meets a preset diagnostic condition from the plurality of data groups based on the engine test result; A fault diagnosis result of the engine is obtained according to the target data.
2. The method according to claim 1, It is characterized in that The step of inputting the plurality of data groups into a plurality of neural network models to be tested to obtain an engine test result of the engine under each neural network model to be tested comprises: Randomly allocating the multiple data sets into training sets and test sets in equal proportions according to a random allocation strategy; Or, allocating the multiple data groups into the training set and the test set according to a front-back allocation strategy; Or, according to different source allocation strategies, the vibration data collected by the same engine in different time periods in the multiple data groups are used as the training set and the test set respectively; The training set and the test set are used to train and test multiple neural network models to be tested, and an engine test result of each neural network model to be tested is obtained.
3. The method according to claim 1, It is characterized in that The relationship between the single sample length, the working state sample parameter and the non-repetitive sampling length is: L=L seg +(N-1)L non-overlap ; Where L is the length of the vibration signal data, L seg is the length of a single sample, N is the number of working state sample parameters, L non-overlap is the non-repeating sampling length.
4. The method according to claim 1, It is characterized in that After preprocessing the sample vibration signal data, the engine working state sample parameters are obtained, including: Noise interference in the sample vibration signal data is filtered out, and time domain analysis and frequency domain analysis are performed on the sample vibration signal data after the noise interference is filtered out to obtain sample parameters of the working state of the engine.
5. The method according to claim 1, It is characterized in that The multiple neural network models to be tested are BP neural network, convolutional neural network CNN and long short-term memory neural network LSTM.
6. A vehicle engine fault diagnosis device, It is characterized in that include: An acquisition module is used to acquire sample vibration signal data of the engine under various operating conditions, and obtain sample parameters of the engine's operating state after preprocessing the sample vibration signal data; A testing module, configured to divide the number of the working state sample parameters into a plurality of data groups based on the number of the working state sample parameters according to a single sample length and a non-repetitive sampling length, and input the plurality of data groups into a plurality of neural network models to be tested, to obtain an engine test result of the engine under each neural network model to be tested, and to determine target data satisfying a preset diagnostic condition from the plurality of data groups based on the engine test result; An acquisition module is used to obtain a fault diagnosis result of the engine according to the target data.
7. The device according to claim 6, It is characterized in that The test module is also used for: Randomly allocating the multiple data sets into training sets and test sets in equal proportions according to a random allocation strategy; Or, allocating the multiple data groups into the training set and the test set according to a front-back allocation strategy; Or, according to different source allocation strategies, the vibration data collected by the same engine in different time periods in the multiple data groups are used as the training set and the test set respectively; The training set and the test set are used to train and test multiple neural network models to be tested, and an engine test result of each neural network model to be tested is obtained.
8. The device according to claim 6, It is characterized in that The relationship between the single sample length, the working state sample parameter and the non-repetitive sampling length is: L=L seg +(N-1)L non-overlap ; Where L is the length of the vibration signal data, L seg is the length of a single sample, N is the number of working state sample parameters, L non-overlap is the non-repeating sampling length.
9. An electronic device, It is characterized in that Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the automobile engine fault diagnosis method as described in any one of claims 1-5.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the program is executed by a processor, the automobile engine fault diagnosis method as described in any one of claims 1-5 is implemented.
Citation Information
Patent Citations
Rolling bearing fault diagnosing method and equipment based on CEEMDAN and CFSFDP
CN109100143A
Rotating machine fault diagnosis method based on wavelet packet decomposition
CN112347588A
Target detection data optimization method based on unmarked frame
CN115661587A
Machine learning model construction method, vehicle driving risk prediction method and device
CN117150276A
Multi-structure data driven wheel flat quantitative identification method and system
CN117799659A
