Engine speed signal processing method and device, storage medium and electronic equipment

By identifying and filtering signal anomalies in the engine speed signal processing, the problem of inaccurate signal processing in the existing technology is solved, effective identification and removal of high-frequency interference is achieved, and the processing accuracy of the engine speed signal is improved.

CN118604375APending Publication Date: 2024-09-06SHANGHAI JUNFENG SOFTWARE INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410714479.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing engine speed signal processing scheme has the problem that the signal processing results are not accurate enough, especially the filtering of high-frequency interference signals is insufficient, which affects the accuracy of the engine speed signal.

Method used

By receiving the target crankshaft signal, determining the signal edge, setting the time window, detecting signal anomalies, identifying effective teeth, determining the interference signal based on the level and tooth width status, and performing filtering processing to improve the accuracy of the signal.

Benefits of technology

Effectively identify and filter high-frequency interference, improve the accuracy of engine speed signal processing, ensure normal engine operation, and reduce the risk of unexpected shutdowns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604375A
    Figure CN118604375A
Patent Text Reader

Abstract

The invention provides an engine rotating speed signal processing method and device, a storage medium and electronic equipment. The method comprises the following steps: receiving a target crankshaft signal, wherein the target crankshaft signal comprises at least one first target tooth; the target signal edge of the first target tooth is determined, and the effective edge of the first target tooth is the latter effective edge of the two signal edges corresponding to the first target tooth; determining a first time window which takes the target signal edge of the first target tooth as a starting point and has the length of first set duration; and determining whether the first target signal is abnormal in the first time window, and determining the first target tooth as a first effective tooth under the condition that the first target signal is not abnormal in the first time window. According to the embodiment of the invention, high-frequency interference (such as burrs) behind the edge of the target signal can be effectively identified, and the accuracy of engine speed signal processing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of engine electronic control technology, and more specifically to a method, device, computer program product, non-transitory computer-readable storage medium, electronic device, and engine electronic control unit for processing an engine speed signal. Background Art

[0002] This section is intended to introduce some aspects of the art, which may be related to various aspects of the present disclosure described below and / or claimed. It is believed that this section helps to provide background information to facilitate a better understanding of various aspects of the present disclosure. Therefore, it should be understood that these statements should be understood from this perspective, rather than as an admission of the prior art.

[0003] The engine speed signal usually includes the crankshaft signal and the camshaft signal. Based on the engine speed signal, the position of the crankshaft and camshaft can be determined, and then the injection and ignition control can be performed. Therefore, the processing of the engine speed signal is a prerequisite for the normal operation of the engine.

[0004] The existing processing scheme for engine speed signal has the problem that the signal processing result is not accurate enough.

[0005] Therefore, it is necessary to propose a new technical solution to alleviate or solve at least one of the above technical problems. Summary of the invention

[0006] The purpose of the present disclosure is to provide a method, device, computer program product, non-transitory computer-readable storage medium and electronic device for processing an engine speed signal, so as to improve the accuracy of engine speed signal processing.

[0007] According to a first aspect of the present disclosure, a method for processing an engine speed signal is provided, comprising: receiving a target crankshaft signal, the target crankshaft signal comprising at least one first target tooth; determining a target signal edge of the first target tooth, wherein an effective edge of the first target tooth is a later effective edge of two signal edges corresponding to the first target tooth; determining a first time window with the target signal edge of the first target tooth as a starting point and a length of a first set time length; determining whether the first target signal has an abnormality within the first time window, and determining that the first target tooth is a first effective tooth if the first target signal does not have an abnormality within the first time window.

[0008] According to a second aspect of the present disclosure, there is provided a device for processing an engine speed signal, comprising: a crankshaft signal receiving module, for receiving a target crankshaft signal, the target crankshaft signal comprising at least one first target tooth; a signal edge identification module, for determining a target signal edge of the first target tooth, wherein the effective edge of the first target tooth is the latter effective edge of two signal edges corresponding to the first target tooth; a first time window determination module, for determining a first time window starting from the target signal edge of the first target tooth and having a first set duration; a first effective tooth determination module, for determining whether the first target signal has an abnormality within the first time window, and determining that the first target tooth is a first effective tooth when the first target signal does not have an abnormality within the first time window.

[0009] According to a third aspect of the present disclosure, a computer program product is provided, comprising program code instructions. When the program product is executed by a computer, the program code instructions enable the computer to execute the method according to the first aspect of the present disclosure.

[0010] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method according to the first aspect of the present disclosure.

[0011] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor, a memory that electronically communicates with the processor; and instructions, the instructions being stored in the memory and executable by the processor to enable the electronic device to perform the method according to the first aspect of the present disclosure.

[0012] According to a sixth aspect of the present disclosure, an engine electronic control unit is provided, comprising the device according to the second aspect of the present disclosure.

[0013] In the embodiment of the present disclosure, detecting signal anomalies in the first time window after the target signal edge can effectively identify high-frequency interference (such as glitches) after the target signal edge, which is beneficial to improving the accuracy of engine speed signal processing.

