Engine stability control method and related device
By acquiring the knock data from the engine's most recent N cycles, adjusting the counter's count value and knock fit factor, the problem of excessive engine ignition angle fluctuation was solved, achieving precise control of the ignition angle and combustion stability.
Patent Information
- Application Number
- CN202510029205.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2045-01-08
AI Technical Summary
The excessive fluctuation rate of the ignition angle under knocking conditions leads to a decrease in combustion efficiency. Existing solutions require real-time adjustment of judgment conditions, resulting in unstable ignition angles.
By acquiring the knock data of the engine over the most recent N cycles, it is determined whether the conditions for strong knock risk are met. The count values of the first and second counters are adjusted to obtain the knock fit factor. Based on the fit factor, the ignition angle change is configured to achieve precise control of the ignition angle.
It eliminates the need for real-time adjustments to judgment conditions, improving the reliability of ignition angle control and combustion stability, and reducing fluctuations in ignition angle.
Smart Images

Figure CN119712378B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of engines, and in particular to an engine stability control method and related devices. Background Art
[0002] During the engine control process, if knock occurs in the current engine cycle, the ignition angle is delayed. If no knock occurs, the ignition angle is restored. This ultimately results in excessive fluctuations in the ignition angle when knock occurs, and excessive fluctuations in the cylinder cycle. In addition, in certain scenarios, the engine will occasionally receive interference-type vibration signals, and true knock will occasionally occur. The characteristic of such signals is that they only occur once or twice, and then it is difficult to occur again regardless of whether the ignition angle is delayed or not. If the original strategy is used again, the ignition angle will be delayed by 2-5 degrees, affecting the combustion efficiency at this time, and thus affecting gas consumption. Therefore, the existing solution needs to continuously adjust the judgment conditions according to the engine's operating conditions to determine the ignition angle for the current cycle. Continuously adjusting the judgment conditions will cause the engine's ignition angle to be unstable. Summary of the Invention
[0003] In view of this, an embodiment of the present invention provides an engine stability control method and related devices to achieve.
[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0005] An engine stability control method, comprising:
[0006] Obtaining knock data of the most recent N cycles of the engine, where N is a positive integer not less than 2;
[0007] determining, based on the knock data, whether the engine meets a strong knock risk condition, the strong knock risk condition including that knock is detected in at least M cycles out of the most recent N cycles, and that a vibration intensity of a knock signal detected in a current cycle exceeds a preset knock threshold, where M is a positive integer less than N;
[0008] When a first condition is met, the count value of the first counter is controlled to be incremented by 1, wherein the first condition is that: the count result of the first counter is less than a preset upper limit value, the ignition angle change in the previous cycle is 0, and the strong knock risk condition is not met;
[0009] If the first condition is met and knock is detected in the current cycle, the count value of the second counter is increased by one;
[0010] If the first condition is met and no knock is detected in the current cycle, the count value of the second counter remains unchanged;
[0011] resetting the first counter, resetting the second counter to a second initial value if the first condition is not met and the strong knock risk condition is met, the second initial value being greater than the first initial value;
[0012] resetting the first counter, resetting the second counter to a second initial value if the first condition is not met and the strong knock risk condition is met, the second initial value being greater than the first initial value;
[0013] obtaining a knock fit factor matching the count values of the first counter and the second counter;
[0014] if the knock fit factor is less than a first preset limit value, determining whether knock occurs in the current cycle, and obtaining a change amount of the ignition angle matching the value of M if knock occurs;
[0015] determining a final ignition angle of the current cycle based on the change amount of the ignition angle of the current cycle.
[0016] Optionally, the engine stability control method further comprises:
[0017] if the knock fit factor is less than the first preset limit value and no knock occurs in the current cycle, determining whether the ratio of the count results of the second counter and the first counter is less than a second preset limit value, determining whether the strong knock risk condition is met, and if the ratio of the count results of the second counter and the first counter is less than the second preset limit value and the strong knock condition is not met, determining the change amount of the ignition angle based on the number of continuous cycles in which no knock occurs in the N cycle detections.
[0018] Optionally, the engine stability control method further comprises:
[0019] if the ratio of the count results of the second counter and the first counter is not less than the second preset limit value or the strong knock condition is met, marking the change amount of the ignition angle of the current cycle as 0.
[0020] Optionally, the engine stability control method, in which the final ignition angle of the current cycle is determined based on the change amount of the ignition angle of the current cycle, comprises:
[0021] the sum of the final ignition angle of the previous cycle and the change amount of the ignition angle of the current cycle is taken as the final ignition angle of the current cycle.
[0022] Optionally, the engine stability control method, in which the knock fit factor matching the count values of the first counter and the second counter is obtained, comprises:
[0023] determine a knock fitting factor matched with the count values of the first counter and the second counter from a preset mapping table storing a corresponding relationship between the first counter and the second counter.
[0024] An engine stability control device comprises:
[0025] A knock data acquisition unit is configured to acquire knock data of N latest cycle periods of an engine, where N is a positive integer not less than 2.
[0026] A first judging unit is configured to judge whether the engine satisfies a strong knock risk condition based on the knock data, where the strong knock risk condition comprises that knock is detected in at least M cycle periods of the N latest cycle periods, and the vibration intensity of the knock signal detected in the current cycle period exceeds a preset knock threshold, and M is a positive integer less than N.
[0027] A first counter adjusting unit is configured to control the count value of a counter to increase by 1 when a first condition is satisfied, where the first condition is that the count result of the first counter is less than a preset upper limit value, the ignition angle change amount of the previous cycle period is 0, and the number of times that knock is detected in the N latest cycle periods is not greater than M; if the first condition is satisfied and knock is detected in the current cycle period, the count value of a second counter is increased by 1; if the first condition is satisfied and knock is not detected in the current cycle period, the count value of the second counter remains unchanged.
[0028] A second counter adjusting unit is configured to reset the first counter and reset the second counter to a first initial value if the first condition is not satisfied and the strong knock risk condition is not satisfied; and reset the first counter and reset the second counter to a second initial value if the first condition is not satisfied and the strong knock risk condition is satisfied, where the second initial value is greater than the first initial value.
[0029] A fitting factor calculating unit is configured to acquire a knock fitting factor matched with the count values of the first counter and the second counter.
[0030] An ignition angle change amount calculating unit is configured to judge whether knock occurs in the current cycle period if the knock fitting factor is less than a first preset limit value, and acquire an ignition angle change amount matched with the value of M when knock occurs.
[0031] An ignition angle calculating unit is configured to determine a final ignition angle of the current cycle period based on the ignition angle change amount of the current cycle period.
[0032] A computer program product comprises computer readable instructions which, when executed on an electronic device, cause the electronic device to implement the engine stability control method of any one of the preceding embodiments.
[0033] An electronic device comprising at least one processor and a memory connected with the processor, wherein:
[0034] The memory is configured to store a computer program;
[0035] The processor is configured to execute the computer program to enable the electronic device to implement the engine stability control method according to any one of the preceding embodiments.
[0036] An automobile applying the electronic device described above.
[0037] Optionally, the automobile is a vehicle applying a gas engine.
[0038] Based on the technical solution described above, the above-mentioned scheme provided by the embodiment of the present application can achieve accurate control of the ignition angle without real-time adjustment of the judgment condition based on the engine working condition, thereby improving the reliability of the ignition angle control. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor based on the provided drawings.
[0040] Figure 1 A flowchart of an engine stability control method disclosed by an embodiment of the present application;
[0041] Figure 2 A flowchart of an engine stability control method disclosed by another embodiment of the present application;
[0042] Figure 3 A structural diagram of an engine stability control device disclosed by an embodiment of the present application;
[0043] Figure 4 A structural diagram of an electronic device disclosed by an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present application.
[0045] Knock: the abnormal vibration of the engine caused by the unstable combustion curve due to too fast or too early combustion.
[0046] The present application sets a series of judgment conditions for the execution action of knock, so that the knock monitoring function does not need to adjust the condition of the ignition angle in real time, and the combustion stability is improved.
[0047] Specifically, referring to Figure 1 The engine stability control method disclosed in the embodiments of the present application comprises:
[0048] Step S101: obtaining knock data of the engine in the last N cycle periods, wherein N is a positive integer not less than 2.
[0049] In the technical solution disclosed in the embodiments, when the engine is started, the speed condition of the engine and the output signal of the knock sensor are obtained. The knock sensor is a sensor for detecting the knock phenomenon of the engine, which can judge whether the engine has the knock phenomenon by detecting the vibration or sound inside the engine. Based on the speed condition and the output result of the knock sensor, it can be further judged whether to enable the engine stability control scheme disclosed in the embodiments. When it is determined based on the speed condition and the output result of the knock sensor that the engine stability control scheme needs to be enabled, the knock data of the engine in the last N cycle periods are obtained. The knock data can include the knock signal in the current cycle period, the detection result of whether knock occurs in each cycle period in the last N cycle periods, the counting value of the first counter and the counting value of the second counter. The counting methods of the first counter and the second counter are described below.
[0050] Step S102: judging whether the engine meets the strong knock risk condition based on the knock data, wherein the strong knock risk condition comprises that knock is detected in at least M cycle periods in the last N cycle periods, or the vibration intensity of the knock signal detected in the current cycle period exceeds a preset knock threshold, and M is a positive integer less than N.
[0051] After the knock data is acquired, detection results of knock conditions in the last N (for example, the value of N can be 5 or other values) cycle periods in the knock data are extracted, and the sum of the number of cycle periods in which knock is detected in the N cycle periods is denoted as M (the value of M can be 3 or other values), that is, M cycle periods in the last N cycle periods detect knock, or whether the vibration intensity of the knock signal detected in the current cycle period exceeds a preset knock threshold value is judged, in this embodiment, the value of the preset knock threshold value is greater than the threshold value used for comparison with the knock signal when it is judged whether the engine knocks, that is, when the engine knocks, only when the knock intensity reaches a certain intensity, it is considered that the vibration intensity of the knock signal exceeds the preset knock threshold value. When at least M cycle periods in the last N cycle periods detect knock, or the vibration intensity of the knock signal detected in the current cycle period exceeds the preset knock threshold value, it is considered that the engine satisfies the strong knock risk condition.
[0052] By detecting whether the knock data satisfies the strong knock risk condition, a judgment strategy for whether the engine has a strong knock condition is provided, when it is detected that the strong knock risk condition is satisfied, it is indicated that the engine has a strong knock risk condition, and the judgment result is used for resetting the values of the first counter and the second counter in the subsequent process.
[0053] Step S103: When the first condition is satisfied, the counting value of the control counter is increased by 1, and the first condition is that the first counter measurement counting result is less than a preset upper limit value, the ignition angle change amount of the last cycle period is 0, and the strong knock risk condition is not satisfied.
[0054] When the first counter measurement counting result is less than a preset upper limit value (the preset upper limit value can be 100 or other values), the ignition angle change amount Δig of the last cycle period is 0, and the strong knock risk condition is not satisfied, it is indicated that the first condition is satisfied, at this time, the counting value of the first counter is increased by 1, that is, n = n + 1.
[0055] Step S104: If the first condition is satisfied and knock is detected in the current cycle period, the counting value of the second counter is increased by 1.
[0056] Step S105: If the first condition is satisfied and knock is not detected in the current cycle period, the counting value of the second counter remains unchanged.
[0057] When the first condition is satisfied, it is continued to be judged whether knock is detected in the current cycle period, at this time, the detected knock is not the knock when the strong knock risk condition is satisfied, but the knock detected in a normal condition, when knock is detected in the current cycle period, the counting value of the second counter is increased by 1, that is, k = k + 1, and when knock is not detected in the current cycle period, the counting value of the second counter remains unchanged, that is, k = k.
[0058] Step S106: If the first condition is not met and the strong knock risk condition is not met, reset the first counter and reset the second counter to a first initial value.
[0059] In this embodiment, the value of the reset first counter can be a larger value, which is greater than the count value of the first counter before being reset. In this way, the count value of the first counter can exceed the original accumulated state, preventing the system from reacting too slowly.
[0060] Step S107: If the first condition is not met and the strong knock risk condition is met, reset the first counter and reset the second counter to a second initial value, which is greater than the first initial value.
[0061] When the first condition is not met, the count value n of the first counter and the count value k of the second counter need to be initialized. At this time, if the strong knock risk condition is not met, the count value of the reset first counter is initialized to an initial value (for example, the count value n of the first counter is initialized to 20), and the count value of the second counter is reset to a first initial value (for example, the count value k of the second counter is initialized to 1). If the strong knock risk condition is met, the count value of the reset first counter is initialized to an initial value (for example, the count value n of the first counter is initialized to 20), and the count value of the second counter is reset to a second initial value (for example, the count value k of the second counter is initialized to 4). That is, when the engine has a strong knock risk (the strong knock risk condition is met), the count value k of the second counter is reset to a larger second initial value, otherwise the count value k of the second counter is reset to a first initial value which is smaller than the second initial value.
[0062] Steps S106 and S107 reset the count value of the first counter and the count value k of the second counter to the second initial value, respectively. When the engine has a strong knock, the technical result of the second counter can exceed the original accumulated state of k, directly reset n and k to a state where the fit degree is necessarily less than a certain value, and then activate the ignition angle retardation, preventing the system from reacting too slowly.
[0063] Step S108: Obtain a knock fit factor matching the count values of the first counter and the second counter.
[0064] In this embodiment, after obtaining the count values of the first counter and the second counter, a knock fit factor matching the count values of the first counter and the second counter can be further obtained. In calculating the knock fit factor, the current knock occurrence rate p can be calculated by a statistical method now(k / n) and the ideal knock occurrence rate p goal The fit degree Fac can be calculated by a likelihood ratio formula, or can be obtained by k and n searching a preset mapping table, the values in the preset mapping table are obtained according to experiments and experience, the application can prewrite the corresponding relationship between the counting values of the first counter and the second counter and the knock fit factor into the preset mapping table, when the counting values of the first counter and the second counter are determined, the preset mapping table can be directly searched to quickly determine the knock fit factor.
[0065] When the knock fit factor Fac is calculated based on the counting values of the first counter and the second counter, it can be calculated by the following formula:
[0066]
[0067] Wherein, p goal is a preset ideal knock occurrence rate; p now is a current knock occurrence rate, ;
[0068] Based on the above formula, the ratio between the ideal knock occurrence rate and the current knock occurrence rate can be accurately calculated, and it can be reliably decided whether the ignition angle needs to be adjusted.
[0069] Step S109: If the knock fit factor is less than a first preset limit value, it is judged whether the current cycle period has knock, when the knock occurs, the ignition angle change amount matched with the value of M is obtained.
[0070] In this embodiment, when the knock fit factor Fac is calculated, it is judged whether the knock fit factor is less than a first preset limit value, when it is less than the first preset limit, it is further judged whether the current cycle period has knock (the same, the knock is a regular knock), when the knock occurs, the ignition angle change amount matched with the value of M is obtained, in this scheme, the value of M and the ignition angle change amount corresponding thereto can be stored in a mapping table, and the mapping table can be directly searched to quickly determine the ignition angle change amount corresponding to the current cycle period.
[0071] If the knock fit factor is not less than the first preset limit value, it means that the knock occurrence rate under the current cycle period is not much different from the expected value, and the ignition angle and other combustion parameters can not be adjusted, thereby it can be determined that the ignition angle change amount Δig corresponding to the current cycle period is 0, and then enters the next scheduling. In this way, in some scenarios where the knock fit factor Fac is large enough, whether the knock occurs in the current cycle period or not, the ignition angle is not adjusted, while in the existing scheme, the ignition angle must be adjusted once, so it can be seen that the present scheme can improve the combustion stability of the engine compared with the existing scheme.
[0072] Step S110: determining a final ignition angle of the current cycle based on the ignition angle variation of the current cycle.
[0073] When the ignition angle variation of the current cycle is calculated, the final ignition angle of the previous cycle is obtained, and the sum of the final ignition angle of the previous cycle and the ignition angle variation of the current cycle is used as the final ignition angle of the current cycle.
[0074] It can be seen from the above scheme that by obtaining the knock data of the latest N cycles, judging whether the strong knock risk condition and the first condition are met based on the acquired knock data, adjusting the count values of the first counter and the second counter based on the two judgment results, and obtaining a knock fitting factor that matches the count values of the first counter and the second counter, and then configuring the ignition angle change of the current cycle based on the comparison result of the knock fitting factor and the first preset limit, and then determining the final ignition angle of the current cycle based on the ignition angle change of the current cycle, this scheme can achieve precise control of the ignition angle without adjusting the judgment conditions in real time based on the engine operating conditions, thereby improving the reliability of the ignition angle control.
[0075] In the technical solution disclosed in this embodiment, see Figure 2 , based on the above process, the above method further includes:
[0076] Step S201: If the knock conformity factor is less than a first preset limit and knock does not occur in the current cycle, determining whether the ratio of the count results of the second counter to the first counter is less than a second preset limit and whether a strong knock condition is not met;
[0077] That is, this step is used to determine whether the ratio (k / n) of the counting results of the second counter to the first counter is within the second preset limit.
[0078] Step S202: If the ratio of the counting results of the second counter to the first counter is less than a second preset limit and the strong knock condition is not satisfied, the ignition angle change is determined based on the number of consecutive cycles in which no knock occurs in the N cycle detections.
[0079] If it is detected that the comparison result k / n of the count values of the second counter and the first counter is sufficiently small (less than a second preset limit) and the strong knock condition is not satisfied, it can be indicated that the knock frequency in the current cycle is sufficiently low. In combination with the fact that no knock occurs in the current cycle, an ignition angle recovery action can be executed;
[0080] That is, based on the number of consecutive cycles in which no knock occurs in N cycles, the ignition angle change Δig corresponding to the current cycle is determined, and the ignition angle change Δig is greater than zero.
[0081] Step S203: If the ratio of the count results of the second counter and the first counter is not less than the second preset limit value or the strong knock condition is met, the ignition angle change amount Δig of the current cycle is marked as 0.
[0082] When the ratio of the count results of the second counter and the first counter is not less than the second preset limit value or the strong knock condition is met, it indicates that the ignition angle has not changed, and the ignition angle of the last cycle can be continued to be used.
[0083] If k / n is not small enough or N cycles meet the strong knock condition, it indicates that the current cycle has a certain frequency of knock, even if the current cycle does not have knock, it is not recommended to restore the ignition angle, and therefore the ignition angle is maintained, i.e., the ignition angle change amount Δig is marked as 0.
[0084] The embodiment discloses an engine stability control device, and specific working contents of each unit in the device are described in the above method embodiment.
[0085] The engine stability control device provided by the embodiment of the application is described below, and the engine stability control device described below can be correspondingly referred to the engine stability control method described above.
[0086] Referring to Figure 3 , the engine stability control device can include:
[0087] The knock data acquisition unit 10 is configured to acquire knock data of the last N cycles of the engine, where N is a positive integer not less than 2.
[0088] The first judging unit 20 is configured to judge whether the engine meets a strong knock risk condition based on the knock data, where the strong knock risk condition includes that knock is detected in at least M cycles of the last N cycles, and the vibration intensity of the knock signal detected in the current cycle exceeds a preset knock threshold, and M is a positive integer less than N.
[0089] The first counter adjusting unit 30 is configured to control the count value of the counter to increase by 1 when a first condition is met, where the first condition is that the count result of the first counter is less than a preset upper limit value, the ignition angle change amount of the last cycle is 0, and the number of times of knock detected in the last N cycles is not more than M; when the first condition is met and knock is detected in the current cycle, the count value of the second counter increases by 1; and when the first condition is met and knock is not detected in the current cycle, the count value of the second counter remains unchanged.
[0090] a second counter adjustment unit 40 configured to reset the first counter and reset the second counter to a first initial value if both the first condition and the strong knock risk condition are not satisfied; and to reset the first counter and reset the second counter to a second initial value if both the first condition and the strong knock risk condition are satisfied, wherein the second initial value is greater than the first initial value;
[0091] A fitting factor calculation unit 50 is configured to obtain a knock fitting factor that matches the count values of the first counter and the second counter;
[0092] an ignition angle variation calculation unit 60 for determining whether knock occurs in the current cycle if the knock conformity factor is less than a first preset limit, and obtaining an ignition angle variation that matches the value of M if knock occurs;
[0093] The ignition angle calculation unit 70 is used to determine the final ignition angle of the current cycle based on the ignition angle variation of the current cycle.
[0094] The calculation process of each unit in the device can be found in the method embodiment, and will not be described again.
[0095] An electronic device is also provided in an embodiment of the present application. Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic device in the embodiments of the present application may include, but is not limited to, fixed terminals such as an ECU (Electronic Control Unit), a VCU (Vehicle Control Unit), an MCU (Micro Controller Unit), an HCU (Hybrid Control Unit), and the like. Figure 4 The electronic device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0096] like Figure 4As shown, the electronic device can include a processing device (e.g., a central processor, a graphics processor, etc.) 601 that can perform various steps of the engine stability control method disclosed in any of the embodiments of the present application according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In a state where the electronic device is powered on, various programs and data required for 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 through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0097] Generally, the following devices can be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a memory card, a hard disk, etc.; and communication devices 609. The communication devices 609 can allow the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 An electronic device having various devices is shown, but it should be understood that all of the shown devices are not required to be implemented or possessed. More or fewer devices can be alternatively implemented or possessed.
[0098] The embodiments of the present application also provide a computer program product including computer readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the battery risk of running out of power judgment methods in the remote upgrading process provided by the embodiments of the present application.
[0099] The embodiments of the present application also provide a computer readable storage medium carrying one or more computer programs, which, when executed by an electronic device, can cause the electronic device to implement any of the battery risk of running out of power judgment methods in the remote upgrading process provided by the embodiments of the present application.
[0100] An automobile applied with the above electronic device, the automobile can be a car applied with a gas engine.
[0101] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0102] For ease of description, the above system is described in various modules with different functions. Of course, the functions of the modules can be implemented in one or more software and / or hardware when implementing the present application.
[0103] Each embodiment in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, the system or system embodiment is described simply because it is basically similar to the method embodiment. The relevant part can be referred to the part of the method embodiment. The system and system embodiment described above are only illustrative. The units described as separate components can be or can not be physically separated. The components shown as units can be or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Some or all modules can be selected to achieve the purpose of the embodiment according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0104] The skilled person can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in the above description. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0105] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art.
[0106] It is also to be noted that, as used in this specification and the appended claims, the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component" can include a combination of two or more components, and the term "an element" can include comparable reference to a plurality of elements. Additionally, the term "or" as used herein means any one member of a logical disjunction (i.e., it is equivalent to "or" and "or else") and not a logical exclusion. Also, the terms "comprise," "comprising," "include," "including," and the like mean "including but not limited to." Furthermore, the terms "first," "second," "third," etc. are used merely as labels, and are not intended to impose numerical requirements on their objects.
[0107] The preceding description of the disclosed embodiments is not intended to be exhaustive or to be unduly limited by the scope of the embodiments. Many alternatives, modifications, and variations will be apparent to those skilled in the art upon reading this description. The scope of the invention is defined by the appended claims, and equivalents thereto.
Claims
1. An engine stability control method characterized by, The method comprises the following steps: acquiring knock data of the last N cycle periods of the engine, wherein N is a positive integer not less than 2; judging whether the engine meets a strong knock risk condition based on the knock data, wherein the strong knock risk condition comprises that knock is detected in at least M cycle periods in the last N cycle periods, and M is a positive integer less than N; controlling the count value of a first counter to increase by 1 when a first condition is met, wherein the first condition is that the count result of the first counter is less than a preset upper limit value, the ignition angle change amount of the last cycle period is 0, and the strong knock risk condition is not met; controlling the count value of a second counter to increase by 1 when the first condition is met and knock is detected in the current cycle period; controlling the count value of the second counter to remain unchanged when the first condition is met and knock is not detected in the current cycle period; resetting the first counter and resetting the second counter to a first initial value when the first condition is not met and the strong knock risk condition is not met; resetting the first counter and resetting the second counter to a second initial value when the first condition is not met and the strong knock risk condition is met, wherein the second initial value is greater than the first initial value; acquiring a knock fitting factor matched with the count values of the first counter and the second counter; judging whether knock occurs in the current cycle period when the knock fitting factor is less than a first preset limit value, and acquiring an ignition angle change amount matched with the value of M when knock occurs; determining a final ignition angle of the current cycle period based on the ignition angle change amount of the current cycle period; the step of acquiring the knock fitting factor matched with the count values of the first counter and the second counter comprises the following steps: determining the knock fitting factor matched with the count values of the first counter and the second counter from a preset mapping table, wherein the preset mapping table stores a corresponding relationship between the first counter and the second counter.
2. The engine stability control method according to claim 1, characterized by, The method further comprises the following steps: judging whether the ratio of the count result of the second counter to the count result of the first counter is less than a second preset limit value when the knock fitting factor is less than the first preset limit value and knock does not occur in the current cycle period, judging whether the strong knock risk condition is met, and determining the ignition angle change amount based on the number of continuous cycle periods in which knock does not occur in the N cycle period detections when the ratio of the count result of the second counter to the count result of the first counter is less than the second preset limit value and the strong knock condition is not met.
3. The engine stability control method according to claim 2, characterized by, The method further comprises the following steps: marking the ignition angle change amount of the current cycle period as 0 when the ratio of the count result of the second counter to the count result of the first counter is not less than the second preset limit value or the strong knock condition is met.
4. The engine stability control method according to claim 1, characterized by, The step of determining the final ignition angle of the current cycle period based on the ignition angle change amount of the current cycle period comprises the following step: taking the sum of the final ignition angle of the last cycle period and the ignition angle change amount of the current cycle period as the final ignition angle of the current cycle period.
5. An engine stability control device characterized by comprising: The method comprises the following steps: an explosion data acquisition unit is configured to acquire knock data of the last N cycle periods of the engine, wherein N is a positive integer not less than 2; The first judging unit is configured to judge whether the engine satisfies a strong knock risk condition based on the knock data, the strong knock risk condition including that knock is detected in at least M cycle periods in the last N cycle periods, M being a positive integer less than N; The first counter adjusting unit is configured to control the counting value of the counter to increase by 1 when a first condition is satisfied, the first condition being that the counting result of the first counter is less than a preset upper limit value, the variation of the ignition angle of the previous cycle period is 0, and the number of times that knock is detected in the last N cycle periods is not greater than M; The second counter is increased by 1 when the first condition is satisfied and knock is detected in the current cycle period, and the counting value of the second counter remains unchanged when the first condition is satisfied and knock is not detected in the current cycle period; The second counter adjusting unit is configured to reset the first counter and reset the second counter to a first initial value when the first condition is not satisfied and the strong knock risk condition is not satisfied, and reset the first counter and reset the second counter to a second initial value when the first condition is not satisfied and the strong knock risk condition is satisfied, the second initial value being greater than the first initial value; The fitting factor calculating unit is configured to obtain a knock fitting factor matched with the counting values of the first counter and the second counter; The variation of the ignition angle calculating unit is configured to judge whether knock occurs in the current cycle period when the knock fitting factor is less than a first preset limit value, and obtain a variation of the ignition angle matched with the value of M when knock occurs. The ignition angle calculating unit is configured to determine a final ignition angle of the current cycle period based on the variation of the ignition angle of the current cycle period. The knock fitting factor matched with the counting values of the first counter and the second counter is obtained by determining the knock fitting factor matched with the counting values of the first counter and the second counter from a preset mapping table, the preset mapping table storing a corresponding relationship between the first counter and the second counter. The electronic device comprises computer readable instructions, and when the computer readable instructions run on the electronic device, the electronic device implements the engine stability control method according to any one of claims 1 to 4.
6. A computer program product, characterised in that, The electronic device comprises at least one processor and a memory connected to the processor, wherein:
7. An electronic device, comprising: The memory is configured to store a computer program; The processor is configured to execute the computer program, so that the electronic device can implement the engine stability control method according to any one of claims 1 to 4. The electronic device is applied to the automobile.
8. An automobile characterized by comprising: The automobile is applied to a gas engine.
9. The automobile according to claim 8, characterized by
Citation Information
Patent Citations
Knock control device for a gasoline engine
CN102112723A
Knock protection control method under transient working condition
CN113586308A