Engine crankshaft self-synchronization detection method and related device
By dynamically adjusting the Gap threshold and matching the Gap threshold according to the engine speed fluctuation, the self-synchronization detection error problem caused by speed fluctuation in the existing technology is solved, and the accuracy and robustness of the detection are improved.
Patent Information
- Application Number
- CN202410988001.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, during the self-synchronization detection of the engine crankshaft, when the speed is rapidly accelerated or decelerated, the fixed Gap threshold is difficult to match the actual situation, resulting in self-synchronization detection errors and poor robustness.
According to the degree of engine speed fluctuation, the Gap threshold is dynamically adjusted. The first Gap threshold is determined upon successful startup by referring to the Gap value. When the speed fluctuation is severe, the second Gap threshold is calculated based on the current tooth cycle and the previous tooth cycle to match the actual tooth cycle. cycle to improve detection accuracy.
It improves the accuracy and robustness of crankshaft self-synchronization detection, avoids detection errors caused by speed fluctuations, and adapts to engine synchronization detection under different working conditions.
Smart Images

Figure CN118603571A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engine synchronization, and more specifically to an engine crankshaft self-synchronization detection method, device and electronic equipment. Background Art
[0002] During engine operation, the engine crankshaft needs to be kept self-synchronized.
[0003] In order to ensure the normal operation of the engine, the crankshaft will be tested to see if it is self-synchronized. If it is self-synchronized, the engine is allowed to start. If it is not self-synchronized, the engine is not allowed to start or run.
[0004] How to perform crankshaft self-synchronization detection is a technical problem that those skilled in the art need to solve urgently. Summary of the invention
[0005] In view of this, the present invention provides an engine crankshaft self-synchronization detection method and related devices to solve the problem of the urgent need for crankshaft self-synchronization detection.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0007] A method for detecting self-synchronization of an engine crankshaft, comprising:
[0008] Continuously collect multiple engine speeds;
[0009] Using the multiple rotational speeds, determining whether the rotational speed fluctuation degree of the engine is a preset fluctuation degree;
[0010] If so, when the start state of the engine is a successful start, a first Gap threshold is determined based on a reference missing tooth width Gap value, and when the calculated Gap value is greater than the first Gap threshold and only one Gap value is calculated for one crankshaft rotation, information indicating successful self-synchronization of the engine crankshaft is output; the reference Gap value includes the Gap value and a plurality of historical Gap values calculated before the Gap value is calculated;
[0011] If not, a second Gap threshold is calculated based on the current tooth cycle and the previous tooth cycle. When the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated for one crankshaft rotation, information indicating successful self-synchronization of the engine crankshaft is output.
[0012] Optionally, using the multiple rotation speeds to determine whether the rotation speed fluctuation degree of the engine is a preset fluctuation degree includes:
[0013] Calculate the speed difference between two adjacent speeds;
[0014] determining a first number of rotational speed differences greater than a first predetermined rotational speed difference threshold;
[0015] determining a second number of sequentially consecutive rotational speed differences that are greater than a second predetermined rotational speed difference threshold;
[0016] Determining whether the first number is greater than a first preset number, or whether the second number is greater than a second preset number;
[0017] If the first number is greater than a first preset number, or the second number is greater than a second preset number, it is determined that the speed fluctuation degree of the engine is a preset fluctuation degree.
[0018] Optionally, determining a first Gap threshold based on a reference Gap value includes:
[0019] Calculate the average of the reference Gap values;
[0020] The sum of the average value and the preset calibration value is used as the first Gap threshold.
[0021] Optionally, based on the current tooth cycle and the previous tooth cycle, a second Gap threshold is calculated, including:
[0022] Calculate the width between the rising edges of two current teeth of the crankshaft, and use the width as the current tooth period;
[0023] Get the previous tooth cycle;
[0024] Calculating a ratio of the current tooth cycle to the previous tooth cycle;
[0025] Based on the product of the ratio and a preset value, a second Gap threshold is obtained.
[0026] Optionally, when the starting state of the engine is starting, the method further includes:
[0027] Turns off the crankshaft error diagnostic function.
[0028] Optionally, multiple engine speeds are continuously collected, including:
[0029] The engine speed is collected once at fixed intervals to obtain multiple speeds.
[0030] Optionally, when the calculated Gap value is not greater than the first Gap threshold, or when the calculated Gap value after the crankshaft rotates one circle is not one, the method further includes:
[0031] Output engine crankshaft desynchronization fault information.
[0032] An engine crankshaft self-synchronization detection device, comprising:
[0033] The speed acquisition module is used to continuously acquire multiple speeds of the engine;
[0034] A fluctuation degree determination module, used to determine whether the speed fluctuation degree of the engine is a preset fluctuation degree by using the multiple speeds;
[0035] A first self-synchronization judgment module is used for, if the start-up state of the engine is a successful start, determining a first Gap threshold value based on a reference missing tooth width Gap value, and outputting information indicating successful self-synchronization of the engine crankshaft when the calculated Gap value is greater than the first Gap threshold value and only one Gap value is calculated for one crankshaft rotation; the reference Gap value includes the Gap value and a plurality of historical Gap values calculated before the Gap value is calculated;
[0036] The second self-synchronization judgment module is used to calculate a second Gap threshold based on the current tooth cycle and the previous tooth cycle, and output information indicating successful self-synchronization of the engine crankshaft when the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated for one rotation of the crankshaft.
[0037] An electronic device comprises at least one processor and a memory connected to the processor, wherein:
[0038] The memory is used to store computer programs;
[0039] The processor is used to execute the computer program so that the electronic device can implement the above-mentioned engine crankshaft self-synchronization detection method.
[0040] A computer storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the above-mentioned engine crankshaft self-synchronization detection method.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] The present invention provides an engine crankshaft self-synchronization detection method and related devices. In the case that the engine speed fluctuation degree is a preset fluctuation degree and the engine startup state is a successful startup, in order to avoid crankshaft self-synchronization detection errors caused by speed fluctuations, the present invention determines a first Gap threshold based on a reference Gap value, so that the determined Gap threshold is more consistent with the current engine speed, improves the accuracy of Gap threshold setting, and thus improves the accuracy of crankshaft self-synchronization detection. In the case that the engine speed fluctuation degree is not the preset fluctuation degree, a second Gap threshold is calculated based on the current tooth cycle and the previous tooth cycle, so that the calculated Gap threshold matches the tooth cycle of the actual engine crankshaft, improves the accuracy of Gap threshold setting, and thus improves the accuracy of crankshaft self-synchronization detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0044] Figure 1 A flow chart of an engine crankshaft self-synchronization detection method provided by an embodiment of the present invention;
[0045] Figure 2 A flow chart of a method for determining the degree of rotational speed fluctuation provided by an embodiment of the present invention;
[0046] Figure 3 A flowchart of a method for determining a threshold value provided by an embodiment of the present invention;
[0047] Figure 4 A flow chart of another engine crankshaft self-synchronization detection method provided by an embodiment of the present invention;
[0048] Figure 5 A schematic structural diagram of an engine crankshaft self-synchronization detection device provided by an embodiment of the present invention;
[0049] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] In practical applications, the crankshaft sensor is usually a magnetoelectric or Hall type, using 60-2 teeth as a crankshaft cycle (360 degrees), where the missing tooth width of each cycle is called the Gap value.
[0052] The phase synchronization of the engine during operation depends on whether the relative position of the crankshaft and camshaft matches the underlying software settings. If the engine's crankshaft and camshaft are self-synchronized and the relative position of the crankshaft and camshaft signals are correct, the engine synchronization is successful.
[0053] Therefore, the self-synchronization of the crankshaft is crucial to the operation of the engine. If it is self-synchronized, the engine is allowed to start. If it is not self-synchronized, the engine is not allowed to start. After the engine starts successfully, if the crankshaft loses synchronization, a corresponding fault is reported.
[0054] In order to ensure the normal operation of the engine, the crankshaft will be tested to see if it is self-synchronized. If it is self-synchronized, the engine is allowed to start. If it is not self-synchronized, the engine is not allowed to start or run.
[0055] When performing crankshaft self-synchronization detection, the detected Gap value can be compared with the fixed Gap threshold. If the detected Gap value is greater than the fixed Gap threshold, the self-synchronization is successful. If it is not greater than the fixed Gap threshold, it is not synchronized.
[0056] However, the actual Gap value is related to the engine speed. When the speed is accelerated or decelerated suddenly, the actual tooth period value will be too small or too large, causing the actual calculated Gap value to deviate from the fixed Gap threshold. At this time, the normal teeth will be mistakenly identified as missing teeth or extra teeth, causing the crankshaft error (Err) fault to be reported and the synchronization problem to be lost. Or when the speed fluctuates violently, there is also a situation where the normal teeth are mistakenly identified as missing teeth or extra teeth, and the crankshaft error (Err) fault is reported, resulting in the phenomenon of loss of synchronization, making the fixed Gap value less robust under the three conditions of rapid acceleration, rapid deceleration and violent speed fluctuations.
[0057] Therefore, under the condition of rapid acceleration, rapid deceleration or drastic fluctuation of the speed, an engine crankshaft self-synchronization detection method and related devices have been developed. When the engine speed fluctuation degree is a preset fluctuation degree and the engine start state is a successful start, in order to avoid crankshaft self-synchronization detection errors caused by speed fluctuations, the present invention will determine a first Gap threshold based on a reference Gap value, so that the determined Gap threshold is more in line with the current engine speed, thereby improving the accuracy of the Gap threshold setting, and thereby improving the accuracy of the crankshaft self-synchronization detection.
[0058] When the speed fluctuation degree of the engine is not the preset fluctuation degree, the speed can be accelerated or decelerated rapidly. The second Gap threshold will be calculated based on the current tooth cycle and the previous tooth cycle, so that the calculated Gap threshold matches the tooth cycle of the actual engine crankshaft, thereby improving the accuracy of the Gap threshold setting and further improving the accuracy of the crankshaft self-synchronization detection.
[0059] On the basis of the above-mentioned embodiments, an embodiment of the present invention provides a method for detecting self-synchronization of an engine crankshaft. The execution subject of the detection method may be a device such as an engine controller.
[0060] Reference Figure 1 , a method for detecting engine crankshaft self-synchronization may include:
[0061] S11. Continuously collect multiple engine speeds.
[0062] In practical applications, this embodiment is mainly aimed at scenes such as rapid acceleration, rapid deceleration, drastic fluctuation of engine speed, normal speed, low speed during cold start, etc. Therefore, in this embodiment, it is necessary to detect the engine speed.
[0063] The Gap calculation in this embodiment is performed according to a cycle, so the speed detection can also be performed according to a cycle, and the two cycles can be the same cycle, so the engine speed can be collected once every fixed cycle to obtain multiple speeds. The collected speed can be obtained by a speed sensor.
[0064] S12. Using the multiple rotation speeds, determine whether the speed fluctuation degree of the engine is a preset fluctuation degree; if so, execute step S13; if not, execute step S14.
[0065] Specifically, by analyzing the speed value, it can be determined whether the speed is rapidly accelerated, rapidly decelerated, violently fluctuated, or normal. The preset fluctuation degree in this embodiment is violent fluctuation, that is, the present invention divides crankshaft self-synchronization into two cases, one is self-synchronization under violent fluctuation, and the other is self-synchronization under non-violent fluctuation. At this time, the speed can be any of rapid acceleration, rapid deceleration and normal.
[0066] At this time, the change rate of each speed value can be directly calculated, and the speed change can be determined based on the change rate. For violent fluctuations, the speed change rate will change positively or negatively. For rapid acceleration or deceleration of the speed, the value of the change rate will change, but the positive or negative value will not change.
[0067] In addition, the speed difference between two adjacent speeds can be calculated, and the value of the speed difference can be analyzed to determine whether it is a preset fluctuation. Figure 2 , as follows:
[0068] S21. Calculate the speed difference between two adjacent speeds.
[0069] If the collected speed values include A, B, C, D, E, F and G, the values of BA, CB, DC, ED, FE and GF can be calculated, that is, the speed difference between each adjacent speed can be obtained.
[0070] In practical applications, in order to correctly analyze the change of the speed difference, at least ten speed values can be collected, such as collecting 10 speed values N(n); N(n-1)...N(n-9), and storing them in an array.
[0071] S22. Determine a first number of rotation speed differences that are greater than a first preset rotation speed difference threshold.
[0072] The first preset speed difference threshold may be configured according to actual conditions. At this time, speed differences greater than the first preset speed difference threshold are screened out from all the calculated speed differences, and the number of screened speed differences is counted to obtain a first number.
[0073] For example, the calculated speed differences are 10, 15, 20, 10, 9, 2, 8, 7, and 12. If the first preset speed difference threshold is 9, then the above 10, 15, 20, 10, and 12 are speed differences that meet the requirements, and the first number is 5.
[0074] S23: Determine a second number of rotational speed differences that are greater than a second preset rotational speed difference threshold and are sequentially continuous.
[0075] Specifically, the second preset speed difference threshold can be used to select the speed differences that are greater than the second preset speed difference threshold and are continuous in sequence from all the calculated speed differences according to the actual configuration to obtain the second number.
[0076] For example, the calculated speed difference is 10, 15, 20, 10, 9, 2, 8, 7, 12. If the first preset speed difference threshold is 8, then the above 10, 15, 20, 10, 9 and 12 are the speed differences that meet the requirements. Since 10, 15, 20, 10, 9 are continuous in sequence, but 12 is not continuous, the second number is 5 at this time.
[0077] S24. Determine whether the first number is greater than a first preset number, or whether the second number is greater than a second preset number.
[0078] Specifically, the first preset number and the second preset number are based on actual configurations. If the first number is greater than the first preset number, or the second number is greater than the second preset number, it is determined that the speed fluctuation degree of the engine is the preset fluctuation degree.
[0079] If the first number is greater than the first preset number, it means that there are multiple rotational speed differences with large values, and it also means that the numerical difference between the two rotational speeds obtained by calculating the rotational speed difference is large, which directly indicates that the rotational speed is fluctuating violently.
[0080] Similarly, the second number being greater than the second preset number also directly indicates that the rotation speed is fluctuating violently.
[0081] It should be noted that the condition of "greater than the second preset speed difference threshold and in continuous sequence" is stricter than "greater than the first preset speed difference threshold". There may be a situation where the speed difference does not meet the requirement. Therefore, you can choose whether to judge whether the first number or the second number is compliant based on the actual situation.
[0082] In practical applications, if the fluctuation situation is judged based on the first quantity, the determination of the second quantity in step S23 can be omitted; if the fluctuation situation is judged based on the second quantity, the determination of the first quantity in step S22 can be omitted.
[0083] In this embodiment, the conditions for judging the drastic speed fluctuation can be selected according to the actual situation, so that when the engine speed fluctuates drastically, the corresponding Gap threshold is used to judge the self-synchronization of the crankshaft.
[0084] S13. When the starting state of the engine is a successful start, determine a first Gap threshold based on a reference missing tooth width Gap value, and when the calculated Gap value is greater than the first Gap threshold and only one Gap value is calculated after one rotation of the crankshaft, output information indicating successful self-synchronization of the engine crankshaft.
[0085] The reference Gap value includes the Gap value and a plurality of historical Gap values calculated before the Gap value is calculated.
[0086] In practical applications, the crankshaft signal is detected through the Gap threshold. When there is only one Gap after the crankshaft rotates one circle and the calculated Gap value is greater than the set Gap threshold, the crankshaft signal is correct.
[0087] During startup or operation, when the speed fluctuates violently, the speed value at this time varies greatly compared to the speed value when the speed does not fluctuate violently. If a fixed Gap threshold is used, normal teeth will be mistakenly identified as missing teeth or extra teeth, and a crankshaft Err fault (including missing tooth fault, extra tooth fault, etc.) will be reported, resulting in desynchronization. In order to avoid this problem, the Gap threshold can be adjusted, and the Gap threshold can be determined in real time based on the average value of multiple Gap values calculated. Since the determined Gap threshold matches the current speed fluctuation, the accuracy of the Gap threshold determination can be guaranteed, making the accuracy of self-synchronization detection higher.
[0088] Specifically, the Gap value calculated in the current cycle and multiple historical Gap values calculated in the history are obtained. The cycles of these Gap values are continuous, that is, the Gap values of the current cycle and several cycles before the current cycle are extracted to calculate the Gap threshold.
[0089] When calculating the Gap threshold, an average value of the reference Gap values may be calculated, and the sum of the average value and a preset calibration value is used as the first Gap threshold.
[0090]
[0091] in, is the first Gap threshold, , is the Gap value of the current cycle, is the historical Gap value, is the Gap value of the previous cycle, is the Gap value of the 9th cycle counting forward from the current cycle, In this embodiment, the preset calibration amount is set to adjust the threshold value.
[0092] In this embodiment, when determining the first Gap threshold, the Gap values of the most recent few cycles are taken, and the average value thereof can represent the approximate value of the current speed. Then, when determining the first Gap threshold based on the average value, the determined first Gap threshold can be consistent with the actual situation of the current speed value, thereby improving the accuracy of threshold determination.
[0093] When the Gap value calculated in the current cycle is greater than the first Gap threshold and only one Gap value is calculated after one crankshaft rotation, it indicates that the engine crankshaft self-synchronization is successful, and information indicating the successful engine crankshaft self-synchronization is output so that the vehicle can understand the crankshaft self-synchronization situation in a timely manner.
[0094] In this embodiment, it is assumed that only one Gap is obtained when the crankshaft rotates one circle. This is because under normal circumstances, two Gap values will be generated when the crankshaft rotates two circles, and one Gap will be generated when the crankshaft rotates one circle.
[0095] In another implementation of the present invention, when the calculated Gap value is not greater than the first Gap threshold, it means that the Gap does not meet the threshold requirement at this time.
[0096] If the Gap value calculated after the crankshaft rotates one circle is not one, it means that the detection result is missing teeth or extra teeth. If the calculated Gap value is not greater than the first Gap threshold, or the Gap value calculated after the crankshaft rotates one circle is not one, it means that the crankshaft is out of synchronization. At this time, the engine crankshaft out of synchronization fault information is output to enable the vehicle to understand the crankshaft self-synchronization result in time and control the engine to stop running in time.
[0097] In another implementation of the present invention, when the starting state of the engine is starting, the sharp fluctuation in speed may be due to external interference or the speed fluctuation caused by the engine being dragged by the bench dynamometer. Generally, the engine crankshaft self-synchronization is normal. Therefore, in this case, the crankshaft error fault diagnosis function will be turned off to avoid the situation where the engine cannot start normally due to multiple teeth or missing teeth in the output crankshaft self-synchronization detection.
[0098] S14. Based on the current tooth cycle and the previous tooth cycle, a second Gap threshold is calculated, and when the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated after one rotation of the crankshaft, information indicating successful self-synchronization of the engine crankshaft is output.
[0099] If the engine speed fluctuation degree is not the preset fluctuation degree, the speed may be in a state of rapid acceleration, rapid deceleration, low cold start speed or normal state. At this time, the rotation fluctuation degree is low and the speed changes slowly. The current tooth cycle and the previous tooth cycle can represent the most recent tooth cycle. Therefore, the current tooth cycle and the previous tooth cycle can be used to calculate the second Gap threshold under non-violent fluctuation conditions.
[0100] Specifically, refer to Figure 3 , based on the current tooth cycle and the previous tooth cycle, calculating the second Gap threshold may include:
[0101] S31, calculating the width between the rising edges of two current teeth of the crankshaft, and taking the width as the current tooth period.
[0102] Specifically, the width between two rising edges of every two teeth of the crankshaft is called a tooth cycle. For two rising edges, the width between them is calculated, and the width is the current tooth cycle.
[0103] S32, obtaining the previous tooth cycle.
[0104] The calculation process of the previous tooth cycle is the same as that of the current tooth cycle, which is the width between the two rising edges of the two teeth in the previous cycle.
[0105] S33, calculating the ratio of the current tooth cycle to the previous tooth cycle, and obtaining a second Gap threshold based on the product of the ratio and a preset value.
[0106] Specifically, the second Gap threshold = 3*current tooth cycle / Previous tooth cycle .
[0107] Alternatively, a preset calibration value may be superimposed to obtain a second Gap threshold value. In this case, the calculation formula for the second Gap threshold value is:
[0108]
[0109] in, To preset the calibration amount, is the second Gap threshold.
[0110] As can be seen from the above, the preset value in this embodiment is 3, which is obtained through analysis of a large amount of test data.
[0111] After the second Gap threshold is calculated, if the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated for one crankshaft rotation, information indicating successful self-synchronization of the engine crankshaft is output. For specific implementation, refer to the above corresponding instructions.
[0112] In this embodiment, when the speed fluctuation degree of the engine is a preset fluctuation degree and the engine startup state is a successful startup, in order to avoid crankshaft self-synchronization detection errors caused by speed fluctuations, a first Gap threshold value is determined based on a reference Gap value, so that the determined Gap threshold value is more consistent with the current engine speed, and the accuracy of the Gap threshold value setting is improved, thereby improving the accuracy of the crankshaft self-synchronization detection. When the speed fluctuation degree of the engine is not a preset fluctuation degree, a second Gap threshold value is calculated based on the current tooth cycle and the previous tooth cycle, so that the calculated Gap threshold value matches the tooth cycle of the actual engine crankshaft, and the accuracy of the Gap threshold value setting is improved, thereby improving the accuracy of the crankshaft self-synchronization detection.
[0113] In addition, the embodiment of the present invention sets the Gap value to a threshold value that is adaptive to the working condition and can be calibrated, while taking into account the working condition of drastic speed fluctuations that may be caused by the dynamometer on the test bench, thereby improving the robustness of the engine synchronization detection.
[0114] In order for those skilled in the art to understand the present invention more clearly, Figure 4 A detailed introduction to the implementation of the present invention is given.
[0115] First, start the engine and calculate the current gear cycle and the previous tooth cycle In addition, the Gap threshold of the current cycle needs to be calculated and stored in a 20-dimensional array for subsequent calls. The Gap threshold at this time can be calculated according to the calculation method of the first Gap threshold or the second Gap threshold.
[0116] When starting, the engine speed of nearly 10 steps (each step is a cycle) is recorded, and the speed difference is calculated to determine whether the working condition at this time is a condition of violent speed fluctuation. If the speed does not fluctuate violently, in order to avoid extreme working conditions, the target Gap value is set to the second Gap threshold mentioned above. The second Gap threshold is set with a preset calibration amount to make the threshold adjustable. When the crankshaft rotates one circle, there is only one missing tooth, and the missing tooth width is greater than the set Gap threshold, the engine phase synchronization is successful; otherwise, it is considered that the crankshaft signal is missing or has multiple teeth, and a crankshaft signal error fault is reported, and synchronization is lost.
[0117] If there is a sharp fluctuation in speed, the actual Gap threshold will increase or decrease sharply. At this time, the crankshaft may be mistakenly identified as a GAP, and a crankshaft Err fault will be reported. At this time, it is determined according to the engine startup state. When the engine is in the process of starting, the speed fluctuates violently. It is believed that this condition may be external interference or a problem with the bench dynamometer. Therefore, the crankshaft Err fault diagnosis is turned off. When the engine starts successfully and the speed fluctuates violently, in order to improve the robustness of the crankshaft diagnosis, the Gap threshold is set to the average value of the Gap threshold calculated in real time 10 times, and a calibration quantity is added to adjust the size. When the crankshaft rotates one circle, there is only one missing tooth, and the missing tooth width is greater than the set Gap threshold, the engine phase synchronization is successful; otherwise, it is considered that the crankshaft signal is missing or has multiple teeth, and a crankshaft signal error fault is reported, and synchronization is lost.
[0118] As can be seen from the above, the adaptive and calibratable Gap threshold calculated in real time can be adapted to a variety of working conditions (sudden acceleration, sudden deceleration, cold start with low speed). When the engine speed fluctuates violently, different solutions are adopted according to whether the engine status is complete to improve the robustness of crankshaft Err fault detection.
[0119] In this embodiment, an adaptive and calibratable Gap threshold is set to take into account the desynchronization problem caused by huge speed changes under conditions such as sudden acceleration, sudden deceleration and drastic speed fluctuations of the engine, thereby improving the robustness of engine synchronization detection.
[0120] Based on the above-mentioned embodiment of the engine crankshaft self-synchronization detection method, another embodiment of the present invention provides an engine crankshaft self-synchronization detection device, referring to Figure 5 , which may include:
[0121] The speed acquisition module 11 is used to continuously acquire multiple speeds of the engine;
[0122] A fluctuation degree determination module 12 is used to determine whether the fluctuation degree of the engine speed is a preset fluctuation degree by using the multiple speeds;
[0123] A first self-synchronization judgment module 13 is used for, if the start state of the engine is a successful start, determining a first Gap threshold value based on a reference missing tooth width Gap value, and outputting information indicating successful self-synchronization of the engine crankshaft when the calculated Gap value is greater than the first Gap threshold value and only one Gap value is calculated for one crankshaft rotation; the reference Gap value includes the Gap value and a plurality of historical Gap values calculated before the Gap value is calculated;
[0124] The second self-synchronization judgment module 14 is used to calculate a second Gap threshold based on the current tooth cycle and the previous tooth cycle, and output information indicating successful self-synchronization of the engine crankshaft when the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated for one rotation of the crankshaft.
[0125] In an optional implementation, the fluctuation degree determination module 12 includes:
[0126] A speed difference calculation submodule is used to calculate the speed difference between two adjacent speeds;
[0127] A first number determination submodule, configured to determine a first number of rotation speed differences greater than a first preset rotation speed difference threshold;
[0128] A second number determination submodule, configured to determine a second number of rotational speed differences that are greater than a second preset rotational speed difference threshold and are sequentially continuous;
[0129] A judging submodule, used for judging whether the first number is greater than a first preset number, or whether the second number is greater than a second preset number;
[0130] If the first number is greater than a first preset number, or the second number is greater than a second preset number, it is determined that the speed fluctuation degree of the engine is a preset fluctuation degree.
[0131] In an optional implementation, when the first self-synchronization judgment module 13 is used to determine the first Gap threshold based on the reference tooth-missing width Gap value, it is specifically used to:
[0132] An average value of the reference Gap values is calculated, and the sum of the average value and a preset calibration value is used as a first Gap threshold.
[0133] In an optional implementation, the second self-synchronization determination module 14 includes:
[0134] A tooth period calculation submodule, used for calculating the width between the rising edges of two current teeth of the crankshaft, and taking the width as the current tooth period;
[0135] The tooth cycle acquisition submodule is used to obtain the previous tooth cycle;
[0136] A ratio calculation submodule, used to calculate the ratio of the current tooth cycle to the previous tooth cycle;
[0137] The threshold determination submodule is used to obtain a second Gap threshold based on the product of the ratio and a preset value.
[0138] An optional implementation method further includes:
[0139] The function setting module is used to turn off the crankshaft error fault diagnosis function when the starting state of the engine is starting.
[0140] In an optional implementation, the speed acquisition module 11 is specifically used for:
[0141] The engine speed is collected once at fixed intervals to obtain multiple speeds.
[0142] In an optional implementation, the first self-synchronization determination module 13 is further configured to:
[0143] When the calculated Gap value is not greater than the first Gap threshold, or when the calculated Gap value after the crankshaft rotates one circle is not one, engine crankshaft desynchronization fault information is output.
[0144] In this embodiment, when the speed fluctuation degree of the engine is a preset fluctuation degree and the engine startup state is a successful startup, in order to avoid crankshaft self-synchronization detection errors caused by speed fluctuations, a first Gap threshold value is determined based on a reference Gap value, so that the determined Gap threshold value is more consistent with the current engine speed, and the accuracy of the Gap threshold value setting is improved, thereby improving the accuracy of the crankshaft self-synchronization detection. When the speed fluctuation degree of the engine is not a preset fluctuation degree, a second Gap threshold value is calculated based on the current tooth cycle and the previous tooth cycle, so that the calculated Gap threshold value matches the tooth cycle of the actual engine crankshaft, and the accuracy of the Gap threshold value setting is improved, thereby improving the accuracy of the crankshaft self-synchronization detection.
[0145] It should be noted that, for the working process of each module and sub-module in this embodiment, please refer to the corresponding description in the above embodiment, which will not be repeated here.
[0146] The present application also provides an electronic device in an embodiment. Figure 6 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0147] like Figure 6 As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603 to implement an engine crankshaft self-synchronization detection method. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0148] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0149] Also provided in an embodiment of the present application is a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any one of the engine crankshaft self-synchronization detection methods provided in the embodiments of the present application.
[0150] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any one of the engine crankshaft self-synchronization detection methods provided in the embodiment of the present application.
[0151] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for detecting engine crankshaft self-synchronization, characterized in that: include: Continuously collect multiple engine speeds; Using the multiple rotational speeds, determining whether the rotational speed fluctuation degree of the engine is a preset fluctuation degree; If so, when the start state of the engine is a successful start, determining a first Gap threshold value based on a reference missing tooth width Gap value, and when the calculated Gap value is greater than the first Gap threshold value and only one Gap value is calculated for one crankshaft rotation, outputting information indicating successful self-synchronization of the engine crankshaft; The reference Gap value includes the Gap value and a plurality of historical Gap values calculated before the Gap value is calculated; If not, a second Gap threshold is calculated based on the current tooth cycle and the previous tooth cycle. When the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated for one crankshaft rotation, information indicating successful self-synchronization of the engine crankshaft is output.
2. The engine crankshaft self-synchronization detection method according to claim 1, characterized in that: Using the multiple rotation speeds, determining whether the rotation speed fluctuation degree of the engine is a preset fluctuation degree includes: Calculate the speed difference between two adjacent speeds; determining a first number of rotational speed differences greater than a first predetermined rotational speed difference threshold; determining a second number of sequentially consecutive rotational speed differences that are greater than a second predetermined rotational speed difference threshold; Determining whether the first number is greater than a first preset number, or whether the second number is greater than a second preset number; If the first number is greater than a first preset number, or the second number is greater than a second preset number, it is determined that the speed fluctuation degree of the engine is a preset fluctuation degree.
3. The engine crankshaft self-synchronization detection method according to claim 1, characterized in that: Determining a first Gap threshold based on a reference Gap value includes: Calculate the average of the reference Gap values; The sum of the average value and a preset calibration value is used as the first Gap threshold.
4. The engine crankshaft self-synchronization detection method according to claim 1, characterized in that: Based on the current tooth cycle and the previous tooth cycle, the second Gap threshold is calculated, including: Calculate the width between the rising edges of two current teeth of the crankshaft, and use the width as the current tooth period; Get the previous tooth cycle; Calculating a ratio of the current tooth cycle to the previous tooth cycle; Based on the product of the ratio and a preset value, a second Gap threshold is obtained.
5. The engine crankshaft self-synchronization detection method according to claim 1, characterized in that: When the engine is in the starting state, the method further includes: Turns off the crankshaft error diagnostic function.
6. The engine crankshaft self-synchronization detection method according to claim 1, characterized in that: Continuously collect multiple engine speeds, including: The engine speed is collected once at fixed intervals to obtain multiple speeds.
7. The engine crankshaft self-synchronization detection method according to claim 1, characterized in that: When the calculated Gap value is not greater than the first Gap threshold, or when the calculated Gap value after the crankshaft rotates one circle is not one, the method further includes: Output engine crankshaft desynchronization fault information.
8. An engine crankshaft self-synchronization detection device, characterized in that: include: The speed acquisition module is used to continuously acquire multiple speeds of the engine; A fluctuation degree determination module, used to determine whether the speed fluctuation degree of the engine is a preset fluctuation degree by using the multiple speeds; A first self-synchronization judgment module is used to determine a first Gap threshold value based on a reference missing tooth width Gap value if the starting state of the engine is a successful start, and output information indicating successful self-synchronization of the engine crankshaft when the calculated Gap value is greater than the first Gap threshold value and only one Gap value is calculated for one rotation of the crankshaft; The reference Gap value includes the Gap value and a plurality of historical Gap values calculated before the Gap value is calculated; The second self-synchronization judgment module is used to calculate a second Gap threshold based on the current tooth cycle and the previous tooth cycle, and output information indicating successful self-synchronization of the engine crankshaft when the calculated Gap value is greater than the second Gap threshold and only one Gap value is calculated for one rotation of the crankshaft.
9. An electronic device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the engine crankshaft self-synchronization detection method as described in any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the engine crankshaft self-synchronization detection method as described in any one of claims 1 to 7.