[0014] It should be understood that the content described in this section is not intended to identify key or essential features of the claimed invention, nor is it intended to be used alone to determine the scope of the claimed invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0016] Figure 1 A schematic diagram showing an exemplary crankshaft signal and a camshaft signal according to the method for processing an engine speed signal of the present disclosure;

[0017] Figure 2 A flow chart showing an embodiment of a method for processing an engine speed signal according to the present disclosure;

[0018] Figure 3 A flowchart showing a specific example of a method for processing an engine speed signal according to the present disclosure;

[0019] Figure 4 An exemplary block diagram of an embodiment of a device for processing an engine speed signal according to the present disclosure is shown;

[0020] Figure 5 A schematic diagram of an example electronic device 500 is shown that may be used to implement embodiments of the present disclosure.

[0021] Specific implementation method

[0022] The present disclosure will be described more fully below with reference to the accompanying drawings. However, the present disclosure may be embodied in a variety of alternative forms and should not be construed as being limited to the embodiments described herein. Therefore, although the present disclosure is susceptible to various modifications and alternative forms, its specific embodiments are shown by way of example in the accompanying drawings and will be described in detail herein. However, it should be understood that this approach is not intended to limit the present disclosure to the specific form disclosed, but rather, the present disclosure covers all modifications, equivalents, and alternatives that fall within the spirit and scope of the present disclosure as defined by the claims.

[0023] It should be understood that although various elements can be described herein with terms such as first, second, etc., these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element without departing from the teaching of the present disclosure.

[0024] Some examples are described herein in conjunction with block diagrams and / or flow charts, wherein each box represents a circuit element, module, or portion of code that includes one or more executable instructions for implementing a specified logical function. It should also be noted that in other implementations, the functions in the box may not occur in the order in which they are shown. For example, depending on the functions involved, two boxes shown in succession may actually be executed substantially simultaneously, or the boxes may sometimes be executed in reverse order.

[0025] The phrases "according to an embodiment..." or "in an embodiment..." mentioned herein mean that a specific feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one implementation of the present disclosure. The phrases "according to an embodiment..." or "in an embodiment..." that appear in different places herein do not necessarily refer to the same embodiment, nor are they necessarily separate or alternative embodiments that are mutually exclusive with other embodiments.

[0026] Figure 1 A schematic diagram showing an exemplary crankshaft signal and a camshaft signal of the engine speed signal processing method according to the present disclosure is shown. Generally speaking, in an engine, a sensor is used to detect a signal generated when a toothed signal disk on a crankshaft or a camshaft rotates. Figure 1 In the diagram, the horizontal direction represents time, and the vertical direction represents the signal collected by the sensor (e.g., level). Figure 1 As shown, the crankshaft signal includes a plurality of effective teeth. Those skilled in the art will appreciate that a valid tooth in the crankshaft signal may correspond to a tooth on the signal disk of the crankshaft. Exemplarily, the first tooth, the second tooth, and the third tooth in the figure are three effective teeth. In addition, the crankshaft signal also includes missing teeth. Those skilled in the art will appreciate that the missing teeth in the crankshaft signal may correspond to the missing teeth on the signal disk. Each missing tooth is equivalent to the absence of multiple (e.g., two) effective teeth. Similarly, the camshaft signal includes a plurality of effective teeth. Figure 1 In the embodiment, the camshaft signal includes two non-repeating teeth with smaller widths and different widths, and three repetitive teeth with larger widths and equal widths. The non-repeating teeth can be used as positioning teeth.

[0027] In the embodiments of the present disclosure, signal synchronization may refer to a state in which a certain signal is in accordance with a correct operating rule, or may refer to a signal processing process performed to achieve the above state.

[0028] In the crankshaft signal, the total length of the effective teeth between one missing tooth and another missing tooth adjacent to it constitutes one cycle of the crankshaft signal. In one example, one cycle of the crankshaft signal includes 58 effective teeth and 2 missing teeth (here, one missing tooth includes the missing of 2 effective teeth, so it is expressed as 2 missing teeth). Similarly, in the camshaft signal, the repeated teeth between a positioning tooth and another positioning tooth adjacent to it constitute one cycle of the crankshaft signal. In one example, one cycle of the camshaft signal includes N repeated teeth (N is 4, for example) and 1 or 1 group of non-repeating teeth.

[0029] Figure 2 FIG. 1 is a flow chart showing an embodiment of a method for processing an engine speed signal according to the present disclosure. The method in this embodiment can be performed by Figure 5 The electronic device 500 is shown implemented.

[0030] like Figure 2 As shown, the method 200 includes the following steps:

[0031] Step 210, receiving a target crankshaft signal, the target crankshaft signal including at least one first target tooth. For example, the first target tooth is Figure 1 The third tooth in.

[0032] Step 220, determining a target signal edge of the first target tooth.

[0033] In this embodiment, the crankshaft signal is a tooth-shaped signal, and each signal tooth includes two vertical edges, that is, two signal edges. Among them, the effective edge of the first target tooth is the latter effective edge of the two signal edges corresponding to the first target tooth.

