Ignition signal generation method and device, equipment and storage medium

Through multiplying the crankshaft signal and the use of MCS microcontroller to control the ignition signal, the problem of ignition waveforms in advance is low, and higher -precision ignition control and larger ignition energy are achieved.

CN119373639APending Publication Date: 2025-01-28DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411438143.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The advance angle accuracy of the ignition waveform is low, resulting in the inability to maximize the ignition energy and inaccurate control.

Method used

Through the collection of crankshaft signals and multiplying processing, obtain higher accuracy of crankshaft angle information, and use the MCS micro -nuclear nucleucleucleucleucleuclear in the main chip to control the generation of ignition signals.

Benefits of technology

Improve the early angle accuracy of the ignition signal, reduce the CPU load, and ensure the maximization of ignition energy and the accuracy of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119373639A_ABST
    Figure CN119373639A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, and discloses an ignition signal generation method, device and equipment and a storage medium, and the ignition signal generation method comprises the steps that a crankshaft signal is collected, and frequency doubling is conducted on the crankshaft signal to obtain a frequency-doubled crankshaft signal; acquiring a real-time crankshaft angle and real-time system time based on the frequency-doubled crankshaft signal; instructions in the instruction set are received, and instruction types are judged; and generating an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time. According to the method, the crankshaft signal is subjected to frequency multiplication processing, so that angle information with higher precision is obtained; and the MCS micronucleus in the chip is used for controlling generation of the ignition signal, the occupied CPU load is low, and the advance angle precision of the generated ignition signal is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to an ignition signal generating method, device, equipment and storage medium. Background Art

[0002] During the engine compression process, in order to make the gas in the cylinder produce greater expansion thrust during ignition, ignition is required before the piston reaches the top dead center. The angle that the crankshaft rotates during the period from the ignition moment to the piston reaching the compression top dead center is called the ignition advance angle.

[0003] In order to maximize the ignition energy, ignition needs to be performed before the piston reaches the top dead center. The judgment of whether the advance angle has arrived is calculated based on the collected crankshaft signal. For a crankshaft signal disk with 60-2 teeth, each tooth is 6°, and the accuracy is low. If the CPU is used to subdivide the angle by calculating (speed x time) to determine the advance angle, it will not only occupy additional CPU load, but also cause the problem of inaccurate control. Summary of the invention

[0004] The present invention aims to provide an ignition signal generation method, device, equipment and storage medium, aiming to solve the technical problem of low advance angle accuracy of the ignition waveform.

[0005] To achieve the above object, the present invention provides an ignition signal generating method, the ignition signal generating method comprising:

[0006] Collecting a crankshaft signal and multiplying the crankshaft signal to obtain a multiplied frequency crankshaft signal;

[0007] Acquire the real-time crankshaft angle and the real-time system time based on the frequency-doubled crankshaft signal;

[0008] Receive instructions in the instruction set and determine the instruction type;

[0009] An ignition signal is generated based on the command type, the real-time crankshaft angle, and the real-time system time.

[0010] In one embodiment, the real-time crankshaft angle includes a first crankshaft angle; after the step of receiving an instruction in an instruction set and determining the type of instruction, the method further includes:

[0011] Calculate the reference angle;

[0012] When the instruction type is a first angle instruction type, obtaining a first target angle according to first angle instruction data of the first angle instruction and the reference angle;

[0013] Get the first crankshaft angle;

[0014] When the first crankshaft angle matches the first target angle and the instruction is the last instruction in the instruction set, an ignition waveform signal is generated to control the external driver chip to output an ignition signal.

[0015] In one embodiment, the step of calculating the reference angle includes:

[0016] Detection instruction update signal;

[0017] When the instruction update signal is detected, the reference angle is calculated according to the current crankshaft zero tooth angle, the current crankshaft angle, the top dead center angle of the corresponding cylinder, the instruction set execution cycle and the first instruction data.

[0018] In one embodiment, the real-time crankshaft angle includes a second crankshaft angle; after the step of receiving an instruction in an instruction set and determining the type of instruction, the step further includes:

