Engine reverse rotation determination and mitigation method, system, electronic device, and storage medium

By numbering the square wave signal of the motorcycle engine crankshaft and calculating the instantaneous speed, the reverse rotation is determined and the ignition coil state is adjusted, thus solving the structural damage problem caused by the reverse rotation of the motorcycle engine crankshaft and realizing the protection and reverse rotation prevention of the engine.

CN116557139BActive Publication Date: 2026-06-05UNITED AUTOMOTIVE ELECTRONICS SYST

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
UNITED AUTOMOTIVE ELECTRONICS SYST
Filing Date
2022-12-21
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

When the piston in a motorcycle engine is blocked and unable to pass the top dead center of the compression stroke, the crankshaft rotates in the opposite direction, causing damage to the engine structure.

Method used

By numbering each tooth in the crankshaft square wave signal, the instantaneous speed and rotation time of the tooth corresponding to the ignition moment of the cylinder are obtained, the instantaneous speed drop rate is calculated, and the engine reverses according to the preset judgment threshold. The magnetization state of the ignition coil is adjusted to suppress the reverse rotation.

Benefits of technology

It effectively suppresses the impact force when the crankshaft reverses, protects the engine structure, and is suitable for engines with different cylinders and crankshaft signal wheels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116557139B_ABST
    Figure CN116557139B_ABST
Patent Text Reader

Abstract

The application provides an engine reverse rotation judgment and suppression method, system, electronic equipment and storage medium. The engine reverse rotation judgment and suppression method first numbers each tooth in a square wave signal of a crankshaft. Then, a current rotating speed of the engine is acquired, and at least one instantaneous speed drop rate of each cylinder is acquired when the current rotating speed is less than a preset reverse rotation speed threshold. A reverse rotation judgment result of the current engine is given according to the instantaneous speed drop rate of each cylinder and a preset judgment threshold. If the reverse rotation judgment result is reverse rotation judgment success, the magnetization state of an ignition coil of the cylinder is adjusted. The engine reverse rotation judgment and suppression method can effectively suppress the impact force caused by ignition during reverse rotation and protect the engine structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle engineering machinery, and more particularly to a method, system, electronic device, and storage medium for detecting and preventing engine reversal. Background Technology

[0002] Currently, motorcycle engine cylinder banks mostly use single-cylinder and twin-cylinder structures. Compared to the four-cylinder structures commonly used in automobiles, motorcycle engines need to overcome greater resistance when the crankshaft rotates in the forward direction. When the piston is obstructed and cannot pass the top dead center of the compression stroke, the electronic fuel injection ECU has already calculated the ignition angle and implemented the engine ignition procedure. This will cause the crankshaft to rotate in the reverse direction, bringing a strong impact to the overrunning clutch, double linkage, and starter motor, which can lead to engine structural damage in severe cases.

[0003] Therefore, how to provide a new method for judging and curbing engine reversal in order to overcome the above-mentioned defects in the existing technology has become one of the technical problems that urgently need to be solved by those skilled in the art. Summary of the Invention

[0004] The purpose of this invention is to provide a method, system, electronic device, and storage medium for judging and preventing engine reversal, in order to solve the problem in the prior art where the piston is blocked and cannot pass the top dead center of the compression stroke, causing the crankshaft to rotate in reverse, thereby damaging the engine structure.

[0005] To achieve the above objectives, the present invention provides a method for detecting and preventing engine reversal, comprising:

[0006] Each tooth in the crankshaft square wave signal is numbered according to the preset numbering rules;

[0007] When it is determined that the current speed of the engine is less than a preset reverse speed threshold, the following operations are performed on each cylinder of the engine:

[0008] Obtain the number of the tooth corresponding to the ignition timing of the cylinder in the crankshaft square wave signal; and determine a preset number of teeth for reversal judgment based on the number of the tooth corresponding to the ignition timing of the cylinder.

[0009] Obtain the rotation time of the tooth corresponding to the ignition time of the cylinder and all the teeth used for reversal judgment, and obtain the instantaneous speed of the tooth corresponding to the ignition time of the cylinder based on the rotation time of the tooth corresponding to the ignition time of the cylinder; obtain the instantaneous speed of all the teeth used for reversal judgment based on the rotation time of all the teeth used for reversal judgment.

[0010] Based on the instantaneous velocity of the tooth corresponding to the ignition time of the cylinder and the instantaneous velocities of all teeth used for reversal judgment, at least one instantaneous velocity decrease rate of the cylinder is obtained.

[0011] Based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold, the current reverse judgment result of the engine is given;

[0012] If the reversal judgment result is successful, then the magnetization state of the ignition coil of the cylinder is adjusted.

[0013] Optionally, the step of numbering each tooth in the crankshaft square wave signal according to a preset numbering rule includes:

