Ignition coil diagnosis method and device, computer equipment and storage medium

Through high frequency acquisition and multi-dimensional analysis of engine ignition coil current, the problem of inaccurate detection of ignition coil aging and drive control abnormalities in the existing technology is solved, and accurate fault detection and comprehensive diagnosis of engine ignition coil is realized, and fault diagnosis is improved. accuracy and reliability.

CN118934388APending Publication Date: 2024-11-12E-QUALITY INTELLIGENT TECHNOLOGY WUXI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411030160.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The prior art is difficult to effectively diagnose ignition coil aging and drive control abnormalities, resulting in insufficient precision and comprehensive engine fault detection.

Method used

Through high frequency acquisition and multi-dimensional analysis of the ignition coil current of each cylinder of the engine, the current peak, rise rate, attenuation rate and deviation state are calculated, and the fuel injection volume and ignition advance angle are combined to determine the state of the ignition coil.

Benefits of technology

Accurate fault detection and comprehensive diagnosis of the ignition coil of each cylinder of the engine is achieved, improving the applicability and accuracy of fault diagnosis, reducing maintenance costs, and significantly improving the reliability and accuracy of diagnostic results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118934388A_ABST
    Figure CN118934388A_ABST
Patent Text Reader

Abstract

The invention relates to an ignition coil diagnosis method and device, computer equipment and a storage medium. The method comprises the steps that ignition coil current of each cylinder of an engine is collected according to the collection frequency and the collection time interval; obtaining a current peak value and a secondary current pulse width based on the ignition coil current; obtaining a current rising rate according to the acquisition time and the current peak value of the ignition coil current; obtaining a current attenuation rate according to the ignition coil current and the acquisition time interval; obtaining the deviation state of the ignition coil according to the secondary current pulse width and the current peak value; and judging the state of the ignition coil according to the current rising rate, the current attenuation rate and the deviation state. Acquisition of ignition coil current of each cylinder of an engine is completed within a proper duration resolution, diagnosis of ignition coil current abnormity caused by ignition coil aging, driving control output errors, ignition coil current abnormity and the like is achieved, and the applicability and accuracy of fault diagnosis are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of engine technology, and in particular to an ignition coil diagnosis method, device, computer equipment and storage medium. Background Art

[0002] At present, gasoline engines, natural gas engines and methanol engines all need ignition coils to ignite the fuel and drive the engine, so the ignition coil plays a vital role in the engine. The ignition coil currently used is an integrated ignition coil. In the application process, the ignition of the ignition coil requires the ECU (Engine Control Unit) to magnetize the primary coil of the ignition coil through the drive output port, and then the secondary coil is ignited to realize the entire ignition process.

[0003] Therefore, the diagnostic system of the ignition coil is particularly important for the normal operation of the engine. In traditional technology, the diagnosis of the ignition coil mainly relies on dedicated chips to realize the diagnosis of open circuit, power short circuit and ground short circuit of the ignition coil. It is unable to monitor the faults of ignition coil aging, drive control output errors, and abnormalities that lead to distortion of the ignition coil current waveform. Summary of the invention

[0004] Based on this, it is necessary to provide an ignition coil diagnosis method, device, computer equipment and storage medium that can detect ignition coil aging and drive control abnormality problems in response to the above technical problems.

[0005] In a first aspect, the present application provides an ignition coil diagnosis method. The method comprises:

[0006] The ignition coil current of each cylinder of the engine is collected according to the collection frequency and collection time interval;

[0007] Based on the ignition coil current, the current peak value and the secondary current pulse width are obtained; the current rise rate is obtained according to the acquisition time of the ignition coil current and the current peak value; the current decay rate is obtained according to the ignition coil current and the acquisition time interval; the deviation state of the ignition coil is obtained according to the secondary current pulse width and the current peak value;

[0008] The state of the ignition coil is determined based on the current rise rate, current decay rate and deviation state.

[0009] In one embodiment, the method further comprises:

[0010] After the camshaft and crankshaft of the engine are synchronized, the ignition advance angle of the engine is obtained according to the crankshaft teeth;

[0011] The ignition driving time is obtained based on the ignition advance angle, and the ignition driving is performed at the ignition driving time and the current collection is triggered synchronously.

[0012] In one embodiment, combining the acquisition time and current peak value of the ignition coil current to obtain the current rise rate includes:

[0013] Based on the acquisition time of the ignition coil current, the peak time duration of the ignition coil reaching the current peak value is obtained;