[0019] When the instruction type is a second angle instruction type, obtaining a second target angle according to second angle instruction data of the second angle instruction and the reference angle;

[0020] Obtaining a second crankshaft angle;

[0021] When the second crankshaft angle matches the second target angle and the instruction is not the last instruction in the instruction set, the first system time and the second crankshaft angle are recorded, and the step of receiving the instruction in the instruction set and determining the instruction type is returned.

[0022] In one embodiment, when the second crankshaft angle matches the second target angle and the instruction is not the last instruction in the instruction set, after recording the first system time and the second crankshaft angle, and returning to the step of receiving the instruction in the instruction set and determining the instruction type, the method further includes:

[0023] When the instruction type is a time instruction type, obtaining the target time according to the time instruction data of the time instruction and the first system time;

[0024] When the real-time system time matches the target time and the instruction is not the last instruction of the instruction set, the real-time system time is recorded, and the step of receiving the instruction in the instruction set and determining the instruction type is returned.

[0025] In one embodiment, before the step of receiving an instruction in an instruction set and determining the instruction type, the method further includes:

[0026] Calculate the charging start angle, minimum charging time and ignition advance angle;

[0027] Get the instruction set converted from charging start angle, minimum charging time and ignition advance angle.

[0028] In one embodiment, the step of generating an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time comprises:

[0029] Periodically transmitting the ignition waveform signal to an external driver chip via a serial interface;

[0030] The external chip is controlled to output the ignition signal after receiving the ignition waveform signal.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides an ignition signal generating device, the device comprising:

[0032] A signal frequency multiplication module, used for collecting a crankshaft signal and performing frequency multiplication on the crankshaft signal to obtain a frequency multiplied crankshaft signal;

[0033] A signal acquisition module, used for acquiring a real-time crankshaft angle and a real-time system time based on the frequency-doubled crankshaft signal;

[0034] An instruction judgment module, used for receiving instructions in an instruction set and judging the instruction type;

[0035] A signal generating module is used to generate an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes an ignition signal generating device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the ignition signal generating method as described above.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, which is a computer-readable storage medium, and stores a computer program on the storage medium. When the computer program is executed by a processor, the steps of the ignition signal generating method as described above are implemented.

[0038] The present invention provides an ignition signal generation method, the ignition signal generation method comprising: collecting a crankshaft signal and multiplying the crankshaft signal to obtain a multiplied crankshaft signal; obtaining a real-time crankshaft angle and a real-time system time based on the multiplied crankshaft signal; receiving an instruction in an instruction set and determining the instruction type; and generating an ignition signal according to the instruction type, the real-time crankshaft angle, and the real-time system time. The method multiplies the crankshaft signal to obtain angle information with higher precision; and controls the generation of the ignition signal through a multi-channel sequencer (MCS) micro-core in a main chip, so that the CPU load occupied is low, and the advance angle precision of the generated ignition signal is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0041] Figure 1 A schematic diagram of a flow chart of a method for generating an ignition signal according to a first embodiment of the present invention;

[0042] Figure 2 A schematic diagram of a flow chart of a second embodiment of the method for generating an ignition signal according to the present invention;

[0043] Figure 3 A first flow chart of a method for generating an ignition signal according to a third embodiment of the present invention;

[0044] Figure 4 A second flow chart of the third embodiment of the ignition signal generating method of the present invention;

[0045] Figure 5 This is a schematic diagram of the module structure of an ignition signal generating device according to an embodiment of the present invention;

[0046] Figure 6 It is a schematic diagram of the structure of an ignition signal generating device in the hardware operating environment involved in the ignition signal generating method in an embodiment of the present invention.

[0047] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present invention and are not used to limit the present invention.

[0049] In order to better understand the technical solution of the present invention, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0050] The main solution of the embodiment of the present invention is: collecting crankshaft signals and multiplying the crankshaft signals to obtain multiplied crankshaft signals; obtaining real-time crankshaft angles and real-time system time based on the multiplied crankshaft signals; receiving instructions in an instruction set and determining instruction types; generating an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time.

[0051] In the CPU, the angle is subdivided by calculating (rotation speed x time) to determine the advance angle, which not only takes up extra CPU load but also causes the problem of inaccurate control.

