Verification method and device for camshaft rotational speed signal edge recognition and storage medium

By constructing a speed signal comparison set and using two edge recognition types of verification methods, the problem of phase deviation in camshaft speed signal edge recognition is solved, ensuring engine speed synchronization and combustion efficiency, and avoiding engine starting difficulties.

CN118640109BActive Publication Date: 2025-10-24WEICHAI POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410690214.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2025-10-24
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

During the edge recognition process of camshaft speed signal, incorrect edge recognition type can lead to excessive phase deviation between crankshaft and camshaft, affecting engine speed synchronization and causing problems such as difficulty in starting the engine.

Method used

By acquiring the current camshaft speed signal and crankshaft speed signal of the engine, a speed signal comparison set is constructed. Two edge recognition types, rising edge and falling edge, are used for phase recognition and verification. The system automatically switches to the correct edge recognition type to ensure accuracy.

Benefits of technology

It improves the accuracy of edge recognition, ensures synchronized engine speed, avoids engine starting difficulties, and improves combustion efficiency and fuel economy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118640109B_ABST
    Figure CN118640109B_ABST
Patent Text Reader

Abstract

The embodiment of the specification discloses a camshaft rotating speed signal edge recognition verification method and device and a storage medium, relates to the technical field of engine control, and the method comprises the following steps: collecting the current camshaft rotating speed signal and the current crankshaft rotating speed signal of an engine, so as to determine the rotating speed signal comparison set based on the current camshaft rotating speed signal and the current crankshaft rotating speed signal; determining the corresponding current crankshaft camshaft phase deviation through the current edge recognition type, wherein the current edge recognition type comprises any one of rising edge recognition and falling edge recognition; verifying the current edge recognition type based on the current crankshaft camshaft phase deviation, determining the current verification result corresponding to the current edge recognition type; when the current verification result of the current edge recognition type is a fault verification, switching the current edge recognition type, determining a specified edge recognition type, and performing edge recognition on the camshaft rotating speed signal through the specified edge recognition type.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present specification relates to the technical field of engine control, and in particular, to a camshaft speed signal edge recognition verification method, device and storage medium. BACKGROUND

[0002] In a modern automobile engine control system, the speed signal is an important input parameter of the engine controller (ECU), which plays a decisive role in achieving efficient and stable operation of the engine. Among them, the camshaft speed signal is the key basis for engine timing control, and the accuracy of its edge recognition directly affects the accurate calculation of engine injection / ignition sequence and timing, as well as the synchronous control of engine speed.

[0003] In the processing of the camshaft speed signal, edge recognition is a crucial link. The verification of camshaft speed signal edge recognition is divided into rising edge recognition and falling edge recognition. The rising edge refers to the critical point at which the signal changes from low to high, while the falling edge refers to the critical point at which the signal changes from high to low. These two edge points are important references for the ECU to determine the camshaft position and speed change. If the ECU uses an incorrect edge recognition method, it may cause excessive phase deviation between the crankshaft and the camshaft, thereby affecting the synchronous control of the engine speed. In severe cases, incorrect edge recognition may cause the engine controller to fail to correctly synchronize the crankshaft and the camshaft, resulting in engine starting difficulty or failure to start. In addition, inaccurate injection / ignition sequence and timing may lead to incomplete combustion, thereby increasing emissions and reducing fuel economy.

[0004] Therefore, in the edge recognition process of the camshaft speed signal, the incorrect edge recognition type limits the risk of excessive phase deviation between the crankshaft and the camshaft, thereby affecting the engine speed synchronization and causing occasional engine starting difficulty. SUMMARY

[0005] One or more embodiments of the present specification provide a camshaft speed signal edge recognition verification method, device and storage medium, which solves the following technical problems: in the edge recognition process of the camshaft speed signal, the incorrect edge recognition type limits the risk of excessive phase deviation between the crankshaft and the camshaft, thereby affecting the engine speed synchronization and causing occasional engine starting difficulty.

[0006] One or more embodiments of the present specification adopt the following technical solutions:

[0007] The one or more embodiments of the specification provide a camshaft speed signal edge recognition verification method, the method comprising: collecting a current camshaft speed signal and a current crankshaft speed signal of an engine to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; performing phase recognition on the speed signal comparison set by a current edge recognition type to determine a corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type includes any one of rising edge recognition and falling edge recognition; verifying the current edge recognition type based on the current crankshaft camshaft phase deviation to determine a current verification result corresponding to the current edge recognition type; and switching the current edge recognition type when the current verification result of the current edge recognition type is a fault verification to determine a specified edge recognition type to perform edge recognition on the camshaft speed signal by the specified edge recognition type.