[0014] The third tooth after each missing tooth in the crankshaft square wave signal is set as the starting number, and the numbering continues until the next missing tooth is identified. The second tooth after the next missing tooth is set as the ending number of this cycle.

[0015] Optionally, determining whether the current rotational speed is less than a preset reversal rotational speed threshold includes:

[0016] Determine whether the current engine speed is less than the engine speed at which the reverse rotation occurred.

[0017] Optionally, the preset quantity is 3; determining the preset quantity of teeth for reversal judgment based on the tooth number corresponding to the ignition timing of the cylinder includes:

[0018] The tooth whose number is adjacent to and precedes the tooth corresponding to the ignition time is used as the tooth for reversal judgment; the tooth used for reversal judgment that is adjacent to the tooth corresponding to the ignition time is used as the first reversal judgment tooth; the tooth used for reversal judgment that is adjacent to the first reversal judgment tooth is used as the second reversal judgment tooth; and the tooth used for reversal judgment that is adjacent to the second reversal judgment tooth is used as the third reversal judgment tooth.

[0019] Optionally, the acquisition of the rotation time of the tooth corresponding to the ignition timing of the cylinder and all teeth used for reversal determination includes:

[0020] The time interval between the falling edge of the first reverse judgment tooth and the falling edge of the tooth corresponding to the ignition time is taken as the rotation time of the tooth corresponding to the ignition time.

[0021] The time interval between the falling edge of the second reverse judgment tooth and the falling edge of the first reverse judgment tooth is taken as the rotation time of the first reverse judgment tooth.

[0022] The time interval between the falling edge of the third reverse judgment tooth and the falling edge of the second reverse judgment tooth is taken as the rotation time of the second reverse judgment tooth.

[0023] The time interval between the falling edge of the tooth adjacent to and preceding the third reverse judgment tooth and the falling edge of the third reverse judgment tooth is taken as the rotation time of the third reverse judgment tooth.

[0024] Optionally, obtaining the instantaneous velocity of the tooth corresponding to the ignition timing of the cylinder based on the rotation time of the tooth corresponding to the ignition timing of the cylinder, and obtaining the instantaneous velocity of all the teeth used for reversal determination based on the rotation time of all the teeth used for reversal determination, includes:

[0025] Based on the rotation time of the tooth corresponding to the ignition time, the rotation time of the first reverse judgment tooth, the rotation time of the second reverse judgment tooth, and the rotation time of the third reverse judgment tooth, the instantaneous speeds of the tooth corresponding to the ignition time, the first reverse judgment tooth, the second reverse judgment tooth, and the third reverse judgment tooth are obtained respectively.

[0026] The instantaneous velocity is obtained according to the following formula:

[0027] n = 60000 / (T × Y)

[0028] Where n is the instantaneous speed, T is the rotation time of the tooth, and Y is the number of teeth on the signal wheel of the engine.

[0029] Optionally, obtaining at least one instantaneous speed decrease rate of the cylinder based on the instantaneous speed of the tooth corresponding to the ignition timing of the cylinder and the instantaneous speeds of all teeth used for reversal determination includes:

[0030] The sum of the instantaneous velocity of the third reversal judgment tooth and the instantaneous velocity of the second reversal judgment tooth is used as the first instantaneous velocity decrease rate parameter;

[0031] The sum of the instantaneous velocity of the second reverse judgment tooth and the instantaneous velocity of the first reverse judgment tooth is used as the second instantaneous velocity decrease rate parameter;

[0032] The sum of the instantaneous velocity of the first reversal judgment tooth and the instantaneous velocity of the tooth corresponding to the ignition moment is used as the third instantaneous velocity drop rate parameter.

[0033] The ratio of the first instantaneous velocity decrease rate parameter to the second instantaneous velocity decrease rate parameter is used as the first instantaneous velocity decrease rate, and the ratio of the second instantaneous velocity decrease rate parameter to the third instantaneous velocity decrease rate parameter is used as the second instantaneous velocity decrease rate.

[0034] Optionally, the step of providing the current reverse rotation judgment result of the engine based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold includes:

[0035] The first instantaneous speed drop rate and the second instantaneous speed drop rate of each cylinder are compared with the preset judgment threshold; if the first instantaneous speed drop rate or the second instantaneous speed drop rate of any cylinder is greater than the preset judgment threshold, then the current engine reversal judgment is determined to be successful.

[0036] Optionally, adjusting the magnetization state of the ignition coil of the cylinder includes:

[0037] Obtain the current magnetization state of the ignition coil of the cylinder and determine whether the ignition coil of the cylinder has started to be magnetized; if yes, extend the magnetization time of the ignition coil of the cylinder to a preset time and set the maximum magnetization angle of the ignition coil of the cylinder to the sum of the angle at the ignition time corresponding to the cylinder and the preset angle; if no, stop magnetizing the ignition coil of the cylinder.