[0052] The present invention performs frequency doubling processing on the crankshaft signal to obtain angle information with higher precision; and controls the generation of an ignition signal through an MCS micro-core in a main chip, so that the occupied CPU load is lower and the advance angle precision of the generated ignition signal is higher.

[0053] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an ignition signal generating device capable of realizing the above functions, etc. The following takes the ignition signal generating device as an example to illustrate this embodiment and the following embodiments.

[0054] Based on this, the embodiment of the present invention provides a method for generating an ignition signal, referring to Figure 1 , Figure 1 A flow chart of the first embodiment of the ignition signal generating method of the present invention is provided.

[0055] In this embodiment, the ignition signal generating method includes steps S10 to S40:

[0056] Step S10: collecting a crankshaft signal and multiplying the crankshaft signal to obtain a multiplied frequency crankshaft signal.

[0057] It should be understood that the crankshaft signal is an electrical signal generated by the crankshaft signal disk and the corresponding sensor. The collected crankshaft signal needs to enter the filter first, which can filter out some burr signals to avoid false responses. Then the frequency is multiplied by the digital phase-locked loop module (Digital PLL Module, DPLL), the period of the crankshaft signal is measured by the digital control module (DCM), and it is input into the phase-locked loop (PLL) for frequency multiplication. The determination of the multiplication factor will affect the accuracy and frequency of the multiplied signal. PLL determines the length of the multiplied signal period based on the measured period length and the multiplication factor to improve the frequency and accuracy of the signal. The multiplied signal is counted by the clock base unit (Time Base Unit, TBU) so that the crankshaft angle and system time can be obtained at any time.

[0058] Step S20: obtaining the real-time crankshaft angle and the real-time system time based on the frequency-doubled crankshaft signal.

[0059] It should be noted that the real-time crankshaft angle can be calculated through the crankshaft signal after frequency multiplication. The crankshaft signal is usually in units of crankshaft angle, and 1°CA represents one degree of crankshaft rotation in 360 degrees. By counting the number of pulses output by the PLL, the real-time angle of the crankshaft can be accurately calculated; in order to obtain the real-time system time, a real-time clock (RTC) module in a microprocessor or embedded system is used. The RTC module is usually equipped with an independent timer and non-volatile memory, which can provide a clock calendar function with continuous counting. By synchronizing with the crankshaft signal, the RTC can update the system time and date to ensure the accuracy of the time. At the end of each crankshaft signal cycle, the RTC module can update the system timestamp. In this way, not only can the real-time crankshaft angle be obtained, but also the system time can be synchronized with the actual movement of the crankshaft.

[0060] Step S30: receiving an instruction in the instruction set and determining the instruction type.

[0061] It should be understood that the structure corresponding to the instruction to write MCS is shown in the following table:

[0062]

[0063]

[0064] The instruction set contains three instructions. In addition to the instruction data, other parameters are shown in the following table.

[0065] Serial number type Output value End Sign Instruction Description 1 Comparison angle high no Charging start angle 2 Comparison time high no Minimum charging time 3 Comparison angle Low yes Ignition advance angle

[0066] Instruction 1 is used to start charging the ignition device. In order to prevent the engine speed from being too fast, resulting in the charging time being too short to ignite, instruction 2 is designed to ensure the shortest charging time. Instruction 3 turns off the charging when the crankshaft angle reaches the ignition advance angle, and the ignition device starts to ignite.

[0067] Step S40: Generate an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time.

[0068] It should be understood that after the CPU calculates the main ignition parameters (including the charging start angle, the minimum charging time, and the ignition advance angle), in order to reduce the CPU load, this solution converts the ignition parameters into an instruction set through the CPU and writes it into the memory of the MCS. The MCS core executes the corresponding instruction content according to the written logic and completes the generation of the ignition signal by controlling the timer output module (ARU-connected Timer Output Module, ATOM).

