Knock sensor tamper detection method, device, electronic device and storage medium

By defining characteristic signals in the engine and calculating signal deviations, the knock sensor can be detected whether it has been tampered with. This solves the problem in the existing technology of being unable to detect tampering situations such as the knock sensor being installed with a rubber pad and then tightened, thereby achieving effective protection for the knock sensor.

CN116337327BActive Publication Date: 2025-09-19WEICHAI POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310315329.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2025-09-19
Estimated Expiration
2043-03-24

AI Technical Summary

Technical Problem

Existing technologies cannot effectively detect tampering with the knock sensor, such as adding a rubber pad and then tightening it, resulting in the inability to effectively protect the engine.

Method used

By defining the vehicle characteristic signal according to the first crankshaft angle window of the engine, obtaining the current vehicle operating condition and calculating the signal deviation between the current characteristic signal and the baseline characteristic signal, it is determined whether the signal deviation is lower than the preset minimum limit, and when the deviation continues to reach the preset time, it is determined that there is a tampering fault in the knock sensor.

Benefits of technology

It achieves effective detection of knock sensor tampering, ensuring timely protection of the engine when knock actually occurs, and improving the safety and reliability of vehicle operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116337327B_ABST
    Figure CN116337327B_ABST
Patent Text Reader

Abstract

The present application provides a knock sensor tamper detection method, device, electronic device, and storage medium. The method comprises: defining a vehicle characteristic signal based on a first engine crankshaft angle window; obtaining a current vehicle operating condition; obtaining a current vehicle characteristic signal based on the current vehicle operating condition; determining a signal deviation between the current characteristic signal and a reference characteristic signal; determining whether the signal deviation is below a preset minimum limit; if so, obtaining a duration for which the signal deviation is below the preset minimum limit; and if the duration for which the signal deviation is below the preset minimum limit reaches a preset duration, determining that the knock sensor has been tampered with. This method solves the technical problem that existing technologies can only detect situations where the knock sensor has been completely removed or has no installation torque, but cannot detect tampering such as installing and then tightening a rubber pad, which may result in a failure to protect the engine when knock actually occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a knock sensor tamper detection method, device, electronic equipment, and storage medium. Background Art

[0002] The knock sensor operates on the principle that when the engine vibrates or knocks, the piezoelectric ceramic generates a voltage peak. The greater the knock or vibration, the larger the peak. The engine control unit (ECU) processes the knock sensor signal. If it determines that knock is occurring, it delays ignition timing and increases the resistance to prevent knock. If the ECU does not receive a knock sensor signal, it advances ignition timing to ensure optimal engine power output. Therefore, the purpose of using a knock sensor is to improve engine performance while preventing knock.

[0003] However, in actual use, knock sensors can be tampered with, such as by installing a rubber gasket between the engine body and the knock sensor and then tightening it. However, these tampering attempts can affect the knock sensor's vibration signal measurement, preventing the ECU from limiting torque and protecting the engine. Existing technologies can only detect situations where the knock sensor has been completely removed or has no installation torque applied. They cannot detect tampering attempts such as installing and then tightening the rubber gasket, potentially preventing engine protection from occurring when actual knock occurs. Summary of the Invention

[0004] The present application provides a knock sensor tampering detection method, device, electronic device and storage medium to at least solve the technical problem in the related art that the existing technology can only detect situations where the knock sensor is completely removed or has no installation torque at all, and cannot detect tampering situations such as installing a rubber pad and then tightening it, which may lead to the inability to protect the engine when a knock actually occurs.

[0005] According to one aspect of an embodiment of the present application, a method for detecting tampering of a knock sensor is provided, including: defining a vehicle characteristic signal based on a first crankshaft angle window of an engine; obtaining a current vehicle operating condition; obtaining a current vehicle characteristic signal based on the current vehicle operating condition; determining a signal deviation between the current characteristic signal and a reference characteristic signal; determining whether the signal deviation is lower than a preset minimum limit, and if so, obtaining a duration for which the signal deviation is lower than the preset minimum limit; if the duration for which the signal deviation is lower than the preset minimum limit reaches a preset duration, a tampering fault exists in the knock sensor.

