PCSP ignition strategy knock detection method and device
By extracting cylinder pressure features and cross-training models, and optimizing thresholds, the problem of poor traditional knock detection under the PCSP ignition strategy is solved, and more accurate knock detection is achieved.
Patent Information
- Application Number
- CN202210175964.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-02-25
AI Technical Summary
The PCSP ignition strategy changes the combustion process, causing the traditional knock intensity index based on the cylinder pressure curve to be unable to accurately describe knock. The n-dimensional knock signal characteristics calculated by the ECU have a reduced fitting effect on the knock intensity, making knock detection difficult.
Extract the cylinder pressure characteristics of the initial knock index, determine the label of the sample data, establish a cylinder pressure model and a knock model, correct the labels through cross-training, and optimize the knock threshold, use short-time Fourier transformation to extract cylinder pressure characteristics, and cross Knock features are trained to solve PCSP knock label ambiguity problem.
Through cross-training and threshold optimization, the accuracy of knock detection under PCSP ignition strategy is improved, the problem of reduced knock detection effect under traditional methods is solved, and more accurate knock detection is achieved.
Smart Images

Figure CN114781425B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of knock detection, and in particular to a PCSP ignition strategy knock detection method and device. Background Art
[0002] Compared with the traditional spark plug ignition method, the passive premixing chamber (PCSP) has a faster combustion rate and can effectively suppress knock, thereby providing better fuel economy. At the same time, the new ignition structure poses a challenge to the traditional knock detection method.
[0003] In traditional knock detection, the ECU determines the knock state by analyzing the signal of the knock sensor. If knock is detected, the ignition time of the next cycle is postponed. There are many strategies for detecting knock. One of them is that the ECU intercepts a section of the knock sensor signal at the time point when knock usually occurs (such as near the peak point of cylinder pressure), processes the signal and calculates a set of knock signal features with a length of n. When performing knock calibration, it is usually necessary to analyze the signal of the cylinder pressure sensor to calculate a real knock intensity index. Then, the n-dimensional knock signal feature is used to fit the real knock intensity index calculated based on the cylinder pressure, and the threshold for judging knock under different working conditions is determined in combination with expert knowledge, thereby realizing ECU knock detection.
[0004] The PCSP ignition strategy changes the combustion process, resulting in the original knock intensity index based on the cylinder pressure curve being unable to accurately describe the knock. At the same time, the fitting effect of the n-dimensional knock signal characteristics calculated by the ECU on the knock intensity index has also declined, making it difficult to detect knock for the PCSP ignition strategy. Summary of the invention
[0005] The present application provides a PCSP ignition strategy knock detection method and device, which can solve the problem of difficulty in knock detection under the PCSP ignition strategy in the related art. The technical solution is as follows:
[0006] According to one aspect of the present application, an embodiment of the present application provides a PCSP ignition strategy knock detection method, the PCSP ignition strategy knock detection method is used for an on-board computer ECU, and the method includes:
[0007] Extracting cylinder pressure features from the initial knock index, the cylinder pressure features being cylinder pressure features corresponding to each sample data of the initial knock index;
[0008] Determining a label of the sample data of the initial knock indicator, the type of the label including knock or non-knock;
[0009] Establishing a cylinder pressure model and a knock model according to the cylinder pressure characteristics and initial knock characteristics of each sample data, wherein the initial knock characteristics are calculated according to a knock sensor;
[0010] Cross-training the cylinder pressure model and the knock model, and modifying the original labels of the sample data according to the cross-training results;
[0011] The knock thresholds of the cylinder pressure model and the knock model are optimized according to the new labels of the corrected sample data.
[0012] According to another aspect of the present application, an embodiment of the present application provides a PCSP ignition strategy knock detection device, the device is used for an on-board computer ECU, and the device includes:
[0013] A feature extraction module, used to extract cylinder pressure features from the initial knock index, wherein the cylinder pressure features are cylinder pressure features corresponding to each sample data of the initial knock index;
[0014] a label determination module, configured to determine a label of the sample data of the initial knock index, wherein the type of the label includes knock or non-knock;
[0015] A model building module, used to build a cylinder pressure model and a knock model according to the cylinder pressure characteristics and initial knock characteristics of each sample data, wherein the initial knock characteristics are calculated according to the knock sensor;
[0016] A model training module, used for cross-training the cylinder pressure model and the knock model, and correcting the original label of the sample data according to the cross-training result;
[0017] The threshold optimization module is used to optimize the knock threshold of the cylinder pressure model and the knock model according to the new label of the corrected sample data.
[0018] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0019] The embodiment of the present application provides a PCSP ignition strategy knock detection method that extracts cylinder pressure features from the initial knock index, where the cylinder pressure features are cylinder pressure features corresponding to each sample data of the initial knock index; determines the label of the sample data of the initial knock index, where the label type includes knock or non-knock; establishes a cylinder pressure model and a knock model based on the cylinder pressure features and the initial knock features of each sample data, where the initial knock features are calculated based on the knock sensor; cross-trains the cylinder pressure model and the knock model, and corrects the original labels of the sample data based on the cross-training results; and optimizes the knock thresholds for the cylinder pressure model and the knock model based on the new labels of the corrected sample data. A method for extracting cylinder pressure features based on short-time Fourier change solves the PCSP knock label ambiguity problem by cross-training the knock features and the cylinder pressure features. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 A flowchart of a PCSP ignition strategy knock detection method provided by an exemplary embodiment of the present application is shown;
[0022] Figure 2 A schematic diagram of model cross-training provided by an exemplary embodiment of the present application is shown;
[0023] Figure 3 A structural block diagram of a PCSP ignition strategy knock detection device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present application clearer, the following will further describe the implementation of the present application in detail with reference to the accompanying drawings. In addition, the technical features involved in the different implementations of the present application described can be combined with each other as long as they do not conflict with each other.
[0025] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0026] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0027] Please refer to Figure 1 , which shows a flowchart of a PCSP ignition strategy knock detection method provided by an exemplary embodiment of the present application, the method is used for an on-board computer ECU. The method comprises the following steps:
[0028] Step 101 : extracting cylinder pressure features for the initial knock index, where the cylinder pressure features are cylinder pressure features corresponding to each sample data of the initial knock index.
[0029] In a possible implementation, step 101 includes the following contents 1 to 3.
[0030] Content 1: Divide the initial knock index into intervals.
[0031] Content 2: Randomly collect N sample data in each indicator interval, where N is not greater than the number of data in the indicator interval.
[0032] Content 3. Extract cylinder pressure characteristics based on the cylinder pressure curve corresponding to each sample data.
[0033] The above content is explained as performing interval segmentation (which can be equally spaced segmentation) on the original knock index. For example, if the original knock index is 0 to 5, the interval segmentation is performed under equally spaced segmentation to obtain 5 index intervals, namely 0 to 1, 1 to 2, 2 to 3, 3 to 4 and 4 to 5.
[0034] Furthermore, N samples are randomly collected from the data in each index interval (each data corresponds to a combustion cycle). If the data in the index interval is less than N, all samples are collected in this index interval. Furthermore, new features are extracted from the cylinder pressure curve corresponding to each sampled data. The specific process is as follows: The cylinder pressure curve is median filtered to obtain a low-frequency cylinder pressure signal (<5kHz) to determine the crankshaft angle CA corresponding to the peak value of the cylinder pressure peak , with CA origin =CA peak -5 is the center to intercept the original cylinder pressure signal before and after 50. Calculate its corresponding short-time Fourier transform (STFT). The frequency band corresponding to the knock detection (such as: 5kHz~25kHz) is intercepted from the STFT to obtain the STFT required for knock detection. At this time, we record the obtained STFT as S xx ∈R n ×s , the corresponding frequency is recorded as f∈R n , the corresponding time is recorded as t∈R s For each time point t(j) j=1,...,s we make the following calculation:
[0035] The total energy at each time point,
[0036] According to the energy-weighted center frequency,
[0037] Weighted center bandwidth,
[0038] Calculate the following output features, (here j origin Yes CA origin At t∈R s )
[0039] The average bandwidth after the peak,
[0040] (or weighted average bandwidth after the peak, );
[0041] The energy after the peak,
[0042] Based on the observation of sample data, we not only xx Extract features and convert S xx The features are extracted in two sections: 5kHz~10kHz and 10kHz~25kHz, so as to obtain the four cylinder pressure features of the final output:
[0043] Energy and average bandwidth from 5kHz to 10kHz:
[0044] Energy at 10kHz~25kHz: Energy at 5kHz~25kHz:
[0045] Step 102 : determining labels of sample data of the initial knock index, where the label types include knock or non-knock.
[0046] In a possible implementation, the label of the sample data of the initial knock index is determined according to the preset knock index. According to the previous expert experience, each sample data (a combustion cycle) is given a preliminary label using the original knock index.
[0047] Step 103 : establishing a cylinder pressure model and a knock model according to the cylinder pressure characteristics and initial knock characteristics of each sample data, wherein the initial knock characteristics are calculated according to the knock sensor.
[0048] Step 104 , cross-training the cylinder pressure model and the knock model, and modifying the original labels of the sample data according to the cross-training results.
[0049] In a possible implementation, step 104 includes the following content 1 and content 2.
[0050] Content 1. Comparison of the pseudo-knock threshold based on the cylinder pressure model with the original label of the sample data.
[0051] Content 2: In response to the pseudo-knock threshold being greater than the threshold corresponding to the label and the model label prediction result being inconsistent with the original label, the original label of the sample data is corrected.
[0052] In the sample data set, we have two sets of features for each data point (combustion cycle). One set is the knock feature calculated by the ECU based on the knock sensor, called ffeas[i]∈R^ni=1,…,N; the other set is the cylinder pressure feature we just extracted based on the cylinder pressure signal, called pfeas[i]∈R^4,i=1,…,N. Figure 2 As shown, two logistic regression models are established using these two sets of features to start cross-training. During the training cycle, the pseudo-knock threshold of the cylinder pressure model is compared with the existing label. When the pseudo-knock threshold is greater than the set threshold and the prediction result is inconsistent with the original label, the label is modified.
[0053] Step 105 , optimizing the knock thresholds of the cylinder pressure model and the knock model according to the new labels of the corrected sample data.
[0054] In a possible implementation, step 105 includes the following content 1 and content 2.
[0055] Content 1. The cylinder pressure model and the knock model are trained according to the new labels of the corrected sample data to obtain a logistic regression model under a stable state.
[0056] Among them, the new labels are used to train the knock model, and the labels are also modified according to the pseudo-knock threshold to train the new cylinder pressure model. This cycle continues until the labels and models converge to a stable state.
[0057] Content 2: Optimize the knock threshold of the logistic regression model based on the ROC curve.
[0058] Based on the above embodiment, there is the following situation: in some cross-training processes, we also observed that the two models are always competing for several samples. After observation, in this situation, the knock signal and the cylinder pressure signal have a relatively large difference. In order to obtain a stable model, we choose to discard the samples with large differences between the two signals and perform a second round of cross-training. Therefore, the method also includes:
[0059] Step 1: Compare the cylinder pressure signal of the cylinder pressure model and the knock signal of the knock model.
[0060] Step 2: discard cylinder pressure signals and knock signals whose signal differences are greater than a preset threshold.
[0061] Step 3: Perform secondary cross-training on the cylinder pressure model and the knock model, and modify the original labels of the sample data according to the secondary cross-training results.
[0062] In addition, during the cross-training process, we try to maintain the ratio of positive and negative samples by setting the probability p of modifying the label independently.
[0063] Figure 3 This is a structural block diagram of a hybrid vehicle self-learning device provided by an exemplary embodiment of the present application. The device is used for an on-board computer ECU, and the device includes:
[0064] A feature extraction module 301 is used to extract cylinder pressure features from the initial knock index, where the cylinder pressure features are cylinder pressure features corresponding to each sample data of the initial knock index;
[0065] A label determination module 302 is used to determine a label of the sample data of the initial knock index, where the type of the label includes knock or non-knock;
[0066] A model building module 303, for building a cylinder pressure model and a knock model according to the cylinder pressure characteristics and initial knock characteristics of each sample data, wherein the initial knock characteristics are calculated according to the knock sensor;
[0067] A model training module 304 is used to cross-train the cylinder pressure model and the knock model, and to modify the original label of the sample data according to the cross-training result;
[0068] The threshold optimization module 305 is used to optimize the knock threshold of the cylinder pressure model and the knock model according to the new label of the corrected sample data.
[0069] Optionally, the model training module includes:
[0070] A first training unit, configured to compare the pseudo-knock threshold of the cylinder pressure model with the original label of the sample data;
[0071] The second training unit is used to correct the original label of the sample data in response to the pseudo-knock threshold being greater than the label corresponding threshold and the model label prediction result being inconsistent with the original label.
[0072] Optionally, the threshold optimization module includes:
[0073] A first optimization unit is used to train the cylinder pressure model and the knock model according to the new label of the corrected sample data to obtain a logistic regression model in a stable state;
[0074] The second optimization unit is used to optimize the knock threshold of the logistic regression model according to the ROC curve.
[0075] Optionally, the feature extraction module includes:
[0076] A first extraction unit, configured to segment the initial knock index into intervals;
[0077] The second extraction unit is used to randomly collect N sample data in each index interval, wherein N is not greater than the number of data in the index interval;
[0078] The third extraction unit is used to extract the cylinder pressure feature according to the cylinder pressure curve corresponding to each sample data.
[0079] Optionally, the label determination module is further used to:
[0080] The label of the sample data of the initial knock index is determined according to the preset knock index.
[0081] Optionally, the device further comprises:
[0082] A signal comparison module, used for comparing the cylinder pressure signal of the cylinder pressure model with the knock signal of the knock model;
[0083] A signal discarding module, used to discard cylinder pressure signals and knock signals whose signal differences are greater than a preset threshold;
[0084] The secondary training module is used to perform secondary cross-training on the cylinder pressure model and the knock model, and to modify the original label of the sample data according to the secondary cross-training result.
[0085] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the PCSP ignition strategy knock detection method described in any of the above embodiments.
[0086] The present application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the PCSP ignition strategy knock detection method provided in the above embodiment.
[0087] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0088] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A PCSP ignition strategy knock detection method, characterized in that: The PCSP ignition strategy knock detection method is used for an on-board computer ECU, and the method comprises: Extracting cylinder pressure features from the initial knock index, the cylinder pressure features being cylinder pressure features corresponding to each sample data of the initial knock index; Determining a label of the sample data of the initial knock indicator, the type of the label including knock or non-knock; Establishing a cylinder pressure model and a knock model according to the cylinder pressure characteristics and initial knock characteristics of each sample data, wherein the initial knock characteristics are calculated according to a knock sensor; Cross-training the cylinder pressure model and the knock model, and modifying the original labels of the sample data according to the cross-training results; The knock thresholds of the cylinder pressure model and the knock model are optimized according to the new labels of the corrected sample data.
2. The PCSP ignition strategy knock detection method according to claim 1, characterized in that: The cross-training of the cylinder pressure model and the knock model, and the correction of the original label of the sample data according to the cross-training result, include: Comparing the pseudo-knock threshold of the cylinder pressure model with the original label of the sample data; In response to the pseudo-knock threshold being greater than the threshold corresponding to the label and the model label prediction result being inconsistent with the original label, the original label of the sample data is corrected.
3. The PCSP ignition strategy knock detection method according to claim 1, characterized in that: The performing knock threshold optimization on the cylinder pressure model and the knock model according to the corrected new label of the sample data includes: The cylinder pressure model and the knock model are trained according to the new labels of the corrected sample data to obtain a logistic regression model in a stable state; The knock threshold of the logistic regression model is optimized according to the ROC curve.
4. The PCSP ignition strategy knock detection method according to any one of claims 1 to 3, characterized in that: The extracting of cylinder pressure characteristics from the initial knock index includes: dividing the initial knock index into intervals; Randomly collect N sample data in each index interval, where N is not greater than the number of data in the index interval; The cylinder pressure feature is extracted according to the cylinder pressure curve corresponding to each sample data.
5. The PCSP ignition strategy knock detection method according to any one of claims 1 to 3, characterized in that: The determining of the label of the sample data of the initial knock index comprises: The label of the sample data of the initial knock index is determined according to the preset knock index.
6. The PCSP ignition strategy knock detection method according to any one of claims 1 to 3, characterized in that: The method further comprises: comparing a cylinder pressure signal of the cylinder pressure model with a knock signal of the knock model; Discarding cylinder pressure signals and knock signals whose signal differences are greater than a preset threshold; The cylinder pressure model and the knock model are cross-trained for a second time, and the original labels of the sample data are corrected according to the result of the cross-training for a second time.
7. A PCSP ignition strategy knock detection device, characterized in that: The device is used for an on-board computer ECU, and the device comprises: A feature extraction module, used to extract cylinder pressure features from the initial knock index, wherein the cylinder pressure features are cylinder pressure features corresponding to each sample data of the initial knock index; a label determination module, configured to determine a label of the sample data of the initial knock index, wherein the type of the label includes knock or non-knock; A model building module, used to build a cylinder pressure model and a knock model according to the cylinder pressure characteristics and initial knock characteristics of each sample data, wherein the initial knock characteristics are calculated according to the knock sensor; A model training module, used for cross-training the cylinder pressure model and the knock model, and correcting the original label of the sample data according to the cross-training result; The threshold optimization module is used to optimize the knock threshold of the cylinder pressure model and the knock model according to the new label of the corrected sample data.
8. The PCSP ignition strategy knock detection device according to claim 7, characterized in that: The model training module includes: A first training unit, configured to compare the pseudo-knock threshold of the cylinder pressure model with the original label of the sample data; The second training unit is used to correct the original label of the sample data in response to the pseudo-knock threshold being greater than the label corresponding threshold and the model label prediction result being inconsistent with the original label.
9. The PCSP ignition strategy knock detection device according to claim 7, characterized in that: The threshold optimization module includes: A first optimization unit is used to train the cylinder pressure model and the knock model according to the new label of the corrected sample data to obtain a logistic regression model in a stable state; The second optimization unit is used to optimize the knock threshold of the logistic regression model according to the ROC curve.
10. The PCSP ignition strategy knock detection device according to any one of claims 7 to 9, characterized in that: The feature extraction module comprises: A first extraction unit, configured to segment the initial knock index into intervals; The second extraction unit is used to randomly collect N sample data in each index interval, wherein N is not greater than the number of data in the index interval; The third extraction unit is used to extract the cylinder pressure feature according to the cylinder pressure curve corresponding to each sample data.
11. The PCSP ignition strategy knock detection device according to any one of claims 7 to 9, characterized in that: The label determination module is further used for: The label of the sample data of the initial knock index is determined according to the preset knock index.
12. The PCSP ignition strategy knock detection device according to any one of claims 7 to 9, characterized in that: The device also includes: A signal comparison module, used for comparing the cylinder pressure signal of the cylinder pressure model with the knock signal of the knock model; A signal discarding module, used to discard cylinder pressure signals and knock signals whose signal differences are greater than a preset threshold; The secondary training module is used to perform secondary cross-training on the cylinder pressure model and the knock model, and to modify the original label of the sample data according to the secondary cross-training result.
Citation Information
Patent Citations
Knock interference identification method
CN112922724A
Knocking detection method and knocking detection device for engine
JP2005042583A
Brake control device, and brake control method
JP2006219056A