[0038] To achieve the above objectives, the present invention provides an engine reversal judgment and containment system, comprising: a numbering module, a rotational speed judgment module, a numbering tooth determination module, an instantaneous speed determination module, an instantaneous speed drop rate determination module, a reversal judgment module, and a containment module;

[0039] The numbering module is configured to number each tooth in the crankshaft square wave signal according to a preset numbering rule.

[0040] The speed determination module is configured to perform the following operations for each cylinder of the engine when it is determined that the current speed of the engine is less than a preset reverse speed threshold.

[0041] The numbering tooth determination module is configured to: obtain the number of the tooth corresponding to the ignition time of the cylinder in the crankshaft square wave signal; and determine a preset number of teeth for reversal judgment based on the number of the tooth corresponding to the ignition time of the cylinder.

[0042] The instantaneous speed determination module is configured to: obtain the rotation time of the tooth corresponding to the ignition time of the cylinder and all the teeth used for reversal judgment, and obtain the instantaneous speed of the tooth corresponding to the ignition time of the cylinder based on the rotation time of the tooth corresponding to the ignition time of the cylinder; and obtain the instantaneous speed of all the teeth used for reversal judgment based on the rotation time of all the teeth used for reversal judgment.

[0043] Instantaneous speed drop rate determination module: Based on the instantaneous speed of the tooth corresponding to the ignition time of the cylinder and the instantaneous speed of all teeth used for reversal judgment, at least one instantaneous speed drop rate of the cylinder is obtained;

[0044] The reversal judgment module is configured to: give the current reversal judgment result of the engine based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold;

[0045] The containment module is configured such that if the reversal judgment result is a successful reversal, the magnetization state of the ignition coil of the cylinder is adjusted.

[0046] To achieve the above objectives, the present invention provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the engine reversal judgment and containment method described in any of the above claims.

[0047] To achieve the above objectives, the present invention also provides a storage medium storing a computer program, which, when executed by a processor, implements the engine reversal judgment and containment method described in any of the above claims.

[0048] Compared with the prior art, the engine reversal detection and containment method, system, electronic device and storage medium provided by the present invention have the following beneficial effects:

[0049] The engine reversal detection and suppression method provided by this invention first numbers each tooth in the crankshaft square wave signal according to a preset numbering rule; and when it is determined that the current speed of the engine is less than a preset reversal speed threshold, for each cylinder of the engine, the following operations are performed: first, the number of the tooth corresponding to the ignition time of the cylinder in the crankshaft square wave signal is obtained; and a preset number of teeth for reversal detection is determined based on the number of the tooth corresponding to the ignition time of the cylinder; then, the rotation time of the tooth corresponding to the ignition time of the cylinder and all the teeth used for reversal detection are obtained, and the rotation time is determined based on the ignition time of the cylinder. The instantaneous speed of the tooth corresponding to the ignition moment of the cylinder is obtained by calculating the rotation time of the corresponding tooth; the instantaneous speed of all the teeth used for reversal judgment is obtained based on the rotation time of all the teeth used for reversal judgment; then, at least one instantaneous speed drop rate of the cylinder is obtained based on the instantaneous speed of the tooth corresponding to the ignition moment of the cylinder and the instantaneous speed of all the teeth used for reversal judgment; then, the current reversal judgment result of the engine is given based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold; finally, if the reversal judgment result is a successful reversal judgment, the magnetization state of the ignition coil of the cylinder is adjusted. Therefore, the engine reversal judgment and suppression method provided by this invention, based on a preset judgment threshold and at least one instantaneous speed drop rate of each cylinder, gives the current engine reversal judgment result, and can adjust the magnetization state of the ignition coil of the cylinder when the reversal judgment result is a successful reversal judgment, thereby effectively suppressing the impact force brought by ignition during crankshaft reversal and protecting the engine structure. Furthermore, this method is applicable to engines with all different cylinders and different engine crankshaft signal wheels, thus possessing universality and widespread applicability.

[0050] Since the engine reversal detection and suppression system, electronic device and storage medium provided by this invention belong to the same inventive concept as the engine reversal detection and suppression method provided by this invention, they have at least the same technical effects, and will not be described in detail here. Attached Figure Description

[0051] Figure 1 This is a flowchart of the engine reversal judgment and suppression method provided in Embodiment 1 of the present invention;

[0052] Figure 2 This is a schematic diagram of the crankshaft square wave signal of the 24-tooth signal wheel provided in Embodiment 1 of the present invention;

[0053] Figure 3 A partial view of the crankshaft square wave signal provided in Embodiment 1 of the present invention;

[0054] Figure 4 This is a structural diagram of the engine reversal detection and containment system provided in Embodiment 2 of the present invention;