[0008] Further, verifying the current edge recognition type based on the current crankshaft camshaft phase deviation to determine a current verification result specifically includes: performing phase recognition on the speed signal comparison set by a predetermined specified edge recognition type to determine a corresponding specified crankshaft camshaft phase deviation; and verifying the current edge recognition type based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation to determine a current verification result, wherein the current verification result includes any one of fault verification and normal verification.

[0009] Further, verifying the current edge recognition type based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation to determine a current verification result specifically includes: determining a phase absolute difference value corresponding to the current edge recognition type and the specified edge recognition type based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation; and verifying the current edge recognition type by a pre-set phase absolute difference value threshold and the phase absolute difference value to determine a current verification result.

[0010] Further, before verifying the current edge recognition type by a pre-set phase absolute difference value threshold and the phase absolute difference value to determine a current verification result, the method further comprises: determining a specified structural parameter of the engine to determine a theoretical phase corresponding relationship corresponding to the engine by the specified structural parameter, wherein the theoretical phase corresponding relationship is used to represent a phase corresponding relationship of a camshaft speed signal and a crankshaft speed signal; and performing edge recognition type simulation based on the theoretical phase corresponding relationship corresponding to the engine to set the phase absolute difference value threshold.

[0011] Further, the method further includes: performing edge recognition type simulation according to the theoretical phase correspondence corresponding to the engine, to set the phase absolute difference threshold, and specifically includes: performing phase absolute difference simulation on the camshaft speed signal and the crankshaft speed signal according to the theoretical phase correspondence and a preset edge recognition type simulation scheme, to determine a theoretical maximum phase absolute difference corresponding to the edge recognition type simulation scheme; and determining the phase absolute difference threshold based on the theoretical maximum phase absolute difference.

[0012] Further, the method further includes: performing phase recognition on the speed signal comparison set through the current edge recognition type, to determine a corresponding current crankshaft-camshaft phase deviation, and specifically includes: determining a corresponding recognition time stamp through the current edge recognition type; determining a recognition camshaft signal time stamp and a recognition crankshaft signal time stamp in the speed signal comparison set based on the recognition time stamp, to determine a current crankshaft-camshaft time difference; and determining a corresponding current crankshaft-camshaft phase deviation according to the current crankshaft-camshaft time difference.

[0013] Further, the method further includes: determining a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal, and specifically includes: determining a current camshaft feature tooth speed signal and a current crankshaft feature tooth speed signal corresponding to a feature tooth; and generating the speed signal comparison set corresponding to the current camshaft speed signal and the current crankshaft speed signal according to the current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal.

[0014] Further, after the current edge recognition type is verified based on the current crankshaft-camshaft phase deviation and a current verification result is determined, the method further includes: when the current verification result of the current edge recognition type is a normal verification, performing edge recognition on the camshaft speed signal through the current edge recognition type.

[0015] One or more embodiments of the present specification provide a verification device for camshaft speed signal edge recognition, including:

[0016] at least one processor; and

[0017] a memory in communication connection with the at least one processor; wherein

[0018] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:

[0019] Collect a current camshaft speed signal and a current crankshaft speed signal of an engine, to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase recognition on the speed signal comparison set through a current edge recognition type, to determine a corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type includes any one of rising edge recognition and falling edge recognition; perform verification on the current edge recognition type based on the current crankshaft camshaft phase deviation, to determine a current verification result corresponding to the current edge recognition type; when the current verification result of the current edge recognition type is a fault verification, switch the current edge recognition type, to determine a specified edge recognition type, to perform edge recognition on the camshaft speed signal through the specified edge recognition type.

[0020] The non-volatile computer storage medium provided by one or more embodiments of the present specification stores computer executable instructions, which are configured to:

[0021] Collect a current camshaft speed signal and a current crankshaft speed signal of an engine, to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase recognition on the speed signal comparison set through a current edge recognition type, to determine a corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type includes any one of rising edge recognition and falling edge recognition; perform verification on the current edge recognition type based on the current crankshaft camshaft phase deviation, to determine a current verification result corresponding to the current edge recognition type; when the current verification result of the current edge recognition type is a fault verification, switch the current edge recognition type, to determine a specified edge recognition type, to perform edge recognition on the camshaft speed signal through the specified edge recognition type.

[0022] The above at least one technical solution adopted by the embodiments of the present specification can achieve the following beneficial effects: through the above technical solution, the speed signal comparison set meets the various implementation requirements at the software program level; compared with the single edge recognition type, the verification step of the edge recognition type is added in the process of edge recognition, the accuracy of the current edge recognition type is verified, the use of the wrong edge recognition type is avoided, and the accuracy of the edge recognition type is further ensured; in the case of edge recognition type failure, another edge recognition type is automatically updated, the phase deviations of the two edge types are calculated at the same time, the correct phase deviation corresponding to the edge recognition type can be obtained synchronously, the accuracy of the phase deviation is ensured, and the synchronization of the engine speed is further ensured. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to make the technical solutions in the description or prior art clearer, the drawings needed in the description or prior art description will be briefly introduced below. Obviously, the drawings described below are only some of the embodiments described in the description, and other drawings can be obtained by those skilled in the art without creative labor. In the drawings:

