CN106545452B - A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method - Google Patents

A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method Download PDF

Info

Publication number
CN106545452B
CN106545452B CN201610869257.XA CN201610869257A CN106545452B CN 106545452 B CN106545452 B CN 106545452B CN 201610869257 A CN201610869257 A CN 201610869257A CN 106545452 B CN106545452 B CN 106545452B
Authority
CN
China
Prior art keywords
signal
advance
crankshaft
position signal
mcu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610869257.XA
Other languages
Chinese (zh)
Other versions
CN106545452A (en
Inventor
郭树满
李权才
王明
吴金妹
刘海潮
纪占玲
秦朝举
刘焕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
North China University of Water Resources and Electric Power
Original Assignee
North China University of Water Resources and Electric Power
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by North China University of Water Resources and Electric Power filed Critical North China University of Water Resources and Electric Power
Priority to CN201610869257.XA priority Critical patent/CN106545452B/en
Publication of CN106545452A publication Critical patent/CN106545452A/en
Application granted granted Critical
Publication of CN106545452B publication Critical patent/CN106545452B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02PIGNITION, OTHER THAN COMPRESSION IGNITION, FOR INTERNAL-COMBUSTION ENGINES; TESTING OF IGNITION TIMING IN COMPRESSION-IGNITION ENGINES
    • F02P5/00Advancing or retarding ignition; Control therefor
    • F02P5/04Advancing or retarding ignition; Control therefor automatically, as a function of the working conditions of the engine or vehicle or of the atmospheric conditions
    • F02P5/145Advancing or retarding ignition; Control therefor automatically, as a function of the working conditions of the engine or vehicle or of the atmospheric conditions using electrical means
    • F02P5/15Digital data processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The present invention provides a kind of oil/CNG dual fuel engine electronic spark advance devices, including MCU;Differential signal generates processing circuit, for the crankshaft-position signal that MCU is transmitted to be converted into differential signal output circuit;Power module;Communication module, for communicating between electronic spark advance device and host computer.The present invention also provides a kind of oil/CNG dual fuel engine ignition advance angle control optimization methods, including:STP1:After MCU obtains crankshaft-position signal, the hypodontia of bent axle is captured;STP2:According to the hypodontia of bent axle, the bent axle number of teeth of one week is calculated, while calculate the corner number of degrees between adjacent teeth;STP3:By MAP operations, the ignition advance angle needed under current working in advance is calculated;STP4:According to the crank angle between adjacent teeth and need angle value in advance, position when calculating next tooth simulation output.The advancing device of the present invention can realize the type of the adjustment of ignition advance angle, system energy automatic identification crankshaft signal and camshaft signal under full working scope.

Description

A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method
Technical field
The present invention relates to a kind of oil CNG dual fuel engine electronic spark advance devices and control ignition advance angle optimization method.
Background technology
With environment deterioration and emission regulation it is increasingly strict, natural gas is with its rich reserves, exhaust emission is few, warp The features such as Ji property is good becomes good alternative motor fuels.At present natural gas on automobile mainly with compressed natural gas(CNG)Shape Formula realizes the work of oil/gas dual-purpose fuel pattern.Increase a set of air supply system and control system on former vehicle(Combustion gas ECU), combustion gas ECU obtains the former parameters such as vehicle fuel oil injection pulse width and rotating speed, while reads and according to the long-term fuel oil amendment of former vehicle ECU(long fuel trim)With short-term combustion amendment(short fuel trim )Value determines fuel gas injection pulsewidth.Simultaneously according to natural gas The difference of characteristic and the characteristic of oil suitably adjusts ignition advance angle.The controller of oil/gas integral type is also immature at present, and igniting carries The adjustment of anterior angle mainly realizes that the angle that existing electronic spark advance device shifts to an earlier date has 6 by the electronic spark advance device of installationoCA、 9oCA、12 oCA and 15oCA, it is impossible to realize the adjustment of other angles, and angle in advance immobilizes in the range of full working scope, It cannot be adjusted according to operating mode.It is known that ignition advance angle is to the emission performance of engine, economy, dynamic property, rotating speed There is important influence with delivery temperature etc., it is therefore desirable to the electronic spark advance device meet demand being continuously adjusted in the range of full working scope.
Invention content
The technical problem to be solved in the present invention be to provide it is a kind of can be achieved 0.1 °C of A be continuously adjusted, adjustable range it is reachable 0.1 °C of A ~ 20 °C A and can be of the existing technology to solve the problems, such as according to the electronic spark advance device that operating mode is demarcated.
The present invention uses following technical scheme:
A kind of oil/CNG dual fuel engine electronic spark advance devices, including
MCU, for receiving the throttle position signal of extraneous input, oil/gas switching signal, crankshaft-position signal;
Differential signal generates processing circuit, and the crankshaft-position signal after shifting to an earlier date for export MCU is converted into difference letter Number output;
Power module, for powering for the power circuit of electronic spark advance device;
Communication module, for communicating between electronic spark advance device and host computer.
Crankshaft signal processing module is further included, the crankshaft-position signal is by crankshaft signal processing module to signal condition After, send a signal to MCU.
The redundant circuit I being arranged between crankshaft signal processing module and MCU is further included, when electronic spark advance device works normally When, after the crankshaft-position signal by crankshaft signal processing module is by redundant circuit I, crankshaft-position signal is exported To MCU, when electronic spark advance device breaks down, after the crankshaft-position signal is by redundant circuit I, by crankshaft-position signal It exports to ECU.
The MCU is additionally operable to receive camshaft-position signal, at this point, camshaft-position signal improves mould through camshaft signal It is exported after block conditioning to MCU, the camshaft location after MCU is handled by camshaft signal output module after output in advance is believed Number, redundant circuit II, when electronic spark advance device works normally, the cam are set between camshaft signal conditioning module and MCU After shaft position signal is by redundant circuit II, crankshaft-position signal is exported to MCU, when electronic spark advance device breaks down, After the camshaft-position signal is by redundant circuit II, crankshaft-position signal is exported to ECU.
The electronic spark advance device further includes relay, and the relay is normally closed relay, when the normal work of electronic spark advance device When making, MCU control relays disconnect, and crankshaft-position signal and camshaft-position signal are exported to MCU, when electronic spark advance device occurs During failure, relay is closed, and crankshaft-position signal and camshaft-position signal after relay by exporting to ECU.
The differential signal generation processing circuit includes the first triode Q1, the second triode Q2, third transistor Q3, the The emitter-base bandgap grading of the collector of one triode Q1 and the second triode Q2 are all connected with power module, and the base stage of the second triode Q2 is led to successively After crossing the 6th resistance R6 and the 4th resistance R4, the base stage of the first triode Q1 is connected, the collector of third transistor Q3 is connected to Between 6th resistance R6 and the 4th resistance R4, the emitter-base bandgap grading connection power module of third transistor Q3, the base stage of third transistor Q3 Receive MCU outputs in advance after crankshaft-position signal, the collector of the emitter-base bandgap grading of the second triode Q2 and the first triode Q1 is defeated Go out two paths of differential signals, meanwhile, the emitter-base bandgap grading of the second triode Q2 passes through first resistor R1 connection power modules, the first triode Q1 Collector pass through second resistance R2 connection power modules.
A kind of oil/CNG dual fuel engine ignition advance angle control optimization methods, including:
STP1:After MCU obtains crankshaft-position signal, the hypodontia of bent axle is captured;
STP2:According to the hypodontia of bent axle, the bent axle number of teeth of one week is calculated, and each tooth is numbered, while calculate phase The corner number of degrees between adjacent tooth;
STP3:By MAP operations, the ignition advance angle needed under current working in advance is calculated;
STP4:Step-length every time in advance between adjacent teeth is pre-set, according to the crank angle and need between adjacent teeth The angle value to be shifted to an earlier date, position when calculating next tooth simulation output, according to recently input the period of tooth, angular speed calculate it is defeated Go out the cycle T of tooth, recently inputting the tooth rim phase subtracts high level of the half of degree of advance corresponding time as simulation output tooth Cycle T h, T subtracts low level cycle T ls of the Th as simulation output tooth, currently to input the information prediction of tooth during calculating The period that next tooth shifts to an earlier date after reaching the advance angle that bent axle needs shift to an earlier date under current working in STP3, no longer shifts to an earlier date.
Rational time range is set to the time relationship of two adjacent teeth to verify, if next tooth shifts to an earlier date Time beyond setting time range, then in the cycle rest period, advance angle no longer shifts to an earlier date.
Step-length in the STP4 between pre-set adjacent teeth every time in advance is 0.1 °C of A, and ignition advance angle adjusts model It encloses for 0.1 °C of A ~ 20 °C A.
In above-mentioned STP4, when prediction calculates the period in advance of next tooth under current working, while calculate under current working Angular acceleration between adjacent teeth, it is pre- by period, angular speed and ignition advance angle that tooth is inputted under angular acceleration, current working It surveys and calculates next tooth period that the angle needs in advance.
Beneficial effects of the present invention:(1)Electronic spark advance device can realize the calibration and adjustment of ignition advance angle under full working scope, The type of system energy automatic identification crankshaft signal and camshaft signal, suitable for current most of vehicle.(2)Hardware circuit uses Redundancy Design method, in the case where electronic spark advance device loses power supply, microcontroller loses normal function, camshaft signal and Crankshaft signal can still be exported by original signal, improve the reliability of system.(3)Analog signal is using position positioning output Method eliminates the accumulation of error, improves the positional precision of output signal, and minimum advance angle is 0.1oCA, full aduance 20oCA。
Description of the drawings
Fig. 1 is the crankshaft-position signal schematic diagram before and after the processing of electronic spark advance device.
Fig. 2 is the electrical block diagram of electronic spark advance device of the present invention.
Fig. 3 is the circuit diagram of crankshaft signal processing module of the present invention.
Fig. 4 is the redundant circuit schematic diagram of the present invention.
Fig. 5 is differential signal voltage conversion circuit schematic diagram.
Fig. 6 is the schematic diagram that differential signal generates processing circuit.
Fig. 7 is the input of Fig. 6 circuits and an oscillogram of output signal.
Fig. 8 is the method flow diagram of the optimization design of the ignition advance angle of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings 1 ~ 8 and specific embodiment the present invention is described in further detail.
In the prior art, engine crankshaft position sensor is usually magnetoelectric sensor, according to the rotating speed of engine not The differential signal of different sine waves with output two-way level and frequency;CMPS Camshaft Position Sensor is hall sensor, defeated Go out the TTL signal of 5V.During the ECU work of former machine, according to the feature tooth and crank position of CMPS Camshaft Position Sensor input signal The feature tooth of sensor input signal, which is realized, to be synchronized.After synchronizing, the angle of electronic spark advance is by the value that MAP is inquired according to existing calculation Method calculates some position in crankshaft signal and carries out triggering igniting.
And during the work of electronic spark advance device, two-way crankshaft-position signal, throttle position signal, camshaft-position signal(It can Not connect), oil/gas switching switch signal input igniting advancing device.Crankshaft-position signal is shaped to as shown in Figure 1 through processing circuit Electronic spark advance before signal be input to the processor of electronic spark advance device, angle in advance, processor output as needed shifts to an earlier date Crankshaft-position signal afterwards, the signal is through differential signal processing circuit, the differential signal of output two-way 5V.
The basis that camshaft-position signal and crankshaft-position signal are engine control igniting and oil spout sequential judges, it is heavy The property wanted is self-evident.Since electronic spark advance device is connected in camshaft-position signal and crankshaft-position signal circuit.Therefore, must It must ensure electronic spark advance device performance stabilization, reliable operation, when electronic spark advance device is faulty to work, former machine ECU is remained to just Often work.Normal works of the ECU in failure is ensured using redundant circuit and relay circuit in the present invention
Currently used camshaft signal type has n+1(N is cylinder number)And 4+4(4 long tooths, 4 short teeth); The type of crankshaft signal has 60-2 and 36-2, and system needs the type of energy automatic identification signal to improve the pervasive of electronic spark advance device Property.
As shown in Fig. 2, oil provided by the invention/CNG dual fuel engine electronic spark advance devices, include the place of electronic spark advance device It manages device MCU, MCU and receives the throttle position signal, oil/gas switching signal, crankshaft-position signal of extraneous input, and located Reason, further include differential signal generation processing circuit, the circuit to MCU export shift to an earlier date after crankshaft-position signal be converted into difference Signal exports.Power module is further included, power supply is converted to 5V by power module from 12V, is that the power circuit of electronic spark advance device supplies Electricity.Host computer is also connected by the communication module of serial communication on MCU, the optimum igniting for realizing full working scope by host computer shifts to an earlier date The calibration at angle.
Throttle position signal and oil/gas switching signal are later exported signal to MCU by signal conditioning circuit conditioning, The signal conditioning circuit is filtered shaping mainly for throttle position signal and oil-gas switch switching signal.Because in order to pacify For the sake of complete, the signal of electronic throttle door position signal output two-way 0-5V increases with the aperture of air throttle and is become larger all the way, another Road is reduced with the increase of the aperture of air throttle, and the sum of voltage of two-way is equal to 5V.The throttle signal connect in the present invention It is increased signal with aperture increase, it is filtered using single order RC low-pass filter circuits.Oil/gas switching signal is one A switching value, which is derived from the voltage at the high-pressure solenoid valve of gas burning system, therefore the voltage is 12V, needs using resistance Partial pressure mode samples, while the shake of signal is eliminated by the existing software for eliminating shake.
Since existing crankshaft-signal sensor is magneto-electric, when rotating speed is high, the voltage of output signal is high, and works as and turn Speed it is low when, the signal voltage of output is low, according to fixed door limit value handle signal when, the crankshaft signal facewidth that treated can because Rotating speed is different and different, and " distortion " is positioned so as to cause the rotating speed and igniting that are calculated by crankshaft signal, oil spout etc..Cause This, it is desirable to provide crankshaft-position signal is carried out to improve later crankshaft signal processing module, the signal after conditioning is sent to MCU.In the present invention, as shown in figure 3, using integrated differential signal input and the MAX9924 cores of the function of adaptive peak thresholding The crankshaft-position signal that piece exports variable reluctance crankshaft sensor improves, wherein, IN+ and the two-way that IN- is input are bent Shaft position signal.The two paths of differential signals of crankshaft sensor is separately input to the first pin and second pin of MAX9924 chips, Signal after shaping is exported from the 6th pin.
In the present invention, MCU is additionally operable to receive camshaft-position signal, at this point, camshaft-position signal is through camshaft signal It is exported after conditioning module conditioning to MCU, the cam axle position after MCU is handled by camshaft signal output module after output in advance Confidence number, camshaft signal conditioning module are existing module.
And processor MCU, the microcontroller of MC9S12GN32 20-PIN TSSOP encapsulation is employed in of the invention as igniting The processor of advancing device, to the electronic throttle gate signal of input carries out A/D samplings, oil/gas switching signal is judged and is carried out Degree of advance MAP operations, crankshaft-position signal and camshaft-position signal input and output processing etc..The microcontroller is by optimization 16 8-digit microcontroller of automotive grade, have the characteristics that low cost, high-performance, pin number are few.Bus frequency is 16MHz's S12CPU kernels, 32KB on piece flash memories, 1KB EEPROM, 2K RAM, built-in 1MHz clocks can be configured to 10,6 tunnel precision A/D is converted, and timing channel, 1 general Asynchronous Reception/transmitter are compared in 8 16 input capture/outputs(UARTs), 68 Position or 16,3 tunnels PWM channels, 1 programmable periodic interruptions timer(API)With a real-time interrupt(RTI), software guards the gate Dog.Since MCU processors employ MC9S12GN32 microcontrollers, improved by the crankshaft signal of crankshaft signal modulate circuit Processor MCU is input into 5V.
In order to which when making that electronic spark advance device is faulty to work, former machine ECU remains to work normally, need to be in electronic spark advance device Redundant circuit as shown in Figure 4 is set in circuit, which includes the identical redundant circuit I of structure and redundant circuit II, Redundant circuit I is connected between crankshaft signal processing module and MCU, redundant circuit II be arranged on camshaft signal processing module and Between MCU.The redundant circuit includes the 7th resistance R7 being connected with MCU and the first diode D1 being connect with ECU, the 8th electricity The series circuit of R8 is hindered, one end of the 7th resistance R7 is connect with the anode of the first diode D1, crankshaft-position signal and camshaft One end that one end that position signal is input a signal into the 7th resistance R7 is connected with the first diode D1.
Under normal circumstances, the 7th electricity of crankshaft position sensor and the signal of CMPS Camshaft Position Sensor output through 100 Ω Resistance R7 is input to processor MCU, and processor is to the analog signal after ECU output adjustments;When processor breaks down, it is impossible to just During normal output signal, eightth resistance R8 of the signal through the first diode D1 and 4.7k Ω inputted at this time is exported to ECU, output Though signal in advance, does not still ensure that engine work.
Meanwhile crankshaft-position signal and camshaft-position signal enter rear class electricity after a normally closed relay Road, the break-make of relay are controlled by the processor of system, and when system is working properly, relay disconnects, and the signal of input is directly defeated Enter in processor and handled;When exception and cisco unity malfunction occurs in system, relay is in closed state and signal leads to It crosses relay and is directly inputted to ECU, ensure that engine work.
Processor output in advance after bent axle analog signal, need to be converted into differential signal output, former machine ECU could know The not signal, electronic spark advance device used is the output that differential signal is realized using transformer currently on the market, and transformer works When generate electromagnetic interference, influence the stability of system, while the signal noise exported is more, reduces the reliability of system.
Differential signal output processing circuit includes the first triode Q1, the second triode Q2, third transistor Q3, and the one or three The emitter-base bandgap grading of the collector of pole pipe Q1 and the second triode Q2 are all connected with power module, and the base stage of the second triode Q2 passes sequentially through After six resistance R6 and the 4th resistance R4, the base stage of the first triode Q1 is connected, the collector of third transistor Q3 is connected to the 6th Between resistance R6 and the 4th resistance R4, the emitter-base bandgap grading connection power module of third transistor Q3, the base stage of third transistor Q3 receives MCU outputs in advance after crankshaft-position signal, the collector output difference of the emitter-base bandgap grading of the second triode Q2 and the first triode Q1 Two crankshaft-position signals after being divided to, meanwhile, the emitter-base bandgap grading of the second triode Q2 is by first resistor R1 connection power modules, and first The collector of triode Q1 passes through second resistance R2 connection power modules.First triode Q1, the second triode Q2 are MMUN2211L triodes, third transistor Q3 are BCR553 triodes, and first resistor R1, second resistance R2 are drop-down and pull-up Resistance.When IN ends input low level, Q1, Q2, Q3 are both turned on, and OUT+ and OUT- move -5V and+5V to respectively(Ignore triode Pressure drop), when IN ends input high level, Q1, Q2, Q3 are turned off, and OUT+ and OUT- exports+5V and -5V respectively at this time, input Output waveform logic chart is as shown in Figure 7.
When output difference signal, the power input of differential signal output circuit needs to realize the conversion of negative voltage, if Timing realizes that positive electricity is pressed onto the conversion of negative voltage using the LMC7600 chips of National Semiconductor, the chip can will+ Positive voltage mirror transformation between 1.5-+10V is negative voltage, while there are many different usages for the chip, realize different voltages Output.Since the crankshaft-position signal processing circuit of ECU employs the functional circuit of adaptive peak thresholding, differential signal Adaptive adjustment can be achieved in voltage in larger voltage range, therefore uses the common usage as shown in Fig. 5, and input+ The voltage of 5V, output-the 5V, -5V of output connect the emitter-base bandgap grading of the second triode Q2 and the emitter-base bandgap grading of the first triode Q1.
The present invention also provides a kind of optimization method of oil/CNG dual fuel engines control ignition advance angle, including:
STP1:After MCU obtains crankshaft-position signal, the feature tooth of bent axle is captured(That is hypodontia);
STP2:According to the hypodontia of bent axle, the bent axle number of teeth of one week is calculated, and each tooth is numbered, while calculate phase Crankshaft angle in degrees between adjacent tooth;The number of the crank teeth of calculating present engine is needed, according to the number meter of crank teeth Calculate the crankshaft angle in degrees between two neighboring tooth;
STP3:By MAP operations, calculating crankshaft-position signal under current working needs the degree of ignition advance angle in advance Number, the number of degrees are obtained from MAP tables;
STP4:Pre-set step-length every time in advance between adjacent teeth, then according under current working according to adjacent teeth it Between crank angle and need in advance angle value, position when calculating next tooth simulation output(That is angle), according to nearest Input period of tooth, angular speed calculates the cycle T of output gear, recently input the tooth rim phase and subtract the degree of advance corresponding time Half subtracts low level cycle T ls of the Th as simulation output tooth as the cycle T h, T of the high level of simulation output tooth, calculates Shi Jun is currently to input the period that the next tooth of the information prediction of tooth shifts to an earlier date, until reaching in STP3 bent axle needs under current working After advance angle in advance, no longer shift to an earlier date.
It is because the MCU of electronic spark advance device is when calculating that the period is considered during above-mentioned calculating, and calculating is not angle, because of angle Degree can not calculate, the time that angle in advance is really needed to turn over, and a tooth required time is calculated according to rotating speed.
Step-length in STP4 between pre-set adjacent teeth every time in advance is 0.1 °.Minimum ignition advance angle is 0.1 ° CA, maximum ignition advance angle are 20 °C of A.
In above-mentioned STP4, when prediction calculates the period in advance of next tooth under current working, while calculate under current working Angular acceleration between adjacent teeth, it is pre- by period, angular speed and angle in advance that tooth is inputted under angular acceleration, current working It surveys and calculates next tooth period that the angle needs in advance.
Calculate next tooth shift to an earlier date angle when consider simultaneously acceleration be because:When ignition advance angle shifts to an earlier date, according to work as The information of the tooth of preceding input(Tooth number, period, angular speed etc.)When predicting the position that next tooth occurs, need to export simulation one by one Crankshaft signal after in advance.When being worked due to engine, though in the steady state, in a cycle, the transient speed of engine It is fluctuation, therefore for the accuracy for improving prediction, by acceleration to correct each tooth outgoing position.The meter of the acceleration Calculation method can by calculate a upper tooth angular speed and when nipper angular speed difference and the computation of Period that turns over.
Rational time range is set to the time relationship of two adjacent teeth, if the time in advance of next tooth surpasses Go out setting time range, then in the cycle rest period, advance angle no longer shifts to an earlier date.
Bent axle turns over the period of each tooth in the range of a circle(That is the time)It is equal, if with acceleration, by It is limited in the variation range of acceleration so that the time for turning over each tooth is unequal, but is limited in certain range, if Engine is generated burr by external disturbance such as electromagnetic interference or loses a tooth, it is possible that will when calculating next tooth Next but one tooth is either happened i.e. that there are multiple tooth or lose the feelings of tooth by burr signal as true tooth as next tooth When calculating advance angle at this time mistake can occur for condition, therefore, be between adjacent teeth after engine captures each crank teeth Period carry out rational inspection, due to losing tooth or the multiple tooth mistake for causing to settle at one go during electronic spark advance during preventing from calculating Accidentally.At this time according to the rotating speed of engine, the time range of rational relation is set to the time relationship of two adjacent teeth, such as 0.7T+1.8T(T be it is nonaccelerated in the case of turn over period of each tooth), under current rotating speed, calculate the advance angle of this circle When, if the time that next tooth shifts to an earlier date beyond setting time range, under current rotating speed, when bent axle calculates advance angle, this Advance angle, engine no longer oil spout or CNG are no longer calculated in circle.It must gradually be mentioned according to certain step-length when therefore in advance After desired value, the position for calculating advance signal and the high level for simulating tooth and the count value that should export of low level, appropriate Tooth number at trigger interrupt, export analog signal one by one.
Crank angles of the θ between each tooth, system determined the value, θ according to the number of teeth of one week2It is between two neighboring tooth Angle value in advance, this system value are set as 0.1oCA, in advance when, can shift to an earlier date at any tooth, the present invention is set in 1 after hypodontia At number tooth(Rising edge)Shifted to an earlier date, period of simulation output tooth there are many algorithm, the period be assigned to after calculating it is defeated Go out to compare the correspondence register of pin, then export analog signal, whens intermediate operations has delay.t1、t2、t3、t4If value all roots After operation being carried out according to the period for recently inputting tooth and according to the time that angular speed and goniometer in advance calculate, output simulation letter Number each tooth, then there are problems that the accumulation of error, in order to improve the precision of output signal, present invention employs position positioning it is defeated Go out method, i.e., when predicting the degree of advance of next tooth every time, calculated by working as nipper.After the rising edge of each tooth captures, according to Crank angle and angle in advance between adjacent teeth, position when calculating next tooth simulation output(Angle)(If in advance When angle is more than the crank angle between adjacent teeth, calculated at the rising edge of last tooth when the parameter of nipper output), according to most The period of nearly input tooth, angular speed calculate the cycle T of output gear, recently input the tooth rim phase and subtract the degree of advance corresponding time Cycle T of the half as the high level of simulation output toothh, T subtracts ThLow level cycle T as simulation output toothl, this Sample delay error is limited in a tooth, and error accumulation may be not present.
Advance angle is that the angle under current working in advance subtracts the angle that last operating mode shifts to an earlier date, if difference is just, illustrates Last time continues to shift to an earlier date on the basis of shifting to an earlier date, and if negative value, illustrates backward to postpone on the basis of in last time shifting to an earlier date.
What has been described above is only a preferred embodiment of the present invention, it is noted that for those skilled in the art, Under the premise of general idea of the present invention is not departed from, several changes and improvements can also be made, these should also be considered as the present invention's Protection domain.

Claims (9)

1. a kind of oil/CNG dual fuel engine ignition advance angle control optimization methods, it is characterised in that:Including:
STP1:After MCU obtains crankshaft-position signal, the hypodontia of bent axle is captured;
STP2:According to the hypodontia of bent axle, the bent axle number of teeth of one week is calculated, and each tooth is numbered, while calculate adjacent teeth Between the corner number of degrees;
STP3:By MAP operations, the ignition advance angle needed under current working in advance is calculated;
STP4:Step-length every time in advance between adjacent teeth is pre-set, is carried according to the crank angle between adjacent teeth and needs Preceding angle value, position when calculating next tooth simulation output, according to recently input the period of tooth, angular speed calculates output gear Cycle T, recently inputting the tooth rim phase subtracts week of the half of degree of advance corresponding time as the high level of simulation output tooth Phase Th, T subtracts ThLow level cycle T as simulation output toothl, currently to input one under the information prediction of tooth during calculating The period that a tooth shifts to an earlier date after reaching the advance angle that bent axle needs shift to an earlier date under current working in STP3, no longer shifts to an earlier date.
2. a kind of oil according to claim 1/CNG dual fuel engine ignition advance angle control optimization methods, feature It is:Step-length in the STP4 between pre-set adjacent teeth every time in advance is 0.1 °C of A, ignition advance angle adjustable range For 0.1 °C of A ~ 20 °C A.
3. a kind of oil according to claim 1/CNG dual fuel engine ignition advance angle control optimization methods, feature It is:In above-mentioned STP4, when prediction calculates the period in advance of next tooth under current working, while calculate adjacent under current working Angular acceleration between tooth, by period, angular speed and ignition advance angle prediction meter that tooth is inputted under angular acceleration, current working Calculate next tooth period that the angle needs in advance.
4. use a kind of oil of claim 1 ~ 3 any one of them/CNG dual fuel engine ignition advance angle controls optimization side A kind of oil of method/CNG dual fuel engine electronic spark advance devices, it is characterised in that:Including
MCU, for receiving the throttle position signal of extraneous input, oil/gas switching signal, crankshaft-position signal;
Differential signal generates processing circuit, and it is defeated that the crankshaft-position signal after shifting to an earlier date for export MCU is converted into differential signal Go out;
Power module, for powering for the power circuit of electronic spark advance device;
Communication module, for communicating between electronic spark advance device and host computer.
5. a kind of oil according to claim 4/CNG dual fuel engine electronic spark advance devices, it is characterised in that:Further include song Axis signal processing module, the crankshaft-position signal by crankshaft signal processing module to signal condition after, signal is sent To MCU.
6. a kind of oil according to claim 5/CNG dual fuel engine electronic spark advance devices, it is characterised in that:It further includes and sets The redundant circuit I between crankshaft signal processing module and MCU is put, when electronic spark advance device works normally, by crankshaft signal After the crankshaft-position signal of processing module is by redundant circuit I, crankshaft-position signal is exported to MCU, when electronic spark advance device When breaking down, after the crankshaft-position signal is by redundant circuit I, crankshaft-position signal is exported to ECU.
7. a kind of oil according to claim 4/CNG dual fuel engine electronic spark advance devices, it is characterised in that:The MCU It is additionally operable to receive camshaft-position signal, at this point, camshaft-position signal exports after the conditioning of camshaft signal conditioning module To MCU, the camshaft-position signal after MCU is handled by camshaft signal output module after output in advance, camshaft signal tune It manages and redundant circuit II is set between module and MCU, when electronic spark advance device works normally, the camshaft-position signal passes through superfluous After remaining circuit II, crankshaft-position signal is exported to MCU, when electronic spark advance device breaks down, the camshaft location letter After number by redundant circuit II, crankshaft-position signal is exported to ECU.
8. a kind of oil according to claim 7/CNG dual fuel engine electronic spark advance devices, it is characterised in that:The igniting Advancing device further includes relay, and the relay is normally closed relay, when electronic spark advance device works normally, MCU control relays Device disconnects, and crankshaft-position signal and camshaft-position signal are exported to MCU, and when electronic spark advance device breaks down, relay closes It closes, crankshaft-position signal and camshaft-position signal after relay by exporting to ECU.
9. a kind of oil according to claim 4/CNG dual fuel engine electronic spark advance devices, it is characterised in that:The difference Signal generation processing circuit includes the first triode(Q1), the second triode(Q2), third transistor(Q3), the first triode (Q1)Collector and the second triode(Q2)Emitter-base bandgap grading be all connected with power module, the second triode(Q2)Base stage pass sequentially through 6th resistance(R6)With the 4th resistance(R4)Afterwards, the first triode is connected(Q1)Base stage, third transistor(Q3)Collector It is connected to the 6th resistance(R6)With the 4th resistance(R4)Between, third transistor(Q3)Emitter-base bandgap grading connection power module, the three or three Pole pipe(Q3)Base stage receive MCU output in advance after crankshaft-position signal, the second triode(Q2)Emitter-base bandgap grading and the one or three Pole pipe(Q1)Collector output two paths of differential signals, meanwhile, the second triode(Q2)Emitter-base bandgap grading pass through first resistor(R1)Even Connect power module, the first triode(Q1)Collector pass through second resistance(R2)Connect power module.
CN201610869257.XA 2016-09-30 2016-09-30 A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method Expired - Fee Related CN106545452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610869257.XA CN106545452B (en) 2016-09-30 2016-09-30 A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610869257.XA CN106545452B (en) 2016-09-30 2016-09-30 A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method

Publications (2)

Publication Number Publication Date
CN106545452A CN106545452A (en) 2017-03-29
CN106545452B true CN106545452B (en) 2018-07-06

Family

ID=58368252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610869257.XA Expired - Fee Related CN106545452B (en) 2016-09-30 2016-09-30 A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method

Country Status (1)

Country Link
CN (1) CN106545452B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107989735B (en) * 2017-11-03 2020-07-10 浙江锋龙电气股份有限公司 Ignition angle measuring system and method for realizing position correction or angle measurement
CN112595511B (en) * 2020-11-24 2023-06-23 潍柴动力股份有限公司 Gear noise detection device
CN114017235B (en) * 2021-09-30 2023-05-23 北京合升众成科技有限公司 Gas ignition method of ignition coil of oil-gas dual-purpose fuel vehicle

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3660689A (en) * 1969-05-14 1972-05-02 Nippon Denso Co Timing signal generating system for internal combustion engines
DE3243235A1 (en) * 1982-11-23 1984-05-24 Robert Bosch Gmbh, 7000 Stuttgart DEVICE FOR DAMPING VIBRATION VIBRATIONS IN AN INTERNAL COMBUSTION ENGINE IN A MOTOR VEHICLE
JPS60108567A (en) * 1983-11-16 1985-06-14 Nippon Denso Co Ltd Ignition controller for internal-combustion engine
JPS6196181A (en) * 1984-10-16 1986-05-14 Honda Motor Co Ltd Ignition timing control device for internal-combustion engine
JPH0347446A (en) * 1989-07-12 1991-02-28 Mitsubishi Electric Corp Ignition and fuel system backup device
JP3329639B2 (en) * 1995-11-07 2002-09-30 株式会社ユニシアジェックス Ignition control backup device
CN200958453Y (en) * 2006-08-21 2007-10-10 重庆隆鑫工业(集团)有限公司 Double-fuel high-energy ignitor of motorcycle
CN104948375B (en) * 2015-05-05 2017-01-04 华南农业大学 CNG engine ignition advancing device based on closed loop control and control method

Also Published As

Publication number Publication date
CN106545452A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106545452B (en) A kind of oil/CNG dual fuel engine electronic spark advance devices and advance angle control optimization method
KR101342474B1 (en) Ignition control method and apparatus for gasoline substitute fuel engine
CN102865175B (en) Gasoline engine energy balance firing circuit and balance control method
KR20070118951A (en) Ignition control method and apparatus for gasoline substitute fuel engine
CN102619637B (en) Knock control device for engine
CN102619626A (en) Internal combustion engine control apparatus
MX2012013817A (en) Method and system for improving fuel economy and controlling engine emissions.
CN102444525A (en) Knock control apparatus for internal combustion engine
CN102393302B (en) Device and method for measuring difference of molded lines of valves in fully variable valve mechanism
US7051710B2 (en) Method and device for controlling an internal combustion engine
CN111120119A (en) Control system and method of dual-fuel engine
CN109681336B (en) Control method for electric control unit of rotary engine
CN102736523A (en) Analog controller of engine
CN102305136B (en) Automobile fuel control method and controller
CN104948375A (en) CNG (compressed natural gas) engine ignition advancer on basis of closed-loop control and method for controlling CNG engine ignition advancer
CN108087135B (en) Control method and device for dual-fuel vehicle
Potdar et al. Hardware design and development of engine control unit for four cylinder engine
CN203189129U (en) Rotary speed controller for engine
CN201963411U (en) Independent automatic control device for electronic throttle
CN103235519A (en) Intelligent simulation method and system for engine signal
CN113268048A (en) Hand-held portable magnetoelectric Hall rotating speed signal simulator
CN103104362B (en) A kind of control method for engine speed and controller thereof
CN112081699B (en) Method and device for detecting opening timing of electric control oil injector
CN102411311B (en) Oxygen sensor failure simulator and oxygen sensor failure simulation method
Ariani et al. The Performance of Microcontroller Equipment to Save Fuel Consumption for Motorcycle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180706

Termination date: 20190930

CF01 Termination of patent right due to non-payment of annual fee