[0006] As an optional implementation, it further includes: if the time duration during which the signal deviation is lower than the preset minimum limit does not reach the preset time duration, then there is no tampering fault in the knock sensor.

[0007] As an optional implementation, it further includes: if the signal deviation is not lower than a preset minimum limit, then there is no tampering fault in the knock sensor.

[0008] As an optional implementation, it also includes: if the signal deviation is higher than a preset maximum limit, obtaining the duration during which the signal deviation is higher than the preset maximum limit; if the duration during which the signal deviation is higher than the preset maximum limit reaches the preset duration, then there is a tampering fault in the knock sensor.

[0009] As an optional implementation, it also includes: if there is a tampering fault in the knock sensor, the vehicle is braked and a fault report is issued.

[0010] As an optional embodiment, defining the vehicle characteristic signal based on the first crankshaft angle window of the engine includes: obtaining the first crankshaft angle window of the engine; obtaining the vibration signal frequency of the knock sensor within the first crankshaft angle window of the engine; and determining the characteristic signal based on the vibration signal frequency.

[0011] As an optional implementation manner, the signal deviation between the current characteristic signal and the reference characteristic signal is the difference between the current characteristic signal and the reference characteristic signal.

[0012] According to another aspect of an embodiment of the present application, a tampering detection device for a knock sensor is also provided, including: a characteristic signal determination module, used to define a vehicle characteristic signal according to a first crankshaft angle window of an engine; a working condition acquisition module, used to obtain a current vehicle working condition; a current characteristic signal acquisition module, used to obtain a current characteristic signal of the vehicle according to the current vehicle working condition; a signal deviation determination module, used to determine a signal deviation between the current characteristic signal and a reference characteristic signal; a judgment module, used to judge whether the signal deviation is lower than a preset minimum limit, and if so, to obtain a duration for which the signal deviation is lower than the preset minimum limit; and a tampering fault judgment module, used to determine that a tampering fault exists in the knock sensor if the duration for which the signal deviation is lower than the preset minimum limit reaches a preset duration.

[0013] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus, and the memory is used to store a computer program; and the processor is used to execute the steps of the knock sensor tampering detection method by running the computer program stored in the memory.

[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of the knock sensor tamper detection method when running.

[0015] In an embodiment of the present application, a knock sensor tampering detection method is provided, comprising: defining a vehicle characteristic signal based on a first engine crank angle window; obtaining a current vehicle operating condition; obtaining a current vehicle characteristic signal based on the current vehicle operating condition; determining a signal deviation between the current characteristic signal and a baseline characteristic signal; determining whether the signal deviation is below a preset minimum limit; and if so, determining a duration for which the signal deviation is below the preset minimum limit; and determining a knock sensor tampering fault if the signal deviation is below the preset minimum limit for a predetermined duration. The vehicle characteristic signal is defined based on the first engine crank angle window, and the current state of the knock sensor is determined by calculating the deviation between the current vehicle characteristic signal and the baseline characteristic signal. Furthermore, if the signal deviation is below the preset minimum limit and the duration of the deviation below the preset minimum limit exceeds a predetermined duration, the knock sensor is deemed to be tampered with. This method addresses the technical problem that existing technologies can only detect situations where the knock sensor has been completely removed or installed without torque, but cannot detect tampering such as installing and then tightening a rubber gasket, potentially preventing engine protection when actual knock occurs. This improves vehicle operating safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 is a flow chart of an optional knock sensor tamper detection method provided in accordance with an embodiment of the present application;

[0019] Figure 2 is a frequency domain signal distribution histogram of a tampered knock sensor and a normal sensor within a certain crankshaft angle window according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a knock sensor tamper detection device provided according to an embodiment of the present application;

[0021] Figure 4 This is a structural block diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention 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 in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] In practical applications, knock sensors may be susceptible to tampering, such as installing a rubber gasket between the engine body and the knock sensor. However, tampering methods such as tightening the rubber gasket after installation can affect the knock sensor's vibration signal measurement, preventing the ECU from limiting engine torque protection. Existing technologies can detect situations where the knock sensor has been completely removed or installed without torque, but cannot detect tampering such as installing and then tightening the rubber gasket. This can lead to a failure to provide engine protection when knock actually occurs. Specifically, for example, if the knock sensor is tampered with by installing and then tightening the rubber gasket, when engine knock occurs, the vibration signal at the knock frequency is far below the threshold at which the knock sensor detects knock. This means that after the tampering, the knock sensor is unable to detect engine knock, rendering it ineffective.