[0055] The reference numerals in the attached figures are as follows:

[0056] 100 - First reverse judgment tooth, 200 - Second reverse judgment tooth, 300 - Third reverse judgment tooth, 400 - Tooth corresponding to ignition timing. Detailed Implementation

[0057] The specific embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. The advantages and features of the present invention will become clearer from the following description. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, used only to facilitate and clarify the illustration of the embodiments of the present invention. It should be understood that the accompanying drawings do not necessarily show the specific structure of the present invention to scale, and the illustrative features used to illustrate certain principles of the present invention in the accompanying drawings are also drawn in a slightly simplified manner. Specific design features of the present invention disclosed herein, including, for example, specific dimensions, orientations, positions, and shapes, will be determined in part by the specific application and usage environment. Furthermore, in the embodiments described below, the same reference numerals are sometimes used across different drawings to denote the same parts or parts having the same function, omitting repeated descriptions. In this specification, similar reference numerals and letters are used to denote similar items; therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0058] Before specifically introducing the engine reversal judgment and suppression method provided by the present invention, it should be noted that although this article uses a motorcycle engine as an example to illustrate the engine reversal judgment and suppression method provided by the present invention, it is obvious that the engine reversal judgment and suppression method provided by the present invention is not limited to motorcycle engines, but can also be used for other vehicle engines besides motorcycle engines, including but not limited to automobile engines.

[0059] Example 1

[0060] This embodiment provides a method for detecting and preventing engine reversal. For details, please refer to the appendix. Figure 1 , Figure 1 A flowchart illustrating the engine reverse rotation detection and containment method is provided, from... Figure 1 It can be seen that the engine reversal detection and containment method includes:

[0061] S100: Number each tooth in the crankshaft square wave signal according to the preset numbering rules;

[0062] S200: When it is determined that the current speed of the engine is less than a preset reverse speed threshold, perform the following operation for each cylinder of the engine:

[0063] S300: Obtain the number of the tooth corresponding to the ignition timing of the cylinder in the crankshaft square wave signal; and determine a preset number of teeth for reversal judgment based on the number of the tooth 400 corresponding to the ignition timing of the cylinder.

[0064] S400: Obtain the rotation time of the tooth 400 corresponding to the ignition time of the cylinder and all the teeth used for reversal judgment, and obtain the instantaneous speed of the tooth 400 corresponding to the ignition time of the cylinder based on the rotation time of the tooth corresponding to the ignition time of the cylinder; obtain the instantaneous speed of all the teeth used for reversal judgment based on the rotation time of all the teeth used for reversal judgment.

[0065] S500: Based on the instantaneous speed of the tooth corresponding to the ignition time of the cylinder and the instantaneous speed of all teeth used for reversal judgment, at least one instantaneous speed decrease rate of the cylinder is obtained.

[0066] S600: Based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold, give the current reverse judgment result of the engine;

[0067] S700: If the reversal judgment result is that the reversal judgment is successful, then adjust the magnetization state of the ignition coil of the cylinder.

[0068] With this configuration, the engine reversal detection and suppression method provided by this invention, based on a preset detection threshold and the acquired instantaneous speed drop rate of at least one cylinder, provides a current engine reversal detection result. Furthermore, when the reversal detection result indicates successful reversal, it can adjust the magnetization state of the ignition coil of the cylinder, thereby effectively suppressing the impact force caused by ignition during crankshaft reversal and protecting the engine structure. Moreover, this method is applicable to engines with all different cylinders and crankshaft signal wheels, thus possessing versatility and widespread applicability.

[0069] Preferably, the step of numbering each tooth in the crankshaft square wave signal according to a preset numbering rule includes:

[0070] The third tooth after each missing tooth in the crankshaft square wave signal is set as the starting number, and the numbering continues until the next missing tooth is identified. The second tooth after the next missing tooth is set as the ending number of this cycle.

[0071] As those skilled in the art will understand, each tooth in the crankshaft square wave signal corresponds to each tooth of the engine's signal wheel. Therefore, if the starting number is 1, the ending number is the total number of teeth on the signal wheel. Each revolution of the crankshaft square wave signal from the starting numbered tooth to the ending numbered tooth represents one revolution of the signal wheel and the time required for one revolution. It should be noted that the numbering method described is only one method provided in this embodiment. Other numbering methods, such as interval numbering and sequential forward numbering, are also applicable to this invention and will not be elaborated upon here.

[0072] For a better explanation of the numbering rules provided in this embodiment, please refer to the appendix. Figure 2 , Figure 2 A schematic diagram of the crankshaft square wave signal of a 24-tooth signal wheel is provided, from... Figure 2 It can be seen that the 24-tooth signal wheel includes two missing teeth, wherein the starting number is 1 and the ending number is 24.