[0014] The current rise rate is obtained based on the ratio of the current peak value to the peak duration of the ignition coil.

[0015] In one embodiment, obtaining the current decay rate according to the ignition coil current and the acquisition time interval includes:

[0016] Select at least two continuous acquisition time intervals to obtain a first ignition coil current and a second ignition coil current; the first ignition coil current and the second ignition coil current are respectively the ignition coil currents at both ends of the continuous acquisition time interval;

[0017] The current decay rate is obtained according to a ratio of a difference between the first ignition coil current and the second ignition coil current to a continuous acquisition time interval.

[0018] In one embodiment, obtaining the deviation state of the ignition coil according to the secondary current pulse width and the current peak value includes:

[0019] Calibrate the deviation threshold between the secondary current pulse width and current peak value of the ignition coil of each cylinder of the engine;

[0020] When the engine is running smoothly, the secondary current pulse width and current peak value of each cylinder ignition coil are collected, and the deviation value of the secondary current pulse width and the deviation value of the current peak value of each cylinder ignition coil are obtained;

[0021] The deviation state of the ignition coil is obtained according to the deviation value of the secondary current pulse width of the ignition coil of each cylinder, the deviation value of the current peak value and the deviation threshold.

[0022] In one embodiment, the method further comprises:

[0023] Obtain the fuel injection amount of the engine, and obtain the secondary current pulse width threshold and the current peak threshold according to the fuel injection amount;

[0024] The threshold state of the ignition coil is obtained according to the relationship between the current peak value of the ignition coil current and the current peak value threshold value and the relationship between the secondary current pulse width and the secondary current pulse width threshold value.

[0025] In one embodiment, the method further comprises:

[0026] According to the engine's ignition advance angle and fuel injection amount, predict the engine's predicted ignition energy;

[0027] Obtain the ignition coil inductance, and combine the ignition coil inductance and the ignition coil current to obtain the actual ignition energy of the current ignition;

[0028] The predicted ignition energy and the actual ignition energy are compared to obtain the ignition energy state of the ignition coil.

[0029] In a second aspect, the present application also provides an ignition coil diagnostic device. The device comprises:

[0030] A collection module, used for collecting the ignition coil current of each cylinder of the engine according to a collection frequency and a collection time interval;

[0031] A processing module is used to obtain a current peak value and a secondary current pulse width based on the ignition coil current; obtain a current rise rate according to the acquisition time of the ignition coil current and the current peak value; obtain a current decay rate according to the ignition coil current and the acquisition time interval; and obtain a deviation state of the ignition coil according to the secondary current pulse width and the current peak value;

[0032] The diagnostic module is used to determine the state of the ignition coil according to the current rise rate, the current decay rate and the deviation state.

[0033] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0034] The ignition coil current of each cylinder of the engine is collected according to the collection frequency and collection time interval;

[0035] Based on the ignition coil current, the current peak value and the secondary current pulse width are obtained; the current rise rate is obtained according to the acquisition time of the ignition coil current and the current peak value; the current decay rate is obtained according to the ignition coil current and the acquisition time interval; the deviation state of the ignition coil is obtained according to the secondary current pulse width and the current peak value;

[0036] The state of the ignition coil is determined based on the current rise rate, current decay rate and deviation state.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0038] The ignition coil current of each cylinder of the engine is collected according to the collection frequency and collection time interval;

[0039] Based on the ignition coil current, the current peak value and the secondary current pulse width are obtained; the current rise rate is obtained according to the acquisition time of the ignition coil current and the current peak value; the current decay rate is obtained according to the ignition coil current and the acquisition time interval; the deviation state of the ignition coil is obtained according to the secondary current pulse width and the current peak value;

[0040] The state of the ignition coil is determined based on the current rise rate, current decay rate and deviation state.

[0041] The above-mentioned ignition coil diagnostic method, device, computer equipment and storage medium realize accurate fault detection and comprehensive diagnosis of the ignition coil of each cylinder of the engine through high-frequency acquisition and multi-dimensional analysis of the ignition coil current, complete the acquisition of the ignition coil current of each cylinder of the engine within an appropriate time resolution, and realize the diagnosis of abnormal ignition coil current caused by ignition coil aging, drive control output errors, abnormal ignition coil current, etc., thereby improving the applicability and accuracy of fault diagnosis; comprehensive detection of the ignition coils of all cylinders of the engine enhances the understanding of the engine status, reduces maintenance costs, and significantly improves the reliability and accuracy of the diagnostic results. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is an application environment diagram of an ignition coil diagnosis method in one embodiment;