[0025] like Figure 1 As shown, an embodiment of the present application provides a knock sensor tamper detection method, comprising:

[0026] S1 defines a vehicle characteristic signal according to a first engine crank angle window;

[0027] S2 obtains the current vehicle operating conditions;

[0028] S3 obtains a current characteristic signal of the vehicle according to the current vehicle operating condition;

[0029] S4 determining a signal deviation between the current characteristic signal and a reference characteristic signal;

[0030] S5: determining whether the signal deviation is lower than a preset minimum limit; if the signal deviation is lower than the preset minimum limit, obtaining a time duration during which the signal deviation is lower than the preset minimum limit;

[0031] S6 If the time duration for which the signal deviation is lower than the preset minimum limit reaches a preset time duration, there is a tampering fault in the knock sensor.

[0032] As an optional implementation, it further includes: if the time duration during which the signal deviation is lower than the preset minimum limit does not reach the preset time duration, then there is no tampering fault in the knock sensor.

[0033] As an optional implementation, it further includes: if the signal deviation is not lower than a preset minimum limit, then there is no tampering fault in the knock sensor.

[0034] Existing technologies can only detect situations where the knock sensor has been completely removed or has no installation torque, and cannot detect tampering such as installing a rubber pad and then tightening it. Tampering with the installation of the knock sensor may cause the knock sensor to lose its function. For example, if a rubber pad is installed on the knock sensor and then tightened, the knock sensor may be unable to identify engine knock. Therefore, this application proposes a method for detecting tampering with the knock sensor. First, a vehicle characteristic signal is defined based on the first crankshaft angle window of the engine. Specifically, the first crankshaft angle window is obtained by experiment, such as Figure 2 As shown, Figure 2 This is the frequency domain signal after Fourier transform of the vibration signal measured by the knock sensor when the engine is not experiencing knock. The horizontal axis represents frequency, and the vertical axis represents amplitude. The dark line represents the frequency domain characteristics of the signal when correctly installed, and the light line represents the frequency domain characteristics of the signal after the rubber pad is installed. At a frequency of 2800, the difference between the frequency domain characteristics of the signal of an incorrectly installed knock sensor and that of a correctly installed knock sensor is the largest. Therefore, the signal amplitude corresponding to the frequency of 2800 is set as the characteristic signal. Furthermore, the frequency of the knock sensor varies under different operating conditions, so the baseline characteristic signal and the current characteristic signal are determined based on the operating condition.

[0035] It should be noted that this application does not limit the specific type of tampering. This application only describes the case of installing and tightening a rubber gasket. At the same time, this application does not limit the first crankshaft angle window, the preset minimum limit, and the preset duration. Technicians can set them according to actual circumstances.

[0036] As an optional implementation, it also includes: if the signal deviation is higher than a preset maximum limit, obtaining the duration during which the signal deviation is higher than the preset maximum limit; if the duration during which the signal deviation is higher than the preset maximum limit reaches the preset duration, then there is a tampering fault in the knock sensor.