[0073] Therefore, by numbering each tooth in the crankshaft square wave signal, when the ignition timing of each cylinder is subsequently obtained, the corresponding tooth for the ignition timing of each cylinder in the crankshaft square wave signal can be quickly found, and the corresponding tooth for reversal judgment can be determined based on the corresponding tooth for the ignition timing.

[0074] Preferably, determining whether the current rotational speed is less than a preset reversal rotational speed threshold includes:

[0075] Determine whether the current engine speed is less than the engine speed at which the reverse rotation occurred.

[0076] It should be noted that the maximum engine speed at which reversal occurs can be obtained by calibrating a threshold based on the engine type and the maximum reversal speed at which the engine actually reverses during operation.

[0077] Please see the appendix Figure 3 , Figure 3 A partial view of the crankshaft square wave signal is schematically provided, from... Figure 3 It can be seen that the preset quantity is 3; the step of determining the preset quantity of teeth for reversal judgment according to the number of tooth 400 corresponding to the ignition timing of the cylinder includes:

[0078] The tooth that is adjacent to the tooth 400 corresponding to the ignition time and is numbered before the tooth 400 corresponding to the ignition time is designated as the tooth for reversal judgment; the tooth for reversal judgment that is adjacent to the tooth 400 corresponding to the ignition time is designated as the first reversal judgment tooth 100; the tooth for reversal judgment that is adjacent to the first reversal judgment tooth 100 is designated as the second reversal judgment tooth 200; and the tooth for reversal judgment that is adjacent to the second reversal judgment tooth 200 is designated as the third reversal judgment tooth 300.

[0079] Therefore, by using the three teeth adjacent to and sequentially preceding the tooth 400 corresponding to the ignition timing as the teeth for reversal judgment, each cylinder can perform reversal judgment before ignition, thereby timely curbing when the crankshaft of the engine reverses, so as to reduce the damage to the engine structure when reversal occurs.

[0080] Preferably, the step of collecting the rotation time of the ignition timing of the cylinder corresponding to tooth 400 and all teeth used for reversal determination includes:

[0081] The time interval between the falling edge of the first reverse judgment tooth 100 and the falling edge of the tooth 400 corresponding to the ignition time is taken as the rotation time of the tooth 400 corresponding to the ignition time.

[0082] The time interval between the falling edge of the second reverse judgment tooth 200 and the falling edge of the first reverse judgment tooth 100 is taken as the rotation time of the first reverse judgment tooth 100.

[0083] The time interval between the falling edge of the third reverse judgment tooth 300 and the falling edge of the second reverse judgment tooth 200 is taken as the rotation time of the second reverse judgment tooth 200.

[0084] The time interval between the falling edge of the tooth adjacent to and preceding the third reverse judgment tooth 300 and the falling edge of the third reverse judgment tooth 300 is taken as the rotation time of the third reverse judgment tooth 300.

[0085] Further, the step of obtaining the instantaneous velocity of the gear 400 corresponding to the ignition timing of the cylinder based on the rotation time of the gear 400 corresponding to the ignition timing of the cylinder, and obtaining the instantaneous velocity of all the gears used for reversal determination based on the rotation time of all the gears used for reversal determination, includes:

[0086] Based on the rotation time of the tooth 400 corresponding to the ignition time, the rotation time of the first reverse judgment tooth 100, the rotation time of the second reverse judgment tooth 200, and the rotation time of the third reverse judgment tooth 300, the instantaneous speeds of the tooth 400 corresponding to the ignition time, the instantaneous speeds of the first reverse judgment tooth 100, the second reverse judgment tooth 200, and the third reverse judgment tooth 300 are obtained respectively.

[0087] The instantaneous velocity is obtained according to the following formula:

[0088] n = 60000 / (T×Y)

[0089] Where n is the instantaneous speed, T is the rotation time of the tooth, and Y is the number of teeth on the signal wheel of the engine.

[0090] Therefore, the instantaneous speeds of the ignition timing corresponding to the tooth 400, the first reverse judgment tooth 100, the second reverse judgment tooth 200, and the third reverse judgment tooth 300 of each cylinder are obtained through the instantaneous speed formula, thus laying the foundation for obtaining at least one instantaneous speed decrease rate of each cylinder.

[0091] Preferably, obtaining at least one instantaneous speed decrease rate of the cylinder based on the instantaneous speed of tooth 400 corresponding to the ignition timing of the cylinder and the instantaneous speeds of all teeth used for reversal determination includes:

[0092] The sum of the instantaneous velocity of the third reverse judgment tooth 300 and the instantaneous velocity of the second reverse judgment tooth 200 is used as the first instantaneous velocity decrease rate parameter.