[0043] Figure 2 is a flow chart of an ignition coil diagnostic method in one embodiment;

[0044] Figure 3 is a schematic diagram of the structure of an ignition coil control circuit in one embodiment;

[0045] Figure 4 A schematic diagram of the ignition timing of an engine ignition coil in one embodiment;

[0046] Figure 5 is a flow chart of an ignition coil diagnostic method in another embodiment;

[0047] Figure 6 is a structural block diagram of an ignition coil diagnostic device in one embodiment;

[0048] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0050] The ignition coil diagnosis method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0051] In one embodiment, Figure 2 As shown, a method for ignition coil diagnosis is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0052] Step 202: collecting the ignition coil current of each cylinder of the engine according to the collection frequency and the collection time interval.

[0053] Step 204, obtain the current peak value and the secondary current pulse width based on the ignition coil current; obtain the current rise rate according to the acquisition time of the ignition coil current and the current peak value; obtain the current decay rate according to the ignition coil current and the acquisition time interval; obtain the deviation state of the ignition coil according to the secondary current pulse width and the current peak value.

[0054] Step 206 , determining the state of the ignition coil according to the current rising rate, the current decay rate and the deviation state.

[0055] Specifically, using Figure 3The ignition coil control circuit shown collects the ignition coil current of each cylinder of the engine and controls it. The feedback signal of the ignition coil in each cylinder of the engine can be connected to the same ADC (Analog-to-Digital Converter) collection pin of the ECU (Engine Control Unit); the collection frequency and collection time interval of the ignition coil current of each cylinder of the engine are set according to the operating frequency of the engine ignition coil, and the ignition coil current is collected. Exemplarily, the engine is a 6-cylinder engine, and the cylinder ignition sequence is Cyl1-Cyl5-Cyl3-Cyl6-Cyl2-Cyl4 (Cyl is the number of engine cylinders). The ignition coil in Cyl1 starts to be driven to trigger the ADC to collect the ignition coil current. The ADC is collected every 50us. When the ADC channel is collected, the DMA (Direct Memory Access) is triggered to move the collection result of the current ADC channel to the ADC result buffer. This process lasts for 4ms, that is, 80 ADC collection results will be stored in the buffer after a single trigger, so as to complete the collection of the ADC waveform of the Cyl1 ignition coil. Before the ignition coil in Cyl5 is driven to be ignited, the ignition coil current of the secondary coil at every 50us time interval is obtained based on the ADC collection results of the 80 Cyl1 stored in the buffer, and the current peak value and secondary current pulse width of the Cyl1 ignition coil current are obtained. The ignition coil current of each cylinder of the engine is collected in sequence, and the current peak value and secondary current pulse width of the ignition coil current in Cyl1, Cyl5, Cyl3, Cyl6, Cyl2 and Cyl4 are obtained in sequence. The current rise rate is obtained according to the collection time and current peak value of the ignition coil current, the current decay rate is obtained according to the ignition coil current and the collection time interval, and the deviation state of the ignition coil is obtained according to the secondary current pulse width and current peak value. The current rise rate, current decay rate and deviation state of the ignition coil are used as the basis for judging the state of the ignition coil to judge the state of the ignition coil corresponding to each cylinder of the engine.

[0056] In the above-mentioned ignition coil diagnosis method, accurate fault detection and comprehensive diagnosis of the ignition coil of each cylinder of the engine are achieved through high-frequency acquisition and multi-dimensional analysis of the ignition coil current. The acquisition of the ignition coil current of each cylinder of the engine is completed within an appropriate time resolution, and the diagnosis of abnormal ignition coil current caused by ignition coil aging, drive control output errors, abnormal ignition coil current, etc. is realized, thereby improving the applicability and accuracy of fault diagnosis; comprehensive detection of the ignition coils of all cylinders of the engine enhances the understanding of the engine status, reduces maintenance costs, and significantly improves the reliability and accuracy of the diagnostic results.

[0057] In one embodiment, the ignition coil diagnostic method further includes: after the camshaft and crankshaft of the engine are synchronized, obtaining the ignition advance angle of the engine according to the crankshaft teeth; obtaining the ignition drive timing based on the ignition advance angle, performing ignition drive at the ignition drive timing and synchronously triggering current collection.