[0024] Figure 1 A flowchart of a verification method of camshaft speed signal edge recognition provided by an embodiment of the present description is shown in the figure.

[0025] Figure 2 An example diagram of original crankshaft signal, camshaft signal and edge processing type provided by an embodiment of the present description is shown in the figure.

[0026] Figure 3 A structural diagram of a verification device of camshaft speed signal edge recognition provided by an embodiment of the present description is shown in the figure. DETAILED DESCRIPTION

[0027] In order to make those skilled in the art better understand the technical solutions in the description, the technical solutions in the description will be described clearly and completely below in combination with the drawings in the embodiments of the present description. Obviously, the described embodiments are only some of the embodiments of the present description, not all. Based on the embodiments of the present description, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present description.

[0028] In modern automobile engine control system, the speed signal as an important input parameter of engine controller (ECU) plays a decisive role in realizing efficient and stable operation of the engine. Among them, the camshaft speed signal as the key basis for engine timing control, the accuracy of its edge recognition directly affects the accurate calculation of engine injection / ignition sequence and time, and the synchronous control of engine speed.

[0029] In the processing of the camshaft speed signal, edge recognition is a crucial step. The edge recognition of the camshaft speed signal is divided into rising edge recognition and falling edge recognition. The rising edge refers to the critical point at which the signal transitions from low to high, while the falling edge refers to the critical point at which the signal transitions from high to low. These two edge points are important references for the ECU to determine the camshaft position and speed change. If the ECU uses an incorrect edge recognition method, it may cause the phase deviation between the crankshaft and the camshaft to be too large, thereby affecting the synchronization control of the engine speed. In severe cases, incorrect edge recognition may cause the engine controller to fail to correctly synchronize the crankshaft and the camshaft, resulting in difficulty starting the engine or failure to start the engine. In addition, inaccurate injection / ignition order and timing may lead to incomplete combustion, thereby increasing emissions and reducing fuel economy.

[0030] Therefore, in the edge recognition process of the camshaft speed signal, the incorrect edge recognition type limits the risk of excessive phase deviation between the crankshaft and the camshaft, thereby affecting engine speed synchronization and causing occasional engine starting difficulties.

[0031] The embodiments of the present specification provide a verification method for camshaft speed signal edge recognition. It should be noted that the execution subject in the embodiments of the present specification can be a server or any device with data processing capability. Figure 1 The flowchart of the verification method for camshaft speed signal edge recognition provided by the embodiments of the present specification is shown in FIG. 1, which mainly includes the following steps: Figure 1 As shown in FIG. 1, the method mainly includes the following steps:

[0032] Step S101, collect the current camshaft speed signal and the current crankshaft speed signal of the engine, and determine the speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal.

[0033] In an embodiment of the present specification, a camshaft speed sensor suitable for the engine type, such as a magneto-electric sensor or a Hall sensor, is selected and installed on the engine camshaft to sense the rotation of the camshaft in real time. Similarly, a suitable crankshaft speed sensor is selected and installed on the engine crankshaft to sense the rotation of the crankshaft in real time. The crankshaft is an important component of the engine, which bears the force transmitted by the connecting rod and converts it into torque to drive other accessories on the engine. The camshaft is one of the important components in the piston engine, which controls the opening and closing of the valve through the rotation of the camshaft. In a four-stroke engine, the camshaft rotates at half the speed of the crankshaft. The rotation of the camshaft and the crankshaft sensed by the sensor is converted into an electrical signal. Through the signal processing circuit, the collected electrical signal is amplified, filtered and digitized to obtain the current camshaft speed signal and the current crankshaft speed signal of the engine as input signals, to determine the speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal. By collecting the speed signals of the camshaft and the crankshaft in real time, the running state of the engine can be monitored in real time, and potential problems can be found in time.

[0034] Based on the current camshaft speed signal and the current crankshaft speed signal, the speed signal comparison set is determined, specifically including: determining the current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal corresponding to the feature tooth; generating the speed signal comparison set corresponding to the current camshaft speed signal and the current crankshaft speed signal according to the current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal.

