Methods, devices, electronic equipment, storage media, and computer programs for determining the ignition angle of an engine.
By dynamically adjusting the engine's ignition angle, the problem of engine damage and efficiency reduction caused by improper control of the ignition advance angle due to knocking in existing technologies has been solved, achieving precise control and protection of the engine.
Patent Information
- Application Number
- CN202410256779.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-03-06
AI Technical Summary
Existing technologies fail to effectively protect the engine while reasonably controlling the knock and de-ignition advance angle, resulting in damage and reduced efficiency of the internal combustion engine.
By determining the retarded ignition angle and knock transition ignition angle of each cylinder of the engine when the sampling period arrives, the knock transition ignition angle, minimum ignition angle and basic ignition angle of the engine are determined based on these angles, and the ignition angle of the engine is dynamically adjusted to achieve precise control.
It achieves the goal of controlling knock and de-ignition advance angle while protecting the engine, improving the efficiency of the internal combustion engine and reducing damage, and avoiding engine vibration and torque control fluctuations.
Smart Images

Figure CN118148816B_ABST
Abstract
Description
Technical Field
[0001] This application relates to engine technology, and more particularly to a method, apparatus, electronic device, storage medium, and computer program product for determining the ignition angle of an engine. Background Technology
[0002] Knock refers to the spontaneous ignition of residual exhaust gases that have not burned after ignition within the combustion chamber. The shock wave generated by this spontaneous ignition disrupts the thermal boundary layer formed on the inner wall of the combustion chamber. To minimize damage to the internal combustion engine caused by knock while maximizing its efficiency, it is preferable to appropriately control the ignition timing of the internal combustion engine based on a trade-off between improving engine efficiency and reducing knock frequency.
[0003] Among the relevant technologies, there is no method that can effectively protect the engine while reasonably controlling the knock de-ignition advance angle. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and computer-readable storage medium for determining the ignition angle of an engine, which can effectively control the knock-off ignition advance angle while also protecting the engine.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] This application provides a method for determining the ignition angle of an engine, including:
[0007] When the sampling period arrives, determine the retarded ignition angle and knock transition retraction ignition angle for each cylinder of the engine;
[0008] Based on the retarded ignition angle and knock transition de-ignition angle of each cylinder, the knock de-ignition angle of the engine is determined.
[0009] Determine the engine's minimum and basic ignition angles;
[0010] The engine's ignition angle is determined based on the detonation ignition angle, the minimum ignition angle, and the basic ignition angle.
[0011] In the above scheme, determining the knock transition de-ignition angle for each cylinder of the engine includes:
[0012] Determine the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder;
[0013] Calculate the difference between the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder to obtain the corresponding retardation angle difference;
[0014] Determine the maximum value between the retardation angle difference for each cylinder and the reference knock transition retardation angle;
[0015] The determined maximum value is set as the knock transition retardation angle for the corresponding cylinder.
[0016] In the above scheme, determining the knock transition de-ignition angle deviation value for each cylinder includes:
[0017] Check each cylinder separately to see if knocking occurs within the target time period;
[0018] For each cylinder in each cylinder, if knocking is detected, the transition retardation angle deviation value of the corresponding cylinder is determined as the first reference value;
[0019] If no knocking is detected, determine the base value of the transition retardation ignition angle deviation for the corresponding cylinder, the engine speed, the engine running time after knocking occurs in the corresponding cylinder, and the self-learning coefficient of the transition retardation ignition angle deviation for knocking.
[0020] Based on the baseline value of the transition retardation ignition angle deviation, engine speed, engine running time after knocking, and the self-learning coefficient of the knocking transition retardation ignition angle deviation, the transition retardation ignition angle deviation value of the corresponding cylinder is determined.
[0021] In the above scheme, determining the ideal knock deactivation angle for each cylinder includes:
[0022] Determine the cylinder whose ignition completion time is closest to the current time.
[0023] Determine the original knock retardation angle, target knock retardation angle, and maximum retardation angle deviation value of the first cylinder;
[0024] Based on the original knock retardation angle, the target knock retardation angle, and the maximum retardation angle deviation, the ideal knock retardation angle of the first cylinder is determined.
[0025] For the second cylinder other than the first cylinder, the ideal knock engine ignition angle of the second cylinder determined in the previous sampling period is determined as the ideal knock de-ignition angle of the second cylinder in the current sampling period.
[0026] In the above scheme, the process of determining the original detonation re-ignition angle includes:
[0027] If the target cylinder meets the first condition, the ignition angle of the original knock engine is determined as the second reference value;
[0028] If the target cylinder does not meet the first condition, then the original knock deactivation angle self-learning coefficient and the knock deactivation angle reference value are determined.
[0029] Based on the original knock retardation angle self-learning coefficient and the knock retardation angle reference value, the original knock retardation angle of the target cylinder is determined.
[0030] In the above scheme, the first condition includes:
[0031] The target cylinder did not experience knocking after ignition; and / or,
[0032] The ignition angle difference of the target cylinder in the previous sampling period is less than or equal to the knock transition ignition angle of the target cylinder in the previous sampling period. The ignition angle difference is the difference between the ignition angle of the target cylinder in the previous sampling period and the minimum ignition angle.
[0033] This application provides an ignition angle determination device for an engine, comprising:
[0034] The first determining module is used to determine the retarded ignition angle and knock transition de-ignition angle of each cylinder of the engine when the sampling period arrives;
[0035] The second determining module is used to determine the knock de-ignition angle of the engine based on the retarded ignition angle and the knock transition de-ignition angle of each cylinder.
[0036] The third determining module is used to determine the engine's minimum ignition angle and basic ignition angle;
[0037] The fourth determining module is used to determine the engine's ignition angle based on the detonation ignition angle, the minimum ignition angle, and the basic ignition angle.
[0038] This application provides an electronic device, including:
[0039] Memory, used to store executable instructions;
[0040] The processor, when executing executable instructions stored in the memory, implements the engine ignition angle determination method provided in the embodiments of this application.
[0041] This application provides a computer-readable storage medium storing executable instructions for inducing a processor to execute and implement the engine ignition angle determination method provided in this application.
[0042] This application embodiment determines the retarded ignition angle and knock transition ignition angle of each cylinder of the engine when the sampling period arrives. Based on the retarded ignition angle and knock transition ignition angle of each cylinder, the knock ignition angle of the engine is determined. The minimum ignition angle and the basic ignition angle of the engine are also determined. Based on the knock ignition angle, the minimum ignition angle, and the basic ignition angle, the ignition angle of the engine is determined. This allows for dynamic determination of the engine's ignition angle, making the engine's ignition angle more accurate. Attached Figure Description
[0043] Figure 1 This is an optional structural schematic diagram of the engine ignition angle determination system provided in the embodiments of this application;
[0044] Figure 2 This is an optional structural schematic diagram of the electronic device provided in an embodiment of this application;
[0045] Figure 3 This is an optional flowchart illustrating the engine ignition angle determination method provided in the embodiments of this application. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0047] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0048] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0050] This application provides a method, apparatus, electronic device, and computer-readable storage medium for determining the ignition angle of an engine, which can effectively control the detonation ignition advance angle while also protecting the engine.
[0051] First, the engine ignition angle determination system provided in the embodiments of this application will be described, see [link to relevant documentation]. Figure 1 , Figure 1 This is an optional structural diagram of the engine ignition angle determination system 100 provided in an embodiment of this application. The engine ignition angle determination system 100 includes a controller 101 and an engine 102. The controller may be a vehicle control unit.
[0052] The electronic device for implementing the above-described engine ignition angle determination method, as provided in the embodiments of this application, will now be described. See [link to relevant documentation]. Figure 2 , Figure 2 This is an optional structural diagram of the electronic device 200 provided in this application embodiment. In practical applications, the electronic device 200 can be implemented as follows: Figure 1 The controller 101 in the present application is described below. The electronic device that implements the engine ignition angle determination method of the present application embodiment will be described below.
[0053] Figure 2 The illustrated electronic device 200 includes at least one processor 201 and a memory 202. Various components within the electronic device 200 are coupled together via a bus system 203. It is understood that the bus system 203 is used to implement communication between these components. In addition to a data bus, the bus system 203 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general designated all buses as Bus System 203.
[0054] Processor 201 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0055] The memory 202 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 202 may optionally include one or more storage devices physically located away from the processor 201.
[0056] The memory 202 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 202 described in this application embodiment is intended to include any suitable type of memory.
[0057] In some embodiments, the memory 202 can store data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof. In this embodiment, the memory 202 stores an operating system 2021 and an engine ignition angle determination device 2022; specifically,
[0058] Operating System 2021 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic business functions and handle hardware-based tasks.
[0059] In some embodiments, the engine ignition angle determination device provided in this application can be implemented in software. Figure 2 An engine ignition angle determination device 2022 stored in memory 202 is shown. This device can be software in the form of programs or plug-ins, and includes the following software modules: a first determination module 20221, a second determination module 20222, a third determination module 20223, and a fourth determination module 20224. These modules are logically connected and can therefore be arbitrarily combined or further separated according to their implemented functions. The functions of each module will be described below.
[0060] In other embodiments, the engine ignition angle determination device provided in this application can be implemented in hardware. As an example, the engine ignition angle determination device provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the engine ignition angle determination method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0061] The method for determining the ignition angle of an engine provided in this application will be described in conjunction with exemplary applications and implementations of the terminal provided in the embodiments of this application.
[0062] See Figure 3 , Figure 3 This is an optional flowchart illustrating the engine ignition angle determination method provided in this application embodiment, which will be combined with... Figure 3 The steps shown are explained.
[0063] Step 301: When the sampling period arrives, determine the retarded ignition angle and knock transition re-ignition angle for each cylinder of the engine;
[0064] Step 302: Determine the engine's knock de-ignition angle based on the retarded ignition angle and knock transition de-ignition angle of each cylinder;
[0065] Step 303: Determine the engine's minimum ignition angle and basic ignition angle;
[0066] Step 304: Determine the engine's ignition angle based on the detonation ignition angle, the minimum ignition angle, and the basic ignition angle.
[0067] In actual implementation, based on the knock deactivation angle phi of each cylinder KnockSparkRetard [0,1,2,3...], minimum ignition angle phi Min and basic ignition angle phi Base To determine the engine's ignition angle. The engine's ignition angle phi Run It can be max(phi) Min phi Base -phi KnockSparkRetard [0,1,2,3...]). Ignition is controlled based on the obtained ignition angle.
[0068] This application will use a 4-cylinder engine as an example for illustration. That is, phi KnockSparkRetard [0] is the detonation ignition angle for cylinder number 1, phi KnockSparkRetard [1] is the detonation ignition angle for cylinder number 2, phi KnockSparkRetard [2] is the detonation ignition angle for cylinder number 3, phi KnockSparkRetard [3] is the knock-off ignition angle for cylinder number 4.
[0069] Among them, the basic ignition angle phi under various operating conditions Base The determination method is as follows: The detonation ignition advance angle (ignition advance angle for short) under all operating conditions is calibrated on a test bench. The basic ignition angle phi under all operating conditions is obtained by subtracting the optimal ignition angle (MBT ignition angle) under all operating conditions from the test bench detonation ignition angle under all operating conditions. Base .
[0070] The minimum ignition angle phi under various operating conditions Min The determination method is as follows: On a test bench, the minimum ignition angle under different combustion modes is calibrated according to the engine exhaust temperature protection requirements and engine combustion stability requirements. The calibration basis is the minimum ignition angle that the engine can achieve within the range of engine exhaust temperature protection requirements and the allowable range of engine combustion stability, which is set as the minimum ignition angle phi. Min (Minimum ignition angle refers to the latest ignition advance angle.)
[0071] In actual implementation, the knock deactivation angle is calculated once in each sampling period. In this embodiment, the sampling period is 10ms. Specifically, the retardation ignition angle and knock transition deactivation ignition angle of each cylinder of the engine are determined. Based on the retardation ignition angle and knock transition deactivation ignition angle of each cylinder, the knock deactivation ignition angle of the engine is determined. Specifically, the knock deactivation ignition angle = retardation ignition angle + knock transition deactivation ignition angle, that is: phi KnockSparkRetardRaw [0,1,2,3]=phi KnockSparkTransient [0,1,2,3]+phi KnockSparkAfterRamp [0,1,2,3].
[0072] In actual implementation, phi KnockSparkRetard [0,1,2,3] represents the initial value phi for the detonation retreat ignition angle. KnockSparkRetardRaw [0,1,2,3] is limited to its maximum value phi KnockSparkRetardMax and minimum value phi KnockSparkRetardMin The maximum and minimum values of the knock retarding ignition angle for all cylinders are limited to the same range. Limiting the maximum knock retarding angle aims to prevent excessive ignition angle retardation, which could lead to excessive interference with engine torque and cause engine vibration. Limiting the minimum knock retarding angle aims to prevent excessive differences in knock retarding angles between cylinders. Excessive differences in knock retarding angles between cylinders can lead to significant differences in ignition timing, resulting in excessive fluctuations in engine torque control and engine vibration. The maximum value phi is... KnockSparkRetardMax This example uses a 10-degree ignition angle, meaning that the maximum allowable re-ignition angle after knock is 10 degrees (relative to the crankshaft angle), while the minimum value is phi. KnockSparkRetardMin By phi KnockSparkAfterRamp The maximum value phi in [0,1,2,3] KnockSparkAfterRampMax Subtract the maximum permissible retardation angle deviation value phi for each cylinder KnockSparkDiffMax To obtain is to possess:
[0073] phi KnockSparkRetardMin =max[(phi KnockSparkAfterRampMax -phi KnockSparkDiffMax ),0]
[0074] phi KnockSparkDiffMax =phi KnockSparkDiffMaxRaw ×(1+r phiKnockSparkDiffMaxAdapt )
[0075] Among them, phi KnockSparkDiffMaxRaw The initial value of the maximum permissible retardation angle deviation for each cylinder (the maximum permissible deviation value phi in this example) KnockSparkDiffMaxRaw Take 9 degrees), r phiKnockSparkDiffMaxAdaptThe self-learning correction coefficient is set to the maximum allowable ignition angle deviation of each cylinder. Its default value is 0, and it can be continuously updated through self-learning and can be saved after the vehicle is powered off.
[0076] The maximum permissible self-learning correction coefficient r for the retardation angle deviation of each cylinder phiKnockSparkDiffMaxAdapt The method for obtaining it is as follows:
[0077] Step 1: If no knocking occurs in any cylinder, then:
[0078] r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z), where r phiKnockSparkDiffMaxAdapt (z) is the self-learning correction coefficient for the maximum permissible annealing angle deviation of each cylinder during the last self-learning update.
[0079] Step two, then determine if the self-learning correction coefficient for the maximum permissible re-ignition angle deviation of each cylinder has been updated in this driving cycle, then:
[0080] r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z), where r phiKnockSparkDiffMaxAdapt (z) is the self-learning correction coefficient for the maximum permissible annealing angle deviation of each cylinder during the last self-learning update.
[0081] Step 3, then determine if neither of the above two conditions is met, and phi KnockSparkRetardMin -min{phi KnockSparkAfterRamp If [0,1,2,3]}≥2, and the duration of continuous knocking in any cylinder does not exceed the preset time t1 (0.2s in this example), then the knocking retraction angle before the transition is small and the duration of occurrence is short. Record the number of times CNT1 satisfies all of the above conditions. After all knocking has subsided, the number CNT1 will be used until the next knocking occurs to determine whether the third condition is met. If it is met again, CNT1 will be incremented by 1. If the maximum allowable retraction angle deviation of each cylinder is updated once by the self-learning correction coefficient, then CNT1 will be cleared to 0.
[0082] If CNT1 is greater than the preset number of times (50 in this example), then:
[0083] r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z)-0.02;
[0084] Otherwise, r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z).
[0085] Step four, then determine if any of the above three conditions are not met, and phi KnockSparkRetardMin -min{phi KnockSparkAfterRampIf [0,1,2,3]}≤0.05, and the duration of continuous knocking in any cylinder exceeds the preset time t2 (1.5s in this example), it indicates that the knocking retraction angle is large before the transition and the duration is relatively long. The number of times all of the above conditions are met is recorded as CNT2. After all knocking has subsided, the number CNT2 is used to determine whether the fourth condition is met again when the next knocking occurs. If it is met again, CNT2 is incremented by 1. If the maximum allowable retraction angle deviation of each cylinder is updated once, CNT1 is cleared to 0.
[0086] If CNT1 is greater than the preset number of times (200 in this example), then:
[0087] r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z)+0.015,
[0088] Otherwise, r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z);
[0089] Step 5, in other cases, r phiKnockSparkDiffMaxAdapt =r phiKnockSparkDiffMaxAdapt (z)
[0090] In some embodiments, determining the knock transition de-ignition angle for each cylinder of the engine includes:
[0091] Determine the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder;
[0092] Calculate the difference between the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder to obtain the corresponding retardation angle difference;
[0093] Determine the maximum value between the retardation angle difference for each cylinder and the reference knock transition retardation angle;
[0094] The determined maximum value is set as the knock transition retardation angle for the corresponding cylinder.
[0095] In actual implementation, phi KnockSparkAfterRamp [0,1,2,3] represents the knock transition ignition timing. This timing is primarily designed to manage the transition after knock deactivation, preventing excessive or rapid deactivation that could cause knocking to reappear, and also avoiding excessive torque fluctuations that could lead to vehicle vibration. The knock transition ignition timing is determined as follows:
[0096] phi KnockSparkAfterRamp [0,1,2,3]=max[(phi KnockSparkBeforeRamp [0,1,2,3]-Δphi KnockSparkRamp [0,1,2,3]),0];
[0097] Among them, phiKnockSparkBeforeRamp [0,1,2,3] represents the ideal detonation ignition angle for each cylinder, Δphi KnockSparkRamp [0,1,2,3] represents the knock transition ignition angle deviation value for each cylinder.
[0098] In some embodiments, determining the knock transition de-ignition angle deviation value for each cylinder includes:
[0099] Check each cylinder separately to see if knocking occurs within the target time period;
[0100] For each cylinder in each cylinder, if knocking is detected, the transition retardation angle deviation value of the corresponding cylinder is determined as the first reference value;
[0101] If no knocking is detected, determine the base value of the transition retardation ignition angle deviation for the corresponding cylinder, the engine speed, the engine running time after knocking occurs in the corresponding cylinder, and the self-learning coefficient of the transition retardation ignition angle deviation for knocking.
[0102] Based on the baseline value of the transition retardation ignition angle deviation, engine speed, engine running time after knocking, and the self-learning coefficient of the knocking transition retardation ignition angle deviation, the transition retardation ignition angle deviation value of the corresponding cylinder is determined.
[0103] In actual implementation, Δphi KnockSparkRamp The method for obtaining [0,1,2,3] is as follows:
[0104] Step 1: Real-time monitoring of whether knocking is detected in each cylinder.
[0105] Step 2: If knocking has just occurred in cylinder i (i = 0, 1, 2, 3), then Δphi KnockSparkRamp [i] = 0; where the method for determining whether knocking has occurred in each cylinder is a known technique and is not within the scope of this invention. Determining whether knocking has just occurred in each cylinder refers to determining whether knocking has occurred in each cylinder at the most recent moment.
[0106] Step 3: If knocking has just not occurred in cylinder i, then Δphi KnockSparkRamp [i] = f(n,t) TimeSinceKnock )×(1+r RampAdapt );f(n,t TimeSinceKnock ) represents the baseline value for the knock transition ignition angle deviation of each cylinder, n is the engine speed, and t is the base value. TimeSinceKnock This represents the engine running time after knocking in cylinder i has subsided; this time is reset to 0 when knocking occurs. The base value for the knock transition ignition angle deviation for each cylinder is f(n,t). TimeSinceKnock (and engine speed n and engine running time t) TimeSinceKnock The relationships between them are shown in Table 1. RampAdaptThis is the self-learning coefficient for the knock transition de-ignition angle deviation value of each cylinder. Its default value is 0, and it can be saved after the vehicle is powered off. Self-learning coefficient r for knock transition de-ignition angle deviation value of each cylinder. RampAdapt The method for obtaining it will be explained in detail later.
[0107] Table 1. Relationship between the baseline values of knock transition and re-ignition angle deviation for each cylinder and engine speed and engine running time.
[0108]
[0109] Self-learning coefficient r for knock transition and ignition angle deviation values of each cylinder RampAdapt The method for determining it is as follows:
[0110] The phi corresponding to the i-th cylinder KnockSparkAfterRamp [i] The previous sampling period was not 0, but the current sampling period is read as 0 as the end time, and t is read. TimeSinceKnock The value of t is denoted as t. TimeSinceKnockThis
[0111] The phi corresponding to the i-th cylinder KnockSparkAfterRamp [i] If the previous sampling period was not 0, but the current sampling period is read as 0 as the initial time, and the following conditions are met from this time to the subsequent operating conditions:
[0112] The absolute value of the engine speed change rate does not exceed the preset value, which is 30 rpm / s in this example;
[0113] The rate of change of fresh air intake density entering the cylinder of the engine is not greater than a preset value, which is 0 mg / l / s in this example;
[0114] The engine coolant temperature change rate shall not exceed the preset coolant temperature; in this example, it is taken as 0.2℃ / s.
[0115] The engine intake manifold temperature change rate does not exceed a preset temperature; in this example, it is taken as 0℃ / s.
[0116] t TimeSinceKnockThis If the engine speed and the average engine speed are the same, the operating conditions are considered to be the same.
[0117] 1) If the operating condition is maintained for a duration t2 that meets all the above conditions, exceeding the preset time (5s in this example), and no knocking occurs in the i-th cylinder,
[0118] Then, under the same operating conditions, the self-learning coefficient r of the knock transition ignition angle deviation value of the i-th cylinder is... RampAdapt [i] updated to
[0119] r RampAdapt [i] = r RampAdapt [i](z)+0.01, where rRampAdapt [i](z) represents the self-learning coefficient of the knock transition ignition angle deviation value after the last update of cylinder i. The self-learning coefficient of the knock transition ignition angle deviation value for other operating conditions of this cylinder is not updated, nor are the self-learning coefficients of the knock transition ignition angle deviation values for other cylinders.
[0120] 2) If the operating condition is maintained for a duration t2 that meets all the above conditions but does not exceed the preset time 2 (0.5s in this example), and the i-th cylinder experiences knocking again within time t2,
[0121] Then the self-learning coefficient r for the knock transition ignition angle deviation value of cylinder i. RampAdapt [i] updated to
[0122] r RampAdapt [i] = r RampAdapt [i](z)-0.02, where r RampAdapt [i](z) represents the self-learning coefficient of the knock transition ignition angle deviation value after the last update of cylinder i. The self-learning coefficient of the knock transition ignition angle deviation value for other operating conditions of this cylinder is not updated, nor are the self-learning coefficients of the knock transition ignition angle deviation values for other cylinders.
[0123] 3) In other cases, the self-learning coefficient of the knock transition ignition angle deviation value is not updated under any operating condition of all cylinders.
[0124] After the self-learning coefficient of the detonation transition ignition angle deviation value is updated, when the same working condition is encountered again, Δphi is calculated using the updated self-learning coefficient of the detonation transition ignition angle deviation value. KnockSparkRamp [i].
[0125] In some embodiments, determining the ideal knock deactivation angle for each cylinder includes:
[0126] Determine the cylinder whose ignition completion time is closest to the current time.
[0127] Determine the original knock retardation angle, target knock retardation angle, and maximum retardation angle deviation value of the first cylinder;
[0128] Based on the original knock retardation angle, the target knock retardation angle, and the maximum retardation angle deviation, the ideal knock retardation angle of the first cylinder is determined.
[0129] For the second cylinder other than the first cylinder, the ideal knock engine ignition angle of the second cylinder determined in the previous sampling period is determined as the ideal knock de-ignition angle of the second cylinder in the current sampling period.
[0130] In practical implementation, the ideal de-knock angle phi for each cylinder is... KnockSparkBeforeRampThe method for obtaining [0,1,2,3] is as follows:
[0131] Suppose that the cylinder number that was ignited most recently is j, where j = 0, 1, 2, 3.
[0132] 1) The cylinder number that ignited most recently is j, corresponding to the ideal knock-off ignition angle for each cylinder:
[0133] phi KnockSparkBeforeRamp [j] = min{(phi KnockSparkRaw [j]+phi KnockSparkRetardUnlim [0,1,2,3]), phi KnockSparkDiffMax}
[0134] phi KnockSparkRaw [j] represents the original detonation re-ignition angle, phi KnockSparkRetardUnlim [0,1,2,3] refers to values not specified by the minimum value phi. KnockSparkRetardMin The limited detonation re-ignition angle is obtained by setting the initial value phi of the detonation re-ignition angle. KnockSparkRetardRaw [0,1,2,3] is limited to 0 to phi. KnockSparkRetardMax The detonation ignition angle after the detonation. Its unrestricted nature stems from the need to first obtain the most realistic intensity caused by the detonation.
[0135] 2) Except for cylinder number j, the ideal de-knock ignition angles for each cylinder remain unchanged:
[0136] phi KnockSparkBeforeRamp [i] = phi KnockSparkBeforeRamp [i](z), i≠j, i=0,1,2,3
[0137] Among them, phi KnockSparkBeforeRamp [i](z) is the phi of the previous sampling period. KnockSparkBeforeRamp [i].
[0138] In the above scheme, determining the detonation transition ignition angle includes: determining a self-learning coefficient for the detonation transition ignition angle deviation value; and determining the detonation transition ignition angle based on the self-learning coefficient.
[0139] In some embodiments, the process of determining the original detonation re-ignition angle includes:
[0140] If the target cylinder meets the first condition, the ignition angle of the original knock engine is determined as the second reference value;
[0141] If the target cylinder does not meet the first condition, then the original knock deactivation angle self-learning coefficient and the knock deactivation angle reference value are determined.
[0142] Based on the original knock retardation angle self-learning coefficient and the knock retardation angle reference value, the original knock retardation angle of the target cylinder is determined.
[0143] In some embodiments, the first condition includes: the target cylinder did not experience knocking after ignition; and / or, the ignition angle difference of the target cylinder in the previous sampling period is less than or equal to the knock transition ignition angle of the target cylinder in the previous sampling period, wherein the ignition angle difference is the difference between the ignition angle of the target cylinder in the previous sampling period and the minimum ignition angle.
[0144] In actual implementation, the original detonation re-ignition angle phi KnockSparkRaw The method for obtaining [j] is as follows:
[0145] If cylinder j, which was ignited most recently, did not experience knocking, then:
[0146] phi KnockSparkRaw [j] = 0;
[0147] Then determine if phi Run [j](z)-phi Min [j](z)≤phi KnockSparkAfterRamp [j](z)
[0148] Among them, phi KnockSparkAfterRamp [j](z) is the detonation transition re-ignition angle of the previous sampling period, phi Run [j](z) represents the final firing angle of cylinder j in the previous sampling period; phi Min [j](z) represents the minimum ignition angle of cylinder j in the previous sampling period. This indicates that the knock de-ignition angle has reached the maximum value that the ignition angle can be delayed. To avoid the phenomenon that the knock de-ignition angle cannot be quickly transitioned after a long period of time after de-ignition (i.e., from the time when the cylinder has de-ignition to the time when there is no de-ignition), resulting in the inability to recover power, we have:
[0149] phi KnockSparkRaw [j] = 0;
[0150] In other cases, the engine knock intensity coefficient k can be determined based on the cylinder number j that was ignited most recently. KnockRatio The higher the detonation intensity, the larger the cumulative detonation angle, i.e., the original detonation re-ignition angle phi. KnockSparkRaw The larger [j] is, the more likely the detonation re-ignition angle is to be:
[0151] phi KnockSparkRaw [j]=f(k KnockRatio )×(1+r KnockRawAdpat ).
[0152] <![CDATA[k KnockRatio ]]> 1 2 3 4 5 6 7 8 9 10 <![CDATA[f(k KnockRatio )]]> 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.8 3
[0153] Where, r KnockRawAdpat This is the original self-learning coefficient for the knock deactivation ignition angle, with a default value of 0, and it can be saved after the vehicle is powered off. The method for obtaining it is as follows:
[0154] If the most primitive detonation re-ignition angle phi KnockSparkRaw During the acquisition of [j], the number of times cylinder j goes from the occurrence of knocking to its exit from knocking is recorded once, and this number is accumulated and recorded as CNT3. If phi Run [j](z)-phi Min [j](z)≤phi KnockSparkAfterRamp The number of occurrences of [j](z) is CNT4. The ratio of CNT4 to CNT3 exceeds the preset value, which is 0.98 in this example. Therefore, the r corresponding to cylinder j will be... KnockRawAdpat Update, r KnockRawAdpat =r KnockRawAdpat (z)-0.023, other cylinders are not updated.
[0155] If phi Run [j](z)-phi Min [j](z)≤phi KnockSparkAfterRamp The number of occurrences of [j](z) is CNT4, and the ratio of CNT3 does not exceed a preset value. In this example, it is set to 0.2. Then, the r corresponding to cylinder j will be... KnockRawAdpat Update, r KnockRawAdpat =r KnockRawAdpat (z) + 0.005, other cylinders are not updated. The calculation formula is as follows:
[0156] max[phi KnockSparkRaw [0,1,2,3]]-min[phi KnockSparkRaw [0,1,2,3]]≥1.2
[0157] phi Run [j](z)-phi Min [j](z)≤phi KnockSparkAfterRamp [j](z)
[0158] The number of occurrences, CNT4, is determined to be within a preset range. In this example, the ratio is set to 0.45. Then, the r values corresponding to all cylinders are calculated. KnockRawAdpat Update, r KnockRawAdpat =0, that is, reset to 0. Because the knocking angle of each cylinder is quite different at this time, and the knocking angle is not serious, in order to avoid the engine vibration caused by the large difference in knocking angle of each cylinder, it is forcibly reset to the initial value.
[0159] It should be noted that whether knocking occurs in each cylinder can be determined by the knocking intensity coefficient k. KnockRatioThe knock intensity coefficient k of the cylinder is determined by whether it is greater than 1. KnockRatio A value greater than 1 indicates that knocking has occurred in that cylinder; otherwise, knocking has not occurred. Other methods can also be used to determine if knocking has occurred.
[0160] This application's embodiments, to avoid the phenomenon of insufficient power recovery due to a prolonged inability to quickly transition after the knock retraction angle saturates, optimize the original knock retraction ignition angle for determining knock intensity. Considering the differences in knock retraction angles among different cylinders, and to avoid excessive fluctuations in engine torque control and engine vibration caused by large differences in ignition timing between cylinders, a cylinder-wide ignition angle balancing process is implemented after knock. Simultaneously, to avoid excessive torque fluctuations, a knock transition balancing process is implemented. Finally, control parameters are updated in real time to ensure that the knock retraction angle can be dynamically updated and optimized in real time under different vehicle conditions. This protects the engine and improves vehicle performance.
[0161] The following description continues to illustrate the exemplary structure of the engine ignition angle determination device 2022 provided in this application embodiment as a software module. In some embodiments, such as... Figure 2 As shown, the software module in the engine ignition angle determination device 2022 stored in the memory 202 may include:
[0162] The first determining module 20221 is used to determine the retarded ignition angle and knock transition de-ignition angle of each cylinder of the engine when the sampling period arrives.
[0163] The second determining module is used to determine the knock de-ignition angle of the engine based on the retarded ignition angle and the knock transition de-ignition angle of each cylinder.
[0164] The third determining module is used to determine the engine's minimum ignition angle and basic ignition angle;
[0165] The fourth determining module is used to determine the engine's ignition angle based on the detonation ignition angle, the minimum ignition angle, and the basic ignition angle.
[0166] In the above scheme, the first determining module 20221 is further used to determine the ideal knock retardation angle and the knock transition retardation angle deviation value for each cylinder; calculate the difference between the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder respectively, and obtain the corresponding retardation angle difference value; determine the maximum value between the retardation angle difference value corresponding to each cylinder and the reference knock transition retardation angle respectively; and determine the determined maximum value as the knock transition retardation angle of the corresponding cylinder.
[0167] In the above scheme, the first determining module 20221 is further used to detect whether knocking occurs in each cylinder within the target time period; for each cylinder, if knocking is detected, the transition de-ignition angle deviation value of the corresponding cylinder is determined as the first reference value; if knocking is not detected, the base value of the transition de-ignition angle deviation value of the corresponding cylinder, the engine speed, the engine running time after knocking occurs in the corresponding cylinder, and the self-learning coefficient of the knocking transition de-ignition angle deviation value are determined; based on the base value of the transition de-ignition angle deviation value, the engine speed, the engine running time after knocking occurs, and the self-learning coefficient of the knocking transition de-ignition angle deviation value, the transition de-ignition angle deviation value of the corresponding cylinder is determined.
[0168] In the above scheme, the first determining module 20221 is further used to determine the first cylinder whose ignition completion time is closest to the current time; determine the original knock de-ignition angle, target knock de-ignition angle, and maximum de-ignition angle deviation value of the first cylinder; determine the ideal knock de-ignition angle of the first cylinder based on the original knock de-ignition angle, the target knock de-ignition angle, and the maximum de-ignition angle deviation value; and for the second cylinder other than the first cylinder, determine the ideal knock engine ignition angle of the second cylinder determined in the previous sampling period as the ideal knock de-ignition angle of the second cylinder in the current sampling period.
[0169] In the above scheme, the first determining module 20221 is further configured to: if the target cylinder meets the first condition, determine the ignition angle of the original knock engine as a second reference value; if the target cylinder does not meet the first condition, determine the original knock de-ignition angle self-learning coefficient and the knock de-ignition angle reference value; and determine the original knock de-ignition angle of the target cylinder based on the original knock de-ignition angle self-learning coefficient and the knock de-ignition angle reference value.
[0170] In the above scheme, the first condition includes: the target cylinder does not experience knocking after ignition; and / or, the ignition angle difference of the target cylinder in the previous sampling cycle is less than or equal to the knocking transition ignition angle of the target cylinder in the previous sampling cycle, wherein the ignition angle difference is the difference between the ignition angle of the target cylinder in the previous sampling cycle and the minimum ignition angle.
[0171] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, so it will not be repeated.
[0172] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the engine ignition angle determination method described in this application embodiment.
[0173] This application provides a computer-readable storage medium storing executable instructions. When the executable instructions are executed by a processor, the processor will execute the engine ignition angle determination method provided in this application.
[0174] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0175] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0176] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0177] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0178] In summary, the embodiments of this application can effectively control the knock de-ignition advance angle while also protecting the engine.
[0179] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A method for determining the ignition angle of an engine, characterized in that, include: When the sampling period arrives, determine the retarded ignition angle and knock transition retraction ignition angle for each cylinder of the engine; Based on the retarded ignition angle and knock transition de-ignition angle of each cylinder, the knock de-ignition angle of the engine is determined. Determine the engine's minimum and basic ignition angles; The engine's ignition angle is determined based on the knock-off ignition angle, the minimum ignition angle, and the basic ignition angle. Determining the knock transition de-ignition angle for each cylinder of the engine includes: Determine the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder; Calculate the difference between the ideal knock retardation angle and the knock transition retardation angle deviation for each cylinder to obtain the corresponding retardation angle difference. Determine the maximum value between the retardation angle difference for each cylinder and the reference knock transition retardation angle; The determined maximum value is set as the knock transition retardation angle for the corresponding cylinder; Among them, determining the knock transition ignition angle deviation value for each cylinder includes: Check each cylinder separately to see if knocking occurs within the target time period; For each cylinder in each cylinder, if knocking is detected, the knocking transition ignition angle deviation value of the corresponding cylinder is determined as the first reference value; If no knocking is detected, determine the base value of the knock transition ignition angle deviation value of the corresponding cylinder, the engine speed, the engine running time after knocking occurs in the corresponding cylinder, and the self-learning coefficient of the knock transition ignition angle deviation value. Based on the base value of the knock transition ignition angle deviation value, engine speed, engine running time after knocking, and the self-learning coefficient of the knock transition ignition angle deviation value, the knock transition ignition angle deviation value of the corresponding cylinder is determined. The determination of the ideal knock deactivation angle for each cylinder includes: Determine the cylinder whose ignition completion time is closest to the current time. Determine the original knock retardation angle, target knock retardation angle, and maximum retardation angle deviation value of the first cylinder; Based on the original knock retardation angle, the target knock retardation angle, and the maximum retardation angle deviation, the ideal knock retardation angle of the first cylinder is determined. For the second cylinder other than the first cylinder, the ideal knock engine ignition angle of the second cylinder determined in the previous sampling period is determined as the ideal knock de-ignition angle of the second cylinder in the current sampling period.
2. The method according to claim 1, characterized in that, The process of determining the original detonation re-ignition angle includes: If the first cylinder meets the first condition, then the original knock deactivation angle is determined as the second reference value; If the first cylinder does not meet the first condition, then determine the original knock de-ignition angle self-learning coefficient and the knock de-ignition angle reference value; Based on the original knock retardation angle self-learning coefficient and the knock retardation angle reference value, the original knock retardation angle of the first cylinder is determined.
3. The method according to claim 2, characterized in that, The first condition includes: No knocking occurred in the first cylinder after ignition; and / or, The ignition angle difference of the first cylinder in the previous sampling period is less than or equal to the knock transition ignition angle of the first cylinder in the previous sampling period. The ignition angle difference is the difference between the ignition angle of the first cylinder in the previous sampling period and the minimum ignition angle.
4. An ignition angle determining device for an engine, characterized in that, include: The first determining module is used to determine the retarded ignition angle and knock transition de-ignition angle of each cylinder of the engine when the sampling period arrives; The second determining module is used to determine the knock de-ignition angle of the engine based on the retarded ignition angle and the knock transition de-ignition angle of each cylinder. The third determining module is used to determine the engine's minimum ignition angle and basic ignition angle; The fourth determining module is used to determine the engine's ignition angle based on the knock-off ignition angle, the minimum ignition angle, and the basic ignition angle; The first determining module is further configured to determine the ideal knock ignition angle and the knock transition ignition angle deviation value for each cylinder; calculate the difference between the ideal knock ignition angle and the knock transition ignition angle deviation value for each cylinder to obtain the corresponding ignition angle difference value; determine the maximum value between the corresponding ignition angle difference value and the reference knock transition ignition angle for each cylinder; and determine the determined maximum value as the knock transition ignition angle for the corresponding cylinder. The first determining module is further configured to detect whether knocking occurs in each cylinder within the target time period; for each cylinder, if knocking is detected, the knocking transition de-ignition angle deviation value of the corresponding cylinder is determined as the first reference value; if no knocking is detected, the base value of the knocking transition de-ignition angle deviation value of the corresponding cylinder, the engine speed, the engine running time after knocking occurs in the corresponding cylinder, and the self-learning coefficient of the knocking transition de-ignition angle deviation value are determined; based on the base value of the knocking transition de-ignition angle deviation value, the engine speed, the engine running time after knocking occurs, and the self-learning coefficient of the knocking transition de-ignition angle deviation value, the knocking transition de-ignition angle deviation value of the corresponding cylinder is determined; The first determining module is further configured to: determine the first cylinder whose ignition completion time is closest to the current time; determine the original knock de-ignition angle, target knock de-ignition angle, and maximum de-ignition angle deviation value of the first cylinder; determine the ideal knock de-ignition angle of the first cylinder based on the original knock de-ignition angle, the target knock de-ignition angle, and the maximum de-ignition angle deviation value; and for the second cylinder other than the first cylinder, determine the ideal knock engine ignition angle of the second cylinder determined in the previous sampling period as the ideal knock de-ignition angle of the second cylinder in the current sampling period.
5. An electronic device, characterized in that, include: Memory, used to store executable instructions; The processor, when executing executable instructions stored in the memory, implements the ignition angle determination method for the engine according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, It stores executable instructions for use by a processor to implement the ignition angle determination method of the engine as described in any one of claims 1 to 3.
7. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a processor, implement the ignition angle determination method for the engine according to any one of claims 1 to 3.
Citation Information
Patent Citations
Knock protection control method under transient working condition
CN113586308A
Knock control device for internal combustion engine
JP2001073820A