[0058] The camshaft of the engine is usually located at the top of the engine, directly connected to the valves and valve springs, and is mainly used to control the opening and closing time of the engine valves; the crankshaft of the engine is located at the bottom of the engine, installed on the main bearing of the engine cylinder, and is used to convert the linear reciprocating motion of the pistons into rotational motion, thereby providing power output for the vehicle. It connects all the pistons and transmits the motion of the pistons to the crankshaft through the connecting rod. The crankshaft drives the camshaft through a chain, belt or gear, so that the cam on the camshaft pushes the valve rocker arm in sequence to control the opening and closing of the intake and exhaust valves.

[0059] Specifically, after the camshaft and crankshaft in the engine are synchronized, the current position of the crankshaft is obtained, and the current crankshaft angle is calculated according to the crankshaft teeth. The top dead center position of each cylinder of the engine is determined according to the crankshaft teeth, and the ignition advance angle of the engine is calculated accordingly. The precise ignition timing is calculated by combining the position and speed data of the crankshaft with the preset ignition advance angle. For example, when the top dead center position of the crankshaft is 0 degrees and the ignition advance angle is 15 degrees, the ignition timing is 15 degrees before the crankshaft reaches 0 degrees.

[0060] After the calculated ignition time, the ignition drive signal is triggered and the ignition coil begins to be magnetized; Figure 4 As shown, when the ignition drive signal is at a high level, the ignition coil is magnetized and the current data collected by the ADC of the previous cylinder is calculated and diagnosed; when the ignition drive signal changes from a high level to a low level, the ignition and ADC collection are immediately triggered, and a secondary current is generated at this time.

[0061] In this embodiment, the ignition advance angle is accurately calculated by synchronizing the camshaft and the crankshaft to ensure the accuracy and synchronization of data collection at the ignition drive moment; current collection is triggered at the ignition drive moment to achieve real-time monitoring of the ignition coil status and timely response to abnormal situations.

[0062] In one embodiment, the current rise rate is obtained by combining the collection time and current peak of the ignition coil current, including: obtaining the peak time for the ignition coil to reach the current peak based on the collection time of the ignition coil current; and obtaining the current rise rate based on the ratio of the current peak of the ignition coil to the peak time.

[0063] Specifically, when the engine Cyl1 completes the data collection of the ignition coil current, the buffer stores 80 current collection data with a collection time interval of 50us and a total duration of 4ms. The ignition coil current data of Cyl1 is plotted as an ignition coil current waveform, and the current peak value and the data number of the current peak value are obtained. Since the collection time interval of the Cyl1 ignition coil is 50us, the peak time for the collected current in Cyl1 to reach the current peak value can be obtained according to the data number of the current peak value. According to the ratio of the current peak value of the ignition coil to the peak time, the current rise rate is obtained, as shown in the following formula:

[0064]

[0065] Exemplarily, the ignition coil current in Cyl1 should reach the current peak within 100us. If the peak time to reach the current peak exceeds 100us, it is determined that the current rise rate is too slow, and a current rise rate too slow fault is reported to the controller.

[0066] In this embodiment, by collecting the current peak value and the collection time, the current rise rate is accurately calculated and the current change state is accurately measured; the ignition coil state is judged according to the current rise rate, thereby improving the accuracy of the ignition coil current rise rate fault detection; abnormal conditions are timely identified during the ignition coil current rise process to prevent further expansion of the fault.

[0067] In one embodiment, obtaining the current decay rate according to the ignition coil current and the acquisition time interval includes: selecting at least two consecutive acquisition time intervals to obtain a first ignition coil current and a second ignition coil current; the first ignition coil current and the second ignition coil current are respectively the ignition coil currents at both ends of the consecutive acquisition time interval; and obtaining the current decay rate according to the ratio of the difference between the first ignition coil current and the second ignition coil current to the consecutive acquisition time interval.

[0068] Specifically, after the engine Cyl1 completes the data collection of the ignition coil current, the 80 elements in the buffer are split, with the data at the current peak moment as the first element, and the remaining data element numbers are marked in sequence, with two time intervals as the calculation standard. When the data at the current peak moment is the first ignition coil current, the second ignition coil current is the third element, and the continuous collection time interval is 100us. The first segment current decay rate is obtained according to the ratio of the difference between the first element and the second element and 100us, and the current decay rates of the remaining segments are obtained in sequence. The current decay rate is between 2ms and 3ms, and the decay rate is from fast to slow, and the current decay rates of each segment are compared value by value; when the current decay time is less than 1.5ms, the current decay is too fast fault is reported; when the current decay time exceeds 3.5ms, the current decay is too slow fault is reported; when the current decay rates of each segment do not decay from fast to slow, the current decay rate disorder fault is reported; when the ignition coil current increases during the decay process, and does not decrease in a single item, the current decay reverse fault is reported. The current decay rate is too fast, too slow, disordered, and reverse. Optionally, more than two time intervals are used as calculation criteria to obtain the current decay rate of each section.