[0069] In this embodiment, the ignition signal generation method includes: collecting a crankshaft signal and multiplying the crankshaft signal to obtain a multiplied crankshaft signal; obtaining a real-time crankshaft angle and a real-time system time based on the multiplied crankshaft signal; receiving an instruction in an instruction set and determining the instruction type; and generating an ignition signal according to the instruction type, the real-time crankshaft angle, and the real-time system time. This method multiplies the crankshaft signal to obtain angle information with higher precision; and controls the generation of the ignition signal through the MCS microcore in the main chip, so that the CPU load occupied is low, and the advance angle accuracy of the generated ignition signal is high.

[0070] Based on the first embodiment of the present invention, in the second embodiment of the present invention, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be described in detail later. Figure 2 , Figure 2 The flowchart of the second embodiment of the ignition signal generation method of the present invention is provided. In step S30, the ignition signal generation method further includes:

[0071] Step S301: Calculate the reference angle.

[0072] It should be understood that after the MCS core detects the command update, according to the current crankshaft 0 tooth angle ANG tooth0 , Current crankshaft angle ANG cur , corresponding to the cylinder top dead center angle ANG tdc , instruction set execution cycle ANG period , first instruction data ANG cmd0 Calculate the reference angle, and its calculation formula (1) is as follows:

[0073] ANG ref =ANG tooth0 +ANG tdc +n*ANG period (1)

[0074] The value of n is calculated by formula (2):

[0075] 0≤ANG tooth0 +ANG tdc +ANG cmd0 –ANG cur +n*ANG period ≤ ANG period (2)

[0076] Step S302: when the instruction type is a first angle instruction type, obtaining a first target angle according to first angle instruction data of the first angle instruction and the reference angle.

[0077] It should be understood that the first target angle value is the sum of the first angle instruction data and the reference angle value.

[0078] Step S303: Obtain the first crankshaft angle.

[0079] Step S304: When the first crankshaft angle matches the first target angle and the instruction is the last instruction in the instruction set, an ignition waveform signal is generated to control the external driver chip to output an ignition signal.

[0080] It should be noted that MCS sets ATOM to angle comparison mode, and stores the above instruction output value (low) and the first target angle in the ATOM register; when the first crankshaft angle generated by the TBU matches the first target angle in the ATOM register, it is output according to the instruction output value (low), and ATOM returns the current TBU system time and the first crankshaft angle to MCS; and when the instruction is the last instruction in the instruction set, an ignition waveform signal is generated to control the external driver chip to output an ignition signal.

[0081] In step S30, the ignition signal generating method further includes:

[0082] Step S305: When the instruction type is a second angle instruction type, a second target angle is acquired according to second angle instruction data of the second angle instruction and the reference angle.

[0083] It should be noted that the second target angle is the sum of the second angle instruction data and the reference angle.

[0084] Step S306: obtaining a second crankshaft angle;

[0085] Step S307: When the second crankshaft angle matches the second target angle and the instruction is not the last instruction in the instruction set, record the first system time and the second crankshaft angle, and return to the step of receiving the instruction in the instruction set and determining the instruction type.

[0086] It should be understood that MCS sets ATOM to angle comparison mode, and stores the above instruction output value (high) and the second target angle in the ATOM register; when the second crankshaft angle generated by the TBU matches the second target angle in the ATOM register, it is output according to the instruction output value (high), and ATOM returns the current TBU system time and the second crankshaft angle to MCS, and returns the step of receiving the instructions in the instruction set and determining the instruction type.

[0087] Step S308: when the instruction type is a time instruction type, obtaining the target time according to the time instruction data of the time instruction and the first system time;

[0088] It should be noted that the target time is the sum of the time instruction data and the first system time.

[0089] Step S309: When the real-time system time matches the target time and the instruction is not the last instruction in the instruction set, the real-time system time is recorded, and the step of receiving the instruction in the instruction set and determining the instruction type is returned.

[0090] It should be understood that MCS sets ATOM to time comparison mode, and stores the above instruction output value (high) and target time in ATOM's register; when the first system time generated by TBU matches the target time in the ATOM register, it is output according to the instruction output value (high), and ATOM returns the current TBU system time and the second crankshaft angle to MCS, and returns the step of receiving the instructions in the instruction set and determining the instruction type.