[0034] Step 230 , determining a first time window starting from a target signal edge of the first target tooth and having a length of a first set time length.

[0035] In this embodiment, the length of the first time window can be determined according to actual conditions. In an optional implementation, the length of the first time window does not exceed the length of the interval between two adjacent signal teeth.

[0036] Step 240, determining whether the first target signal has an abnormality within the first time window, and determining that the first target tooth is a first valid tooth when the first target signal does not have an abnormality within the first time window.

[0037] In this embodiment, the first target signal has an abnormality within the first time window, for example, the first target signal has a burr, or includes other interference signals.

[0038] In this embodiment, the signal anomaly in the first time window after the target signal edge is detected, which can effectively identify high-frequency interference (such as burrs) after the target signal edge, which is beneficial to improving the accuracy of engine speed signal processing.

[0039] In an optional implementation, the above steps may include the following steps:

[0040] In the first step, it is determined whether the tooth level of the first target tooth is within a first set level range.

[0041] Generally speaking, a high point in a crankshaft signal or a cam signal corresponds to a high level, and a low point corresponds to a low level. Considering the errors in detection and data processing, it can be considered that a signal level within a numerical range is a high level, and a signal level within another numerical range is a low level. The first set level range is, for example, a high level range or a low level range.

[0042] In the second step, when the tooth level of the first target tooth is not within the first set level range, the first target tooth is determined to be an interference tooth.

[0043] In this embodiment, if the tooth level of the first target tooth is not within the first set level range, that is, it is neither within the numerical range of the high level nor within the numerical range of the low level, it is considered that the first target tooth is abnormal and is determined to be an interference tooth. Alternatively, the level of the first target tooth can be predicted based on the signal tooth before the first target tooth. If the predicted result is a high level and the actual level is a low level, it is determined to be an interference tooth, and vice versa. Further optionally, the interference tooth can be discarded.

[0044] In the known engine speed signal processing scheme, the interference signal is filtered only according to the tooth width, and the abnormal level cannot be filtered. Therefore, the interference signal is not filtered sufficiently, which will affect the accuracy of the engine speed signal processing. In the embodiment of the present disclosure, the interference tooth is determined based on the level state of the target tooth, which is conducive to fully filtering the interference tooth and improving the accuracy of the engine speed signal processing.

[0045] In an optional embodiment, before step 220, the method 200 further includes the following steps: determining the first historical tooth width and the second historical tooth width according to the historical crankshaft signal; determining the predicted tooth width range according to the first historical tooth width and the second historical tooth width; determining whether the tooth width of the first target tooth is within the predicted tooth width range; and determining that the first target tooth is an invalid tooth when the tooth width of the first target tooth is not within the predicted tooth width range. In this embodiment, filtering the interference signal based on the tooth width is conducive to further fully filtering the invalid teeth.

[0046] In the above embodiment, the predicted tooth width range is determined based on the first historical tooth width and the second historical tooth width. For example, the average value of the first historical tooth width and the second historical tooth width is first calculated, and then the allowable error size is added or subtracted on the basis of the average value to obtain the predicted tooth width range. For example, assuming that the first historical tooth width is 0.9 (unit omitted, the same below), the second historical tooth width is 1.1, the average of the two is 1, and the allowable error coefficient is 0.2, then the predicted tooth width range is (1-0.2) to (1+0.2), that is, 0.8-1.2. It should be noted that the above-mentioned calculation method of the predicted tooth width range is only an example, and those skilled in the art can determine the predicted tooth width range according to actual conditions.

[0047] In an optional embodiment, after determining that the target tooth is the first effective tooth, the method 200 further includes the following steps: filtering the target crankshaft signal to remove the signal of the target crankshaft signal after the first effective tooth and within a set filtering time length; based on the filtered target crankshaft signal, identifying at least two consecutive first effective teeth, and identifying missing teeth after at least two consecutive first effective teeth; when the number of missing teeth is greater than or equal to 2, determining that the target crankshaft signal is initially synchronized.

[0048] In the above embodiment, the filtering process, for example, after the first effective tooth is identified, the crankshaft signal within a set time length (for example, the set time length is 3ms, 5μs, etc.) after the effective tooth is removed, and subsequent processing is performed based on the crankshaft signal after the set time length. The above method is conducive to reducing the influence of various interference factors when the engine is started.

[0049] In an optional embodiment, after identifying missing teeth after at least two consecutive first valid teeth, the method 200 further includes the following steps: identifying at least two missing teeth; when the number of teeth of at least two missing teeth is equal to 2, determining that the target crankshaft signal is fully synchronized.

[0050] In an optional embodiment, the crankshaft signal can be further synchronized with the camshaft signal on the basis of the target crankshaft signal being fully synchronized. Accordingly, in this embodiment, the method 200 can further include the following steps: determining a first position of the top dead center of the engine according to the target crankshaft signal when the target crankshaft signal is fully synchronized; determining a second position of the top dead center according to the target camshaft signal, wherein the target camshaft signal itself is fully synchronized; and determining that the target crankshaft signal is synchronized with the target camshaft signal when the first position is consistent with the second position.

