Background of the Invention
1. Field of the Invention
This invention relates generally to a method and apparatus for controlling an internal combustion engine and more particularly to a microprocessor-based electronic engine control system having a memory preprogrammed with various control laws and control schedules responsive to one or more sensed engine-operating parameters for computing command signals for controlling fuel injection, ignition timing, EGR control, or the like.
2. Statement of the Prior Art
Many of the patents of the prior art recognize the need for employing the enhanced accuracy of digital control systems for more accurately controlling one or more functions of an internal combustion engine.
U.S. Pat. No. 3,969,614 which issued to David F. Moyer, et al on July 13, 1976 is typical of such systems as are U.S. Pat. No. 3,835,819 which issued to Robert L. Anderson, Jr. on Sept. 17, 1974; U.S. Pat. No. 3,904,856 which issued to Louis Monpetit on Sept. 9, 1975; and U.S. Pat. No. 3,906,207 which issued to Jean-Pierre Rivere, et al on Sept. 16, 1975. All of these patents represent a break-away from the purely analog control systems of the past, but neither the accuracy, reliability, or number of functions controlled is sufficient to meet present day requirements.
Future internal combustion engines will require that emissions be tightly controlled due to ever-increasing governmental regulation, while fuel consumption is minimized and drivability improved over the entire operating range of the engine. None of the systems of the prior art provide a method and apparatus for controlling the operation of an internal combustion engine over its entire operating range with sufficient accuracy to attain minimal emissions and minimal fuel consumption together with improved drivability.
The systems prior art attempt to control one or more of the engine-operating functions but none attempts to control the operation of the fuel pump, fuel injection, engine ignition timing, on-off and/or proportional EGR control, and the like while using feedback from such devices as oxygen sensors for emission control purposes or for effecting a closed loop fuel control operations, while yet further including provisions for optimizing acceleration enrichment handling, and the like. Moreover, the systems of the prior art are extremely expensive, often too large to install, difficult to repair and maintain and are, therefore, not commercially feasible at the present time.
These and other problems of the prior art are at least partially solved by the Applicant's improvements in microprocessor-based electronic engine control systems which enable the improved systems to eliminate most or all of the problems of the prior art. The improvements set forth herein enable the implementation of a microprocessor-based electronic engine control system capable of executing much more advanced and complex fuel control laws than heretofore achievable in the prior art and enable the engine control system to expand the number of control functions performed thereby while, at the same time, reducing the cost and size of the unit and increasing reliability so as to render the system commercially feasible.
The analog-to-digital conversion circuitry with window counter and feedback compensation is a highly efficient low cost means for implementing the required A/D conversion while greatly increasing the accuracy of the conversion over any of the systems of the prior art. The oxygen feedback sampler described herein avoids the problems inherent in the prior art such as a loss of accuracy due to invalid signals from cold sensors. The system of the present invention avoids the problems of the prior art and provides a greatly improved method and apparatus for sampling oxygen sensors wherein, the sensors are sampled at a rate which changes as the engine speed changes and the samples are taken periodically at a rate sufficient to enable the sampling to always be accomplished in one revolution or less.
Furthermore, the prior art teaches many highly inaccurate methods for controlling ignition timing and most of these systems prove totally unreliable when the engine is in a "cranking" mode operation. The ignition timing system of the present invention avoids the problems of the prior art by controlling the timing of firing pulses to the spark plugs by generating two separate programgenerated ignition control words. One control word may be used to calculate an ignition delay from the occurrance of an engine position pulse until the time of the spark and the second word controls the ignition pulse-width thereby determining the duration of the spark. A solution to the unreliability problem during the "cranking mode" of operation is also included herein.
These and other objects and advantages of the present invention will be accomplished by the method and apparatus of the present invention which cooperate to produce an improved engine control system far superior to any heretofore known in the prior art.
Summary of the Invention
A first improvement in the microprocessor-based engine-control system relates to the use of an analog-to-digital converter with a window counter and feedback compensation. This system includes the use of a window time whose width is a constant equal to a value slightly larger than the time normally required for the converter ramp to reach the value of the largest expected sensor voltage. The counter that accumulates the value of the sensor stops when the ramp voltage reaches the value of the sensor but is allowed to restart if the sensor voltage is higher than the ramp at any time during the window so that a noise pulse which momentarily decreases sensor voltage below the voltage at the ramp will not permanently stop the counter.
The oxygen feedback sensor sampler of the present invention employs means for sampling an oxygen sensor at a rate which changes as the engine speed changes and the rate is updated once every cylinder so that it will respond well to sudden accelerations or decelerations. The oxygen feedback sensor sampler allows the microprocessor to programmably determine the time during which the oxygen sensor is to be tested but makes the test time a relatively short time to allow sufficient time for highly accurate rich/lean measurements to be made.
The ignition timing process delay controller of the present invention includes sensing means mounted on the engine so that an engine position pulse occurs each time one of the cylinders is near a predetermined position, such as top dead center. An ignition delay counter means counts a predetermined delay from the occurrance of an engine position pulse until the time of the spark and ignition pulse-width counter means determines the duration of said spark. In the event that two sparks are required to start in the interval between two engine position pulses, the microprocessor is allowed to start a second delay after the first is completed using the same counter since means are provided for detecting a command from the processor and starting the delay counting means again after it is completed counting for the retarded spark condition.
Lastly, the ignition timing controller of the present invention includes sensor means mounted on the engine for detecting an engine position pulse each time one of the cylinders is near a predetermined position. A first counter means is used for computing ignition delay and a second counter means is used for computing ignition pulse-width. The microprocessor sends data to the counting means and if the program is not fast enough to send new data into the counters, the previous value will still be held there to be reused. The spark plugs are controlled by the ignition firing pulse and this pulse starts when the ignition delay is counted down and ends when the ignition pulse-width is counted down. The unique circuitry associated with the first and second counting means allows relatively small counters to be utilized with high resolution for obtaining extremely accurate ignition timing control.
Incorporation by Reference
This application is one of fourteen applications filed on Feb. 27, 1978, all commonly assigned and having substantially the same specification and drawings, the fourteen applications being identified below:
Application Ser. No. 881,321, now U.S. Pat. No. 4,255,789 has been printed in its entirety and the specification of that application is specifically incorporated by reference. For a better understanding of the drawing figures in this application, reference is made to the same figure numbers in the above mentioned application, Ser. No. 881,321 which includes FIGS. 1 to 10.34.
Brief Description of the Drawings
FIG. 2 is a block diagram of the microprocessor-based electronic engine control system.
FIG. 4D is a block diagram of the oxygen system integrator circuitry.