[0091] In this embodiment, when the instruction type is the second angle instruction type, MCS sets ATOM to the angle comparison mode, and stores the above instruction output value (high) and the second target angle in the ATOM register; when the second crankshaft angle generated by the TBU matches the second target angle in the ATOM register, it is output according to the instruction output value (high), and ATOM returns the current TBU system time and the second crankshaft angle to the MCS, and returns the step of receiving the instruction in the instruction set and judging the instruction type; when the instruction type is the time instruction type, MCS sets ATOM to the time comparison mode, and stores the above instruction output value (high) and the target time in the ATOM register; when the first system time generated by the TBU matches the target time in the ATOM register, it is output according to the instruction output value (high) , and ATOM returns the system time and the second crankshaft angle of the current TBU to MCS, and returns the step of receiving the instruction in the instruction set and judging the instruction type; when the instruction type is the first angle instruction type, MCS sets ATOM to angle comparison mode, and stores the above instruction output value (low) and the first target angle in the ATOM register; when the first crankshaft angle generated by the TBU matches the first target angle in the ATOM register, it is output according to the instruction output value (low), and ATOM returns the system time and the first crankshaft angle of the current TBU to MCS; and when the instruction is the last instruction in the instruction set, an ignition waveform signal is generated to control the external driver chip to output an ignition signal, and the MCS microcore in the main chip is used to control the generation of the ignition signal, so that the advance angle accuracy of the generated ignition signal is higher.

[0092] Based on the first embodiment and / or the second embodiment of the present invention, in the third embodiment of the present invention, the same or similar contents as those in the first and second embodiments can be referred to the above description, and will not be described in detail later. Figure 3 , Figure 3 The first flow chart of the third embodiment of the ignition signal generation method of the present invention is provided. Before step S30, the ignition signal generation method further includes:

[0093] Step S310: Calculate the charging start angle, minimum charging time and ignition advance angle;

[0094] Step S311: Obtaining an instruction set converted from a charging start angle, a minimum charging time, and an ignition advance angle.

[0095] It should be noted that according to the above-mentioned embodiment 1, instruction 1 is used to start charging the ignition device. In order to prevent the engine speed from being too fast and causing the charging time to be too short to ignite, instruction 2 is designed to ensure the shortest charging time. When the crankshaft angle reaches the ignition advance angle, instruction 3 turns off the charging and the ignition device starts to ignite.

[0096] On this basis, please refer to Figure 4 , Figure 4 The second flow chart of the third embodiment of the ignition signal generation method of the present invention is provided. In step S40, the ignition signal generation method further includes:

[0097] Step S401: periodically transmitting the ignition waveform signal to an external driver chip via a serial interface;

[0098] Step S402: controlling the external chip to output the ignition signal after receiving the ignition waveform signal.

[0099] It should be understood that the control unit of the ignition system (such as the engine control unit ECU) generates an ignition waveform signal according to the operating state of the engine. These signals usually include information such as the ignition timing and duration. The generated analog ignition waveform signal needs to be converted into a digital signal through an analog-to-digital converter (ADC) so that it can be sent through a serial interface. The digital ignition waveform signal is then sent through a serial communication protocol (such as UART, SPI or I2C). At this stage, the signal is packaged into a data frame and a checksum is added to ensure the accuracy of data transmission. The external driver chip receives the digital signal through its serial communication interface and decodes it back to the original ignition waveform. This process requires a digital-to-analog converter (DAC) inside the external chip to reproduce the analog waveform. The recovered analog ignition waveform signal is used to activate the ignition coil to generate a spark to ignite the compressed air-fuel mixture in the cylinder.

[0100] In this embodiment, since the ignition waveform driving capability generated by the ECU is insufficient, an additional driver chip is required for driving. For multi-cylinder engines, the waveform signal is transmitted using the MSC serial interface, which can reduce the number of ECU pins required. The corresponding external driver chip uses the L9788 with the MSC interface. During operation, the MSC module periodically frames and sends out the ATOM level and other data. After the external chip receives the data, it generates a driving output through the relevant circuit, thereby improving the advance angle accuracy of the ignition signal.