[0093] The sum of the instantaneous velocity of the second reverse judgment tooth 200 and the instantaneous velocity of the first reverse judgment tooth 100 is used as the second instantaneous velocity decrease rate parameter.

[0094] The sum of the instantaneous velocity of the first reversal judgment tooth 100 and the instantaneous velocity of the tooth 400 corresponding to the ignition moment is used as the third instantaneous velocity decrease rate parameter.

[0095] The ratio of the first instantaneous velocity decrease rate parameter to the second instantaneous velocity decrease rate parameter is used as the first instantaneous velocity decrease rate, and the ratio of the second instantaneous velocity decrease rate parameter to the third instantaneous velocity decrease rate parameter is used as the second instantaneous velocity decrease rate.

[0096] Further, the step of providing the current reverse rotation judgment result of the engine based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold includes:

[0097] The first instantaneous speed drop rate and the second instantaneous speed drop rate of each cylinder are compared with the preset judgment threshold; if the first instantaneous speed drop rate or the second instantaneous speed drop rate of any cylinder is greater than the preset judgment threshold, then the current engine reversal judgment is determined to be successful.

[0098] Therefore, by comparing the first instantaneous speed drop rate and the second instantaneous speed drop rate of each cylinder with the preset judgment threshold, the reverse rotation trend of the engine crankshaft can be quickly detected, thereby timely curbing the reverse rotation trend of the engine crankshaft.

[0099] Preferably, adjusting the magnetization state of the ignition coil of the cylinder includes:

[0100] Obtain the current magnetization state of the ignition coil of the cylinder and determine whether the ignition coil of the cylinder has started to be magnetized; if yes, extend the magnetization time of the ignition coil of the cylinder to a preset time and set the maximum magnetization angle of the ignition coil of the cylinder to the sum of the angle at the ignition time corresponding to the cylinder and the preset angle; if no, stop magnetizing the ignition coil of the cylinder.

[0101] Therefore, by extending the magnetization time of each cylinder to postpone the discharge time, or by stopping magnetization to prevent ignition, the impact force caused by ignition during crankshaft reversal is effectively suppressed, and the engine structure is protected. It should be noted that the preset angle includes 180°, which is only a preferred angle proposed in this invention. The preset angle can be set according to the engine type, and this invention does not impose strict requirements on it.

[0102] Example 2

[0103] This embodiment provides an engine reverse rotation detection and suppression system. For details, please refer to the appendix. Figure 4 , Figure 4 A schematic diagram of the engine reverse detection and containment system is provided, from... Figure 4 As can be seen, the engine reversal judgment and containment system includes: a numbering module, a speed judgment module, a numbering tooth determination module, an instantaneous speed determination module, an instantaneous speed drop rate determination module, a reversal judgment module, and a containment module;

[0104] The numbering module is configured to number each tooth in the crankshaft square wave signal according to a preset numbering rule.

[0105] The speed determination module is configured to perform the following operations for each cylinder of the engine when it is determined that the current speed of the engine is less than a preset reverse speed threshold.

[0106] The numbering tooth determination module is configured to: obtain the number of the tooth corresponding to the ignition time of the cylinder in the crankshaft square wave signal; and determine a preset number of teeth for reversal judgment based on the number of the tooth 400 corresponding to the ignition time of the cylinder.

[0107] The instantaneous speed determination module is configured to: obtain the rotation time of the tooth 400 corresponding to the ignition time of the cylinder and all the teeth used for reversal judgment, and obtain the instantaneous speed of the tooth 400 corresponding to the ignition time of the cylinder based on the rotation time of the tooth corresponding to the ignition time of the cylinder; and obtain the instantaneous speed of all the teeth used for reversal judgment based on the rotation time of all the teeth used for reversal judgment.

[0108] Instantaneous speed drop rate determination module: Based on the instantaneous speed of the tooth corresponding to the ignition time of the cylinder and the instantaneous speed of all teeth used for reversal judgment, at least one instantaneous speed drop rate of the cylinder is obtained;

[0109] The reversal judgment module is configured to: give the current reversal judgment result of the engine based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold;

[0110] The containment module is configured such that if the reversal judgment result is a successful reversal, the magnetization state of the ignition coil of the cylinder is adjusted.

[0111] Since the engine reversal judgment and containment system provided by this invention and the engine reversal judgment and containment method provided by this invention belong to the same inventive concept, they have at least the same technical effects, and will not be described in detail here.

[0112] Example 3

[0113] This embodiment provides an electronic device, including a processor and a memory. The memory stores a computer program, and when the computer program is executed by the processor, it implements the engine reversal judgment and containment method described in any of the above embodiments.

[0114] Since the electronic device provided by this invention and the engine reversal judgment and suppression method provided by this invention belong to the same inventive concept, they have at least the same technical effects, and will not be described in detail here.

[0115] Example 4

