Engine crankshaft and camshaft signal delay circuit and controlling method thereof
Technical field
The invention belongs to car engine electronic control technique field, be specifically related to delay circuit and the controlling method thereof of a kind of engine crankshaft and camshaft signal.
Background technique
Triple mode catalytic converter is the critical elements that motor vehicle exhaust emission is controlled, but when motor has just started running, delivery temperature is lower, triple mode catalytic converter cannot reach initiation temperature, conversion efficiency is low, exhaust emissions is serious, and this situation will be extended to the operating temperature of motor when higher always.Ignition advance angle is very large on the impact of the power of motor, rate of fuel consumption, when reducing ignition advance angle, although the power of motor declines to some extent, oil consumption increases, but being conducive to motor is rapidly heated, be conducive to the rising of delivery temperature, can allow triple mode catalytic converter enter fast efficient transition status.Modern Automobile Engine has all adopted electron controls technology, by ECU according to gathered crankshaft position sensor, CMPS Camshaft Position Sensor, cooling-water temperature transmitter, the signals such as load sensor calculate ignition advance angle, and realize IGNITION CONTROL by controlling ignition module or spark coil, when the warm-up period of motor after cold start-up, ECU mainly considers the running balance of motor when calculating ignition advance angle, power character and Economy, and do not consider the Exhaust Emission Control of motor when cold conditions, do not have corresponding strategy allow motor rapid warming-up yet.
Existing technical disadvantages is: ECU, when controlling time of ignition, does not consider to allow motor rapid warming-up, the time exceeding standard to shorten exhaust emissions.
Summary of the invention
The invention provides a kind of engine crankshaft and camshaft signal delay circuit and controlling method thereof, by the signal of suitable delay engine crankshaft position sensor and CMPS Camshaft Position Sensor, postpone time of ignition, realize the rapid warming-up of motor, to reduce engine exhaust, pollute.
The technical solution adopted in the present invention is: design a delay circuit, be connected between sensor and ECU, this delay circuit mainly comprises main control chip, crankshaft signal input conditioning circuit, camshaft signal input conditioning circuit, display device, control knob, crankshaft signal output circuit, camshaft signal output circuit.CRANK SENSOR and CMPS Camshaft Position Sensor signal enter respectively that conditioning circuit is separately laggard enters main control chip, main control chip calculates the numerical value of time delay according to the algorithm of setting in its program, after being put off to the identical time, two position signals export main control chip, through output circuit separately, signal is delivered to Engine ECU again, ECU is according to the policy control engine ignition of self, and final time of ignition just can be postponed accordingly.
This circuit structure is simple, only needs a slice single-chip microcomputer and a small amount of circuit, just can realize the time delay of engine ignition and control, and meets the needs of rapid warming-up.
Accompanying drawing explanation
Fig. 1 is the electric circuit constitute schematic diagram of the present invention;
In figure: 1, main control chip, 2, crankshaft signal input conditioning circuit, 3, camshaft signal input conditioning circuit, 4, control knob, 5, display device, 6, crankshaft signal output circuit, 7, camshaft signal output circuit.
Fig. 2 is controlling method flow chart of the present invention.
Embodiment
With reference to accompanying drawing 1, engine crankshaft and camshaft signal delay circuit are by main control chip 1, crankshaft signal input conditioning circuit 2, camshaft signal input conditioning circuit 3, control knob 4, display device 5, crankshaft signal output circuit 6, camshaft signal output circuit 7 forms, crankshaft signal input conditioning circuit 2 can be nursed one's health into the receptible square wave of single-chip microcomputer by the sine wave of input or square wave with camshaft signal input conditioning circuit 3, control knob 4 can be selected the type of input signal and need the numerical value of time delay, selection result shows on display device 5, there is control program main control chip 1 inside, be responsible for collection signal, result of calculation is also sent control command, crankshaft signal output circuit 6 can carry out power amplification by the output signal of single-chip microcomputer with camshaft signal output circuit 7, improve the ability of on-load.After connecting vehicle-mounted 12V power supply, delay circuit just can be worked.
The inner control program that brings into operation after main control chip 1 electrification reset, control program is comprised of main program and interrupt service routine two-part, and concrete controlling method is with reference to accompanying drawing 2.
First main program carries out initialization to single-chip microcomputer, then whether test button is pressed, if be pressed, according to pressing number of times, determine the type of institute's input signal and the numerical value of the time delay of wanting, and result is delivered to display device, next according to the CRANK SENSOR of input, calculate the cycle of signal, by the initial value of computation of Period timer, the last state that starts again test button so circulates in main program.When timer overflows interruption, single-chip microcomputer starts to carry out interrupt service routine, first timer is put to initial value, then gather and record the state of crankshaft signal input end and camshaft signal input end, more whether should export according to the signal gathering before the judgement of delay adjustments value, if should export, signal is sent from output terminal, if be less than the moment of output, exit interrupt routine, single-chip microcomputer is got back to again main program.
The present embodiment circuit part clear logic, simple in structure, can process the dissimilar sensor signals such as induction, Hall-type, and controlling method is simple, practical, can carry out delay process to various engine crankshafts and camshaft signal.