[0035] In an embodiment of the present specification, the current camshaft speed signal and the current crankshaft speed signal are set in the form of feature teeth. First, the current camshaft feature tooth speed signal in the current camshaft speed signal and the current crankshaft speed signal in the current crankshaft speed signal are determined. Then, a feature point pair is established between each current camshaft feature tooth speed signal and the current crankshaft speed signal to construct the speed signal comparison set corresponding to the current camshaft speed signal and the current crankshaft speed signal. In this case, the speed signal comparison set includes camshaft feature points and crankshaft feature points, the camshaft feature points include camshaft speed signals and corresponding time data, and the crankshaft feature points include crankshaft speed signals and corresponding time data.

[0036] In addition to the above manner, the rotational speed signal comparison set can also be determined by signal waveform alignment. In a four-stroke engine, the camshaft is half the rotational speed of the crankshaft. According to the rotational speed relationship between the crankshaft and the camshaft, the rotational speed signal waveforms are aligned to determine the rotational speed signal comparison set. In this case, the rotational speed signal comparison set includes the waveform graph of the current camshaft rotational speed signal and the waveform graph corresponding to the current crankshaft rotational speed signal. It should be noted that the obtained rotational speed signal comparison set includes multiple rotational speed signals after the rotational speed phase is synchronized within the allowable error range, which is limited by the engine installation parameters and has an allowable error range.

[0037] Through the above technical solution, by providing multiple forms of rotational speed signal comparison sets, subsequent recognition can be performed by waveform processing or data processing, meeting various implementation requirements at the software program level.

[0038] In step S102, the rotational speed signal comparison set is phase-identified by the current edge identification type to determine the corresponding current crankshaft-camshaft phase deviation.

[0039] The current edge identification type includes any one of rising edge identification and falling edge identification.

[0040] In an embodiment of the present specification, the rotational speed signal comparison set is phase-identified by the current edge identification type. Generally, the current edge identification type is usually falling edge identification, so as to determine the corresponding current crankshaft-camshaft phase deviation by falling edge identification, so as to calibrate the current edge identification type by using the current crankshaft-camshaft phase deviation.

[0041] The rotational speed signal comparison set is phase-identified by the current edge identification type to determine the corresponding current crankshaft-camshaft phase deviation, specifically including: determining the corresponding identification time stamp by the current edge identification type; determining the identification camshaft signal time stamp and the identification crankshaft signal time stamp in the rotational speed signal comparison set based on the identification time stamp, so as to determine the current crankshaft-camshaft time difference; and determining the corresponding current crankshaft-camshaft phase deviation according to the current crankshaft-camshaft time difference.

[0042] In an embodiment of the present specification, the phase recognition of the rotational speed signal pair set is performed by means of falling edge recognition, and the phase difference between the camshaft rotational speed signal and the crankshaft rotational speed signal is determined. First, the corresponding recognition timestamp is determined by means of falling edge recognition. The recognition timestamp here is the time point at which the edge detection algorithm programmed in the ECU is used to detect the falling edge of the crankshaft and camshaft rotational speed signals. The falling edge refers to the moment when the signal changes from a high level state to a low level state. When the falling edge is detected, the current timestamp is recorded as the time point when the sensor passes through. According to the recorded falling edge timestamp, the rotational speed period of the crankshaft and camshaft is determined. A synchronous clock signal is used to sample the crankshaft signal and the camshaft signal to ensure that the sampling points of the two are consistent. In each clock cycle, it is checked whether the falling edge of the crankshaft signal and the camshaft signal occurs, and the number of clock cycles in which the falling edge occurs is recorded. It is assumed that the crankshaft and camshaft are aligned in the initial state, i.e. the phase difference is within the error allowed range. According to the recorded falling edge clock cycle number, the relative time difference between the crankshaft signal and the camshaft signal is calculated, i.e. the current crankshaft camshaft time difference. Since the rotational speeds of the crankshaft and the camshaft are known, the time difference can be converted into a phase difference to determine the corresponding current crankshaft camshaft phase deviation. During engine operation, the phase relationship between the crankshaft and the camshaft may change for various reasons. Therefore, the current crankshaft camshaft phase deviation can be determined by continuously monitoring the crankshaft signal and the camshaft signal and taking the average of the crankshaft camshaft phase deviation.

[0043] By the above technical solution, edge recognition is performed by using the edge recognition type commonly used in empirical data, which can ensure the accuracy of edge recognition and improve the efficiency of edge recognition. Accurate phase deviation detection can ensure that the valve and the piston work together at the correct time, thereby improving the combustion efficiency and increasing the output power and torque of the engine, which helps to improve the acceleration performance of the engine, making it respond faster and smoother. In addition, by continuously monitoring the phase deviation of the crankshaft and the camshaft, abnormal conditions during engine operation, such as valve timing errors or sensor failures, can be detected in a timely manner, improving the accuracy of fault diagnosis and reducing the likelihood of false positives and false negatives, thereby faster solving engine problems and avoiding further damage.