[0116] This embodiment provides a storage medium storing a program, which, when executed by a processor, is used to implement the motorcycle upshift control method described above.

[0117] The storage medium of embodiments of the present invention can be any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer storage medium. The computer storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer hard disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer storage medium can be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.

[0118] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0119] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0120] Furthermore, the systems and methods disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments herein. In this regard, each block in a flowchart or block diagram may represent a module, program, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the figures. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system to perform the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions. In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.

[0121] In summary, the engine reversal detection and suppression method provided by this invention, based on a preset detection threshold and the acquired instantaneous speed drop rate of at least one cylinder, provides a current engine reversal detection result. Furthermore, when the reversal detection result indicates successful reversal, it can adjust the magnetization state of the ignition coil of the cylinder, thereby effectively suppressing the impact force caused by ignition during crankshaft reversal and protecting the engine structure. Moreover, this method is applicable to engines with all different cylinders and crankshaft signal wheels, thus possessing versatility and widespread applicability.

[0122] Since the engine reversal detection and suppression system, electronic device and storage medium provided by this invention belong to the same inventive concept as the engine reversal detection and suppression method provided by this invention, they have at least the same technical effects, and will not be described in detail here.

[0123] The above are merely preferred embodiments of the present invention and do not constitute any limitation on the present invention. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in the present invention without departing from the scope of the present invention shall be deemed to have remained within the protection scope of the present invention.

Claims

1. A method for detecting and preventing engine reversal, characterized in that, include: Each tooth in the crankshaft square wave signal is numbered according to the preset numbering rules; When it is determined that the current speed of the engine is less than a preset reverse speed threshold, the following operations are performed on each cylinder of the engine: Obtain the number of the tooth corresponding to the ignition timing of the cylinder in the crankshaft square wave signal; and determine a preset number of teeth for reversal judgment based on the number of the tooth corresponding to the ignition timing of the cylinder. Obtain the rotation time of the tooth corresponding to the ignition time of the cylinder and all the teeth used for reversal judgment, and obtain the instantaneous speed of the tooth corresponding to the ignition time of the cylinder based on the rotation time of the tooth corresponding to the ignition time of the cylinder; obtain the instantaneous speed of all the teeth used for reversal judgment based on the rotation time of all the teeth used for reversal judgment. Based on the instantaneous velocity of the tooth corresponding to the ignition time of the cylinder and the instantaneous velocities of all teeth used for reversal judgment, at least one instantaneous velocity decrease rate of the cylinder is obtained. Based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold, the current reverse judgment result of the engine is given; If the reversal judgment result is that the reversal judgment is successful, then the magnetization state of the ignition coil of the cylinder is adjusted. The step of numbering each tooth in the crankshaft square wave signal according to a preset numbering rule includes: The third tooth after each missing tooth in the crankshaft square wave signal is set as the starting number, and the numbering continues until the next missing tooth is identified. The second tooth after the next missing tooth is set as the ending number of this cycle. Adjusting the magnetization state of the ignition coil of the cylinder includes: Obtain the current magnetization state of the ignition coil of the cylinder and determine whether the ignition coil of the cylinder has started to be magnetized; if yes, extend the magnetization time of the ignition coil of the cylinder to a preset time and set the maximum magnetization angle of the ignition coil of the cylinder to the sum of the angle at the ignition time corresponding to the cylinder and the preset angle; if no, stop magnetizing the ignition coil of the cylinder.

2. The engine reverse rotation detection and suppression method as described in claim 1, characterized in that, Determining whether the current rotational speed is less than a preset reverse rotational speed threshold includes: Determine whether the current engine speed is less than the engine speed at which the reverse rotation occurred.

3. The engine reverse rotation detection and suppression method as described in claim 2, characterized in that, The preset quantity is 3; the step of determining the preset quantity of teeth for reversal judgment based on the tooth number corresponding to the ignition timing of the cylinder includes: The tooth whose number is adjacent to and precedes the tooth corresponding to the ignition time is used as the tooth for reversal judgment; the tooth used for reversal judgment that is adjacent to the tooth corresponding to the ignition time is used as the first reversal judgment tooth; the tooth used for reversal judgment that is adjacent to the first reversal judgment tooth is used as the second reversal judgment tooth; and the tooth used for reversal judgment that is adjacent to the second reversal judgment tooth is used as the third reversal judgment tooth.

4. The engine reverse rotation detection and suppression method as described in claim 3, characterized in that, Obtain the rotation time of the tooth corresponding to the ignition timing of the cylinder and the rotation time of all teeth used for reversal determination, including: The time interval between the falling edge of the first reverse judgment tooth and the falling edge of the tooth corresponding to the ignition time is taken as the rotation time of the tooth corresponding to the ignition time. The time interval between the falling edge of the second reverse judgment tooth and the falling edge of the first reverse judgment tooth is taken as the rotation time of the first reverse judgment tooth. The time interval between the falling edge of the third reverse judgment tooth and the falling edge of the second reverse judgment tooth is taken as the rotation time of the second reverse judgment tooth. The time interval between the falling edge of the tooth adjacent to and preceding the third reverse judgment tooth and the falling edge of the third reverse judgment tooth is taken as the rotation time of the third reverse judgment tooth.