[0051] In the above embodiment, as those skilled in the art can understand, the first position of the top dead center of the engine can be obtained by translating a certain distance according to the missing tooth position in the target crankshaft signal. Similarly, as those skilled in the art can understand, the second position of the top dead center of the engine can be obtained by translating a certain distance according to the position of the positioning tooth in the target camshaft signal.

[0052] In an optional embodiment, before the second position of the top dead center is determined according to the target camshaft signal, the method 200 also includes: identifying at least one second effective tooth included in the target camshaft signal; determining the correct tooth width of the second effective tooth based on the tooth width of the first effective tooth corresponding to the target crankshaft signal; identifying the positioning tooth of the target camshaft signal when the tooth width of the second effective tooth is consistent with the correct tooth width of the second effective tooth; and determining that the target camshaft signal itself is completely synchronized when the widths of at least two positioning teeth included in the target camshaft signal are consistent.

[0053] In the above embodiment, exemplarily, the second effective tooth is, for example, a repeated tooth in the camshaft signal.

[0054] In the above embodiment, as those skilled in the art can understand, the period length of the target camshaft signal can be obtained based on the tooth width of the first effective tooth corresponding to the target crankshaft signal, and then the period length of the target crankshaft signal can be obtained. After that, the correct tooth width of the second effective tooth can be obtained based on the period length of the target crankshaft signal and the tooth width distribution of the target crankshaft signal.

[0055] In an optional embodiment, the step of identifying at least one second effective tooth included in the target camshaft signal can be implemented in the following manner: receiving a target camshaft signal, the target camshaft signal including a second target tooth; determining whether the tooth level of the second target tooth is within a second set level range; if the tooth level of the second target tooth is within the second set level range, determining the target signal edge of the second target tooth, wherein the effective edge of the second target tooth is the latter effective edge of the two signal edges corresponding to the second target tooth; determining a second time window with the target signal edge of the second target tooth as the starting point and a length of the second set time length; determining whether there is an abnormality in the second target signal within the second time window; if there is no abnormality in the second target signal within the second time window, determining that the second target tooth is the second effective tooth.

[0056] In the embodiment of the present disclosure, the length of the second time window may be the same as or different from the length of the first time window.

[0057] In an optional embodiment, the method 200 may further include the following steps: detecting abnormal information during the execution of the method; outputting an alarm corresponding to the abnormal information. In the above embodiment, an alarm is issued for abnormal information during the execution of the method, which is conducive to the timely handling of abnormal situations. The above abnormal information, for example, cannot identify at least two consecutive first effective teeth, the number of missing teeth is less than 2, the number of missing teeth is greater than 4, or the number of effective teeth is insufficient (for example, the total number of consecutive effective teeth is less than 58).

[0058] In an optional embodiment, the method 200 further includes the following step: when there is an abnormality in the first target signal within the first time window, re-execute the step of receiving the target crankshaft signal.

[0059] In an optional embodiment, the method 200 further includes the following step: if at least two consecutive first valid teeth are not identified, re-execute the step of receiving the target crankshaft signal.

[0060] In the above embodiment, re-executing the signal processing process under abnormal circumstances is conducive to self-repairing the abnormality at the control algorithm level, ensuring the normal operation of the engine and preventing unexpected shutdown.

[0061] Figure 3 A flowchart showing a specific example of a method for processing an engine speed signal according to the present disclosure.

[0062] First, the crankshaft teeth processing and camshaft teeth processing are performed separately.