[0044] In step S103, the current edge recognition type is verified based on the current crankshaft camshaft phase deviation to determine the current verification result corresponding to the current edge recognition type.

[0045] Generally, the falling edge recognition type is usually used for phase synchronization recognition, but in actual recognition process, there may be a problem of non-uniform recognition type at the implementation level, which may cause the use of incorrect edge recognition type and affect the accuracy of edge recognition.

[0046] Based on the current crankshaft camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, specifically including: through a predetermined specified edge recognition type, phase recognition is performed on the rotating speed signal comparison set to determine the corresponding specified crankshaft camshaft phase deviation; according to the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, wherein the current verification result includes any one of fault verification and normal verification.

[0047] In an embodiment of the present specification, in order to avoid using an incorrect edge recognition type for edge recognition, another edge recognition type is determined in advance. When the current edge recognition type is a falling edge recognition type, the specified edge recognition type here is a rising edge recognition type; when the current edge recognition type is a rising edge recognition type, the specified edge recognition type here is a falling edge recognition type. Here, the specified edge recognition type is taken as a rising edge recognition type as an example. Through the rising edge recognition type, phase recognition is performed on the rotating speed signal comparison set to determine the specified crankshaft camshaft phase deviation corresponding to the rising edge recognition type. The specified crankshaft camshaft phase deviation corresponding to the rising edge recognition type is used to verify the current crankshaft camshaft phase deviation corresponding to the falling edge recognition type to determine the verification result of the falling edge recognition type, wherein the current verification result includes any one of fault verification and normal verification.

[0048] Through the above technical solution, compared with the single edge type recognition mode, the phase deviations of two edge types are recognized at the same time, and the phase deviation of another edge type is used to verify the current edge recognition type, which improves the comprehensiveness of edge recognition, can cover all edge recognition modes, and verifies the accuracy of the current edge recognition mode to avoid the use of incorrect edge recognition types.

[0049] According to the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, specifically including: according to the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the phase absolute difference corresponding to the current edge recognition type and the specified edge recognition type is determined; through the pre-set phase absolute difference threshold and the phase absolute difference, the current edge recognition type is verified to determine the current verification result.

[0050] In one embodiment of the present specification, according to the current crankshaft camshaft phase deviation ΔP1 and the specified crankshaft camshaft phase deviation ΔP2, the phase absolute difference ΔP corresponding to the current edge recognition type and the specified edge recognition type is determined, wherein ΔP = |ΔP1| - |ΔP2|. The current edge recognition type is verified by the pre-set phase absolute difference threshold ΔPmax and the phase absolute difference, and the current verification result is determined.

[0051] In one embodiment of the present specification, first, the positive and negative values of ΔP are judged. When the current crankshaft camshaft phase deviation ΔP1 is not greater than the specified crankshaft camshaft phase deviation ΔP2, that is, ΔP is not greater than 0, it is determined that the current edge recognition type is normal verification. When the current crankshaft camshaft phase deviation ΔP1 is greater than the specified crankshaft camshaft phase deviation ΔP2, that is, ΔP is greater than 0, the relationship between ΔP and the phase absolute difference threshold ΔPmax is judged. When ΔP is greater than the phase absolute difference threshold ΔPmax, it is determined that the current edge recognition type is fault verification.

[0052] Before the current edge recognition type is verified by the pre-set phase absolute difference threshold and the phase absolute difference to determine the current verification result, the method further comprises: determining the specified structural parameters of the engine, so as to determine the theoretical phase corresponding relationship corresponding to the engine by the specified structural parameters, wherein the theoretical phase corresponding relationship is used to represent the phase corresponding relationship of the camshaft speed signal and the crankshaft speed signal; and performing edge recognition type simulation according to the theoretical phase corresponding relationship corresponding to the engine, so as to set the phase absolute difference threshold.

[0053] In one embodiment of the present specification, when the phase absolute difference threshold is pre-set, it should be set in combination with the structural parameters of the engine. The specified structural parameters of the current engine are determined, and the specified structural parameters herein include the structural parameters of the crankshaft and the camshaft. The phase corresponding relationship of the camshaft speed signal and the crankshaft speed signal is determined by the specified structural parameters, for example, in a four-stroke engine, the camshaft is half of the crankshaft speed. The edge recognition type simulation is performed according to the theoretical phase corresponding relationship corresponding to the engine, so as to set the phase absolute difference threshold.