5. The engine reverse rotation detection and containment method as described in claim 4, characterized in that, The step of obtaining the instantaneous velocity of the tooth corresponding to the ignition timing of the cylinder based on the rotation time of the tooth corresponding to the ignition timing of the cylinder, and obtaining the instantaneous velocity of all the teeth used for reversal determination based on the rotation time of all the teeth used for reversal determination, includes: Based on the rotation time of the tooth corresponding to the ignition time, the rotation time of the first reverse judgment tooth, the rotation time of the second reverse judgment tooth, and the rotation time of the third reverse judgment tooth, the instantaneous speeds of the tooth corresponding to the ignition time, the first reverse judgment tooth, the second reverse judgment tooth, and the third reverse judgment tooth are obtained respectively. The instantaneous velocity is obtained according to the following formula: n = 60000 / (T × Y) Where n is the instantaneous speed, T is the rotation time of the tooth, and Y is the number of teeth on the signal wheel of the engine.

6. The engine reverse rotation detection and containment method as described in claim 5, characterized in that, The step of obtaining at least one instantaneous speed decrease rate of the cylinder based on the instantaneous speed of the tooth corresponding to the ignition time of the cylinder and the instantaneous speeds of all teeth used for reversal judgment includes: The sum of the instantaneous velocity of the third reversal judgment tooth and the instantaneous velocity of the second reversal judgment tooth is used as the first instantaneous velocity decrease rate parameter; The sum of the instantaneous velocity of the second reverse judgment tooth and the instantaneous velocity of the first reverse judgment tooth is used as the second instantaneous velocity decrease rate parameter; The sum of the instantaneous velocity of the first reversal judgment tooth and the instantaneous velocity of the tooth corresponding to the ignition moment is used as the third instantaneous velocity drop rate parameter. The ratio of the first instantaneous velocity decrease rate parameter to the second instantaneous velocity decrease rate parameter is used as the first instantaneous velocity decrease rate, and the ratio of the second instantaneous velocity decrease rate parameter to the third instantaneous velocity decrease rate parameter is used as the second instantaneous velocity decrease rate.

7. The engine reverse rotation detection and containment method as described in claim 6, characterized in that, The step of determining the current reverse rotation result of the engine based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold includes: The first instantaneous speed drop rate and the second instantaneous speed drop rate of each cylinder are compared with the preset judgment threshold; if the first instantaneous speed drop rate or the second instantaneous speed drop rate of any cylinder is greater than the preset judgment threshold, the current reverse judgment of the engine is determined to be successful.

8. An engine reverse rotation detection and containment system, characterized in that, include: The module includes a numbering module, a rotational speed determination module, a numbered tooth determination module, an instantaneous speed determination module, an instantaneous speed decrease rate determination module, a reverse judgment module, and a restraint module. The numbering module is configured to number each tooth in the crankshaft square wave signal according to a preset numbering rule. The speed determination module is configured to perform the following operations for each cylinder of the engine when it is determined that the current speed of the engine is less than a preset reverse speed threshold. The numbering tooth determination module is configured to: obtain the number of the tooth corresponding to the ignition time of the cylinder in the crankshaft square wave signal; and determine a preset number of teeth for reversal judgment based on the number of the tooth corresponding to the ignition time of the cylinder. The instantaneous speed determination module is configured to: obtain the rotation time of the tooth corresponding to the ignition time of the cylinder and all the teeth used for reversal judgment, and obtain the instantaneous speed of the tooth corresponding to the ignition time of the cylinder based on the rotation time of the tooth corresponding to the ignition time of the cylinder; and obtain the instantaneous speed of all the teeth used for reversal judgment based on the rotation time of all the teeth used for reversal judgment. Instantaneous speed drop rate determination module: Based on the instantaneous speed of the tooth corresponding to the ignition time of the cylinder and the instantaneous speed of all teeth used for reversal judgment, at least one instantaneous speed drop rate of the cylinder is obtained; The reversal judgment module is configured to: give the current reversal judgment result of the engine based on the instantaneous speed drop rate of the cylinder and a preset judgment threshold; The containment module is configured such that if the reversal judgment result is a successful reversal, the magnetization state of the ignition coil of the cylinder is adjusted.

9. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the engine reversal judgment and containment method according to any one of claims 1-7.

10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the engine reversal judgment and containment method as described in any one of claims 1-7.