[0037] It is understandable that a preset maximum limit may also be set to further improve the detection efficiency of knock sensor tampering.

[0038] As an optional implementation, it also includes: if there is a tampering fault in the knock sensor, the vehicle is braked and a fault report is issued.

[0039] Specifically, when tampering with the knock sensor is detected, the vehicle is quickly braked and reported, the engine's power output is limited, and the driver is reminded of the fault type, i.e., the knock sensor has been tampered with, and the driver is reminded to eliminate the tampering, while at the same time eliminating the driver's intention to tamper, thereby improving the reliability of the engine and preventing the risk of engine damage due to the vehicle's inability to identify a real knock.

[0040] As an optional embodiment, defining the vehicle characteristic signal based on the first crankshaft angle window of the engine includes: obtaining the first crankshaft angle window of the engine; obtaining the vibration signal frequency of the knock sensor within the first crankshaft angle window of the engine; and determining the characteristic signal based on the vibration signal frequency.

[0041] As an optional implementation manner, the signal deviation between the current characteristic signal and the reference characteristic signal is the difference between the current characteristic signal and the reference characteristic signal.

[0042] According to another aspect of an embodiment of the present application, a tamper detection device for a knock sensor is also provided. Figure 3 is a schematic diagram of a knock sensor tamper detection device according to an embodiment of the present application, such as Figure 3 As shown, the device may include:

[0043] a characteristic signal determination module 201, configured to define a vehicle characteristic signal according to a first engine crank angle window;

[0044] The operating condition acquisition module 202 is used to obtain the current vehicle operating condition;

[0045] The current characteristic signal acquisition module 203 is used to acquire the current characteristic signal of the vehicle according to the current vehicle operating condition;

[0046] A signal deviation determining module 204 is configured to determine a signal deviation between the current characteristic signal and a reference characteristic signal;

[0047] A determination module 205 is configured to determine whether the signal deviation is lower than a preset minimum limit, and if so, to obtain a duration during which the signal deviation is lower than the preset minimum limit;

[0048] The tampering fault determination module 206 is configured to determine that a tampering fault exists in the knock sensor if the duration of the signal deviation being lower than a preset minimum limit reaches a preset duration.

[0049] Figure 4 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 4 As shown, it includes a processor 602, a communication interface 604, a memory 606 and a communication bus 608, wherein the processor 602, the communication interface 604 and the memory 606 communicate with each other through the communication bus 608, wherein,

[0050] Memory 606, for storing computer programs;

[0051] The processor 602 is configured to implement the following steps when executing the computer program stored in the memory 606:

[0052] defining a vehicle characteristic signal according to a first engine crank angle window;

[0053] Get the current vehicle working condition;

[0054] Acquire a current characteristic signal of the vehicle according to the current vehicle operating condition;

[0055] Determining a signal deviation between the current characteristic signal and a reference characteristic signal;

[0056] Determining whether the signal deviation is lower than a preset minimum limit, and if so, obtaining a duration during which the signal deviation is lower than the preset minimum limit;

[0057] If the signal deviation is lower than the preset minimum limit for a preset time, there is a tampering fault in the knock sensor.

[0058] According to another aspect of an embodiment of the present application, an electronic device for a knock sensor tamper detection method is provided. The electronic device may be a server, a terminal, or a combination thereof.

[0059] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0060] The communication interface is used for communication between the above electronic device and other devices.

[0061] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the aforementioned processor.

[0062] It may also include but is not limited to other module units in the above-mentioned tamper detection device for the knock sensor, which will not be described in detail in this example.

[0063] According to another aspect of an embodiment of the present application, a storage medium is further provided. Optionally, in this embodiment, the storage medium can be used to execute program code of a knock sensor tamper detection method.

[0064] Optionally, in this embodiment, the above-mentioned storage medium may be located on at least one network device among the multiple network devices in the network shown in the above-mentioned embodiment.