[0054] The edge recognition type simulation is performed according to the theoretical phase corresponding relationship corresponding to the engine, so as to set the phase absolute difference threshold, and specifically comprises: performing phase absolute difference simulation on the camshaft speed signal and the crankshaft speed signal according to the theoretical phase corresponding relationship and a pre-set edge recognition type simulation scheme, to determine the theoretical maximum phase absolute difference corresponding to the edge recognition type simulation scheme; and determining the phase absolute difference threshold based on the theoretical maximum phase absolute difference.

[0055] In one embodiment of the present specification, an abnormal edge recognition type simulation scheme is pre-set. The abnormal edge recognition type simulation scheme here can be a rising edge recognition type simulation. Through rising edge recognition, the phase absolute difference is calculated based on the camshaft speed signal and the crankshaft speed signal to determine the theoretical maximum phase absolute difference corresponding to the rising edge recognition type. Figure 2 This is an example diagram of an original crankshaft signal, a camshaft signal, and an edge processing type provided in the embodiment of this specification. The edge processing type here can also be called an edge recognition type. Figure 2 In the example shown, a crankshaft angle of 6° is assumed. Figure 2 It can be seen that the ratio of the number of camshaft signals to the number of crankshaft signals is 1:2, so one camshaft represents 12°. Furthermore, if the correct edge recognition type is a falling edge, and the incorrect edge recognition type is a rising edge, the crankshaft-camshaft phase deviation ΔP1 is close to 0. If the incorrect edge recognition type is used, assuming ΔP1 is 13° under the incorrect edge processing type, and the corresponding crankshaft-camshaft phase deviation ΔP2 is 1° under the other edge recognition type, the absolute phase difference between the two in the extreme case, |ΔP1| — |ΔP2|, is 12°. The absolute phase difference threshold is determined based on the theoretical maximum absolute phase difference.

[0056] In one embodiment of the present specification, the theoretical maximum absolute phase difference is adjusted based on empirical data to determine the absolute phase difference threshold, which can be set to a value slightly smaller than the theoretical maximum absolute phase difference, for example, 11°.

[0057] Through the above technical solution, the phase deviations of the two edge types are calculated simultaneously, and the phase deviation result of the other edge recognition type is used to calibrate the current edge recognition type. This can not only verify the edge recognition type, but also synchronously obtain the phase deviation corresponding to the correct edge recognition type, thereby ensuring the accuracy of the phase deviation and further ensuring the synchronization of the engine speed.

[0058] Step S104 , when the current verification result of the current edge recognition type is a fault verification, the current edge recognition type is switched, and a designated edge recognition type is determined to perform edge recognition on the camshaft speed signal using the designated edge recognition type.

[0059] In one embodiment of the present specification, when the current verification result of the current edge recognition type is a fault verification, the current edge recognition type is switched to a specified edge recognition type, that is, the current edge recognition type is switched to another edge recognition type, and the camshaft speed signal is recognized by the other edge recognition type. In this process, the phase deviation of the two edge types is recognized and calculated respectively, and the deviation comparison is made, when the phase deviation of the calibration edge type is greater than that of the other edge type, a fault is reported, and the calibration edge type is automatically switched, which improves the accuracy of the phase deviation.

[0060] Based on the current crankshaft camshaft phase deviation, the current edge recognition type is verified, and after determining the current verification result, the method further comprises: when the current verification result of the current edge recognition type is normal verification, the camshaft speed signal is recognized by the current edge recognition type.

[0061] In one embodiment of the present specification, when the current verification result of the current edge recognition type is normal verification, the camshaft speed signal is recognized by the current edge recognition type to determine the phase deviation under the current edge recognition type.

[0062] Through the above technical solution, the speed signal comparison set meets the needs of various implementation requirements at the software program level; compared with the single edge recognition type, the verification step of the edge recognition type is added in the process of edge recognition, the accuracy of the current edge recognition type is verified, the use of the wrong edge recognition type is avoided, and the accuracy of the edge recognition type is further ensured; in the case of edge recognition type fault, another edge recognition type is automatically updated, the phase deviations of the two edge types are calculated at the same time, the correct phase deviation corresponding to the edge recognition type can be obtained synchronously, and the accuracy of the phase deviation is ensured, and the synchronization of the engine speed is further ensured.

[0063] The present specification also provides a verification device for camshaft speed signal edge recognition, such as Figure 3As shown, the device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: collect a current camshaft speed signal and a current crankshaft speed signal of an engine, to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase recognition on the speed signal comparison set by a current edge recognition type to determine a corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type comprises any one of rising edge recognition and falling edge recognition; verify the current edge recognition type based on the current crankshaft camshaft phase deviation to determine a current verification result corresponding to the current edge recognition type; when the current verification result of the current edge recognition type is a fault verification, switch the current edge recognition type to determine a specified edge recognition type, to perform edge recognition on the camshaft speed signal by the specified edge recognition type.