[0069] In this embodiment, current data is collected at continuous time intervals to finely monitor the current decay process of the ignition coil; the state of the ignition coil is judged in combination with the current decay rate, so that current decay abnormalities can be discovered in time to avoid further deterioration of the ignition coil fault, and the cause of the ignition coil fault can be judged based on the ignition coil current decay rate.

[0070] In one embodiment, obtaining the deviation state of the ignition coil based on the secondary current pulse width and the current peak value includes: calibrating the deviation threshold between the secondary current pulse width and the current peak value of the ignition coil of each cylinder of the engine; when the engine is running smoothly, collecting the secondary current pulse width and the current peak value of each cylinder ignition coil, and obtaining the deviation value of the secondary current pulse width and the deviation value of the current peak value of each cylinder ignition coil; obtaining the deviation state of the ignition coil based on the deviation value of the secondary current pulse width of each cylinder ignition coil, the deviation value of the current peak value and the deviation threshold.

[0071] Specifically, the current acquisition values ​​in the buffer are compared with 5% of the current peak value as the benchmark to obtain the corresponding moments of the ignition coil current during the rising process and the decay process, and the pulse width of the ignition coil current, that is, the secondary current pulse width, is obtained by multiplying the difference between the two by the acquisition time interval. The secondary current pulse width and current peak value of the ignition coil of each cylinder of the engine are calibrated to determine the deviation threshold. The deviation threshold is the maximum deviation range allowed for the secondary current pulse width and current peak value of each ignition coil under normal engine operation. The current peak value and secondary current pulse width of the ignition coil current in Cyl1, Cyl5, Cyl3, Cyl6, Cyl2 and Cyl4 are measured in turn to obtain the deviation value of the secondary current pulse width and the deviation value of the current peak value of each cylinder ignition coil. Compare the relationship between the deviation value of the secondary current pulse width of each cylinder ignition coil, the deviation value of the current peak value and the deviation threshold value, judge whether the point exceeds the threshold, and obtain the deviation state of the ignition coil.

[0072] Exemplarily, the secondary current pulse widths of Cyl1, Cyl5, Cyl3, Cyl6, Cyl2 and Cyl4 are 1.3ms, 1.1ms, 1.2ms, 1.4ms, 1.2ms and 1.1ms, respectively, and the current peaks are 13A, 11A, 12A, 13A, 12A and 10A, respectively, and the deviation values ​​of the secondary current pulse widths are +0.1, -0.1, 0, +0.1, 0 and -0.1, respectively, and the deviation values ​​of the current peaks are +1, -1, 0, +1, 0 and -2, respectively. The deviation threshold of the secondary current pulse width is ±0.1ms, and the deviation threshold of the current peak is ±1A. By comparison, the deviation value of the secondary current pulse width of Cyl6 is +0.2, which exceeds ±0.1 milliseconds, and there is a secondary current pulse width deviation. The deviation value of the current peak of Cyl4 is -2, which exceeds ±1A, and there is a current peak deviation, and the deviation state of the ignition coil is reported.

[0073] In this embodiment, by calibrating the deviation threshold of the ignition coil of each cylinder of the engine, the coordination check of the ignition coils between the cylinders of the engine is realized, avoiding omissions in the process of detecting the status of a single ignition coil, and checking the status of the engine ignition coil as a whole to prevent potential failure risks and ensure stable operation of the engine.

[0074] In one embodiment, the ignition coil diagnostic method also includes: obtaining the amount of fuel injected into the engine, and obtaining a secondary current pulse width threshold and a current peak threshold based on the amount of fuel injected; and obtaining a threshold state of the ignition coil based on a relationship between the current peak value of the ignition coil current and the current peak threshold and a relationship between the secondary current pulse width and the secondary current pulse width threshold.

[0075] Specifically, when the fuel injection amount increases, the required ignition energy increases, and at this time, the current peak value and the secondary current pulse width both increase. According to the current fuel injection amount, a table is looked up to obtain the thresholds of the current peak value and the secondary current pulse width under the current fuel injection amount. The actual current peak value and the actual secondary current pulse width of the ignition coil are compared with the thresholds of the current peak value and the secondary current pulse width under the current fuel injection amount. When the actual current peak value and the actual secondary current pulse width do not exceed the threshold value, the ignition coil is in a normal threshold state; when the actual current peak value and the actual secondary current pulse width exceed the threshold value, the ignition coil is in an abnormal threshold state. At this time, the actual current peak value and the actual secondary current pulse width of the ignition coil do not match the fuel injection amount, and the threshold abnormality fault of the ignition coil is reported.