[0065] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:

[0066] defining a vehicle characteristic signal according to a first engine crank angle window;

[0067] Get the current vehicle working condition;

[0068] Acquire a current characteristic signal of the vehicle according to the current vehicle operating condition;

[0069] Determining a signal deviation between the current characteristic signal and a reference characteristic signal;

[0070] Determining whether the signal deviation is lower than a preset minimum limit, and if so, obtaining a duration during which the signal deviation is lower than the preset minimum limit;

[0071] If the signal deviation is lower than the preset minimum limit for a preset time, there is a tampering fault in the knock sensor.

[0072] For specific examples in this embodiment, reference can be made to the examples described in the above embodiments, which will not be described in detail in this embodiment.

[0073] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.

[0074] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0075] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling one or more electronic devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application.

[0076] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0077] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.

[0078] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected based on actual needs to achieve the purpose of the solution provided in this embodiment.

[0079] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0080] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0081] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A knock sensor tamper detection method, characterized in that: include: defining a vehicle characteristic signal according to a first engine crank angle window; Get the current vehicle working condition; Acquire a current characteristic signal of the vehicle according to the current vehicle operating condition; Determining a signal deviation between the current characteristic signal and a reference characteristic signal; Determining whether the signal deviation is lower than a preset minimum limit, and if so, obtaining a duration during which the signal deviation is lower than the preset minimum limit; If the signal deviation is lower than the preset minimum limit for a predetermined period of time, the knock sensor has a tampering fault; If the signal deviation is higher than the preset maximum limit, obtaining the duration of time the signal deviation is higher than the preset maximum limit; If the signal deviation is higher than the preset maximum limit for a predetermined time, the knock sensor has a tampering fault; Defining the vehicle characteristic signal according to the first engine crank angle window includes: Acquiring a first crank angle window of the engine; Acquiring a vibration signal frequency of a knock sensor within a first crank angle window of the engine; The characteristic signal is determined according to the frequency of the vibration signal.

2. The knock sensor tamper detection method according to claim 1, wherein: Also includes: If the time period during which the signal deviation is lower than the preset minimum limit does not reach the preset time period, there is no tampering fault in the knock sensor.

3. A knock sensor tamper detection method according to any one of claims 1 to 2, characterized in that: Also includes: If there is a tampering fault in the knock sensor, the vehicle will brake and report a fault.

4. The knock sensor tamper detection method according to claim 1, wherein: The signal deviation between the current characteristic signal and the reference characteristic signal is the difference between the current characteristic signal and the reference characteristic signal.

5. A knock sensor tamper detection device, characterized in that: The tamper detection method applied to the knock sensor according to claim 1 comprises: a characteristic signal determination module, configured to define a vehicle characteristic signal according to a first crank angle window of the engine; Working condition acquisition module, used to obtain the current vehicle working condition; A current characteristic signal acquisition module, configured to acquire a current characteristic signal of the vehicle according to the current vehicle operating condition; a signal deviation determining module, configured to determine a signal deviation between the current characteristic signal and a reference characteristic signal; a determination module, configured to determine whether the signal deviation is lower than a preset minimum limit, and if so, to obtain a duration during which the signal deviation is lower than the preset minimum limit; The tampering fault determination module is configured to determine that a tampering fault exists in the knock sensor if the duration for which the signal deviation is lower than a preset minimum limit reaches a preset duration.

6. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface and the memory communicate with each other via the communication bus, wherein: The memory is used to store computer programs; The processor is configured to execute the steps of the knock sensor tamper detection method according to any one of claims 1 to 4 by running the computer program stored in the memory.

7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the steps of the knock sensor tamper detection method according to any one of claims 1 to 4 when running.

Citation Information

Patent Citations

  • System and method for engine knock sensor rationality check

    CN110006586A

  • Method and module for monitoring knock in a combustion engine

    WO2015113768A1