Engine knock judgment method, device, equipment and medium
By acquiring and calculating the peak and average values of voltage signals in multiple frequency bands and adjusting the weight ratio, the misjudgment problem in engine knock judgment is solved, and the recognition accuracy and engine stability are improved.
Patent Information
- Application Number
- CN202411363319.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing engine knock determination methods are prone to misjudgment, resulting in unnecessary knock protection measures and affecting engine stability.
By obtaining the current knock peak voltage of the current cycle and the front knock peak voltage of the first N cycles, calculate the feedback voltage, and determine whether the engine has knocked based on the feedback voltage and the current knock limit, adjust the weight ratio to reduce the error judgment .
The accuracy of engine knock recognition is improved, the response to occasional single knock is reduced, and the stability of the engine is improved.
Smart Images

Figure CN119195932A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engine technology, and in particular to an engine knock determination method, device, equipment and medium. Background Art
[0002] The engine knock protection function is realized by monitoring the voltage signal of the knock sensor. When the voltage signal exceeds the knock limit, it is considered that the engine has knocked, and the knock protection is triggered at the same time, delaying the ignition advance angle. However, the voltage signal of the knock sensor itself will fluctuate to a certain extent. When the engine does not have knock, it will occasionally collect a large voltage signal. When the voltage exceeds the limit, the knock protection will be triggered, resulting in a misjudgment of knock. Alternatively, when the internal combustion state or operating conditions of the engine change, the characteristic frequency of the knock may shift, and the voltage signal limit is generally a signal of a specific characteristic frequency, which will also cause a misjudgment. Summary of the invention
[0003] The present invention provides an engine knock determination method, device, equipment and medium to solve the problem of easy misjudgment of knock in related technologies.
[0004] According to one aspect of the present invention, there is provided a method for determining engine knock, comprising the following steps:
[0005] Obtaining a current knock peak voltage of a current cycle and N previous knock peak voltages of N cycles before the current cycle; wherein the knock peak voltage corresponding to each cycle is a maximum value among voltage signals corresponding to a plurality of characteristic frequency bands, and N is a positive integer;
[0006] The current knock peak voltage and the mean voltage corresponding to the N previous knock peak voltages are calculated according to corresponding weight ratios to determine a feedback voltage; wherein the weight ratio corresponding to the current peak voltage is a first weight ratio, the weight ratio corresponding to the mean voltage is a second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%;
[0007] Whether knock occurs in the engine is determined according to the feedback voltage and a current knock limit value, wherein the current knock limit value is a knock limit value under the engine operating condition corresponding to the current cycle.
[0008] Optionally, the mean voltage is the square average of the N pre-knock peak voltages.
[0009] Optionally, before determining the feedback voltage, the method further includes:
[0010] Determine the number M of the N pre-knock peak voltages that exceed the corresponding knock limit value;
[0011] When the value of M / N is less than or equal to a first preset value, adjusting the first weight ratio corresponding to the current cycle to be smaller than the first weight ratio corresponding to the previous cycle;
[0012] When the value of M / N is greater than or equal to a second preset value, adjusting the first weight ratio corresponding to the current cycle to be greater than the first weight ratio corresponding to the previous cycle;
[0013] When the value of M / N is greater than the first preset value and less than the second preset threshold, the first weight ratio corresponding to the current cycle is maintained as the first weight ratio corresponding to the previous cycle, the first preset value is less than the second preset value, the first preset value is less than 50%, the second preset value is greater than 50%, M is less than N, and M is a natural number.
[0014] Optionally, after determining whether the engine has knock according to the feedback voltage and the current knock limit value, the method further includes:
[0015] When the feedback voltage is greater than or equal to the current knock limit, it is determined that the engine has knocked, and a delay angle of the engine's ignition advance angle is calculated; when the delay angle is less than the ignition advance angle limit, the engine is controlled to perform an ignition advance angle delay action; when the delay angle is greater than the ignition advance angle limit, the engine is controlled to perform a torque limiting action;
[0016] When the feedback voltage is less than the current knock limit value, it is determined that no knock occurs in the engine.
[0017] Optionally, after controlling the engine to perform the action of delaying the ignition advance angle, the method further includes:
[0018] When the feedback voltage of the next cycle is less than the corresponding knock limit value, the engine is controlled to perform an action of restoring the ignition advance angle according to a preset step length.
[0019] According to a second aspect of the present invention, there is provided an engine knock determination device for implementing the engine knock determination method according to any embodiment of the present invention, comprising:
[0020] An acquisition module, used to acquire a current knock peak voltage of a current cycle, and N previous knock peak voltages of N cycles before the current cycle; wherein the knock peak voltage corresponding to each cycle is a maximum value among voltage signals corresponding to a plurality of characteristic frequency bands, and N is a positive integer;
[0021] A determination module, configured to calculate the average voltage corresponding to the current knock peak voltage and the N previous knock peak voltages according to corresponding weight ratios to determine a feedback voltage; wherein the weight ratio corresponding to the current peak voltage is a first weight ratio, the weight ratio corresponding to the average voltage is a second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%;
[0022] A judgment module is used to determine whether the engine has knock according to the feedback voltage and a current knock limit value, wherein the current knock limit value is a knock limit value under the engine operating condition corresponding to the current cycle.
[0023] Optionally, the device further includes: a weight ratio adjustment module, configured to perform the following steps:
[0024] Determine the number M of the N pre-knock peak voltages that exceed the corresponding knock limit value;
[0025] When the value of M / N is less than or equal to a first preset value, adjusting the first weight ratio corresponding to the current cycle to be smaller than the first weight ratio corresponding to the previous cycle;
[0026] When the value of M / N is greater than or equal to a second preset value, adjusting the first weight ratio corresponding to the current cycle to be greater than the first weight ratio corresponding to the previous cycle;
[0027] When the value of M / N is greater than the first preset value and less than the second preset threshold, the first weight ratio corresponding to the current cycle is maintained as the first weight ratio corresponding to the previous cycle, the first preset value is less than the second preset value, the first preset value is less than 50%, and the second preset value is greater than 50%.
[0028] Optionally, the judgment module includes: a first judgment unit, configured to determine that the engine has knock when the feedback voltage is greater than or equal to the current knock limit value, calculate a delay angle of the engine's ignition advance angle, and control the engine to perform an ignition advance angle delay action when the delay angle is less than the ignition advance angle limit value, and control the engine to perform a torque limiting action when the delay angle is greater than the ignition advance angle limit value;
[0029] The second judgment unit is used to determine that no knock occurs in the engine when the feedback voltage is less than the current knock limit value.
[0030] According to a third aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0031] at least one processor; and
[0032] a memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the engine knock determination method described in any embodiment of the present invention.
[0034] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the engine knock determination method described in any embodiment of the present invention when executed by a processor.
[0035] According to the engine knock determination method, device, equipment and medium proposed in the embodiment of the present invention, the method includes the following steps: obtaining the current knock peak voltage of the current cycle, and the N previous knock peak voltages of the first N cycles since the start of the current cycle; wherein the knock peak voltage corresponding to each cycle is the maximum value in the voltage signals corresponding to multiple characteristic frequency bands, and N is a positive integer; calculating the mean voltage corresponding to the current knock peak voltage and the N previous knock peak voltages according to the corresponding weight ratio to determine the feedback voltage; wherein the weight ratio corresponding to the current peak voltage is the first weight ratio, the weight ratio corresponding to the mean voltage is the second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%; determining whether the engine knocks according to the feedback voltage and the current knock limit, wherein the current knock limit is the knock limit under the engine operating condition corresponding to the current cycle. Therefore, by simultaneously acquiring voltage signals of multiple frequency bands, and taking the current knock peak voltage of the current cycle and the average voltage of the previous N pre-knock peak voltages as the feedback voltage, the acquired feedback voltage includes voltage signals of multiple frequency bands and multiple pre-knock peak voltages, thereby reducing the interference of abnormal fluctuations in the knock sensor voltage signal, effectively improving the recognition accuracy of continuous knock, reducing the response to occasional single knock, and improving engine stability.
[0036] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 It is a schematic diagram of voltage signals collected by different knock sensors when the engine is in stable working condition;
[0039] Figure 2 is a flow chart of an engine knock determination method proposed in an embodiment of the present invention;
[0040] Figure 3 is a block diagram of an engine knock determination device provided by an embodiment of the present invention;
[0041] Figure 4 A schematic diagram of the structure of an electronic device that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] Figure 1 This is a schematic diagram of the voltage signals collected by different knock sensors under stable engine conditions. Figure 1 As shown, the voltage signal of the knock sensor fluctuates. When the engine does not experience knock, a large voltage signal may occasionally be detected. If the voltage exceeds the limit, the knock protection will be triggered, resulting in a misjudgment of knock.
[0045] In addition, the knock frequency of the engine is Among them, k = 1.84, 3.054, 3.832, 4.201, 5.332, 6.42, 6.71. Bore is the cylinder diameter of the engine, and c is the speed of sound in the combustion chamber (related to temperature). Theoretically, knock has multiple characteristic frequencies, but under different working conditions, the signals of certain frequencies will be attenuated to different degrees.
[0046] In the related art, a single signal is usually collected and a single limit value is used. When the collected signal is greater than the limit value, it is determined that knock occurs, which is prone to misjudgment. Therefore, in order to improve the knock identification accuracy, the embodiment of the present invention simultaneously obtains voltage signals of multiple frequency bands, and uses the current knock peak voltage of the current cycle and the average voltage of the previous N knock peak voltages as the feedback voltage, so that the feedback voltage can reflect the knock situation of the engine in a relatively balanced manner, and can reflect the trend of the engine knocking as the running time increases, thereby reducing the response to occasional single knock and improving the stability of the engine.
[0047] Figure 2 1 is a flow chart of the engine knock determination method proposed in an embodiment of the present invention. Figure 2 As shown, the knock determination method includes the following steps:
[0048] S101, obtaining the current knock peak voltage of the current cycle and the N previous knock peak voltages of the N previous cycles starting from the current cycle; wherein the knock peak voltage corresponding to each cycle is the maximum value of the voltage signals corresponding to the multiple characteristic frequency bands, and N is a positive integer.
[0049] It can be understood that the current cycle refers to one rotation of the engine's crankshaft, that is, the engine undergoes an intake stroke, a compression stroke, a power stroke, and an exhaust stroke as one cycle. The knock peak voltage can be collected by a knock sensor, wherein the knock sensor can collect voltage signals of multiple characteristic frequency bands, and use the maximum value of the voltage signals of multiple characteristic frequency bands as the current knock peak voltage of the current cycle. This can improve the accuracy of knock identification and avoid misjudgment caused by collecting voltage signals of a single characteristic frequency band.
[0050] In other words, the engine has already experienced knock under the current working condition. If the voltage signal of a single characteristic frequency band is collected, the signal may be relatively attenuated under this working condition, and the knock may not be identified. Furthermore, by taking the maximum value of the voltage signals of multiple characteristic frequency bands as the current knock peak voltage of the current cycle, the situation where the knock cannot be identified due to signal attenuation can be avoided.
[0051] In addition, the N pre-knock peak voltages of the first N cycles since the current cycle means that the cycle before the current cycle is the previous cycle, the first two cycles of the current cycle are the first two cycles, and so on, the first N cycles of the current cycle are the first N cycles; N can be 5-10. Exemplarily, when N is 5, when the total number of cycles is less than 5, such as 3, the 5 pre-knock peak voltages of the first 5 cycles since the current cycle are the 3 knock peak voltages corresponding to the first cycle to the third cycle. When the total number of cycles is more than 5, such as 8, the 5 pre-knock peak voltages of the first 5 cycles since the current cycle are the 5 knock peak voltages corresponding to the fourth cycle to the eighth cycle, where the eighth cycle is the current cycle.
[0052] In one embodiment, the multiple frequency bands may be 1000-3000 Hz, 5000-7000 Hz, 9000-12000 Hz, etc. The multiple frequency bands may be divided accordingly according to different engine models.
[0053] S102, the feedback voltage is determined by calculating the current knock peak voltage and the mean voltage corresponding to N previous knock peak voltages according to the corresponding weight ratios; wherein the weight ratio corresponding to the current peak voltage is the first weight ratio, the weight ratio corresponding to the mean voltage is the second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%.
[0054] Among them, if the current knock peak voltage is recorded as U1, the average voltage corresponding to the N previous knock peak voltages is U2, and the first weight ratio is x, then the feedback voltage U=U1×x%+U2×(1-x)%.
[0055] It should be noted that, since the current knock peak voltage is the maximum value selected from the corresponding voltage signals in multiple frequency bands, if only the current knock peak voltage is used as the judgment reference, although it can avoid the situation where the knock cannot be identified due to signal attenuation caused by different working conditions, it is also possible that due to the selection of the maximum value, there is a situation where the knock does not occur but is mistakenly identified as a knock. Furthermore, in the embodiment of the present invention, the first weight ratio and the second weight ratio are limited to balance the situation where the knock does not occur but is mistakenly identified as a knock, and the situation where the knock occurs but is mistakenly identified as not occurring.
[0056] Exemplarily, the first weight ratio and the second weight ratio can both be 50%. If the multiple knock peak voltages collected continuously do not exceed the limit value, and the current knock peak voltage exceeds the limit value, to avoid the situation of misidentification of knock, the mean voltage corresponding to the N previous knock peak voltages is U2, which can lower the value of the current knock peak voltage U1. If the multiple knock peak voltages collected continuously mostly exceed the limit value, and the current knock peak voltage does not exceed the limit value, to avoid the situation of misidentification of no knock, the mean voltage corresponding to the N previous knock peak voltages is U2, which can raise the value of the current knock peak voltage U1, so that the feedback voltage finally obtained can more accurately reflect the knock condition of the engine. In other embodiments, the first weight ratio and the second weight ratio can also be other values, which can be determined according to the specific model of the engine and the actual situation, so as to accurately reflect the knock condition of the engine.
[0057] S103, determining whether the engine has knocked according to the feedback voltage and the current knock limit value, wherein the current knock limit value is the knock limit value under the engine operating condition corresponding to the current cycle.
[0058] When the feedback voltage is greater than or equal to the current knock limit value, it is determined that the engine has knocked, and when the feedback voltage is less than the current knock limit value, it is determined that the engine has not knocked.
[0059] It is understandable that the corresponding knock limit values of the engine are different under different working conditions. Different working conditions correspond to different loads and speeds. In other words, the corresponding knock limit values of the engine are different under different loads and speeds. The relationship between the knock limit value and the corresponding working condition of the engine can be formed into a preset corresponding relationship through offline calibration and stored in advance. After obtaining the current knock peak voltage of the current cycle, the current knock limit value can be obtained at the same time, and the calculated feedback voltage can be compared with the current knock limit value to determine whether the engine has knock.
[0060] Therefore, by selecting the maximum value of the voltage signal in different frequency bands, the signal attenuation caused by different working conditions is avoided, and the probability of identifying knock is increased. At the same time, the average voltage corresponding to the current knock peak voltage and multiple historical knock peak voltages is adjusted by weight ratio, which reduces the error probability of identifying knock. In addition, the accuracy of knock identification is improved, and the difference between continuous knock and occasional single knock is achieved, which effectively reduces the misjudgment of knock and improves the operating stability of the engine.
[0061] Optionally, the mean voltage is the square average of N pre-knock peak voltages.
[0062] That is to say, the mean voltage is the square root of the N pre-knock peak voltages. Since the voltage signal collected by the knock sensor is normally distributed, the mean voltage is calculated by the square average, which is more accurate.
[0063] Optionally, before determining the feedback voltage, the method further includes:
[0064] Determine the number M of N pre-knock peak voltages that exceed the corresponding knock limit value;
[0065] When the value of M / N is less than or equal to the first preset value, adjusting the first weight ratio corresponding to the current cycle to be smaller than the first weight ratio corresponding to the previous cycle;
[0066] When the value of M / N is greater than or equal to the second preset value, adjusting the first weight ratio corresponding to the current cycle to be greater than the first weight ratio corresponding to the previous cycle;
[0067] When the value of M / N is greater than the first preset value and less than the second preset threshold, the first weight ratio corresponding to the current cycle is maintained as the first weight ratio corresponding to the previous cycle, the first preset value is less than the second preset value, the first preset value is less than 50%, the second preset value is greater than 50%, M is less than N, and M is a natural number.
[0068] It can be understood that, in one embodiment, the first weight ratio and the second weight ratio may be fixed, that is, for the same engine, the first weight ratio and the second weight ratio are fixed, for example, both are 50%.
[0069] In another embodiment, the first weight ratio and the second weight ratio can be dynamically adjusted according to the actual situation. For example, when the number M of N pre-knock peak voltages that exceeds the corresponding knock limit is small, the proportion of the mean voltage can be increased to increase the contribution of the mean voltage to the feedback voltage. Reduce the proportion of the current knock peak voltage and reduce the contribution of the current knock peak voltage to the feedback voltage. To reduce the current knock peak voltage suddenly being too high and causing misjudgment. When the number M of N pre-knock peak voltages that exceeds the corresponding knock limit is large, the proportion of the mean voltage can be reduced to reduce the contribution of the mean voltage to the feedback voltage, increase the proportion of the current knock peak voltage, and increase the contribution of the current knock peak voltage to the feedback voltage, to reduce the current knock peak voltage being normal but being pulled up by the mean voltage, causing misjudgment.
[0070] The first preset value may be 25%-40%, preferably 30%, and the second preset value may be 70%-95%, preferably 80%.
[0071] Thus, when M / N is less than or equal to 30%, the first weight ratio can be adjusted to decrease relative to the previous cycle, and the second weight ratio can be increased. When M / N is greater than or equal to 80%, the first weight ratio can be adjusted to increase relative to the previous cycle, and the second weight ratio can be reduced. When M / N is greater than 30% and less than 80%, the first weight ratio and the second weight ratio can be maintained unchanged relative to the previous cycle. The adjustment step size can be 1%-5%. A step size that is too large can easily cause engine instability, and a step size that is too small can hardly play an adjustment role.
[0072] Furthermore, in this embodiment, the feedback voltage can be calculated after adjusting the weight ratio, which can more accurately reflect the actual situation of the engine.
[0073] Optionally, after determining whether the engine knock occurs according to the feedback voltage and the current knock limit value, the method further includes:
[0074] When the feedback voltage is greater than or equal to the current knock limit, it is determined that the engine has knocked, and the delay angle of the engine's ignition advance angle is calculated. When the delay angle is less than the ignition advance angle limit, the engine is controlled to perform an ignition advance angle delay action. When the delay angle is greater than the ignition advance angle limit, the engine is controlled to perform a torque limiting action.
[0075] When the feedback voltage is less than the current knock limit value, it is determined that no knock occurs in the engine.
[0076] It should be noted that after the feedback voltage is determined through steps S101-S103, the feedback voltage can be compared with the current knock limit to determine whether the engine has knock. If it has occurred, the delay angle of the engine's ignition advance angle can be calculated, and when the delay angle is less than the ignition advance angle limit, the engine is controlled to perform the ignition advance angle delay action to adjust the cylinder pressure of the engine. If the delay angle is greater than the ignition advance angle limit, the torque output of the engine is limited. In one embodiment, a fault alarm can be performed.
[0077] Optionally, after controlling the engine to perform the action of delaying the ignition advance angle, the method further includes:
[0078] When the feedback voltage of the next cycle is less than the corresponding knock limit, the engine is controlled to restore the ignition advance angle according to the preset step size.
[0079] That is to say, when the engine knocks in the current cycle, the engine is controlled to execute the action of delaying the ignition advance angle, and when the engine does not knock in the next cycle, the engine can be controlled to execute the action of restoring the ignition advance angle according to the preset step length. When the engine knocks in the next cycle, the delay angle of the delay ignition advance angle can be calculated again based on the delay angle of the delay ignition advance angle calculated when the engine knocks in the current cycle, and the cycle is repeated.
[0080] Furthermore, the present invention obtains a feedback voltage by taking the average of the voltage signals of multiple frequency bands in the period before the current cycle and weighting it with the voltage signal of the current cycle. The feedback voltage is compared with the knock determination limit to determine the intensity of the engine knock. Therefore, by introducing the feedback voltage, the interference of abnormal fluctuations of the knock sensor voltage signal can be reduced, the recognition accuracy of continuous knock is effectively improved, the response to occasional single knock is reduced, and the engine stability is improved.
[0081] Figure 3 Schematic diagram of a block diagram of an engine knock determination device provided by an embodiment of the present invention. Figure 3 As shown, the device is used to implement the engine knock determination method of any embodiment of the present invention, comprising:
[0082] The acquisition module 101 is used to acquire the current knock peak voltage of the current cycle and the N previous knock peak voltages of the N previous cycles starting from the current cycle; wherein the knock peak voltage corresponding to each cycle is the maximum value of the voltage signals corresponding to the multiple characteristic frequency bands, and N is a positive integer;
[0083] The determination module 102 is used to calculate the average voltage corresponding to the current knock peak voltage and the N previous knock peak voltages according to the corresponding weight ratio to determine the feedback voltage; wherein the weight ratio corresponding to the current peak voltage is the first weight ratio, the weight ratio corresponding to the average voltage is the second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%;
[0084] The judgment module 103 is used to determine whether the engine has knocked according to the feedback voltage and the current knock limit value, wherein the current knock limit value is the knock limit value under the engine operating condition corresponding to the current cycle.
[0085] Optionally, the mean voltage is the square average of N pre-knock peak voltages.
[0086] Optionally, the device further includes: a weight ratio adjustment module, configured to perform the following steps:
[0087] Determine the number M of N pre-knock peak voltages that exceed the corresponding knock limit value;
[0088] When the value of M / N is less than or equal to the first preset value, adjusting the first weight ratio corresponding to the current cycle to be smaller than the first weight ratio corresponding to the previous cycle;
[0089] When the value of M / N is greater than or equal to the second preset value, adjusting the first weight ratio corresponding to the current cycle to be greater than the first weight ratio corresponding to the previous cycle;
[0090] When the value of M / N is greater than the first preset value and less than the second preset threshold, the first weight ratio corresponding to the current cycle is maintained as the first weight ratio corresponding to the previous cycle, the first preset value is less than the second preset value, the first preset value is less than 50%, and the second preset value is greater than 50%.
[0091] Optionally, the judgment module includes: a first judgment unit, which is used to determine that the engine has knock when the feedback voltage is greater than or equal to the current knock limit value, calculate the delay angle of the engine's ignition advance angle, and when the delay angle is less than the ignition advance angle limit value, control the engine to perform an ignition advance angle delay action, and when the delay angle is greater than the ignition advance angle limit value, control the engine to perform a torque limiting action;
[0092] The second judgment unit is used to determine that no knock occurs in the engine when the feedback voltage is less than the current knock limit value.
[0093] Optionally, the first judgment unit is further configured to control the engine to execute an action of restoring the ignition advance angle according to a preset step length when the feedback voltage of the next cycle is less than the corresponding knock limit value.
[0094] The engine knock determination device provided in the embodiment of the present invention can execute the engine knock determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0095] An embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0096] at least one processor; and
[0097] a memory communicatively connected to the at least one processor; wherein,
[0098] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the engine knock determination method described in any embodiment of the present invention.
[0099] Figure 4 A schematic diagram of an electronic device that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0100] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the random access memory (RAM) 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the read-only memory (ROM) 12 and the random access memory (RAM) 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0101] A number of components in the electronic device 10 are connected to an input / output (I / O) interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, speakers, etc., a storage unit 18, such as a disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0102] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as an engine knock determination method.
[0103] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the engine knock determination method described in any embodiment of the present invention when executed.
[0104] In some embodiments, the engine knock determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via a read-only memory (ROM) 12 and / or a communication unit 19. When the computer program is loaded into a random access memory (RAM) 13 and executed by the processor 11, one or more steps of the engine knock determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the engine knock determination method in any other appropriate manner (e.g., by means of firmware).
[0105] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0106] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0107] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0108] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0109] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0110] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0111] According to the engine knock determination method, device, equipment and medium proposed in the embodiment of the present invention, the method includes the following steps: obtaining the current knock peak voltage of the current cycle, and the N previous knock peak voltages of the first N cycles since the start of the current cycle; wherein the knock peak voltage corresponding to each cycle is the maximum value in the voltage signals corresponding to multiple characteristic frequency bands, and N is a positive integer; calculating the mean voltage corresponding to the current knock peak voltage and the N previous knock peak voltages according to the corresponding weight ratio to determine the feedback voltage; wherein the weight ratio corresponding to the current peak voltage is the first weight ratio, the weight ratio corresponding to the mean voltage is the second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%; determining whether the engine knocks according to the feedback voltage and the current knock limit, wherein the current knock limit is the knock limit under the engine operating condition corresponding to the current cycle. Therefore, by simultaneously acquiring voltage signals of multiple frequency bands, and taking the current knock peak voltage of the current cycle and the average voltage of the previous N pre-knock peak voltages as the feedback voltage, the acquired feedback voltage includes voltage signals of multiple frequency bands and multiple pre-knock peak voltages, thereby reducing the interference of abnormal fluctuations in the knock sensor voltage signal, effectively improving the recognition accuracy of continuous knock, reducing the response to occasional single knock, and improving engine stability.
[0112] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0113] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining engine knock, characterized in that: The following steps are involved: Obtaining a current knock peak voltage of a current cycle and N previous knock peak voltages of N cycles before the current cycle; wherein the knock peak voltage corresponding to each cycle is a maximum value among voltage signals corresponding to a plurality of characteristic frequency bands, and N is a positive integer; The current knock peak voltage and the mean voltage corresponding to the N previous knock peak voltages are calculated according to corresponding weight ratios to determine a feedback voltage; wherein the weight ratio corresponding to the current peak voltage is a first weight ratio, the weight ratio corresponding to the mean voltage is a second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%; Whether knock occurs in the engine is determined according to the feedback voltage and a current knock limit value, wherein the current knock limit value is a knock limit value under the engine operating condition corresponding to the current cycle.
2. The engine knock determination method according to claim 1, characterized in that: The mean voltage is the square average of the N pre-knock peak voltages.
3. The engine knock determination method according to claim 1, characterized in that: Before determining the feedback voltage, the method further includes: Determine the number M of the N pre-knock peak voltages that exceed the corresponding knock limit value; When the value of M / N is less than or equal to a first preset value, adjusting the first weight ratio corresponding to the current cycle to be smaller than the first weight ratio corresponding to the previous cycle; When the value of M / N is greater than or equal to a second preset value, adjusting the first weight ratio corresponding to the current cycle to be greater than the first weight ratio corresponding to the previous cycle; When the value of M / N is greater than the first preset value and less than the second preset threshold, the first weight ratio corresponding to the current cycle is maintained as the first weight ratio corresponding to the previous cycle, the first preset value is less than the second preset value, the first preset value is less than 50%, the second preset value is greater than 50%, M is less than N, and M is a natural number.
4. The engine knock determination method according to claim 1, characterized in that: After determining whether the engine has knocked according to the feedback voltage and the current knock limit value, the method further includes: When the feedback voltage is greater than or equal to the current knock limit, it is determined that the engine has knocked, and a delay angle of the engine's ignition advance angle is calculated; when the delay angle is less than the ignition advance angle limit, the engine is controlled to perform an ignition advance angle delay action; when the delay angle is greater than the ignition advance angle limit, the engine is controlled to perform a torque limiting action; When the feedback voltage is less than the current knock limit value, it is determined that no knock occurs in the engine.
5. The engine knock determination method according to claim 4, characterized in that: After controlling the engine to perform the action of delaying the ignition advance angle, the method further includes: When the feedback voltage of the next cycle is less than the corresponding knock limit value, the engine is controlled to perform an action of restoring the ignition advance angle according to a preset step length.
6. An engine knock determination device, characterized in that: The method for determining engine knock according to any one of claims 1 to 5 comprises: An acquisition module, used to acquire a current knock peak voltage of a current cycle, and N previous knock peak voltages of N cycles before the current cycle; wherein the knock peak voltage corresponding to each cycle is a maximum value among voltage signals corresponding to a plurality of characteristic frequency bands, and N is a positive integer; A determination module, configured to calculate the average voltage corresponding to the current knock peak voltage and the N previous knock peak voltages according to corresponding weight ratios to determine a feedback voltage; wherein the weight ratio corresponding to the current peak voltage is a first weight ratio, the weight ratio corresponding to the average voltage is a second weight ratio, and the sum of the first weight ratio and the second weight ratio is 100%; A judgment module is used to determine whether the engine has knock according to the feedback voltage and a current knock limit value, wherein the current knock limit value is a knock limit value under the engine operating condition corresponding to the current cycle.
7. The engine knock determination device according to claim 6, characterized in that: Also includes: The weight ratio adjustment module is used to perform the following steps: Determine the number M of the N pre-knock peak voltages that exceed the corresponding knock limit value; When the value of M / N is less than or equal to a first preset value, adjusting the first weight ratio corresponding to the current cycle to be smaller than the first weight ratio corresponding to the previous cycle; When the value of M / N is greater than or equal to a second preset value, adjusting the first weight ratio corresponding to the current cycle to be greater than the first weight ratio corresponding to the previous cycle; When the value of M / N is greater than the first preset value and less than the second preset threshold, the first weight ratio corresponding to the current cycle is maintained as the first weight ratio corresponding to the previous cycle, the first preset value is less than the second preset value, the first preset value is less than 50%, and the second preset value is greater than 50%.
8. The engine knock determination device according to claim 6, characterized in that: The judgment module includes: a first judgment unit, which is used to determine that the engine has knock when the feedback voltage is greater than or equal to the current knock limit value, calculate the delay angle of the engine's ignition advance angle, and when the delay angle is less than the ignition advance angle limit value, control the engine to perform an ignition advance angle delay action, and when the delay angle is greater than the ignition advance angle limit value, control the engine to perform a torque limiting action; The second judgment unit is used to determine that no knock occurs in the engine when the feedback voltage is less than the current knock limit value.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the engine knock determination method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the engine knock determination method according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Knock control method for natural gas engine
CN110878718A
Method and device for determining engine knock frequency
CN114718725A
Engine knock threshold calibration method, device, equipment and medium
CN117990377A
Knocking detecting device for internal combustion engine and control device using said detecting device
JP1987126244A
Knock control system for engine
US5101790A