[0076] In this embodiment, a mapping relationship between the injection amount and the current peak value and the secondary current pulse width is introduced, and the relationship between the actual current peak value and the actual secondary current pulse width and the threshold value is compared to determine the ignition coil threshold state; this makes the diagnostic dimension of the ignition coil state more comprehensive and improves the accuracy of state diagnosis.

[0077] In one embodiment, the ignition coil diagnostic method further includes: predicting the predicted ignition energy of the engine based on the ignition advance angle and fuel injection amount of the engine; obtaining the ignition coil inductance, and combining the ignition coil inductance and the ignition coil current to obtain the actual ignition energy of the current ignition; and comparing the predicted ignition energy with the actual ignition energy to obtain the ignition energy state of the ignition coil.

[0078] Specifically, according to the ignition advance angle and fuel injection amount of the engine, the ignition coil current data collected in the buffer is integrated and calculated to obtain the actual ignition energy of the current ignition. The actual ignition energy of the ignition coil can be obtained by the following formula:

[0079] E=(LI^2) / 2

[0080] Among them, E is the energy of the ignition coil, J; L is the inductance of the ignition coil, H; I is the current of the ignition coil, A.

[0081] Before each ignition, the ignition energy is predicted based on the injection amount and the ignition advance angle, and the actual ignition energy and the predicted ignition energy are judged and compared. If the actual ignition energy is less than 80% of the predicted ignition energy, an insufficient ignition energy fault is reported; if the actual ignition energy exceeds 120% of the predicted ignition energy, an excessive ignition energy fault is reported.

[0082] In this embodiment, the actual ignition energy is calculated based on the injection amount and the ignition energy, and compared with the predicted ignition energy, so that abnormal ignition energy is discovered in time, and the ignition energy is too high. Faults are reported to effectively prevent ignition system failures and ensure reliable engine operation; the impact of ignition coil diagnosis is added to make the diagnostic results more comprehensive and accurate.

[0083] In one embodiment, Figure 5 As shown, an ignition coil diagnostic method is provided, comprising the following steps:

[0084] Step 502, after the camshaft and crankshaft of the engine are synchronized, the ignition advance angle of the engine is obtained according to the crankshaft teeth.

[0085] Step 504 , obtaining an ignition drive timing based on the ignition advance angle, performing ignition drive at the ignition drive timing and synchronously triggering current collection.

[0086] Step 506: collect the ignition coil current of each cylinder of the engine according to the collection frequency and the collection time interval.

[0087] Step 508 , obtaining a current peak value and a secondary current pulse width based on the ignition coil current.

[0088] Step 510: based on the acquisition time of the ignition coil current, obtain the peak time duration for the ignition coil to reach the current peak value.

[0089] Step 512: Obtain the current rising rate according to the ratio of the current peak value to the peak duration of the ignition coil.

[0090] Step 514 , selecting at least two consecutive collection time intervals to obtain a first ignition coil current and a second ignition coil current; the first ignition coil current and the second ignition coil current are respectively the ignition coil currents at both ends of the consecutive collection time interval.

[0091] In step 516 , the current decay rate is obtained according to the ratio of the difference between the first ignition coil current and the second ignition coil current to the continuous acquisition time interval.

[0092] Step 518, calibrate the deviation threshold between the secondary current pulse width and the current peak value of the ignition coil of each cylinder of the engine.

[0093] Step 520, when the engine is running smoothly, collect the secondary current pulse width and current peak value of each cylinder ignition coil, and obtain the deviation value of the secondary current pulse width and the deviation value of the current peak value of each cylinder ignition coil.

[0094] Step 522, obtaining the deviation state of the ignition coil according to the deviation value of the secondary current pulse width, the deviation value of the current peak value and the deviation threshold of the ignition coil of each cylinder.

[0095] Step 524, obtaining the fuel injection amount of the engine, and obtaining the secondary current pulse width threshold and the current peak threshold according to the fuel injection amount.

[0096] Step 526 , obtaining the threshold state of the ignition coil according to the relationship between the current peak value of the ignition coil current and the current peak value threshold value and the relationship between the secondary current pulse width and the secondary current pulse width threshold value.