[0101] The present invention also provides an ignition signal generating device, please refer to Figure 5 , the ignition signal generating device comprises:

[0102] The signal frequency multiplication module 10 is used to collect the crankshaft signal and perform frequency multiplication on the crankshaft signal to obtain a frequency multiplied crankshaft signal;

[0103] A signal acquisition module 20, for acquiring a real-time crankshaft angle and a real-time system time based on the frequency-doubled crankshaft signal;

[0104] An instruction judging module 30, for receiving instructions in an instruction set and judging the instruction type;

[0105] The signal generating module 40 is used to generate an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time.

[0106] Optionally, the instruction judgment module 30 is also used to calculate a reference angle; when the instruction type is a first angle instruction type, a first target angle is obtained according to the first angle instruction data of the first angle instruction and the reference angle; a first crankshaft angle is obtained; when the first crankshaft angle matches the first target angle and the instruction is the last instruction in the instruction set, an ignition waveform signal is generated to control the external driver chip to output an ignition signal.

[0107] Optionally, the instruction judgment module 30 is also used to detect the instruction update signal; when the instruction update signal is detected, the reference angle is calculated based on the current crankshaft zero tooth angle, the current crankshaft angle, the top dead center angle of the corresponding cylinder, the instruction set execution cycle and the first instruction data.

[0108] Optionally, the instruction judgment module 30 is also used to obtain a second target angle according to the second angle instruction data of the second angle instruction and the reference angle when the instruction type is a second angle instruction type; obtain a second crankshaft angle; when the second crankshaft angle matches the second target angle and the instruction is not the last instruction in the instruction set, record the first system time and the second crankshaft angle, and return to the step of receiving the instruction in the instruction set and judging the instruction type.

[0109] Optionally, the instruction judgment module 30 is also used to obtain the target time according to the time instruction data of the time instruction and the first system time when the instruction type is a time instruction type; when the real-time system time matches the target time and the instruction is not the last instruction of the instruction set, record the real-time system time, and return to the step of receiving the instruction in the instruction set and judging the instruction type.

[0110] Optionally, the instruction judgment module 30 is also used to calculate the charging start angle, the minimum charging time and the ignition advance angle; and obtain an instruction set converted from the charging start angle, the minimum charging time and the ignition advance angle.

[0111] Optionally, the signal generating module 40 is further configured to periodically transmit the ignition waveform signal to an external driving chip via a serial interface; and control the external chip to output the ignition signal after receiving the ignition waveform signal.

[0112] The ignition signal generating device provided by the present invention adopts the ignition signal generating method in the above embodiment, which can solve the technical problem of low advance angle accuracy of the ignition waveform. Compared with the prior art, the beneficial effects of the ignition signal generating device provided by the present invention are the same as the beneficial effects of the ignition signal generating method provided by the above embodiment, and other technical features in the ignition signal generating device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0113] The present invention provides an ignition signal generating device, the ignition signal generating device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the ignition signal generating method in the above-mentioned embodiment one.

[0114] Reference below Figure 6 , which shows a schematic diagram of the structure of an ignition signal generating device suitable for implementing an embodiment of the present invention. The ignition signal generating device in the embodiment of the present invention may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6The ignition signal generating device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0115] like Figure 6 As shown, the ignition signal generating device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the ignition signal generating device to communicate with other devices wirelessly or by wire to exchange data. Although the ignition signal generating device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0116] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present invention are executed.

[0117] The ignition signal generating device provided by the present invention adopts the ignition signal generating method in the above embodiment, which can solve the technical problem of low advance angle accuracy of the ignition waveform. Compared with the prior art, the beneficial effects of the ignition signal generating device provided by the present invention are the same as the beneficial effects of the ignition signal generating method provided by the above embodiment, and other technical features in the ignition signal generating device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0118] It should be understood that the various parts disclosed in the present invention can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0119] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0120] The present invention provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the ignition signal generating method in the above-mentioned embodiment.

[0121] The computer-readable storage medium provided by the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0122] The computer-readable storage medium may be included in the ignition signal generating device; or may exist independently without being assembled into the ignition signal generating device.

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