[0064] The embodiments of the present specification also provide a non-volatile computer storage medium, which stores computer executable instructions, and the computer executable instructions are configured to: collect a current camshaft speed signal and a current crankshaft speed signal of an engine, to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase recognition on the speed signal comparison set by a current edge recognition type to determine a corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type comprises any one of rising edge recognition and falling edge recognition; verify the current edge recognition type based on the current crankshaft camshaft phase deviation to determine a current verification result corresponding to the current edge recognition type; when the current verification result of the current edge recognition type is a fault verification, switch the current edge recognition type to determine a specified edge recognition type, to perform edge recognition on the camshaft speed signal by the specified edge recognition type.

[0065] Each of the embodiments in the present specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each of the embodiments focuses on the difference from other embodiments. In particular, for the device, the apparatus, and the non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the related parts can be referred to the part of the method embodiments.

[0066] The above described embodiments of the present specification. Other embodiments are within the scope of the following claims. In some cases, the acts or steps recited in the claims can be performed in a different order than those in the embodiments and still achieve desirable results. Additionally, the processes depicted in the accompanying figures do not necessarily require the particular order shown or sequential order to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous or necessary.

[0067] The device and medium provided by the embodiments of the present specification are one-to-one corresponding with the method, therefore, the device and medium also have similar beneficial technical effects as the method corresponding thereto, since the beneficial technical effects of the method have been described in detail above, therefore, the beneficial technical effects of the device and medium will not be described here again.

[0068] Those skilled in the art will understand that the embodiments of the present specification can be provided as a method, system, or computer program product. Therefore, the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROMs, optical storage devices, etc.) containing computer usable program code.

[0069] The present specification is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiments of the present specification. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as a combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 means for performing the function specified by one or more blocks.

[0070] These computer program instructions can also be stored in a computer-readable memory that can direct the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including instruction means, which implements the functions specified in the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0071] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 Figure 1

[0072] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0073] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) about which the processor can execute instructions. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), flash memory, or other memory technologies, CD-ROM, digital versatile disc (DVD), or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information for access by a computing device. In no case does the medium include a transitory signal.

[0074] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically programmable read only memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information that can be accessed by a computing device. According to the definition herein, computer readable media does not include transitory media such as modulated data signals and carrier waves.

[0075] It should also be noted that the terms "comprising," "including," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not include only those elements recited, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without further limitation, an element preceded by "comprises a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article or apparatus that includes the recited element.

[0076] ​​The above merely provides one or more embodiments of the present specification and is not intended to limit the present specification. One of ordinary skill in the art can make various modifications and changes to one or more embodiments of the present specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of claims of the present specification.

Claims

1. A method of verifying a camshaft speed signal edge recognition, characterized by, The method comprises: collecting a current camshaft speed signal and a current crankshaft speed signal of an engine to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; phase recognition is performed on the speed signal comparison set by a current edge recognition type to determine a corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type comprises any one of rising edge recognition and falling edge recognition; based on the current crankshaft camshaft phase deviation, the current edge recognition type is verified to determine a current verification result corresponding to the current edge recognition type; when the current verification result of the current edge recognition type is a fault verification, the current edge recognition type is switched to determine a specified edge recognition type, and the camshaft speed signal is edge-recognized by the specified edge recognition type.

2. The method of claim 1, wherein, based on the current crankshaft camshaft phase deviation, the current edge recognition type is verified to determine a current verification result, specifically comprising: phase recognition is performed on the speed signal comparison set by a predetermined specified edge recognition type to determine a corresponding specified crankshaft camshaft phase deviation; based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the current edge recognition type is verified to determine a current verification result, wherein the current verification result comprises any one of fault verification and normal verification.

3. The method of claim 2, wherein, based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the current edge recognition type is verified to determine a current verification result, specifically comprising: based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, a phase absolute difference value corresponding to the current edge recognition type and the specified edge recognition type is determined; based on a pre-set phase absolute difference value threshold and the phase absolute difference value, the current edge recognition type is verified to determine a current verification result.

4. The method of claim 3, wherein, Before verifying the current edge recognition type based on the pre-set phase absolute difference value threshold and the phase absolute difference value to determine a current verification result, the method further comprises: determining a specified structural parameter of the engine to determine a theoretical phase correspondence relationship corresponding to the engine by the specified structural parameter, wherein the theoretical phase correspondence relationship is used to represent a phase correspondence relationship of a camshaft speed signal and a crankshaft speed signal; based on the theoretical phase correspondence relationship corresponding to the engine, edge recognition type simulation is performed to set the phase absolute difference value threshold.