[0063] Crankshaft tooth processing includes: 1. According to the current tooth width (e.g. Figure 1 The width of the second tooth in the middle) and the width of the previous tooth (e.g. Figure 1 The tooth width of the first tooth in the figure is used to predict the next tooth width. If the next tooth width (e.g. Figure 1 2. If the tooth width of the third tooth in the prediction range is within the prediction range, the tooth corresponding to the next tooth width is valid, otherwise it is invalid. Figure 1 3. After the effective edge of the tooth in the crankshaft signal is identified, the detection window is set based on the effective edge and the set duration. If there are no other glitches and interference signals in the window, the signal corresponding to the effective edge is considered valid.

[0064] The execution order of the above steps 1, 2 and 3 can be determined according to actual conditions. In one example, they can be executed in the order of 1-3-2 or 3-1-2.

[0065] Camshaft tooth processing includes: 1. If the currently captured camshaft tooth level state is different from the set one, it is determined to be an interference tooth. 2. After identifying the effective edge of the camshaft, set the detection window according to the current position. If there are no other burrs and interference signals in the window, the effective edge signal is considered to be valid.

[0066] Secondly, crankshaft synchronization and camshaft synchronization are performed separately.

[0067] The crankshaft synchronization process includes: 1. Waiting for the first valid tooth. 2. Filtering a calibration time (too much interference during startup). 3. Continuously waiting for several valid teeth (the crankshaft's own confirmation process). 4. Waiting for the missing teeth of the crankshaft (judging the top dead center of a cylinder injection by the missing teeth). 5. Crankshaft synchronization (the number of missing teeth>=2). 5. Crankshaft complete synchronization (when the missing teeth are stable at 2 teeth).

[0068] The camshaft synchronization process includes: 1. Pre-synchronization state (determine whether the camshaft tooth width is correct). 2. Synchronization state (determine whether the camshaft has non-repetitive teeth). 3. Camshaft full synchronization (non-repetitive tooth width is stable).

[0069] Finally, the crankshaft and camshaft are synchronized, including: 1. The crankshaft module records the top dead center position of cylinder 1 based on the crankshaft rotation angle. 2. The camshaft module records the top dead center position of cylinder 1 based on the crankshaft rotation angle. 3. If the position of the crankshaft and camshaft is subtracted within a window range (i.e., the allowable error range), the crankshaft-camshaft synchronization is considered successful.

[0070] The following provides a state change of the crankshaft self-synchronization process. First, the crankshaft state enters the first state, waiting for the engine to start and identify the first tooth. After the first tooth is identified, it enters the second state. In this state, a filter time will be set to prevent some interference glitches when the engine is just started. If the number of interference glitches is found to be greater than a certain number, the crankshaft will enter the resynchronization process. After the filtering time, it enters the third state, where it waits for several consecutive valid teeth. If the number of valid teeth is always intermittent in this state, the crankshaft will report an error and enter the resynchronization process. After several valid teeth are identified, it enters the fourth state, where it waits for a valid crankshaft missing tooth. When the number of missing teeth is greater than or equal to 2 and less than 4, the crankshaft will enter the self-synchronization state. When the number of missing teeth is less than 2 or greater than 4, the crankshaft will report an error. After the crankshaft state enters the synchronization state, when it is identified that the number of missing teeth is exactly equal to 2, the crankshaft will enter the full synchronization state, and the crankshaft self-synchronization process ends.

[0071] Figure 4 FIG. 1 shows an exemplary block diagram of a device for processing an engine speed signal according to an embodiment of the present disclosure. Figure 4As shown, the device 400 includes: a crankshaft signal receiving module 410, used to receive a target crankshaft signal, the target crankshaft signal includes at least one first target tooth; a signal edge identification module 420, used to determine the target signal edge of the first target tooth, wherein the effective edge of the first target tooth is the latter effective edge of the two signal edges corresponding to the first target tooth; a first time window determination module 430, used to determine a first time window with the target signal edge of the first target tooth as the starting point and a length of a first set time length; a first effective tooth determination module 440, used to determine whether there is an abnormality in the first target signal within the first time window, and determine that the first target tooth is the first effective tooth when there is no abnormality in the first target signal within the first time window.

[0072] It should be understood that Figure 4 The various modules of the apparatus 400 shown in FIG. 4 can be used in conjunction with the reference Figure 2 The steps in the method 200 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 200 are also applicable to the apparatus 400 and the modules included therein. For the sake of brevity, some operations, features and advantages are not described in detail here.

[0073] In an optional embodiment, the above-mentioned device also includes: a tooth width prediction module, used to determine the first historical tooth width and the second historical tooth width based on the historical crankshaft signal, and determine the predicted tooth width range based on the above-mentioned first historical tooth width and the above-mentioned second historical tooth width; a tooth width comparison module, used to determine whether the tooth width of the above-mentioned first target tooth is within the above-mentioned predicted tooth width range; a tooth width judgment module, used to determine that the above-mentioned first target tooth is an invalid tooth when the tooth width of the above-mentioned first target tooth is not within the above-mentioned predicted tooth width range.

[0074] In an optional embodiment, the above-mentioned device also includes: a first level comparison module, used to determine whether the tooth level of the above-mentioned first target tooth is within a first set level range; a first level judgment module, used to determine that the above-mentioned first target tooth is an interference tooth when the tooth level of the above-mentioned first target tooth is not within the first set level range.

[0075] In an optional embodiment, the above-mentioned device also includes: a first filtering processing module, used to filter the above-mentioned target crankshaft signal to remove the signal of the above-mentioned target crankshaft signal after the above-mentioned first effective tooth and within a set filtering time length; a first identification module, used to identify at least two consecutive first effective teeth and identify missing teeth after the above-mentioned at least two consecutive first effective teeth based on the above-mentioned target crankshaft signal after filtering; a crankshaft preliminary synchronization module, used to determine the preliminary synchronization of the above-mentioned target crankshaft signal when the number of the above-mentioned missing teeth is greater than or equal to 2.

[0076] In an optional embodiment, the above-mentioned device also includes: a second identification module for identifying at least two missing teeth; and a crankshaft full synchronization module for determining that the above-mentioned target crankshaft signal is fully synchronized when the number of teeth of the above-mentioned at least two missing teeth is equal to 2.

[0077] In an optional embodiment, the above-mentioned device also includes: a top dead center position determination module, which is used to determine the first position of the top dead center of the engine according to the above-mentioned target crankshaft signal when the above-mentioned target crankshaft signal is completely synchronized; a top dead center position comparison module, which is used to determine the second position of the top dead center according to the target camshaft signal, wherein the above-mentioned target camshaft signal itself is completely synchronized; and a gear camshaft synchronization module, which is used to determine that the above-mentioned target crankshaft signal is synchronized with the above-mentioned target camshaft signal when the above-mentioned first position is consistent with the above-mentioned second position.

[0078] In an optional embodiment, the above-mentioned device also includes: a second effective tooth identification module, used to identify at least one second effective tooth included in the above-mentioned target camshaft signal; a correct tooth width determination module, used to determine the correct tooth width of the above-mentioned second effective tooth according to the tooth width of the first effective tooth corresponding to the above-mentioned target crankshaft signal; a positioning tooth identification module, used to identify the positioning tooth of the above-mentioned target camshaft signal when the tooth width of the above-mentioned second effective tooth is consistent with the correct tooth width of the above-mentioned second effective tooth; a camshaft full synchronization module, used to determine that the above-mentioned target camshaft signal itself is fully synchronized when the widths of at least two positioning teeth included in the above-mentioned target camshaft signal are consistent.

[0079] In an optional embodiment, the above-mentioned device also includes: a camshaft signal receiving module, which is used to receive the above-mentioned target camshaft signal, and the above-mentioned target camshaft signal includes a second target tooth; a second level comparison module, which is used to determine whether the tooth level of the above-mentioned second target tooth is within a second set level range; a second effective edge determination module, which is used to determine the target signal edge of the above-mentioned second target tooth when the tooth level of the above-mentioned second target tooth is within the second set level range, wherein the effective edge of the above-mentioned second target tooth is the latter effective edge of the two signal edges corresponding to the above-mentioned second target tooth; a second time window determination module, which is used to determine a second time window with the target signal edge of the above-mentioned second target tooth as the starting point and a length of the second set time length; a second time window detection module, which is used to determine whether the above-mentioned second target signal has an abnormality within the above-mentioned second time window; a second effective tooth determination module, which is used to determine that the above-mentioned second target tooth is a second effective tooth when the above-mentioned second target signal does not have an abnormality within the above-mentioned second time window.

[0080] In an optional embodiment, the above-mentioned device also includes: an abnormal information detection module, which is used to detect abnormal information during the execution of the above-mentioned method; and an alarm prompt output module, which is used to output an alarm prompt corresponding to the above-mentioned abnormal information.

[0081] In an optional embodiment, the crankshaft signal receiving module is further used to: when there is an abnormality in the first target signal within the first time window, re-execute the step of receiving the target crankshaft signal.

[0082] In an optional embodiment, the crankshaft signal receiving module is further used to: re-execute the step of receiving the target crankshaft signal when the at least two consecutive first valid teeth are not identified.

[0083] In an optional embodiment, the above-mentioned device also includes an alarm output module, which is used to: output a corresponding alarm when the number of missing teeth is less than 2.

[0084] The embodiment of the present disclosure further provides an engine electronic control unit, which includes the above-mentioned device 400.

[0085] Figure 5 Schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. Figure 5 , a structural block diagram of an electronic device 500 that can serve as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. 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, mainframes, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, 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 disclosure described and / or claimed herein. Figure 5As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504. Multiple components in the device 500 are connected to the I / O interface 505, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0086] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the processing method of the engine speed signal. For example, in some embodiments, the processing method of the engine speed signal may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the processing method of the engine speed signal described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the processing method of the engine speed signal in any other appropriate manner (e.g., by means of firmware).

[0087] The various illustrative logics, logic blocks, modules, circuits, and algorithmic processes described in conjunction with the aspects disclosed herein may be implemented as electronic hardware, computer software, or a combination of both. The interchangeability of hardware and software has been generally described in terms of functionality and illustrated in the various illustrative components, blocks, modules, circuits, and processes described above. Whether such functionality is implemented in hardware or software depends on the specific application and design constraints on the overall system.

[0088] The hardware and data processing apparatus for implementing the various illustrative logics, logic blocks, modules and circuits described in conjunction with the aspects disclosed herein can be implemented or executed with a general purpose single-chip or multi-chip processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor can be a microprocessor or any conventional processor, controller, microcontroller or state machine. The processor can also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration. In some aspects, specific processes and methods can be performed by circuits specific to a given function.

[0089] In one or more aspects, the functions described may be implemented in hardware, digital electronic circuitry, computer software, firmware (including the structures disclosed in this specification and their equivalents), or any combination thereof. Aspects of the subject matter described in this specification may also be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on computer storage media for execution by a data processing apparatus or to control the operation of the data processing apparatus.

[0090] If implemented in software, the function can be stored or transferred to a computer-readable medium as one or more instructions or codes. The process of the method or algorithm disclosed herein can be implemented in a software module executable by a processor, and the software module can reside on a computer-readable medium. Computer-readable media include computer storage media and communication media, and the communication media include any medium capable of transmitting a computer program from one place to another. The storage medium can be any available medium accessible by a computer. As an example and not limitation, this computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to store the required program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. The disk (Disk) and disk (disc) used herein include high-density optical disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks and blue-ray disks, wherein the disk (Disk) usually copies data magnetically, and the disk (disc) copies data optically with lasers. The above combination should also be included in the scope of computer-readable media. Additionally, the operations of a method or algorithm may be implemented as one or any combination or set of codes and instructions on a machine-readable medium and a computer-readable medium, which may be incorporated into a computer program product.

[0091] Each embodiment in the present disclosure is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, equipment embodiment, computer-readable storage medium embodiment, and computer program product embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A method for processing an engine speed signal, include: receiving a target crankshaft signal, the target crankshaft signal comprising at least one first target tooth; Determining a target signal edge of the first target tooth, wherein the effective edge of the first target tooth is a later effective edge of two signal edges corresponding to the first target tooth; Determine a first time window starting from the target signal edge of the first target tooth and having a length of a first set time length; It is determined whether the first target signal is abnormal within the first time window, and when the first target signal is not abnormal within the first time window, the first target tooth is determined to be a first valid tooth.

2. The method according to claim 1, in, The method further comprises: Determining a first historical tooth width and a second historical tooth width according to a historical crankshaft signal; Determining a predicted tooth width range according to the first historical tooth width and the second historical tooth width; Determining whether the tooth width of the first target tooth is within the predicted tooth width range; When the tooth width of the first target tooth is not within the predicted tooth width range, the first target tooth is determined to be an invalid tooth.

3. The method according to claim 1, in, The method further comprises: determining whether the tooth level of the first target tooth is within a first set level range; When the tooth level of the first target tooth is not within a first set level range, it is determined that the first target tooth is an interference tooth.

4. The method according to claim 1, in, After determining that the target tooth is the first effective tooth, the method further includes: Filtering the target crankshaft signal to remove the target crankshaft signal after the first effective tooth and within a set filtering time length; Based on the filtered target crankshaft signal, identifying at least two consecutive first valid teeth, and identifying missing teeth after the at least two consecutive first valid teeth; When the number of missing teeth is greater than or equal to 2, it is determined that the target crankshaft signal is preliminarily synchronized.

5. The method according to claim 4, in, After identifying the missing teeth after the at least two consecutive first valid teeth, the method further comprises: Identify at least two missing teeth; When the number of teeth of the at least two missing teeth is both equal to 2, it is determined that the target crankshaft signal is completely synchronized.

6. The method according to claim 5, in, The method further comprises: In the case where the target crankshaft signal is completely synchronized, determining a first position of the top dead center of the engine according to the target crankshaft signal; a second position of top dead center determined based on a target camshaft signal, wherein the target camshaft signal is itself fully synchronous; When the first position coincides with the second position, it is determined that the target crankshaft signal is synchronized with the target camshaft signal.

7. The method according to claim 6, in, Prior to a second position of top dead center determined based on the target camshaft signal, the method further includes: identifying at least one second effective tooth included in the target camshaft signal; determining a correct tooth width of the second effective tooth according to the tooth width of the first effective tooth corresponding to the target crankshaft signal; identifying a positioning tooth of the target camshaft signal when the tooth width of the second effective tooth is consistent with a correct tooth width of the second effective tooth; In the case that the widths of at least two positioning teeth included in the target camshaft signal are consistent, it is determined that the target camshaft signal itself is completely synchronized.

8. The method according to claim 7, in, The identifying at least one second effective tooth included in the target camshaft signal comprises: receiving the target camshaft signal, wherein the target camshaft signal includes a second target tooth; determining whether the tooth level of the second target tooth is within a second set level range; When the tooth level of the second target tooth is within a second set level range, determining a target signal edge of the second target tooth, wherein the effective edge of the second target tooth is the latter effective edge of the two signal edges corresponding to the second target tooth; Determine a second time window starting from the target signal edge of the second target tooth and having a length of a second set time length; determining whether the second target signal is abnormal within the second time window; When there is no abnormality in the second target signal within the second time window, the second target tooth is determined to be a second valid tooth.

9. The method according to any one of claims 1 to 8, in, The method further comprises: Detecting abnormal information during the execution of the method; Output the warning prompt corresponding to the abnormal information.

10. The method according to claim 3, in, The method further comprises: When the first target signal is abnormal within the first time window, the step of receiving the target crankshaft signal is re-executed.

11. The method according to claim 4, in, The method further comprises: In case the at least two consecutive first effective teeth are not identified, the step of receiving the target crankshaft signal is re-executed.

12. The method according to claim 4, in, The method further includes: when the number of missing teeth is less than 2, outputting a corresponding alarm prompt.

13. A device for processing engine speed signals, include: A crankshaft signal receiving module, configured to receive a target crankshaft signal, wherein the target crankshaft signal includes at least one first target tooth; a signal edge recognition module, configured to determine a target signal edge of the first target tooth, wherein the effective edge of the first target tooth is a later effective edge of two signal edges corresponding to the first target tooth; A first time window determination module, used to determine a first time window starting from a target signal edge of the first target tooth and having a length of a first set time length; The first effective tooth determination module is used to determine whether the first target signal is abnormal within the first time window, and determine that the first target tooth is a first effective tooth when the first target signal is not abnormal within the first time window.

14. The device according to claim 13, in, The device also includes: a tooth width prediction module, configured to determine a first historical tooth width and a second historical tooth width according to a historical crankshaft signal, and to determine a predicted tooth width range according to the first historical tooth width and the second historical tooth width; a tooth width comparison module, configured to determine whether the tooth width of the first target tooth is within the predicted tooth width range; The tooth width determination module is used to determine that the first target tooth is an invalid tooth when the tooth width of the first target tooth is not within the predicted tooth width range.

15. The device according to claim 13, in, The device also includes: A first level comparison module, used to determine whether the tooth level of the first target tooth is within a first set level range; The first level determination module is configured to determine that the first target tooth is an interference tooth when the tooth level of the first target tooth is not within a first set level range.

16. The device according to claim 15, in, The device also includes: A first filtering processing module, used for filtering the target crankshaft signal to remove the target crankshaft signal after the first effective tooth and within a set filtering time length; A first identification module, configured to identify at least two consecutive first valid teeth and a missing tooth after the at least two consecutive first valid teeth based on the target crankshaft signal after filtering; The crankshaft preliminary synchronization module is used to determine the preliminary synchronization of the target crankshaft signal when the number of missing teeth is greater than or equal to 2.

17. The device according to claim 16, in, The device also includes: A second recognition module, for recognizing at least two missing teeth; The crankshaft complete synchronization module is used to determine that the target crankshaft signal is completely synchronized when the number of teeth of the at least two missing teeth is equal to 2.

18. The device according to claim 17, in, The device also includes: a top dead center position determination module, configured to determine a first position of the top dead center of the engine according to the target crankshaft signal when the target crankshaft signal is completely synchronized; a top dead center position comparison module for determining a second position of the top dead center based on a target camshaft signal, wherein the target camshaft signal is itself fully synchronous; A gear camshaft synchronization module is used to determine that the target crankshaft signal is synchronized with the target camshaft signal when the first position is consistent with the second position.

19. The device according to claim 18, in, The device also includes: A second effective tooth identification module, configured to identify at least one second effective tooth included in the target camshaft signal; a correct tooth width determination module, configured to determine a correct tooth width of the second effective tooth according to the tooth width of the first effective tooth corresponding to the target crankshaft signal; a positioning tooth identification module, configured to identify the positioning tooth of the target camshaft signal when the tooth width of the second effective tooth is consistent with the correct tooth width of the second effective tooth; The camshaft complete synchronization module is used to determine that the target camshaft signal itself is completely synchronized when the widths of at least two positioning teeth included in the target camshaft signal are consistent.

20. The device according to claim 19, in, The device also includes: A camshaft signal receiving module, configured to receive the target camshaft signal, wherein the target camshaft signal includes a second target tooth; A second level comparison module, used for determining whether the tooth level of the second target tooth is within a second set level range; A second effective edge determination module, configured to determine a target signal edge of the second target tooth when the tooth level of the second target tooth is within a second set level range, wherein the effective edge of the second target tooth is the latter of the two signal edges corresponding to the second target tooth; A second time window determination module, used to determine a second time window starting from the target signal edge of the second target tooth and having a second set time length; A second time window detection module, used to determine whether the second target signal is abnormal within the second time window; The second effective tooth determination module is used to determine that the second target tooth is a second effective tooth when there is no abnormality in the second target signal within the second time window.

21. The device according to any one of claims 13 to 20, in, The device also includes: An abnormal information detection module, used to detect abnormal information during the execution of the method; The alarm prompt output module is used to output the alarm prompt corresponding to the abnormal information.

22. The device according to claim 15, in, The crankshaft signal receiving module is also used for: When the first target signal is abnormal within the first time window, the step of receiving the target crankshaft signal is re-executed.

23. The device according to claim 16, in, The crankshaft signal receiving module is also used for: In case the at least two consecutive first effective teeth are not identified, the step of receiving the target crankshaft signal is re-executed.

24. The device according to claim 17, in, The device also includes an alarm output module, which is used to output a corresponding alarm when the number of missing teeth is less than 2.

25. A computer program product comprising program code instructions which, when the program product is executed by a computer, cause the computer to perform the method of at least one of claims 1 to 12.

26. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to at least one of claims 1-12.

27. An electronic device, include: processor, a memory in electronic communication with the processor; as well as Instructions, which are stored in the memory and can be executed by the processor to cause the electronic device to perform the method according to at least one of claims 1-12.

28. An engine electronic control unit comprising a device according to at least one of claims 13-24.

Citation Information

Cited By

  • Filtering processing method and apparatus for engine rotation speed signal, device, and medium

    WO2026137977A1