[0124] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0125] The modules involved in the embodiments of the present invention may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0126] The readable storage medium provided by the present invention is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned ignition signal generation method, and can solve the technical problem of low advance angle accuracy of the ignition waveform. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present invention are the same as the beneficial effects of the ignition signal generation method provided by the above-mentioned embodiment, and will not be repeated here.

[0127] The above descriptions are only some embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. A method for generating an ignition signal, characterized in that: The ignition signal generating method comprises: Collecting a crankshaft signal and multiplying the crankshaft signal to obtain a multiplied frequency crankshaft signal; Acquire the real-time crankshaft angle and the real-time system time based on the frequency-doubled crankshaft signal; Receive instructions in the instruction set and determine the instruction type; An ignition signal is generated based on the command type, the real-time crankshaft angle, and the real-time system time.

2. The ignition signal generating method according to claim 1, characterized in that: The real-time crankshaft angle includes a first crankshaft angle; after the step of receiving an instruction in an instruction set and determining the instruction type, the method further includes: Calculate the reference angle; When the instruction type is a first angle instruction type, obtaining a first target angle according to first angle instruction data of the first angle instruction and the reference angle; Get the first crankshaft angle; When the first crankshaft angle matches the first target angle and the instruction is the last instruction in the instruction set, an ignition waveform signal is generated to control the external driver chip to output an ignition signal.

3. The ignition signal generating method according to claim 2, characterized in that: The step of calculating the reference angle comprises: Detection instruction update signal; When the instruction update signal is detected, the reference angle is calculated according to the current crankshaft zero tooth angle, the current crankshaft angle, the top dead center angle of the corresponding cylinder, the instruction set execution cycle and the first instruction data.

4. The ignition signal generating method according to claim 3, characterized in that: The real-time crankshaft angle includes a second crankshaft angle; after the step of receiving the instruction in the instruction set and determining the instruction type, the method further includes: When the instruction type is a second angle instruction type, obtaining a second target angle according to second angle instruction data of the second angle instruction and the reference angle; Obtaining a second crankshaft angle; When the second crankshaft angle matches the second target angle and the instruction is not the last instruction in the instruction set, the first system time and the second crankshaft angle are recorded, and the step of receiving the instruction in the instruction set and determining the instruction type is returned.

5. The ignition signal generating method according to claim 4, characterized in that: After the step of recording the first system time and the second crankshaft angle and returning the step of receiving the instruction in the instruction set and determining the instruction type when the second crankshaft angle matches the second target angle and the instruction is not the last instruction in the instruction set, the method further includes: When the instruction type is a time instruction type, obtaining the target time according to the time instruction data of the time instruction and the first system time; When the real-time system time matches the target time and the instruction is not the last instruction of the instruction set, the real-time system time is recorded, and the step of receiving the instruction in the instruction set and determining the instruction type is returned.

6. The ignition signal generating method according to claim 1, characterized in that: Before the step of receiving the instruction in the instruction set and determining the instruction type, the method further includes: Calculate the charging start angle, minimum charging time and ignition advance angle; Get the instruction set converted from charging start angle, minimum charging time and ignition advance angle.

7. The ignition signal generating method according to claim 1, characterized in that: The step of generating an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time comprises: Periodically transmitting the ignition waveform signal to an external driver chip via a serial interface; The external chip is controlled to output the ignition signal after receiving the ignition waveform signal.

8. An ignition signal generating device, characterized in that: The device comprises: A signal frequency multiplication module, used for collecting a crankshaft signal and performing frequency multiplication on the crankshaft signal to obtain a frequency multiplied crankshaft signal; A signal acquisition module, used for acquiring a real-time crankshaft angle and a real-time system time based on the frequency-doubled crankshaft signal; An instruction judgment module, used for receiving instructions in an instruction set and judging the instruction type; A signal generating module is used to generate an ignition signal according to the instruction type, the real-time crankshaft angle and the real-time system time.

9. An ignition signal generating device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the ignition signal generating method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the ignition signal generating method according to any one of claims 1 to 7 are implemented.