5. The method of claim 4, wherein, based on the theoretical phase correspondence relationship corresponding to the engine, edge recognition type simulation is performed to set the phase absolute difference value threshold, specifically comprising: based on the theoretical phase correspondence relationship and a pre-set edge recognition type simulation scheme, phase absolute difference value simulation is performed on the camshaft speed signal and the crankshaft speed signal to determine a theoretical maximum phase absolute difference value corresponding to the edge recognition type simulation scheme; based on the theoretical maximum phase absolute difference value, the phase absolute difference value threshold is determined.

6. The method of verifying a camshaft speed signal edge identification of claim 1, wherein, The current edge recognition type is used to identify the phase of the speed signal contrast set to determine the corresponding current crankshaft-camshaft phase deviation, and specifically includes: The current edge recognition type is used to determine the corresponding identification timestamp; Based on the identification timestamp, the identification camshaft signal timestamp and the identification crankshaft signal timestamp are determined in the speed signal contrast set, so as to determine the current crankshaft-camshaft time difference; According to the current crankshaft-camshaft time difference, the corresponding current crankshaft-camshaft phase deviation is determined.

7. The method of claim 1, wherein, Based on the current camshaft speed signal and the current crankshaft speed signal, the speed signal contrast set is determined, specifically including: The current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal corresponding to the feature tooth are determined; According to the current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal, the speed signal contrast set corresponding to the current camshaft speed signal and the current crankshaft speed signal is generated.

8. The method of claim 1, wherein, Based on the current crankshaft-camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, and the method further includes: When the current verification result of the current edge recognition type is normal verification, the current edge recognition type is used to identify the edge of the camshaft speed signal.

9. A verification device for camshaft speed signal edge recognition, characterized in that The device includes: At least one processor; and The memory is in communication with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Collect the current camshaft speed signal and the current crankshaft speed signal of the engine to determine the speed signal contrast set based on the current camshaft speed signal and the current crankshaft speed signal; The current edge recognition type is used to identify the phase of the speed signal contrast set to determine the corresponding current crankshaft-camshaft phase deviation, and specifically includes: The current edge recognition type is used to determine the corresponding identification timestamp; Based on the identification timestamp, the identification camshaft signal timestamp and the identification crankshaft signal timestamp are determined in the speed signal contrast set, so as to determine the current crankshaft-camshaft time difference; 10. A non-transitory computer storage medium storing computer-executable instructions that, when executed, cause a computer to perform: According to the current crankshaft-camshaft time difference, the corresponding current crankshaft-camshaft phase deviation is determined. Based on the current camshaft speed signal and the current crankshaft speed signal, the speed signal contrast set is determined, specifically including: The current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal corresponding to the feature tooth are determined; According to the current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal, the speed signal contrast set corresponding to the current camshaft speed signal and the current crankshaft speed signal is generated. Based on the current crankshaft-camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, and the method further includes: When the current verification result of the current edge recognition type is normal verification, the current edge recognition type is used to identify the edge of the camshaft speed signal. The device includes: At least one processor; and The memory is in communication with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Collect the current camshaft speed signal and the current crankshaft speed signal of the engine to determine the speed signal contrast set based on the current camshaft speed signal and the current crankshaft speed signal; The current edge recognition type is used to identify the phase of the speed signal contrast set to determine the corresponding current crankshaft-camshaft phase deviation, and specifically includes: The current edge recognition type is used to determine the corresponding identification timestamp; Based on the identification timestamp, the identification camshaft signal timestamp and the identification crankshaft signal timestamp are determined in the speed signal contrast set, so as to determine the current crankshaft-camshaft time difference; According to the current crankshaft-camshaft time difference, the corresponding current crankshaft-camshaft phase deviation is determined. Based on the current camshaft speed signal and the current crankshaft speed signal, the speed signal contrast set is determined, specifically including: The current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal corresponding to the feature tooth are determined; According to the current camshaft feature tooth speed signal and the current crankshaft feature tooth speed signal, the speed signal contrast set corresponding to the current camshaft speed signal and the current crankshaft speed signal is generated. Based on the current crankshaft-camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, and the method further includes: When the current verification result of the current edge recognition type is normal verification, the current edge recognition type is used to identify the edge of the camshaft speed signal. Verify the current edge recognition type based on the current crankshaft-camshaft phase deviation, to determine a current verification result corresponding to the current edge recognition type; When the current verification result of the current edge recognition type is a fault verification, switch the current edge recognition type, to determine a specified edge recognition type, so as to perform edge recognition on the camshaft speed signal through the specified edge recognition type.

Citation Information

Patent Citations

  • Method for camshaft signal processing and quick phase determining of electronic control diesel engine

    CN105736157A

  • Engine rotation speed signal fault processing apparatus and processing method

    CN106285979A