Calibration method and device for cam shaft rotating speed signal edge recognition and storage medium
By collecting and comparing the engine speed signal, the edge recognition type is automatically switched to solve the problem of excessive phase deviation in the edge recognition of the camshaft speed signal, ensuring engine speed synchronization and stable starting.
Patent Information
- Application Number
- CN202410690214.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-05-30
AI Technical Summary
During the edge identification process of the camshaft speed signal, the wrong edge identification type leads to excessive phase deviation between the crankshaft and the camshaft, which affects the engine speed synchronization and leads to problems such as difficulty in starting the engine occasionally.
By collecting the current camshaft speed signal and crankshaft speed signal of the engine, the speed signal comparison set is determined, multiple edge recognition types are used for phase identification and verification, and the correct edge recognition type is automatically switched to ensure the accuracy of the phase deviation.
It improves the accuracy of edge recognition, avoids the use of wrong edge recognition types, ensures the synchronization of engine speed, and reduces the occurrence of difficulty in starting the engine.
Smart Images

Figure CN118640109A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engine control technology, and in particular to a verification method, device and storage medium for edge recognition of a camshaft speed signal. Background Art
[0002] In modern automobile engine control systems, the speed signal, as an important input parameter of the engine controller (ECU), 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 precise calculation of the engine injection / ignition sequence and timing, as well as the synchronous control of the engine speed.
[0003] In the processing of 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 where the signal changes from low level to high level, while the falling edge is the critical point where the signal changes from high level to low level. These two edge points are important references for the ECU to judge the change of camshaft position and speed. If the ECU adopts the wrong edge recognition method, it may cause the phase deviation of the crankshaft and camshaft to be too large, which will affect the synchronous control of engine speed. In severe cases, incorrect edge recognition may cause the engine controller to fail to synchronize the crankshaft and camshaft correctly, resulting in difficulty or failure to start the engine. In addition, inaccurate injection / ignition sequence and timing may cause incomplete combustion, thereby increasing emissions and reducing fuel economy.
[0004] Therefore, during the edge recognition process of the camshaft speed signal, the camshaft and the camshaft may be at risk of excessive phase deviation due to the limitation of the wrong edge recognition type, thereby affecting the engine speed synchronization and causing occasional engine starting difficulties. Summary of the invention
[0005] One or more embodiments of the present specification provide a verification method, device and storage medium for edge recognition of a camshaft speed signal, which are used to solve the following technical problems: during the edge recognition process of the camshaft speed signal, due to the limitation of the wrong edge recognition type, there is a risk of excessive phase deviation between the crankshaft and the camshaft, which in turn affects the engine speed synchronization and causes occasional engine starting difficulties and other problems.
[0006] One or more embodiments of this specification adopt the following technical solutions:
[0007] One or more embodiments of the present specification provide a method for verifying edge identification of a camshaft speed signal, the method comprising: collecting a current camshaft speed signal and a current crankshaft speed signal of an engine, and determining a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; performing phase identification on the speed signal comparison set through a current edge identification type, and determining a corresponding current crankshaft-camshaft phase deviation, wherein the current edge identification type includes any one of rising edge identification and falling edge identification; verifying the current edge identification type based on the current crankshaft-camshaft phase deviation, and determining a current verification result corresponding to the current edge identification type; when the current verification result of the current edge identification type is a fault verification, switching the current edge identification type, and determining a specified edge identification type, and performing edge identification on the camshaft speed signal through the specified edge identification type.
[0008] Furthermore, based on the current crankshaft camshaft phase deviation, the current edge identification type is verified to determine a current verification result, specifically including: performing phase identification on the speed signal comparison set through a predetermined specified edge identification type to determine the corresponding specified crankshaft camshaft phase deviation; verifying the current edge identification 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 a fault check and a normal check.
[0009] Furthermore, based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the current edge identification type is verified to determine the current verification result, specifically including: determining the phase absolute difference corresponding to the current edge identification type and the specified edge identification type based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation; verifying the current edge identification type by using a pre-set phase absolute difference threshold and the phase absolute difference to determine the current verification result.
[0010] Furthermore, the current edge recognition type is verified by a pre-set phase absolute difference threshold and the phase absolute difference. Before determining the current verification result, the method also includes: determining the specified structural parameters of the engine to determine the theoretical phase correspondence corresponding to the engine through the specified structural parameters, wherein the theoretical phase correspondence is used to represent the phase correspondence between the camshaft speed signal and the crankshaft speed signal; and performing edge recognition type simulation according to the theoretical phase correspondence corresponding to the engine to set the phase absolute difference threshold.
[0011] Furthermore, according to the theoretical phase correspondence corresponding to the engine, an edge recognition type simulation is performed to set the phase absolute difference threshold, specifically including: according to the theoretical phase correspondence and a preset edge recognition type simulation scheme, a phase absolute difference simulation is performed on the camshaft speed signal and the crankshaft speed signal to determine the theoretical maximum phase absolute difference corresponding to the edge recognition type simulation scheme; based on the theoretical maximum phase absolute difference, the phase absolute difference threshold is determined.
[0012] Furthermore, through the current edge recognition type, phase recognition is performed on the speed signal comparison set to determine the corresponding current crankshaft-camshaft phase deviation, specifically including: determining the corresponding identification timestamp through the current edge recognition type; based on the identification timestamp, determining the identification camshaft signal timestamp and the identification crankshaft signal timestamp in the speed signal comparison set to facilitate determining the current crankshaft-camshaft time difference; and determining the corresponding current crankshaft-camshaft phase deviation based on the current crankshaft-camshaft time difference.
[0013] Furthermore, based on the current camshaft speed signal and the current crankshaft speed signal, a speed signal comparison set is determined, specifically including: determining the current camshaft characteristic tooth speed signal and the current crankshaft characteristic tooth speed signal corresponding to the characteristic tooth; and generating a speed signal comparison set corresponding to the current camshaft speed signal and the current crankshaft speed signal according to the current camshaft characteristic tooth speed signal and the current crankshaft characteristic tooth speed signal.
[0014] Furthermore, 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 includes: when the current verification result of the current edge recognition type is a normal verification, edge recognition is performed 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 edge recognition of a camshaft speed signal, including:
[0016] at least one processor; and,
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0019] Collect the current camshaft speed signal and the current crankshaft speed signal of the engine to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase identification on the speed signal comparison set through the current edge recognition type to determine the corresponding current crankshaft-camshaft phase deviation, wherein the current edge recognition type includes any one of rising edge recognition and falling edge recognition; based on the current crankshaft-camshaft phase deviation, verify the current edge recognition type to determine 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, switch the current edge recognition type to determine the specified edge recognition type, so as to perform edge recognition on the camshaft speed signal through the specified edge recognition type.
[0020] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:
[0021] Collect the current camshaft speed signal and the current crankshaft speed signal of the engine to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase identification on the speed signal comparison set through the current edge recognition type to determine the corresponding current crankshaft-camshaft phase deviation, wherein the current edge recognition type includes any one of rising edge recognition and falling edge recognition; based on the current crankshaft-camshaft phase deviation, verify the current edge recognition type to determine 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, switch the current edge recognition type to determine the specified edge recognition type, so as to perform edge recognition on the camshaft speed signal through the specified edge recognition type.
[0022] At least one of the above-mentioned technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects: through the above-mentioned technical solution, through the speed signal comparison set, various implementation requirements at the software program level are met; compared with the single edge type identification method, an edge identification type verification step is added in the edge identification process to verify the accuracy of the current edge identification method, thereby avoiding the use of the wrong edge identification type and further ensuring the accuracy of the edge identification type; in the event of an edge identification type failure, it is automatically updated to another edge identification type, and the phase deviations of the two edge types are calculated at the same time, so that the phase deviation corresponding to the correct edge identification type can be obtained synchronously, thereby ensuring the accuracy of the phase deviation and further ensuring the synchronization of the engine speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0024] Figure 1 A schematic flow chart of a verification method for edge recognition of a camshaft speed signal provided in an embodiment of this specification;
[0025] Figure 2 An example diagram of a raw crankshaft signal, a camshaft signal, and an edge processing type provided in an embodiment of this specification;
[0026] Figure 3 A schematic diagram of the structure of a camshaft speed signal edge recognition verification device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0028] In modern automobile engine control systems, the speed signal, as an important input parameter of the engine controller (ECU), 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 precise calculation of the engine injection / ignition sequence and timing, as well as the synchronous control of the engine speed.
[0029] In the processing of camshaft speed signals, edge recognition is a crucial link. The edge recognition of camshaft speed signals is divided into rising edge recognition and falling edge recognition. The rising edge refers to the critical point where the signal changes from low level to high level, while the falling edge is the critical point where the signal changes from high level to low level. These two edge points are important references for the ECU to judge the change of camshaft position and speed. If the ECU uses the wrong edge recognition method, it may cause the crankshaft and camshaft phase deviation to be too large, thus affecting the synchronous control of engine speed. In severe cases, incorrect edge recognition may cause the engine controller to fail to correctly synchronize the crankshaft and camshaft, resulting in difficulty or failure to start the engine. In addition, inaccurate injection / ignition sequence and timing may lead to incomplete combustion, thereby increasing emissions and reducing fuel economy.
[0030] Therefore, during the edge recognition process of the camshaft speed signal, the camshaft and the camshaft may be at risk of excessive phase deviation due to the limitation of the wrong edge recognition type, thereby affecting the engine speed synchronization and causing occasional engine starting difficulties.
[0031] The embodiment of this specification provides a verification method for edge recognition of a camshaft speed signal. It should be noted that the execution subject in the embodiment of this specification can be a server or any device with data processing capabilities. Figure 1 A flow chart of a verification method for edge recognition of a camshaft speed signal provided in an embodiment of this specification is shown as follows: Figure 1 As shown, it mainly includes the following steps:
[0032] Step S101 : collecting a current camshaft speed signal and a current crankshaft speed signal of the engine, and determining a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal.
[0033] In one embodiment of the present specification, a camshaft speed sensor suitable for the engine type, such as a magnetoelectric 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 part of the engine, which bears the force transmitted by the connecting rod, converts it into torque, outputs it through the crankshaft and drives other accessories on the engine to work. The camshaft is one of the important components in the piston engine. The opening and closing of the valve is controlled by the rotation of the camshaft. The camshaft in the four-stroke engine is half the speed of the crankshaft. The sensor converts the sensed rotation of the camshaft and crankshaft 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, so as 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 crankshaft in real time, the running state of the engine can be monitored in real time and potential problems can be discovered in time.
[0034] Based on the current camshaft speed signal and the current crankshaft speed signal, a speed signal comparison set is determined, specifically including: determining the current camshaft characteristic tooth speed signal and the current crankshaft characteristic tooth speed signal corresponding to the characteristic tooth; based on the current camshaft characteristic tooth speed signal and the current crankshaft characteristic tooth speed signal, generating a speed signal comparison set corresponding to the current camshaft speed signal and the current crankshaft speed signal.
[0035] In one embodiment of the present specification, a signal pair is set for the current camshaft speed signal and the current crankshaft speed signal in the form of characteristic teeth. First, multiple current camshaft characteristic tooth speed signals of the characteristic teeth in the current camshaft speed signal and multiple current crankshaft speed signals in the current crankshaft speed signal are determined. After that, a characteristic point pair is established between each current camshaft characteristic tooth speed signal and the current crankshaft speed signal to construct a 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 characteristic points and crankshaft characteristic points, the camshaft characteristic points include camshaft speed signals and corresponding time data, and the crankshaft characteristic points include crankshaft speed signals and corresponding time data.
[0036] In addition to the above methods, the speed signal comparison set can also be determined by aligning the signal waveform. The camshaft in a four-stroke engine has half the speed of the crankshaft. According to the speed relationship between the crankshaft and the camshaft, the speed signal waveform is aligned to determine the speed signal comparison set. In this case, the speed signal comparison set includes the waveform of the current camshaft speed signal and the waveform corresponding to the current crankshaft speed signal. It should be noted that the obtained speed signal comparison set includes multiple speed signals after the speed phase is synchronized within the allowable error range, which is itself limited by the engine installation parameters and has an allowable error range.
[0037] Through the above technical solution, by providing various forms of speed signal comparison sets, subsequent identification can be performed through waveform processing or data processing, meeting various implementation requirements at the software program level.
[0038] Step S102 , performing phase recognition on the speed signal comparison set through the current edge recognition type to determine the corresponding current crankshaft-camshaft phase deviation.
[0039] The current edge recognition type includes any one of rising edge recognition and falling edge recognition.
[0040] In one embodiment of the present specification, phase recognition is performed on the speed signal comparison set through the current edge recognition type. Generally, the current edge recognition type is usually falling edge recognition, and the corresponding current crankshaft camshaft phase deviation is determined through falling edge recognition, so that the current crankshaft camshaft phase deviation can be used to calibrate the current edge recognition type.
[0041] Through the current edge recognition type, phase recognition is performed on the speed signal comparison set to determine the corresponding current crankshaft camshaft phase deviation, specifically including: determining the corresponding identification timestamp through the current edge recognition type; based on the identification timestamp, determining the identification camshaft signal timestamp and the identification crankshaft signal timestamp in the speed signal comparison set to facilitate determining the current crankshaft camshaft time difference; according to the current crankshaft camshaft time difference, determining the corresponding current crankshaft camshaft phase deviation.
[0042] In one embodiment of the present specification, the speed signal comparison set is phase identified by falling edge identification to determine the phase difference between the camshaft speed signal and the crankshaft speed signal. First, the corresponding identification timestamp is determined by falling edge identification. The identification timestamp here is a time point. An edge detection algorithm is written in the ECU to detect the falling edge of the crankshaft and camshaft 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 a time point when the sensor is passed. According to the recorded falling edge timestamp, the speed cycle of the crankshaft and camshaft is determined. A synchronized 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, check whether the crankshaft signal and the camshaft signal have a falling edge, and record the number of clock cycles when the falling edge occurs. It is assumed that the crankshaft and the camshaft are aligned in the initial state, that is, the phase difference is within the allowable error range. According to the number of recorded falling edge clock cycles, the relative time difference between the crankshaft signal and the camshaft signal is calculated, that is, the current crankshaft camshaft time difference. Since the speeds of the crankshaft and 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 camshaft may change due to 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 value of the crankshaft-camshaft phase deviation.
[0043] Through the above technical scheme, edge recognition is performed through 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 piston work together at the correct time, thereby improving combustion efficiency, increasing the output power and torque of the engine, and helping 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 camshaft, abnormal conditions in engine operation, such as valve timing errors or sensor failures, can be discovered in time, thereby improving the accuracy of fault diagnosis and reducing the possibility of false alarms and missed alarms, thereby resolving engine problems more quickly and avoiding further damage.
[0044] Step S103, based on the current crankshaft camshaft phase deviation, verify the current edge recognition type and determine the current verification result corresponding to the current edge recognition type.
[0045] Generally, the edge recognition type of falling edge recognition is usually used for phase synchronization recognition. However, in the actual recognition process, there may be a problem of inconsistent recognition types at the implementation level, which leads to the use of the wrong edge recognition type and affects the accuracy of edge recognition.
[0046] Based on the current crankshaft camshaft phase deviation, the current edge identification type is verified to determine the current verification result, which specifically includes: performing phase identification on the speed signal comparison set through a predetermined specified edge identification type to determine the corresponding specified crankshaft camshaft phase deviation; based on the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation, the current edge identification type is verified to determine the current verification result, wherein the current verification result includes any one of a fault check and a normal check.
[0047] In one embodiment of the present specification, in order to avoid using an incorrect edge recognition type for edge recognition, another edge recognition type is predetermined. When the current edge recognition type is a falling edge recognition type, the designated edge recognition type here is a rising edge recognition type; when the current edge recognition type is a rising edge recognition type, the designated edge recognition type here is a falling edge recognition type. Here, the designated edge recognition type is a rising edge recognition type as an example for explanation. By using the edge recognition type of rising edge recognition, phase recognition is performed on the speed signal comparison set to determine the designated crankshaft camshaft phase deviation corresponding to the rising edge recognition type. Using the designated crankshaft camshaft phase deviation corresponding to the rising edge recognition type, the current crankshaft camshaft phase deviation corresponding to the falling edge recognition type is verified to determine the verification result of the falling edge recognition type, wherein the current verification result includes any one of a fault verification and a normal verification.
[0048] Through the above technical solution, compared with the method of single edge type identification, the phase deviations of two edge types are identified at the same time, and the current edge identification type is verified in combination with the phase deviation of another edge type identification, thereby improving the comprehensiveness of edge identification, covering all edge identification methods, and verifying the accuracy of the current edge identification method to avoid using the wrong edge recognition type.
[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: determining the phase absolute difference corresponding to the current edge recognition type and the specified edge recognition type according to the current crankshaft camshaft phase deviation and the specified crankshaft camshaft phase deviation; verifying the current edge recognition type by using a pre-set phase absolute difference threshold and the phase absolute difference to determine the current verification result.
[0050] In one embodiment of the present specification, the phase absolute difference ΔP corresponding to the current edge recognition type and the specified edge recognition type is determined according to the current crankshaft camshaft phase deviation ΔP1 and the specified crankshaft camshaft phase deviation ΔP2, wherein ΔP=|ΔP1|-|ΔP2|. The current edge recognition type is verified by a preset phase absolute difference threshold ΔPmax and the phase absolute difference to determine the current verification result.
[0051] In one embodiment of the present specification, the positive and negative values of ΔP are first determined. 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, the current edge recognition type is determined to be 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 determined. When ΔP is greater than the phase absolute difference threshold Δpmax, the current edge recognition type is determined to be fault verification.
[0052] The current edge recognition type is verified by using a preset phase absolute difference threshold and the phase absolute difference. Before determining the current verification result, the method also includes: determining the specified structural parameters of the engine to determine the theoretical phase correspondence corresponding to the engine through the specified structural parameters, wherein the theoretical phase correspondence is used to represent the phase correspondence between the camshaft speed signal and the crankshaft speed signal; and performing edge recognition type simulation according to the theoretical phase correspondence corresponding to the engine 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 here include the structural parameters of the crankshaft and the camshaft. Through the specified structural parameters, the phase correspondence between the camshaft speed signal and the crankshaft speed signal is determined. For example, in a four-stroke engine, the camshaft is half the crankshaft speed. According to the theoretical phase correspondence corresponding to the engine, an edge recognition type simulation is performed to set the phase absolute difference threshold.
[0054] According to the theoretical phase correspondence corresponding to the engine, an edge recognition type simulation is performed to set the phase absolute difference threshold, specifically including: according to the theoretical phase correspondence and a preset edge recognition type simulation scheme, a phase absolute difference simulation is performed on the camshaft speed signal and the crankshaft speed signal to determine the theoretical maximum phase absolute difference corresponding to the edge recognition type simulation scheme; based on the theoretical maximum phase absolute difference, the phase absolute difference threshold is determined.
[0055] In one embodiment of the present specification, an abnormal edge identification type simulation scheme is pre-set, and the abnormal edge identification type simulation scheme here can be a rising edge identification type simulation. Through rising edge identification, the phase absolute difference calculation is performed according to the camshaft speed signal and the crankshaft speed signal to determine the theoretical maximum phase absolute difference corresponding to the rising edge identification type. Figure 2 This is an example diagram of an original crankshaft signal, a camshaft signal and an edge processing type provided in an 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 crankshaft signals is 1 to 2, so one camshaft is 12°. In addition, the correct edge recognition type is the falling edge recognition type, the wrong edge recognition type is the rising edge recognition type, and the crankshaft-camshaft phase deviation ΔP1 is close to 0. If the wrong edge recognition type is used, assuming that ΔP1 is 13° under the wrong edge processing type, the crankshaft-camshaft phase deviation ΔP2 corresponding to the other edge recognition type is 1°, and the absolute phase difference |ΔP1|—|ΔP2| between the two in extreme cases is 12°. According to the theoretical maximum absolute phase difference, the absolute phase difference threshold is determined.
[0056] In one embodiment of the present specification, the theoretical maximum absolute phase difference is adjusted according to 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 another 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, so as to perform edge recognition on the camshaft speed signal through 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 edge recognized by the other edge recognition type. In this process, the phase deviations of the two edge types are simultaneously identified and calculated, and the deviations are compared. When the phase deviation of the calibrated edge type is greater than that of the other edge type, a fault is reported, and the calibrated edge type is automatically switched, thereby improving the accuracy of the phase deviation.
[0060] Based on the current crankshaft-camshaft phase deviation, the current edge recognition type is verified. After determining the current verification result, the method further includes: when the current verification result of the current edge recognition type is a normal verification, edge recognition is performed on the camshaft speed signal through 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 a normal verification, edge recognition is performed on the camshaft speed signal through the current edge recognition type to determine the phase deviation under the current edge recognition type.
[0062] Through the above technical solution, through the speed signal comparison set, various implementation requirements at the software program level are met; compared with the single edge type identification method, an edge identification type verification step is added in the edge identification process to verify the accuracy of the current edge identification method, avoid the use of the wrong edge identification type, and further ensure the accuracy of the edge identification type; in the event of an edge identification type failure, it is automatically updated to another edge identification type, and the phase deviations of the two edge types are calculated at the same time, so that the phase deviation corresponding to the correct edge identification type can be obtained synchronously, thereby ensuring the accuracy of the phase deviation and further ensuring the synchronization of the engine speed.
[0063] The embodiment of this specification also provides a verification device for edge recognition of camshaft speed signal, such as Figure 3As shown, the device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: collect the current camshaft speed signal and the current crankshaft speed signal of the engine to determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase identification on the speed signal comparison set through the current edge recognition type to determine the corresponding current crankshaft camshaft phase deviation, wherein the current edge recognition type includes any one of rising edge recognition and falling edge recognition; based on the current crankshaft camshaft phase deviation, verify the current edge recognition type to determine 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, switch the current edge recognition type to determine the specified edge recognition type to perform edge recognition on the camshaft speed signal through the specified edge recognition type.
[0064] The embodiments of the present specification also provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to: collect a current camshaft speed signal and a current crankshaft speed signal of the engine, and determine a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal; perform phase identification on the speed signal comparison set through a current edge recognition type, and 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; verify the current edge recognition type based on the current crankshaft camshaft phase deviation, and 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, and determine a specified edge recognition type, so as to perform edge recognition on the camshaft speed signal through the specified edge recognition type.
[0065] Each embodiment in this specification is described in a progressive 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, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0066] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0067] The devices and media provided in the embodiments of this specification correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0068] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may 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-ROM, optical storage, etc.) that contain computer-usable program code.
[0069] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, 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 device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0070] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0072] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0073] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0074] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be 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 erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0075] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0076] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A verification method for edge recognition of camshaft speed signal, It is characterized in that The method comprises: Collecting a current camshaft speed signal and a current crankshaft speed signal of the 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 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; Based on the current crankshaft-camshaft phase deviation, verifying the current edge recognition type, and determining 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, and a designated edge recognition type is determined, so as to perform edge recognition on the camshaft speed signal through the designated edge recognition type.
2. A camshaft speed signal edge recognition verification method according to claim 1, It is characterized in that Based on the current crankshaft-camshaft phase deviation, the current edge recognition type is verified to determine the current verification result, specifically including: Performing phase recognition on the speed signal comparison set by a predetermined designated edge recognition type to determine a corresponding designated crankshaft-camshaft phase deviation; The current edge recognition type is verified according to 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 a fault verification and a normal verification.
3. A camshaft speed signal edge recognition verification method according to claim 2, It is characterized in that 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: Determining a phase absolute difference value corresponding to the current edge recognition type and the specified edge recognition type according to the current crankshaft-camshaft phase deviation and the specified crankshaft-camshaft phase deviation; The current edge recognition type is verified by using a preset phase absolute difference threshold and the phase absolute difference to determine a current verification result.
4. A camshaft speed signal edge recognition verification method according to claim 3, It is characterized in that Verifying the current edge recognition type by using a preset phase absolute difference threshold and the phase absolute difference, and before determining the current verification result, the method further includes: Determining the specified structural parameters of the engine, so as to determine the theoretical phase correspondence relationship corresponding to the engine through the specified structural parameters, wherein the theoretical phase correspondence relationship is used to represent the phase correspondence relationship between the camshaft speed signal and the crankshaft speed signal; According to the theoretical phase correspondence corresponding to the engine, an edge recognition type simulation is performed to set the phase absolute difference threshold.
5. A camshaft speed signal edge recognition verification method according to claim 4, It is characterized in that According to the theoretical phase correspondence relationship corresponding to the engine, edge recognition type simulation is performed to set the phase absolute difference threshold, specifically including: According to the theoretical phase correspondence and the preset edge recognition type simulation scheme, the camshaft speed signal and the crankshaft speed signal are subjected to phase absolute difference simulation to determine the theoretical maximum phase absolute difference corresponding to the edge recognition type simulation scheme; The phase absolute difference threshold is determined based on the theoretical maximum phase absolute difference.
6. A camshaft speed signal edge recognition verification method according to claim 1, It is characterized in that By using the current edge recognition type, phase recognition is performed on the speed signal comparison set to determine the corresponding current crankshaft-camshaft phase deviation, specifically including: Determine a corresponding identification timestamp according to the current edge identification type; Based on the identification timestamp, determining an identification camshaft signal timestamp and an identification crankshaft signal timestamp in the speed signal comparison set, so as to determine a current crankshaft-camshaft time difference; According to the current crankshaft-camshaft time difference, a corresponding current crankshaft-camshaft phase deviation is determined.
7. A camshaft speed signal edge recognition verification method according to claim 1, It is characterized in that Determining a speed signal comparison set based on the current camshaft speed signal and the current crankshaft speed signal specifically includes: Determine a current camshaft characteristic tooth speed signal and a current crankshaft characteristic tooth speed signal corresponding to the characteristic tooth; A speed signal comparison set corresponding to the current camshaft speed signal and the current crankshaft speed signal is generated according to the current camshaft characteristic tooth speed signal and the current crankshaft speed signal.
8. A camshaft speed signal edge recognition verification method according to claim 1, It is characterized in that 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 includes: When the current verification result of the current edge recognition type is a normal verification, edge recognition is performed on the camshaft speed signal using the current edge recognition type.
9. A camshaft speed signal edge recognition verification device, It is characterized in that The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Collecting a current camshaft speed signal and a current crankshaft speed signal of the 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 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; Based on the current crankshaft-camshaft phase deviation, verifying the current edge recognition type, and determining 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, and a designated edge recognition type is determined, so as to perform edge recognition on the camshaft speed signal through the designated edge recognition type.
10. A non-volatile computer storage medium storing computer executable instructions, It is characterized in that The computer executable instructions are configured to: Collecting a current camshaft speed signal and a current crankshaft speed signal of the 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 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; Based on the current crankshaft-camshaft phase deviation, verifying the current edge recognition type, and determining 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, and a designated edge recognition type is determined, so as to perform edge recognition on the camshaft speed signal through the designated 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
Fault limp control method and device for crankshaft and camshaft of engine
CN114673596A
Engine timing abnormity monitoring method and device, vehicle and storage medium
CN115306551A
Optical disk device
JP1999053737A