[0097] Step 528, predicting the predicted ignition energy of the engine based on the ignition advance angle and the fuel injection amount of the engine.

[0098] Step 530, obtaining the ignition coil inductance, combining the ignition coil inductance and the ignition coil current, and obtaining the actual ignition energy of the current ignition.

[0099] Step 532, comparing the predicted ignition energy with the actual ignition energy to obtain the ignition energy state of the ignition coil.

[0100] Step 534, determining the state of the ignition coil according to the current rising rate, the current decay rate and the deviation state.

[0101] In this embodiment, accurate fault detection and comprehensive diagnosis of the ignition coil of each cylinder of the engine are achieved through high-frequency acquisition and multi-dimensional analysis of the ignition coil current. The acquisition of the ignition coil current of each cylinder of the engine is completed within an appropriate time resolution, and the diagnosis of abnormal ignition coil current caused by ignition coil aging, drive control output errors, abnormal ignition coil current, etc. is realized, thereby improving the applicability and accuracy of fault diagnosis; comprehensive detection of the ignition coils of all cylinders of the engine enhances the understanding of the engine status, reduces maintenance costs, and significantly improves the reliability and accuracy of the diagnosis results.

[0102] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are shown in sequence, these steps are not necessarily executed in sequence in the order indicated. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.

[0103] Based on the same inventive concept, the embodiment of the present application also provides an ignition coil diagnostic device for implementing the ignition coil diagnostic method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more ignition coil diagnostic device embodiments provided below can refer to the limitations of the ignition coil diagnostic method above, and will not be repeated here.

[0104] In one embodiment, Figure 6As shown, an ignition coil diagnostic device is provided, including: a collection module 602, a processing module 604 and a diagnostic module 606, wherein:

[0105] The acquisition module 602 is used to acquire the ignition coil current of each cylinder of the engine according to the acquisition frequency and the acquisition time interval.

[0106] Processing module 604 is used to obtain the current peak value and secondary current pulse width based on the ignition coil current; obtain the current rise rate according to the collection time of the ignition coil current and the current peak value; obtain the current decay rate according to the ignition coil current and the collection time interval; and obtain the deviation state of the ignition coil according to the secondary current pulse width and the current peak value.

[0107] The diagnosis module 606 is used to determine the state of the ignition coil according to the current rising rate, the current decay rate and the deviation state.

[0108] In one embodiment, the ignition coil diagnostic device further includes:

[0109] The advance angle module is used to obtain the engine's ignition advance angle according to the crankshaft teeth after the engine's camshaft and crankshaft are synchronized.

[0110] The ignition drive module is used to obtain the ignition drive time based on the ignition advance angle, perform ignition drive at the ignition drive time and synchronously trigger current collection.

[0111] In one embodiment, the processing module 604 includes:

[0112] The current peak module is used to obtain the peak time length of the ignition coil reaching the current peak value based on the acquisition time of the ignition coil current.

[0113] The rising rate module is used to obtain the current rising rate according to the ratio of the current peak value and the peak duration of the ignition coil.

[0114] In one embodiment, the processing module 604 further includes:

[0115] The interval acquisition module is used to select at least two continuous acquisition time intervals to obtain a first ignition coil current and a second ignition coil current; the first ignition coil current and the second ignition coil current are respectively the ignition coil currents at both ends of the continuous acquisition time interval.

[0116] The decay rate module is used to obtain the current decay rate according to the ratio of the difference between the first ignition coil current and the second ignition coil current to the continuous collection time interval.

[0117] In one embodiment, the processing module 604 further includes:

[0118] The deviation calibration module is used to calibrate the deviation threshold between the secondary current pulse width and the current peak value of the ignition coil of each cylinder of the engine.

[0119] The operation deviation module is used to collect the secondary current pulse width and current peak value of each cylinder ignition coil when the engine is running smoothly, and obtain the deviation value of the secondary current pulse width and the deviation value of the current peak value of each cylinder ignition coil.

[0120] The deviation state module is used to obtain the deviation state of the ignition coil according to the deviation value of the secondary current pulse width of each cylinder ignition coil, the deviation value of the current peak value and the deviation threshold.

[0121] In one embodiment, the ignition coil diagnostic device further includes:

[0122] The fuel injection amount module is used to obtain the fuel injection amount of the engine, and obtain the secondary current pulse width threshold and the current peak threshold according to the fuel injection amount.

[0123] The threshold state module is used to obtain the threshold state of the ignition coil according to the relationship between the current peak value of the ignition coil current and the current peak value threshold value and the relationship between the secondary current pulse width and the secondary current pulse width threshold value.

[0124] In one embodiment, the ignition coil diagnostic device further includes:

[0125] The predicted energy module is used to predict the predicted ignition energy of the engine according to the ignition advance angle and the fuel injection amount of the engine.

[0126] The actual energy module is used to obtain the ignition coil inductance, and combine the ignition coil inductance and the ignition coil current to obtain the actual ignition energy of the current ignition.

[0127] The comparison capability module is used to compare the predicted ignition energy with the actual ignition energy to obtain the ignition energy state of the ignition coil.

[0128] Each module in the above ignition coil diagnostic device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0129] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an ignition coil diagnostic method is implemented.

[0130] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0131] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0132] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0133] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0134] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0135] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0136] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0137] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An ignition coil diagnostic method, It is characterized in that The method comprises: The ignition coil current of each cylinder of the engine is collected according to the collection frequency and collection time interval; Based on the ignition coil current, a current peak value and a secondary current pulse width are obtained; based on the acquisition time of the ignition coil current and the current peak value, a current rise rate is obtained; based on the ignition coil current and the acquisition time interval, a current decay rate is obtained; based on the secondary current pulse width and the current peak value, a deviation state of the ignition coil is obtained; The state of the ignition coil is determined based on the current rising rate, the current decaying rate, and the deviation state.

2. The method according to claim 1, It is characterized in that The method comprises: After the camshaft and crankshaft of the engine are synchronized, the ignition advance angle of the engine is obtained according to the crankshaft teeth; An ignition drive timing is obtained based on the ignition advance angle, and ignition drive is performed at the ignition drive timing and current collection is triggered synchronously.

3. The method according to claim 1, It is characterized in that Combining the acquisition time of the ignition coil current and the current peak value, the current rise rate is obtained including: Based on the acquisition time of the ignition coil current, obtaining the peak time length of the ignition coil reaching the current peak value; The current rising rate is obtained according to the ratio of the current peak value of the ignition coil to the peak duration.

4. The method according to claim 1, It is characterized in that The obtaining of the current decay rate according to the ignition coil current and the acquisition time interval comprises: Select at least two continuous acquisition time intervals to obtain a first ignition coil current and a second ignition coil current; the first ignition coil current and the second ignition coil current are respectively the ignition coil currents at both ends of the continuous acquisition time interval; The current decay rate is obtained according to a ratio of a difference between the first ignition coil current and the second ignition coil current to the continuous acquisition time interval.

5. The method according to claim 1, It is characterized in that The step of obtaining the deviation state of the ignition coil according to the secondary current pulse width and the current peak value includes: Calibrate the deviation threshold between the secondary current pulse width and current peak value of the ignition coil of each cylinder of the engine; When the engine is running smoothly, the secondary current pulse width and the current peak value of each cylinder ignition coil are collected, and the deviation value of the secondary current pulse width and the deviation value of the current peak value of each cylinder ignition coil are obtained; The deviation state of the ignition coil is obtained according to the deviation value of the secondary current pulse width of the ignition coil of each cylinder, the deviation value of the current peak value and the deviation threshold.

6. The method according to claim 1, It is characterized in that The method further comprises: Obtaining the fuel injection amount of the engine, and obtaining the secondary current pulse width threshold and the current peak threshold according to the fuel injection amount; The threshold state of the ignition coil is obtained according to the relationship between the current peak value and the current peak value threshold of the ignition coil current and the relationship between the secondary current pulse width and the secondary current pulse width threshold.

7. The method according to claim 2, It is characterized in that The method further comprises: Predicting the predicted ignition energy of the engine according to the ignition advance angle and the fuel injection amount of the engine; Acquire the ignition coil inductance, and combine the ignition coil inductance and the ignition coil current to obtain the actual ignition energy of the current ignition; The predicted ignition energy and the actual ignition energy are compared to obtain the ignition energy state of the ignition coil.

8. An ignition coil diagnostic device, It is characterized in that The device comprises: A collection module, used for collecting the ignition coil current of each cylinder of the engine according to a collection frequency and a collection time interval; A processing module, used to obtain a current peak value and a secondary current pulse width based on the ignition coil current; obtain a current rise rate according to a collection time of the ignition coil current and the current peak value; obtain a current decay rate according to the ignition coil current and the collection time interval; and obtain a deviation state of the ignition coil according to the secondary current pulse width and the current peak value; The diagnostic module is used to determine the state of the ignition coil according to the current rising rate, the current decay rate and the deviation state.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.