Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
INDIVUDUAL CYLINDER CONTROLLER FOR FOUR-CYLINDER ENGINE
Document Type and Number:
WIPO Patent Application WO/2006/076109
Kind Code:
A1
Abstract:
A generic technique for the detection of air-fuel ratio (or torque) imbalances in a 4-cylinder engine equipped with either a production oxygen sensor or a wide-range A/F sensor (or a crankshaft torque sensor) is developed. The method is based on a novel frequency-domain characterization of pattern of imbalances and its geometric decomposition into four basic templates. Once the contribution of each basic template to the overall imbalances is computed, templates of opposite direction are imposed to restore air-fuel ratio (or torque) balance among cylinders. At any desired operating condition, elimination of imbalances is achieved within few engine cycles. The method is applicable to current and future engine technologies with variable valve actuation, fuel injectors and/or individual spark control.

Inventors:
JAVAHERIAN HOSSEIN (US)
BROWN ALAN W (US)
Application Number:
PCT/US2005/045119
Publication Date:
July 20, 2006
Filing Date:
December 12, 2005
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
GEN MOTORS CORP (US)
International Classes:
F02D41/14
Foreign References:
US6024070A2000-02-15
US6314952B12001-11-13
Attorney, Agent or Firm:
Marra, Kathryn A. (Legal Staff - Mail Code 482-C23-B21 P.O. Box 30, Detroit MI, US)
Download PDF:
Claims:
CLAIMS
1. A method of detecting and correcting air, fuel, or spark imbalances among the individual cylinders of a fourcylinder group of a 4 cylinder or V8 engine in a vehicle comprising a sensor for detecting the ratio of air to fuel (A/F) supplied to the engine or for detecting torque generated by the engine, and an engine control module comprising a computer, the functions of said module including timing and duration of delivery of air or fuel, or ignition timing to the cylinders of the engine, said method being executed by said computer and comprising: collecting a time sequential series of signals from the sensor over at least one engine cycle at the current engine speed and load; converting the series of signals by discrete Fourier transform to a vector of A/F or torque imbalances, in the frequency domain having only two discrete speeddependent frequencies, related to the, air, fuel or spark delivery imbalances, the vector having a magnitude; retrieving three mutually orthogonal imbalance reference vectors of known magnitude corresponding to discrete Fourier transforms of three nominal imbalance patterns obtained during engine calibration and stored in the memory of the computer for the current engine speed and load; projecting the measured imbalance vector onto the three retrieved orthogonal imbalance reference vectors; determining unique contributions in the imbalance vector attributable to the three nominal imbalance reference vectors; and applying, in each cylinder of the engine, air, fuel or spark corrective quantities of opposite magnitude to each of the contributions so determined to correct for the measured imbalances.
2. A method as recited in claim 1 for detecting air, fuel or spark imbalances in which the vector of A/F or torque imbalances has a magnitude and phase angle; the three imbalance reference vectors have known magnitudes and phase angles; and the measured imbalances are corrected by applying in each cylinder of the engine, air, fuel, or spark corrective quantities of opposite magnitude and phase angle for each of the contributions determined attributable to the reference vectors.
3. A method as recited in claim 1 for detection and correction of A/F imbalances among the individual cylinders of a fourcylinder group of a 4cylinder or V8 engine in a vehicle comprising a wide range A/F sensor or an O2 sensor, and an engine control module comprising a computer, the functions of said module including the amount of fuel and air supplied to the individual cylinders of the engine, said method being executed by said computer and comprising: collecting a time. sequential series of A/F signals from the sensor over at least one engine cycle at the current engine speed and load; converting the series of signals by discrete Fourier transform to a vector of A/F imbalances, in the frequency domain having only two discrete speeddependent frequencies, related to fuel or air delivery imbalances in the individual cylinders, the vector having a magnitude; retrieving three mutually orthogonal imbalance reference vectors of known magnitude corresponding to discrete Fourier transforms of three nominal A/F imbalance patterns obtained during engine calibration and stored in the memory of the computer for the current engine speed and load; projecting the measured A/F imbalance vector onto the three retrieved orthogonal A/F imbalance reference vectors; determining unique contributions in the A/F imbalance vector attributable to the three retrieved A/F imbalance reference vectors; and applying, in each cylinder of the engine, air or fuel corrective quantities of opposite magnitude to each of the contributions so determined to correct for the measured A/F imbalances.
4. A method as recited in claim 3 in which the vector of A/F imbalances has a magnitude and phase angle; the three imbalance reference vectors have known magnitudes and phase angles; and the measured imbalances are corrected by applying in each cylinder of the engine, air or fuel corrective quantities of opposite magnitude and phase angle for each of the contributions determined attributable to the reference vectors.
5. A method as recited in claim 3 in which the fuel delivery imbalances are corrected through control of duration or mass of individual cylinder fuel injection.
6. A method as recited in claim 4 in which the fuel delivery imbalances are corrected through control of duration or mass of individual cylinder fuel injection.
7. A method as recited in claim 3 in which air delivery imbalances are corrected through control of individual intake valve lift, duration or phasing.
8. A method as recited in claim 4 in which air delivery imbalances are corrected through control of individual intake valve lift, duration or phasing.
9. A method as recited in claim 1 for detection and correction of engine torque imbalances among the individual cylinders of a fourcylinder group of a 4cylinder or V8 engine in a vehicle comprising an engine torque sensor, and an engine control module comprising a computer, the functions of said module including delivery of air and ignition timing to individual cylinders of the engine, said method being executed by said computer and comprising: collecting a time sequential series of torque signals from the sensor over at least one engine cycle at the current engine speed and load; converting the series of signals by discrete Fourier transform to a vector of torque imbalances, in the frequency domain having only two discrete speeddependent frequencies, related to the air delivery or spark delivery imbalances in individual cylinders, the vector having a magnitude; retrieving three mutually orthogonal torque imbalance reference vectors of known magnitude corresponding to discrete Fourier transforms of three nominal torque imbalance patterns obtained during engine calibration and stored in the memory of the computer for the current engine speed and load; projecting the measured torque imbalance vector onto the three retrieved orthogonal torque imbalance reference vectors; determining unique contributions in the torque imbalance vector attributable to the three retrieved torque imbalance reference vectors; and. applying, in each cylinder of the engine, air or spark corrective deliveries of opposite magnitude to each of the contributions so determined to correct for the measured torque imbalances.
10. A method as recited in claim 9 for detection and correction of torque imbalances in which the vector of torque imbalances has a magnitude and phase angle; the three imbalance reference vectors have known magnitudes and phase angles; and the measured imbalances are corrected by applying, in each cylinder of the engine, air or spark corrective deliveries of opposite magnitude and phase to each of the contributions so determined to correct for the measured torque imbalances.
11. A method as recited in claim 9 in which the torque imbalances are corrected through control of individual intake valve lift, duration or phasing.
12. A method as recited in claim 10 in which the torque imbalances are corrected through control of individual intake valve lift, duration or phasing.
13. A method as recited in claim 9 in which the torque imbalances are corrected through adjustment of spark timing delivery.
14. A method as recited in claim 10 in which the torque imbalances are corrected through adjustment of spark timing delivery.
15. A method as recited in claim 3 in which the three imbalance reference vectors comprise a first vector representing fuel imbalances to the four cylinders, synchronous with the firing order in the cylinders, in a first pattern: a rich A/F of size b2, a lean A/F of size b2, a rich A/F of size b2 and a Jean A/F of size b2; a second vector representing fuel imbalances in a second pattern: a lean A/F of size b3, stoichiometric A/F, a rich A/F of size b3, and stoichiometric A/F; and a third vector representing fuel imbalances in a third pattern: a stoichiometric A/F, a lean A/F of size b4, stoichiometric A/F, and a rich A/F of size b4; and the measured A/F imbalance vector is projected onto said three A/F imbalance reference vectors.
16. A method as recited in claim 9 in which the three imbalance reference vectors comprise a first vector representing torque imbalances in the four cylinders, synchronous with the firing order in the cylinders, in a first pattern: a belowaverage torque of size b2, an aboveaverage torque of size b2, a below average torque of size b2 and an aboveaverage torque of size b2; a second vector representing torque imbalances in a second pattern: an above average torque of size b3, an average value of torque, a belowaverage torque of size b3, and an average value of torque; and a third vector representing torque imbalances in a third pattern: an average torque, an aboveaverage torque of size b4, an average torque, and a belowaverage torque of size b4; and the measured torque imbalance vector is projected onto said three torque imbalance reference vectors.
17. A method as recited in claim 1 in which the three mutually orthogonal reference vectors are determined at selected representative operational speeds and loads in a four cylinder engine in which each cylinder is initially operated at a balanced reference A/F and then successive variation patterns in A/F are imposed by operation of fuel injectors or air intake valves on the individual cylinders of the engine by a method comprising: applying a first pattern of fuel imbalances to said cylinders, said first pattern producing respectively a rich A/F of size b2, a lean A/F of size b2, a rich A/F of size b2 and a lean A/F of size b2 in said cylinders and obtaining a first time sequential series of signals from a said A/F sensor or O2 sensor related to said imbalances over at least one engine cycle; converting said first series of signals by discrete Fourier transform to a first reference vector of fuel imbalances, in the frequency domain, related to said first pattern of fuel delivery imbalances at the current engine speed and load, said first reference vector having a first magnitude or both a first magnitude and phase angle; applying a second pattern of fuel imbalances to said cylinders, said second pattern producing respectively a lean A/F of size b3, stoichiometric A/F, a rich A/F of size b3, and stoichiometric A/F in said cylinders and obtaining a second time sequential series of signals from a said A/F sensor or O2 sensor related to said imbalances over at least one engine cycle; converting said second series of signals by discrete Fourier transform to a second reference vector of fuel imbalances, in the frequency domain, related to said second pattern of fuel delivery imbalances at the current engine speed and load, said second reference vector having a second magnitude or both a second magnitude and phase angle; applying a third pattern of fuel imbalances to said cylinders, said third pattern producing respectively a stoichiometric A/F, a lean A/F of size b4, stoichiometric A/F, and a rich A/F of size b4 in said cylinders and obtaining a third time sequential series of signals from a said A/F sensor or O2 sensor related to said imbalances over at least one engine cycle; and converting said third series of signals by discrete Fourier transform to a third reference vector of fuel imbalances, in the frequency domain, related to said third pattern of fuel delivery imbalances at the current engine speed and load, said third reference vector having a third magnitude or both a third magnitude and phase angle.
18. A method as recited in claim 1 in which the three mutually orthogonal reference vectors are determined at selected representative operational speeds and loads in a four cylinder engine in which each cylinder is initially operated at a balanced reference torque level and then successive variation patterns in torque level are imposed by operation of fuel, air, or spark delivery on the individual cylinders of the engine by a method comprising: applying a first pattern of air, fuel or spark delivery imbalances to said cylinders, said first pattern producing respectively a belowaverage torque of size b2, an aboveaverage torque of size b2, a belowaverage torque of size b2, and an aboveaverage torque of size b2 in said cylinders, synchronous with the firing order in the cylinders, and obtaining a first time sequential series of signals from a said torque sensor related to said imbalances over at least one engine cycle; converting said first series of signals by discrete Fourier transform to a first reference vector of air, fuel or spark delivery imbalances, in the frequency domain, related to said first pattern of air, fuel or spark delivery imbalances at the current engine speed and load, said first reference vector having a first magnitude or both a first magnitude and phase angle; applying a second pattern of air, fuel or spark imbalances to said cylinders, said second pattern producing respectively an aboveaverage torque of size b3, an average torque, a belowaverage torque of size b3, and an average torque in said cylinders, synchronous with the firing order in the cylinders, and obtaining a second time sequential series of signals from a said torque sensor related to said imbalances over at least one engine cycle; converting said second series of signals by discrete Fourier transform to a second reference vector of air, fuel or spark delivery imbalances, in the frequency domain, related to said second pattern of air, fuel and spark delivery imbalances at the current engine speed and load, said second reference vector having a second magnitude or both a second magnitude and phase angle; applying a third pattern of air, fuel or spark imbalances to said cylinders, said third pattern producing respectively, an average torque, an aboveaverage torque of size b4, an average value of torque, and a below average torque of size b4 in said cylinders, synchronous with the firing order in the cylinders, and obtaining a third time sequential series of signals from a said torque sensor related to said imbalances over at least one engine cycle; and converting said third series of signals by discrete Fourier transform to a third reference vector of air, fuel or spark, delivery imbalances, in the frequency domain, related to said third pattern of air, fuel and spark delivery imbalances at the current engine speed and load, said third reference vector having a third magnitude or both a third magnitude and phase angle.
19. A method of detecting and correcting air or fuel imbalances among the individual cylinders of a fourcylinder group of a 4cylinder or V8 engine in a vehicle comprising a sensor for detecting the ratio of air to fuel (A/F) supplied to the engine, and an engine control module comprising a computer, the functions of said module including timing and duration of delivery of air and fuel to the cylinders of the engine, said method being executed by said computer and comprising: collecting a time sequential series of signals from the sensor over at least one engine cycle at the current engine speed and load; converting the series of signals by discrete Fourier transform to a vector of A/F imbalances, in the frequency domain having only two discrete speeddependent frequencies, related to the air or fuel delivery imbalances, the vector having a magnitude; retrieving three mutually orthogonal A/F imbalance reference vectors of known magnitude corresponding to discrete Fourier transforms of three nominal A/F imbalance patterns obtained during engine calibration and stored in the memory of the computer for the current engine speed and load, the three imbalance reference vectors comprising a first vector representing fuel imbalances to the four cylinders in a first pattern: a rich A/F of size b2, a lean A/F of size b2, a rich A/F of size b2 and a lean A/F of size b2; a second vector representing fuel imbalances in a second pattern: a lean A/F of size b3, stoichiometric A/F, a rich A/F of size b3, and stoichiometric A/F; and a third vector representing fuel imbalances in a third pattern: a stoichiometric A/F, a lean A/F of size b4, stoichiometric A/F, and a rich A/F of size b4, each of the first, second, and third patterns being synchronous with the firing order in the cylinders; projecting the measured A/F imbalance vector onto the three retrieved orthogonal A/F imbalance.reference vectors; . determining unique contributions in the A/F imbalance vector attributable to the three retrieved A/F imbalance reference vectors; and applying, in each cylinder of the engine, air or fuel corrective quantities of opposite magnitude to each of the contributions so determined to correct for the measured A/F imbalances.
20. A method as recited in claim 19 for detecting air or fuel imbalances in which the vector of A/F imbalances has a magnitude and phase angle; the three A/F imbalance reference vectors have known magnitudes and phase angles; and the measured A/F imbalances are corrected by applying in each cylinder of the engine, air or fuel corrective delivery commands of opposite magnitude and phase angle for each of the contributions determined attributable to the reference vectors.
21. A method of detecting and correcting air, fuel, or spark imbalances among the individual cylinders of a fourcylinder group of a 4 cylinder or V8 engine in a vehicle comprising a sensor for detecting torque generated by the engine, and an engine control module comprising a computer, the functions of said module including timing and duration of delivery of air or fuel, or ignition timing to the cylinders of the engine, said method being executed by said computer and comprising: collecting a time sequential series of torque signals from the torque sensor over at least one engine cycle at the current engine speed and load; converting the series of torque signals by discrete Fourier transform to a vector of torque imbalances, in the frequency domain having only two discrete speeddependent frequencies, related to the air, fuel or spark delivery imbalances, the torque vector having a magnitude; retrieving three mutually orthogonal torque imbalance reference vectors of known magnitude corresponding to discrete Fourier transforms of three nominal torque imbalance patterns obtained during engine calibration and stored in the memory of the computer for the current engine speed and load, the three imbalance reference vectors comprise a first vector representing torque imbalances in the four cylinders in a first pattern:. a belowaverage torque of size b2, an aboveaverage torque of size b2, a below average torque of size b2 and an aboveaverage torque of size b2; a second vector representing torque imbalances in a second pattern: an aboveaverage torque of size b3, an average value of torque, a belowaverage torque of size b3, and an average value of torque; and a third vector representing torque imbalances in a third pattern: an average torque, an aboveaverage torque of size b4, an average torque, and a belowaverage torque of size b4, each of the first, second, and third patterns being synchronous with the firing order of the cylinders; projecting the measured torque imbalance vector onto the three retrieved orthogonal torque imbalance reference vectors; determining unique contributions in the torque imbalance vector attributable to the three retrieved torque imbalance reference vectors; and applying, in each cylinder of the engine, corrective air intake valve lift, duration or phasing, corrective fuel injection mass or duration, or corrective spark ignition timing quantities of opposite magnitude to each of the contributions so determined to correct for the measured torque imbalances.
22. A method as recited in claim 21 for detecting air, fuel or spark imbalances in which the vector of torque imbalances has a magnitude and phase angle; the three torque imbalance reference vectors have known magnitudes and phase angles; and the measured torque imbalances are corrected by applying in each cylinder of the engine, corrective air intake valve lift, duration or phasing, corrective fuel injection mass or injection duration, or corrective spark ignition timing quantities of opposite magnitude and phase angle for each of the contributions determined attributable to the reference vectors.
Description:
INDIVIDUAL CYLINDER CONTROLLER FOR FOUR-CYLINDER

ENGINE

TECHNICAL FIELD

[0001] This invention pertains to a method of detecting and correcting air- fuel ratio or torque imbalances in individual cylinders of a four-cylinder engine or banks of four cylinders in a V8 engine using a single sensor. More specifically, this invention pertains to the use of a frequency-domain characterization of the pattern of such imbalances in detecting and correcting them.

BACKGROUND OF THE INVENTION

[0002] There is a continuing need for further refinement of air-fuel ratio (A/F) control in vehicular internal combustion engines. At present, A/F is managed by a powertrain control module (PCM) onboard the vehicle. The PCM is suitably programmed to operate in response to driver-initiated throttle and transmission gear lever position inputs and many sensors that supply important powertrain operating parameters. The PCM comprises a digital computer with appropriate processing memory and input-output devices and the like to manage engine fueling and ignition operations, automatic transmission shift operations and other vehicle functions. In the case of such engine operations, the computer receives signals from a number of sensors such as a crankshaft position sensor, and an exhaust oxygen sensor. [0003] Under warmed-up engine operating conditions, the PCM works in a closed loop continuous feedback mode using the voltage signals from an oxygen sensor related to the oxygen content of the exhaust. The crankshaft angular position information from the crankshaft sensor and inputs from other sensors are used to manage timing and duration of fuel injector duty cycles. Zirconia-based, solid electrolyte oxygen sensors have been used for many years with PCMs for closed loop computer control of fuel injectors in applying

gasoline to the cylinders of the engine in amounts near stoichiometric A/F. The PCM is programmed for engine operation near the stoichiometric A/F for the best performance of the three-way catalytic converter. [0004] With more strict emission standards gradually phasing in, there is a need for further refinement of automotive technologies for emissions reduction. One such refinement is the use of a linear response (wide-range) A/F sensor in the exhaust pipe(s) in place of the current zirconia switching (nonlinear) oxygen sensor. Experiments have demonstrated that significant reductions in tailpipe NO x emissions are possible because of the more precise A/F control offered by a linear A/F sensor.

[0005] A second refinement is to increase vehicle fuel economy by diluting the air-fuel mixture with excess air (lean burn) or with exhaust gas recirculation (external EGR). The maximum benefit is achieved at the highest dilute limit. However, in a multi-cylinder engine, the limit is constrained by the occurrence of partial burns and possibility of misfire in the cylinder(s) containing the leanest mixture. This happens due to maldistribution of air, fuel or EGR in different cylinders. Thus, a new capability for the control of each individual cylinder air-fuel ratio by software is needed. Here, the intention would be to control only one variable (e.g., air, fuel or spark) to create uniform A/F or torque in all cylinders since only a single variable (e.g., A/F, O 2 or torque) would be measured. Clearly, single-loop feedback controllers around various sensors can operate independently to control air, fuel or spark in every cylinder.

[0006] Another motivation for all-cylinder A/F control is cost containment. For very low emission applications, fuel injectors of high precision (i.e., very small tolerances of less than 3%) are thought to be required. Achievement of this degree of tolerance, if possible at all, would be costly. A better solution would be to have software means to compensate for the differences between fuel injectors in real-time operation of the engine. Another source of cylinder imbalances in a multi-cylinder engine is the inherent engine maldistribution due to variable breathing capacities into

various cylinders. The air maldistribution can result in A/F or torque imbalances for which a software solution is sought.

[0007] A new emission reduction strategy was developed for detecting and correcting fuel, air or spark imbalances between cylinders of a three-cylinder gasoline engine. That process is disclosed in U.S. Patent 6,668,812, titled "Individual Cylinder Controller for Three-Cylinder Engine and assigned to the assignee of this invention. This process for a three-cylinder engine has to be modified and expanded for a four-cylinder engine and an individual cylinder control strategy now needs to be developed for a four-cylinder gasoline engine.

SUMMARY OF THE INVENTION

[0008] In this invention, a process is provided that would correct any imbalance in air or fuel delivery amongst all cylinders of a four-cylinder engine or. separately in either bank of a V8 engine. Such imbalances are detectable using, for example, an oxygen sensor, a wide range air-fuel ratio (A/F) sensor, or an engine torque sensor. The benefits in terms of emissions reduction, fuel economy and drivability will depend on the degree of A/F imbalances or torque imbalances present in the engine and are engine dependent. In general, it is estimated that the benefit would depend on exhaust system configuration as well. For example, the benefit in a V8 engine with dual banks of unequal pipe lengths is larger when a single sensor is used for control and when fuel injectors have larger tolerances. [0009] A principal cause, but not necessarily the sole cause, of cylinder A/F imbalances in a fuel-injected engine is differences in the delivery rates of the fuel injectors. Fuel injectors are intricate, precision-made devices, but the delivery rates of "identical" injectors may vary by as much as ± 5%. Thus, the normal operation of a set of such injectors may be expected to lead to the delivery of varying amounts of fuel in the respective cylinders even when the PCM specifies identical "injector on" times. If the air flow rate or the exhaust

gas recirculation rate is not varying in proportion with the fuel imbalances, there can be significant differences in A/F and/or torque among cylinders. [0010] In a four-cylinder (or dual exhaust system V8) engine, individual cylinder maldistributions of air, fuel and EGR cause fluctuations in the instantaneous oxygen sensor voltages measured downstream at the point of confluence in the exhaust manifold. These O 2 sensor voltages are representative of the A/F of the cylinders. The actual A/F signal is periodic with the successive exhausts of the four cylinders, but the periodic pattern remains similar over prolonged engine operation especially if the pattern is due mainly to variances in fuel injector deliveries. Any arbitrary pattern of cylinder to cylinder differences in A/F ratio can be represented by a combination of simpler basic A/F patterns here referred to as "templates". In this notation, a template consists of a unique pattern of -1, 0 and +1 units of A/F (or torque), or a multiple thereof, in each cylinder. In the context of cylinder A/F control, negative and positive signs imply fuel-rich and fuel -lean A/F, respectively, and 0 implies stoichiometric A/F for a particular cylinder exhaust event. At this point, the values of -1 and +1 simply indicate rich and lean A/F without regard to the magnitude of the departure of the ratio from the stoichiometric value, typically about 14.7 for most common gasoline fuels available today.

[0011] Obviously, each cylinder could experience a rich or lean A/F when the PCM is trying to control the overall A/F at the stoichiometric ratio. However, it has been determined in connection with this invention that the patterns of all possibilities are not independent of each other. It turns out that the number of independent basic patterns in this representation is equal to the number of cylinders. Specifically for a four-cylinder engine, any unknown pattern of imbalances can be reduced to a unique combination of four patterns T 1 , T 2 , T 3 and T 4 as shown in Figure 1. Referring to Figure 1, template T 1 is the pattern +1, +1, +1, +1 (for example, rich A/F) for cylinders 1, 2, 3, 4 respectively. Template T 2 is the pattern -1, +1, -1, +1 (e.g., alternating rich and lean A/F) for cylinders 1, 2, 3, 4 respectively. Template T 3 is the pattern +1, 0, -1, 0. And Template 4 has the pattern 0, +1, 0, -1.

[0012] It has been further discovered in connection with this invention that the pattern of unknown four-cylinder A/F (or torque) imbalances with magnitudes (a 1; a 2 , a 3 and a 4 ) can be uniquely related to the above four templates by appropriate weighting factors (b ls b 2 , b 3 , b 4 ) applied to the values of the terms of each template (Figure 1). Thus, the knowledge of the set of coefficients (bi, b 2 , b 3 , b 4 ) is equivalent to knowledge of the unknown values of the imbalances (a l5 a 2 , a 3 and a 4 ) in the engine's four cylinders. Thus, an imbalance (V) in, for example, air-fuel ratio (A/F) or in torque can be determined as follows:

V = biTi + b 2 T 2 + b 3 T 3 + b 4 T 4

[0013] The coefficients may have positive or negative values or the value of zero. For each template T,, the coefficient bj, is a constant determined by the magnitude of the measured imbalances. Often it is preferred that the coefficients have values expressed as percentages of the cylinder weighting factors of the templates.

[0014] Each template of cylinder imbalances yields a discrete frequency spectrum of output data (e.g., oxygen sensor data or torque sensor data) with non-zero magnitudes only at a finite number of frequencies. In the case of four cylinders, certain frequency spectrum characteristics are found and can be utilized in control of individual cylinders in accordance with this invention. For templates T 3 and T 4 , the frequency spectrum has only two lines. The first line is at a fundamental frequency CO 1 corresponding to the engine speed. The second line is at twice the fundamental frequency. For T 3 and T 4 , the non-zero magnitudes (at Q 1 and 2(O 1 ) are coupled so that they increase or decrease together. T 3 and T 4 are templates characterized by a sequence of +1, 0, -1 cylinder values. This coupling at the first harmonic is used in the subject method of correction of cylinder imbalances. For template T 2 (characterized by alternating minus and plus values with no intermittent zero values), the spectrum has a single line at twice the fundamental frequency and this second harmonic spectrum is used in this method of correcting cylinder fuel or air imbalances.

[0015] It also turns out that the pattern of T 1 , identically rich or lean in all cylinders, is corrected in the PCM by the current closed-loop control using O 2 sensor. Alternatively, any excess torque level measured by a torque sensor is corrected by positioning of a variable valve actuator in the intake valves in a multi-cylinder engine using a feedback control loop. Therefore, this template does not need to be used in detecting imbalances a l3 a 2; a 3 and a 4 . As will be shown, the total imbalances under closed loop A/F control can be detected by appropriate mathematical comparison with data compiled from experimentally predetermined values for patterns T 2 , T 3 , and T 4 .

[0016] Reference values for template patterns T 2 , T 3 and T 4 are established on a balanced four-cylinder engine (i.e., all cylinders initially at stoichiometric A/F, any other specified A/F or torque reference level) by operating the engine with calibrated fuel injectors (or intake valves) to intentionally successively impose the three template cylinder variation patterns at the desired fuel-rich or fuel-lean levels (or air flow rates, respectively). This calibration process is conducted at selected representative operational speeds and loads for the engine over a sufficient number of engine cycles to obtain the corresponding O 2 sensor (wide range A/F sensor or torque sensor) output at successive crankshaft positions. In other embodiments of the invention, a wide-range A/F sensor or a torque sensor is used. For example, at each engine speed and load, pattern T 3 could be produced by a lean imbalance of +10% of stoichiometric A/F in cylinder #1, a rich imbalance of -10% of the stoichiometric A/F in cylinder #3 while cylinders #2 and #4 are operated at the stoichiometric A/F. Then, imbalances of like magnitude could be imposed in accordance with the T 2 and T 4 patterns. For example, assuming 24X available crankshaft position signals over one crankshaft revolution, oxygen sensor data would be collected by the PCM every 15° of crankshaft revolution. In a V8 engine, we will have six samples collected per event. If desired, we may obtain one averaged sample per engine event.

[0017] The calibration data from O 2 (or wide-range A/F or crankshaft torque) sensor for each template T 2 , T 3 and T 4 , at desired representative engine speeds (rpm) and loads (represented by manifold absolute pressure, MAP, or

manifold air flow, MAF), is subjected to the discrete Fourier transform (DFT) to determine its frequency spectrum. The discrete spectrum is represented by a vector of given phase angle and magnitude information at various frequencies related to the base engine speed and its higher harmonics. This information, together with interpolated data or suitable analytical equations, is stored in PCM table lookups for reference by the PCM during the cylinder air or fuel imbalance detection in a vehicle. In the case of a bank of four cylinders, the DFT vectors for the chosen templates, T 2 , T 3 and T 4 , are mutually orthogonal by construction.

[0018] Having established reference data for the transformed templates, fuel or air imbalances in the operating engine can then be detected and corrected as necessary. To the extent that cylinder to cylinder imbalances in fuel injection or air intake are due to injector or intake valve delivery variations, it is expected that such imbalances will follow a regular pattern, and once detected, an appropriate correctiommay remain effective until further usage of the injectors or intake valves will have changed the level of imbalances. Accordingly, the detection and correction parts of this invention may not have to be run continually. However, as will be seen, they can also be run as frequently as required by the PCM due to speed of convergence and computational efficiency.

[0019] The detection process is initiated by the PCM and includes collecting and storing oxygen sensor (or wide range A/F or torque sensor) data at successive crank angle signals over a few engine cycles. One complete fueling cycle providing, for example, 48 data points may be suitable. But it will usually be preferred to collect data over several cycles. This data is subjected to discrete Fourier transformation to obtain the phase and magnitude representing a single vector of imbalances.

[0020] The detected air or fuel imbalance vector is mathematically decomposed to determine the respective contributions of the three mutually orthogonal reference vectors, T 2 , T 3 and T 4 , in the total vector of measured imbalances. In other words, the coordinates of the imbalance vector in terms of the phase angles of the reference vectors and the proportion of their

respective magnitudes are determined by known mathematical practices. The conversion of the imbalance vector into three component vectors permits the correction for the fueling imbalances by the PCM. The PCM determines the "opposite" of the three components of imbalances vectors, i.e., vectors that have the same magnitude but are of 180° phase difference, and calculates the air or fueling corrections that must thereafter be applied to each fuel injector (or intake valve lift) to correct the imbalances otherwise present in the respective cylinders. These fuel injector or intake valve lift corrections are applied cycle after cycle until the detected level of imbalances is brought below a given threshold.

[0021] As stated, the subject process may be used in response to the signals from a current production exhaust oxygen sensor, a wide-range exhaust A/F sensor, a crankshaft torque sensor or other suitable sensors used by a PCM for fuel, air or spark control in a four-cylinder engine. As is known, fuel control to individual cylinders can be accomplished by PCM control of fuel injector "on time". Similarly, air distribution to the four cylinder banks can be managed by PCM control of air inlet valve actuators. And, in accordance with this invention, detected imbalances in torque from individual cylinders can be corrected by PCM control of fuel or air delivery or spark timing with respect to each cylinder.

[0022] In the above-described reference templates, stoichiometric A/F, generally about 14.7 for current commercial gasoline, was used as the mean A/F value because of the wide practice of operating engines at about stoichiometric A/F for best operation of current exhaust catalytic converters. However, if it is desired to operate the engine fuel rich, e.g., A/F = about 10 to 14.7, the mean value for the templates would be a selected value in this range. Similarly, where it is desired to operate in a fuel lean mode, e.g., A/F = about 14.7 to 60, a mean template value in the lean range would be used. [0023] Other objects and advantages of the invention will become apparent from a description of embodiments of the invention which follow.

BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a graphical representation of four reference fueling imbalance templates, labeled T 1 to T 4 , used in the practice of this invention for a four-cylinder engine. The horizontal axis represents cylinder number, the upward arrows represent fuel lean A/F and the downward arrows represent fuel rich A/F for the respective cylinders around the reference value of stoichiometry (or other selected A/F). Also shown in Figure 1 is an example of an unknown fuel imbalance template with equations showing the contributing relationships of the reference templates to the unknown imbalance template.

[0025] Figure 2 illustrates the projections of an imbalance vector T onto its orthogonal components T2 (@ ω 2 , where ω 2 is the 2 nd harmonic of engine speed), and T 3 and T 4 (both @ CO 1 , where (Q 1 is the 1 st harmonic). T 3 is perpendicular to T 4 in the O 1 plane and T 2 is on the.ω 2 axis, and perpendicular to the plane formed by T 3 and T 4 .

[0026] Figures 3 A-3C are flow diagrams of a suitable algorithm for the offline computation of responses to pure T 2 , T 3 and T 4 imbalances of magnitude d 2 o, d 3 o and d 4 o in a balanced four-cylinder engine. [0027] Figures 4A-4B is a flow diagram of an algorithm for the real-time detection of fueling imbalances in a four-cylinder engine. [0028] Figure 5 is a flow diagram of a single-axis method for the real-time correction of first harmonic fueling imbalances for a four-cylinder engine. [0029] Figure 6 is a flow diagram of a total magnitude method for the realtime correction of first harmonic fueling imbalances for a four-cylinder engine.

[0030] Figure 7 is a flow diagram for real-time correction of second harmonic fueling imbalances in a four cylinder engine. [0031] Figures 8A-8D present an algorithm flow chart for an overall individual cylinder fuel control incorporating the above-mentioned previous steps.

[0032] Figure 9 is a graph illustrating an example of a discrete Fourier transform of A/F imbalances in a four-cylinder engine having spectral lines only at the frequency (G 1 corresponding to the base engine speed and its higher harmonic CD 2 = 2(O 1 in addition to the static value at ω = 0. [0033] Figure 10 is a graph illustrating an example of two possible discrete Fourier transform (DFT) vectors T 3 and T 4 with their respective magnitudes and phase angles φ 3 and φ 4 .

[0034] Figure 11 is a graph illustrating a generic imbalance vector (magnitude R and phase angle, θ) and template T 3 and T 4 contributions with magnitudes R 3 and R 4 and phase angles φ 3 and φ 4 . The angles between the measured imbalance vector and the individual contributing imbalances vectors T 3 and T 4 are identified as θ 3 and θ 4 , respectively.

DESCRIPTION OF THE PREFERRED EMBODIMENT [00353 A strong motivation for detection and correction of individual cylinder fuel imbalances is for cost-effective improvement of fuel economy, driveability and reduction of exhaust emissions. Fueling imbalances can possibly be reduced by using fuel injectors of high precision, i.e., specifying injectors with fuel delivery tolerances of less than three percent. Achievement of this high degree of manufacturing precision, if possible, would be costly. In this invention, a method is provided to address this problem in four-cylinder engine banks exhausting to a common exhaust duct by utilization of an existing onboard microprocessor.

[0036] As stated in the Summary of Invention section of this specification, any arbitrary pattern of cylinder-to-cylinder differences in A/F ratio can be represented by a combination of simpler basic A/F patterns here referred to as "templates". In this notion, a template consists of a unique pattern of -1, 0 and +1 units of A/F in each cylinder only. The value zero denotes stoichiometric mass air-fuel ratio (A/F), and negative and positive signs imply fuel-rich and fuel-lean A/F, respectively. In the case of lean burn engine

operation the value zero may denote a specified relatively high A/F, and then negative and positive signs imply fuel-richer and fuel-leaner A/F, respectively. [0037] For a four-cylinder engine, any unknown pattern of imbalances can be reduced to a combination of four basic patterns T 1 , T 2 , T 3 and T 4 shown in Figure 1. As seen in Figure 1, Template 1 has the pattern +1, +1, +1, +1 for cylinders 1, 2, 3 and 4, respectively. This pattern represents a complete fueling cycle for cylinders 1-4, respectively, of the engine although the actual fueling sequence may be in the order of cylinder 1, 3, 4, 2. Template 2 is the pattern -1, +1, -1, +1 for cylinders 1, 2, 3 and 4; Template 3 represents the pattern +1, 0, -1, 0 and Template 4 represents the pattern 0, +1, 0, -1. [0038] In the development of this invention, it has been rigorously demonstrated that these four templates provide a basis for detecting any pattern of fueling imbalances in a four-cylinder engine bank. A similar argument applies to torque imbalances amongst cylinders due to individual intake valve differences. Referring to Figure 1, the top template illustrates a four-cylinder engine operating situation of unknown A/F imbalances (a \ , a 2 , a 3 and a 4 ) for cylinders 1, 2, 3 and 4, respectively). Any pattern of such unknown cylinder imbalances (whether A/F imbalances, torque imbalances or spark timing imbalances) can be uniquely related to the above four templates by appropriate weighting factors Cb 1 , b 2 , b 3 , b 4 ) applied respectively to the values of the terms of each template T 1 , T 2 , T 3 and T 4 . Figure 1 shows the applicable equations relating fueling imbalances a ls a 2 , a 3 and a 4 to their cylinder counterparts in the four reference templates. Thus, the knowledge of the sets of coefficients (b l5 b 2 , b 3 , b 4 ) is equivalent to knowledge of the unknown values of the imbalances (ai, a 2 , a 3 and a 4 ) in the engine's four cylinders. The coefficients (bi, b 2 , b 3 , b 4 ) may have positive or negative values or the value of zero. Often it is preferred that the coefficients have values expressed as percentages of the cylinder weighting factors of the templates.

[0039] A close examination of cylinder imbalance templates reveals the following properties. Each template has a discrete frequency spectrum with non-zero magnitudes only at a finite number of frequencies. For templates T 3

and T 4 , the spectrum has two lines only. The first line is at a fundamental frequency CO 1 corresponding to the engine speed. The second frequency is twice the fundamental frequency. Template T 1 indicates a uniform A/F across all cylinders and its spectrum has non-zero value only at ω = 0. This static component (with weighting factor b{) is usually eliminated by the closed-loop average A/F controller and can be discarded. Therefore, there remain only three unknown template factors b 2 , b 3 and b 4 .

[0040] For T 3 and T 4 , the non-zero magnitudes (at CO 1 and 2CO 1 ) are coupled so that any changes at one frequency will impact the other one, i.e., they increase or decrease together. This implies that one can focus on the contributions at the fundamental frequency CO 1 only. This observation is important as it reduces the sensor bandwidth requirement for imbalances detection and correction. Elimination of imbalances at the fundamental frequency for each template T 3 and T 4 results in a perfectly balanced A/F with respect to these components in all cylinders.

[0041] For Template T 2> the spectrum has a single line at twice the fundamental frequency.

[0042] In the presence of A/F imbalances, a Fourier series analysis of the A/F signal indicates that the frequency spectrum of the A/F signal consists of multiple (infinite) harmonics but the spectrum is dominated by the first and second harmonics. The first (or fundamental) harmonic CO 1 depends on engine speed. Higher harmonics are integer multiples of the fundamental frequency CO 1 .

[0043] Any single linearly independent pattern of imbalances chosen from the set [-1, 0, +1] will constitute a possible solution, though incomplete, and will be referred to as a balancing template. In general, to cancel imbalances in a 4-cylinder engine, four templates are required so that a unique (and complete) solution is obtained. The frequency spectrum of each balancing template, in general, is composed of up to three frequencies. With the average A/F controlled by the main fuel controller in current production systems, the DC component of imbalances (T 1 in Figure 1) will become irrelevant and may

be excluded. This leaves us with only three balancing templates with non-zero discrete frequency spectrums consisting of two frequencies only. Figure 9 is a graph illustrating an example of a discrete Fourier transform DFT of A/F signal (for example from a warmed up exhaust O 2 sensor) in a four cylinder engine.

[0044] In the practice of this invention, exhaust sensor or torque sensor signals are subjected to Fourier transforms. For a sensor signal x(n) sampled at discrete time intervals n = 0, 1,..., N-I, the Fourier transform is defined by the following expression:

N-I

X(k) = ^x(n).e- j2πkn/N n=0

[0045] Here, j = V^ϊ' is the complex number, N = total number of data points and k ' = number of spectral lines in the Fourier transform. The resulting spectrum has non-zero values only at a discrete number of frequencies cO f c. = 2πkn/N and, hence, is called the Discrete Fourier Transform (DFT). The Discrete Fourier Transform maps N complex numbers x(n) into N complex numbers X(k). In this case, the samples from sensor signal x(n) have real parts only. [0046] For computational efficiency, when the number of sensor data points is a power of 2 (i.e., N = 2 V , v = a positive integer), then there are well- known efficient techniques to reduce the time and the complexity of DFT computations. The technique is called Fast Fourier Transform (FFT). In most practical DFT calculations, the number of samples is taken as powers of two (e.g., 16, 32, 64, 128, etc.), if possible, to expedite DFT calculations. [0047] In an attempt to find out and eliminate the individual cylinder A/F imbalances, it is preferred to use a single exhaust sensor to measure A/F (or O 2 concentration or torque) signal after the point of confluence in the exhaust manifold. The sensor is sampled at a rate compatible with the recovery of the

first harmonic and for a length of at least one full engine cycle. A fast or discrete Fourier transform (FFT or DFT) of the A/F signal is performed and the amplitude of the first harmonic is computed. Magnitudes larger than a given threshold at each mode indicate a significant imbalance at that mode. [0048] Once the level of imbalances at the frequency of interest has been detected, the corrective templates are imposed individually and simultaneously to reduce the level of total imbalances to near zero. In other words, the control signal uses the logical templates corresponding to various modes and modal shapes (i.e. discrete modes). Because of the frequency-based and discrete (as opposed to other proposals which are time-based and continuous) nature of this method, this technique is referred to as Discrete Modal Control (DMC). [0049] By shifting attention from the time-domain to the frequency- domain, the structure of the essential information latent in the A/F signal is revealed. In this method, there is no undue attention to signal details such as ,the high-frequency components or noise.effects .which are sensitive issues in many time-domain methods for the synthesis of imbalances. It is also important to note that no synchronization signal is being used which avoids the risks associated with possible synchronization errors or its potential loss. This will also relax the sensor dynamic bandwidth and sampling rate requirements. The method is still effective, up to very high precision, where the A/F signal may be non-periodic. All these factors point to a method with robustness as its main attribute. This technique is simple to understand and easy to implement and has led to a powerful technique for individual cylinder A/F or torque control.

The Technique

[0050] With an exhaust sensor of sufficiently wide dynamic-bandwidth, the sensor signal is sampled at a predetermined rate (preferably in tandem with engine events) and for a predetermined period of time (preferably a number of engine cycles) and processed according to the following sequence of three steps:

I. Determination of base templates spectrum phase angle and magnitude information. This constitutes the calibration step and is carried out a priori (offline) and stored as table lookups (or as analytic functions) for real-time individual cylinder fuel control.

II. Detection of imbalances (DFT or FFT analysis).

III. Correction of imbalances (discrete modal control or DMC)

[0051] As will be illustrated in more detail below, the detection of an imbalance in A/F is represented as an imbalance vector T (Figure 2). Imbalance vector T is mathematically resolved into, contributions of the pure template vectors T 2 , T 3 and T 4 . Template vectors T 2 , T 3 and T 4 are mutually orthogonal as seen in Figure 2. T 3 and T 4 are determined at the first harmonic, GDi, and T 2 at the second harmonic, ω 2 . T 3 and T 4 lie in the CQ 1 plane and T 2 lies on the ω 2 axis.

[0052] Unknown, generic imbalances a l5 a 2 , a 3 γ and a^. from the four individual cylinders culminated in the imbalance vector T are eliminated by applying the opposite values -a l5 - a 2 , -a 3 ,i and -a 4 to the respective cylinders. The unknown values ai, a 2 , a 3 , and a^. are obtained from contributions to the cylinders, bi, b 2 , b 3 , and b 4 , associated with pure templates T 1 , T 2 , T 3 , and T 4 , respectively. Alternatively, each template contribution b 1? b 2 , b 3 , and b 4 is individually detected and corrected to create total balance. It is to be noted that techniques for removal of the first template T 1 (i.e. the DC component of imbalances) is well known to those in the current practice and, therefore, will not be elaborated further. Thus, the remaining templates contribute to the generic imbalances as follows. Generic Imbalances: a 2 = bi+b 2 + b 4 a 4 = bi +b 2 - b 4

I. Calibration Step (Determination of the Spectrum of Basic Templates)

[0053] Any sequence of cylinder imbalances is first reduced to the minimal constituent modal shapes of 3 modes at (known) frequencies CQ 1 and ω 2 but unknown amplitude. Thresholds for the admissible level of imbalances for each mode are also established.

[0054] This step constitutes the calibration phase where the individual templates of known nominal magnitudes d 3 o and d 4 o (say 10%, for templates T 3 and T 4 , respectively) are directly imposed on a balanced engine first. The frequency spectrum of the resulting signal (A/F, O 2 or crankshaft torque sensor) in terms of its phase and magnitude information is determined at the given engine speed. This information is stored in table lookups for references during the detection phase.

[0055] Either a fast Fourier transform (FFT) or discrete Fourier transform (DFT) is used to fill the table lookups at different engine speeds and for various loads (MAP or MAF). This step is, essentially a calibration requirement and is executed offline. If desired, data for various operating conditions can also be curve-fitted so that a simpler .analytic function for the spectrum is derived.

[0056] The procedure for the determination of the response of individual templates at any engine speed N and load [manifold absolute pressure (MAP) or mass air flow MAF)] is as follows. Reference will be made to Figures 3A- 3C.

[0057] The selected or measured engine and MAP or MAF values together with engine speed (rpm) are stored in the PCM as indicated at block 300 of Figure 3A. In block 302, a set of parameter values regarding the magnitude of templates T 2 , T 3 and T 4 named d 2 o, d 30 and d 40 , respectively, is stored. For example, an imbalance magnitude of 10% of the stoichiometric A/F may be used for each of d 2 o, d 30 and d 40 . In block 302, the number of wait cycles N w and the number of signal cycles N F for execution of DFT computations together with the number of teeth per rotation of crankshaft (m) are recorded. Calculations begin by setting index i = 1 in block 304. The process then proceeds as follows:

[0058] 1. Choose two independent templates T 3 & T 4 . These templates may be characterized by

T 3 = [+1, 0, -1, 0], and

T 4 = [0, +1, 0, -I].

[0059] 2. Use crankshaft mX signal available in an L4 engine or V8 engine (e.g., m=24) for DFT calculations. The resolution θ r would then be 3607m (i.e., 15° in V8). The A/F (or O 2 ) signal is successively sampled at θi = i.θ r where i = 1,...,m (e.g. m = 60 for L4 or m = 24 for V8) as indicated in block 306.

[0060] 3. Compute £ = cos(ΘO and gj = sin(θi) for all i = 1 , ... , m. For any engine family, this calculation is done once and for all. Results are stored in table lookups for the imbalances detection step. This calculation at respective crankshaft positions is shown in block 308. In block 310, the crankshaft sensor index is incremented and operations return to block 306 until the answer to the query in box 312 is "yes," indicating that the calculations for all crankshaft positions are completed. [0061] The values of sin(θj) and cos(θi) having been calculated for all crankshaft angle increments of θ;, the process now proceeds to determining the oxygen sensor outputs for the crankshaft angles of interest. Upon a positive response (yes) in box 312, the initial components of imbalances are set to zero as shown in box 314 and a template value j=2 or 3 or 4 is adopted for the current template, e.g., Template T 3 (j=3) as indicated in process flow box 316. [0062] 4. Apply template T 3 imbalances of magnitude d 30 as shown in box 318 (j=3). To eliminate the effects of fuel transients, it is preferred to wait N w cycles before measuring the system response. The crankshaft angle is measured (block 320), monitored (block 322) and checked (block 324, figure 3B) to insure that the required number of wait cycles N w are elapsed before date collection. Once the required number of wait cycles are elapsed, calculations are transferred to block 326 where indexes associated with crank angle and total number of signal cycles for DFT calculations are initialized (blocks 328, 330, and 332).

[0063] The f k and g k values for current crankshaft angle k are retrieved from memory, block 334. And the oxygen sensor (or torque sensor) output W j k ) at the current crankshaft ankle θ k is stored as W j , block 336. [0064] For the signal sampled at the rate of m samples/rev, compute the DFT(T 3 ) with magnitude R 30 = I DFT(T 3 ) | and phase φ 3 = ZDFT(T 3 ) or, alternatively, the Cartesian components X 30 and Y 30 . For example, in Cartesian coordinates, DFT values over one engine cycle are computed from: X30 = ∑ fi * Wi(θi), i = l,...m Y 30 = ∑ gi * W 1 (GO, i = l,...m where W 1 (B;) is the system response at crank angle θj due to the imposed template T 3 , block 338. In blocks 328-342, the necessary cycle of steps to compute the DFT components of the imbalances are shown. The DFT components are calculated at the respective crank angles, until the calculation is completed over the specified number of cycles, block 342. When calculations for the required number of cycles IsT f (block 342) is completed, control is transferred to block 344 where the average components X 30 and Y 30 are determined. The values of X 3 o and Y 30 are stored in table lookup data for the imbalances correction step. With the knowledge of these Cartesian components, the radial components R 30 and cp j are also calculated as in block 346 (Figure 3C).

[0065] 5. Similarly, repeat step 4 for templates T 2 and T 4 with magnitudes d 20 and For T 4 , increment index J to 4 as in block 348 and repeating all steps in blocks 318-346 (Loop B). Compute DFT(T 4 ) with magnitude R 40 = I DFT(T 4 ) I and phase φ 4 = ZDFT(T 4 ) as in block 346, or, alternatively, the Cartesian components X 40 and Y 4 o as in block 344. Store X 40 and Y 40 in table lookups for the imbalances correction step. Once all templates T 2 , T 3 and T 4 have been applied (positive answer to query in block 350) and corresponding responses determined the process proceeds to block 352. [0066] Figure 10 is a graph illustrating an example of two possible DFT (T 3 ) and DFT (T 4 ) vectors with their respective magnitudes and phase angles φ 3 and φ 4 . In these templates for a four cylinder engine, the phase angles of

the templates are generally 120° apart. Of course, the Cartesian coordinates of these vectors can be determined by projecting on the x and y axes.

[0067] 6. Compute and store Δ = C 4 - C 3 where C 3 = tan(φ 3 ) and C 4 = tan

4 ) as in block 352. This value is used in the correction phase of the algorithm.

[0068] 7. Compute and store p = cos(φ 4 - φ 3 ) as in block 352. This value is also used in the correction phase of the algorithm. The initial calibration data is now completely available (end block 354) for the imbalances detection and correction steps to follow.

[0069] For O 2 sensor-based calibration, due to the non-linearity of the sensor, the calibration has to be carried out at different levels of imposed A/F imbalances. Alternatively, one can approximate the non-linear calibration curves conservatively and then through iterative corrections (i.e., step IH).

II. Detection of Imbalances

' [0070] Full knowledge of the phase and magnitude of DFT associated with arbitrary unknown imbalances is a powerful tool for the detection and elimination of the imbalances. Any arbitrary pattern of A/F imbalances can be decomposed into two basic templates T 3 and T 4 (predominantly at frequency Q 1 ), a third template T 2 (at frequency 2(D 1 ), plus a template T 1 constant DC component. The DC part is automatically eliminated by the average A/F controller.

[0071] Superposition of the tri-templates of appropriate magnitudes (yet unknown) would yield the total imbalances. In this approach, the spectrum of A/F (or O 2 or torque) sensor signal at the desired frequency, dictated by the engine speed, is determined through the calculation of signal DFT. This results in a single vector of known phase and magnitude. Clearly, both linearity and superposition principles hold in this method. The Cartesian components of the DFT of the measured signal in real-time and computed over one engine cycle has the following components:

X = ∑ fi.W(ΘO, i = l,...,m

Y = Σ gi.W(θ ; ), i = l,...,m where W(Oj) is the value of the signal, due to unknown imbalances, measured at crank angle θ; and index 'm' is such that the sensor is measured for at least one full engine cycle (i.e. two engine revolutions) at a minimal sampling rate of 4X (desirable rate > 8X). Clearly a four-cylinder engine with 6OX surpasses this requirement. The parameters f; and gi are entered from previously defined table lookups in step I.

[0072] A complete detailed flowchart of the imbalances detection process (step II) for the templates T 3 and T 4 is attached as Figures 4A-4B. For the template T 2 which has residues purely at the 2 nd harmonic, the procedure requires the detection of the magnitude of DFT (AfF) at the 2 nd harmonic only. [0073] Referring to Figures 4A-4B, the detection process begins by measuring manifold pressure (MAP) or intake airflow rate (MAF) and engine speed (rpm) in block 400. Then the number of cycles N F required for DFT calculation and the number of teeth on the crankshaft encoder (m) are specified, block 402. At block 404, initialization of the index for crank angle (k) and DFT cylinder imbalance components takes place. At every crankshaft sensor tooth k, the crank position (θ k ) is measured (block 406), and when the index exceeds the total number of teeth (block 408), both the index and the teeth angle are adjusted as in block 410. Otherwise, for the current shaft position, the corresponding sine and cosine parameters in block 412 are retrieved from the calibration procedure described above. The oxygen sensor (or torque sensor) output W(θ k ) at this crank position θ k is recorded in block 414.

[0074] Now, the data necessary to compute the current engine operating contribution to DFT of the system response is available in the PCM. The Cartesian coordinates of the DFT components of the imbalances are calculated as described above and as shown in block 416. At this point, the counters for the tooth number (k) and accumulative tooth number (1) are incremented, block 418. If the accumulated tooth number (1) in block 420 indicates that DFT calculation has been completed for the required number of cycles N f , the

control transfers to block 422 where the DFT components are computed; otherwise computation returns to block 406. With the Cartesian components of DFT in hand, one can easily compute the radial components of DFT as shown in block 424 and exit the detection step in block 426.

III. Correction of Imbalances

[0075] Two methods for the correction of imbalances are proposed each with unique features and advantages. The primary method of correction is referred to as the single-axis projection method and is described first.

Method A: The Single-Axis Projection (SAP) Method [0076] The contributions of individual templates are obtained by the decomposition of the DFT vector of the measured signal onto the DFT vectors of individual templates T 3 , and T 4 . For the 4-cylinder engine, the basic templates are always at 90° degrees phase difference. That is to say φ 4 = φ 3 + 90°. The Cartesian components of DFT's are related as follows:

X = X 3 + X 4

Y = Y 3 + Y 4 = X 3 .tan(φ 3 ) + X 4 .tan(φ 4 ) = c 3 .X 3 + C 4 -X 4 where X; and Yj are Cartesian components of the DFT of the template Ti contributions (as yet unknown), and, X and Y are the (known) total DFT components of the unknown imbalances computed from the sensor output measurement. Figure 11 illustrates the imbalance vector (magnitude R and phase angle θ) and template vectors T 3 and T 4 with magnitudes R 3 and R 4 and phase angles φ 3 and φ 4 . This figure is a schematic illustration of various DFT vectors of interest. The angles between the measured imbalance vector and template vectors of T 3 and T 4 are identified as θ 3 and θ 4 , respectively. [0077] The unknown components X 3 and X 4 are now calculated from solving the above set of two equations:

X 3 = (c 4 .X - Y)/Δ,

X 4 = (Y - c 3 .X)/Δ

[0078] Please note that only a single axis is dealt with at the time (i.e. only Xi or Yj). In occasions when either C 3 or C 4 assume large values (i.e. either φ 3 or φ 4 approaches 90°), we swap X 1 for Yi in the above equations and proceed. [0079] During the calibration phase, we had determined that the application of a simple template Tj of reference magnitude d;o resulted in DFT component X;o for i = 3 and 4. With the principle of linearity holding, one can infer that the unknown contribution d; of each template T; in the measured imbalances vector is similarly determined by: dj = Xi/Xio-djo for i = 3 and 4 In other words, we have: d 3 = d 30 .(c 4 .X - Y)/(Δ.X 30 ) d4 = d4o.(Y - c 3 .X)/(Δ.X4o)

[0080] To restore A/F balance to all cylinders, we apply templates Ti of opposite magnitude -d;. This is achieved by adding appropriate patterns of offsets (related to' the template) to average' cylinder fuel pulse width in each cylinder. For example to apply -6% in T 3 with a pattern [+1, 0, -1, 0], we remove 6% from cylinder 1 fuel, add 6% to cylinder 4, and leave cylinders 2 and 3 fuel unchanged (with the firing sequence 1342). [0081] The above single-shot approach would immediately eliminate the A/F imbalances of the fundamental frequency in a 4-cylinder (or V8 engine with dual exhaust system). Similarly, application of a template T 2 with a pattern of [-1, +1, -1, +1] of magnitude -d 2 will immediately remove the effect of imbalances at the 2 nd harmonic.

[0082] Figure 5 is a flow diagram summarizing the algorithm for performing the correction process by Method A:

[0083] 1. Measure engine load (MAP) or air flow rate (MAF) and speed rpm as in block 500.

[0084] 2. Recall Δ, a, di 0 , Xjo for i = 3 and 4 from the calibration step I, and assign a tangent threshold value α (block 502).

[0085] 3. Recall DFT components of imbalances in Cartesian coordinates (X and Y) from the signal output (step II) as in block 504. [0086] 4. Check for conditions in block 506. If the answer is negative, then proceed to block 508 to use the X-axis projection. If the answer is positive, go to block 510 (step 6 below) to use the Y-axis projection. [0087] 5. Compute contribution dj of each template T; in the total imbalances (block 508) from d 3 = d 3 o.(c 4 .X - Y)/(Δ.X 3 o) d 4 = d 40 .(Y - C 3 -XV(A-X 40 ) and go to block 518

[0088] 6. Both X 30 and X 40 must clearly be non-zero. Otherwise, the roles of X and Y are properly swapped as in bock 514. With the new set of parameters computed in block 514, proceed to block 516 to calculate the contribution d; of each template. The control is then transferred to block 518. [0089] 7. Apply template T; of opposite magnitude -d; to restore A/F balance, block 518.

[0090] 8. Apply template T 2 of opposite magnitude -d 2 = -X 2 /X 2O .d 2 o where X 2 is the projected magnitude of imbalances at the 2 nd harmonic due to the reference template T 2 . The process for the correction of imbalances at block 520 is now complete.

[0091] Each of X 2 o, X 30 and X 40 must clearly be nonzero. Otherwise the roles of Xj 0 and Y,o can be swapped properly (as illustrated in the flow chart of Figure 5). In this procedure only a single (X«) or Yjo) component of DFT of Ti is used and hence the name single-axis projection (S AP). [0092] In some applications, due to imperfections or inherent properties (such as nonlinearity) and variability, it may be necessary to iterate a few times to achieve the final goal. This is particularly true for O 2 -based A/F control dominated by strong sensor nonlinearity. The following alternative method for the correction of imbalances is suitable where some trigonometric function evaluations (or the use of corresponding tabulated values) are allowed.

Method B: Total Magnitude Method

[0093] This is a closed-loop method mostly using the magnitude information. In this technique, we argue that due to severe sensor degradation it is possible that the phase information of the computed DFT may not be sufficiently reliable. Distortions in sensor and/or engine characteristics usually have less impact on signal magnitudes and more on the phase information. To make the method more robust, the magnitude information is employed for evaluation of the level of imbalances. Naturally, any discrepancy in the phase information would require more time and iterations to achieve convergence. The method uses geometry to compute the magnitude and involves some calculations of trigonometric functions in real time. [0094] Polar coordinates are used to determine the contribution of individual templates. Once the vector of measured DFT with magnitude R and phase angle θ is computed, the vector is decomposed onto T 3 & T 4 templates shown below to determine the contribution of each individual template magnitudes R 3 and R 4 . [0095] Let's define f θ 3 = θ - φ 3 , p = cos(φ 4 - φ 3 )

\

[ θ 4 = φ 4 - θ, q = sin(θ 3 )/sin(θ 4 ), s = +1/V(I + q 2 + 2.q.p) where φ 3 and φ 4 are known values from the calibration step I.

[0096] From the vectorial representation of DFT in Figure 11 below, we have: f R 3 .sin(θ 3 ) = R 4 .sin(θ 4 )

[ R 2 = R 3 .R 3 + R 4 .R 4 + 2 R 3 -R 4 . p

[0097] It can readily be shown that the magnitude of T 3 and T 4 contributions are

R 3 = Rs for T 3

R 4 = R 3 .q for T 4

[0098] In the above relation for R 3 we adopt the following sign convention: if {θ ≥ φ 4 or θ ≤ (φ 4 -180)} then s → - s.

[0099] With R 3 and R 4 calculated we now proceed to compute the weighting factors for each template: d 3 = d 3O .R 3 /R 3 o = d 30 .R.s/R 30 d 4 = d 4 o.R 4 /R 4 o = d 4 o.R.q.s/R 4O

[00100] The required correction is then a combination of templates T 3 and T 4 of magnitude -d 3 and -d 4 , respectively.

Summary of Method B (Total Magnitude) for Correction of Imbalances

[00101] Figure 6 is a flow diagram summarizing the algorithm for . performing the correction process by Method B for first harmonic imbalances

(i.e., Templates T 3 and T 4 ).

[00102] 1. Measure engine load (MAP) or airflow rate (MAF) and speed (rpm) as in block 600.

[00103] 2 For the operating condition recall φ 3 , φ 4 , p, d 30 , d 40 , R 30 and

R 4O from the calibration step I (block 602).

[00104] 3. Compute the DFT vector (R and θ) of total imbalances from the measured signal from the detection step II at the fundamental frequency for T 3 and T 4 , (block 604).

[00105] 4. Compute θ 3 = θ - φ 3 , θ 4 = φ 4 - θ (block 606).

[00106] 5. Compute and store q = sin(θ 3 )/sin(θ 4 ) and s = +1/V(I + q 2 +

2.q.p), block 608.

[00107] 6. Check for conditions in query box 610. If true (yes), change the sign of parameter "s," as in block 612.

[00108] 7. Calculate T 3 contribution from d 3 = d 30 .R 3 /R 30 = d 30 .R.s/R 30 .

Sign convention for 's' applies. Calculate T 4 contribution from d 4 = d4o.R4/R 4 o = d^.R.q.s/R^. Sign convention for 's' applies. (block 614).

[00109] 8. To correct the imbalances apply templates T 3 and T 4 of magnitude as -d 3 and -dψ, respectively, as in block 616. The correction process for first harmonic imbalances ends at process block 618.

[00110] Figure 7 is a flow diagram summarizing the algorithm for performing the correction process by Method B for second harmonic imbalances.

[00111] 1. Measure engine load (MAP) or airflow rate (MAF) and speed (rpm) as in block 700.

[00112] 2. For the operating condition, recall p, d 2 o, R 2 o, from the calibration step I (block 702).

[00113] 3. Compute the DFT vector (R and θ) of total imbalances from the measured signal from the detection step II at 2 nd harmonic for T 2 (block

704).

[00114] 4. Calculate T 2 contribution from d 2 = d 20 .R 2 /R 20 , block 706.

[00115] 5. To correct the imbalance apply template T 2 of magnitude -d 2 as in block 708. The correction process for the second harmonic imbalance ends at process block 710.

[00116] As before, a few iterations of the methods illustrated in Figures

6 and 7 may be needed to achieve the corrections by the total magnitude method. This is particularly true when an 02 sensor is used to detect and correct the imbalances at the stoichiometric A/F.

The Control Algorithm

[00117] The above techniques provide the basis for a control algorithm for the real-time balancing of individual cylinder A/F or torque maldistribution. Cylinder imbalances rarely require fast correction and therefore a slow control loop of low bandwidth is sufficient. Inherent in the algorithm is its robustness, simplicity and ease of implementation. The algorithm may be used for cylinder A/F maldistribution calibration on a new engine family (off-line application), for its diagnostic value (imbalances

including cylinder misfire detection) and also real-time control and attenuation of cylinder A/F maldistributions or torque imbalances. [00118] For an engine speed N [rpm], one full cycle takes T 0 = 120/N

[s] (four-stroke engine). T 0 is the time between successive injections in the same cylinder. The fundamental frequency of imbalances is also given by the frequency ω o = 1/T 0 [Hz]. The sensor is sampled at a rate T s where T s < T 0 M with n > 1 to avoid aliasing though an event-based sampling is preferred with synchronization with the crankshaft encoder (e.g. 24X in V8 engine). Detection of imbalances at the frequency ω 0 also requires a sensor with the same minimum bandwidth (usually 2-5 times wider). The bandwidth requirement also imposes constraints on the upper limit on engine speed at which the imbalances can effectively be detected. [00119] In the calibration step I, the necessary information at any operating condition was developed. This information is either tabulated or preferably ^curve-fitted to reduce the data management. In. the next section on the presentation of experimental results two analytic functions for the phase and magnitude (R 30 , θ 30 ) information of the basic template T 3 are described. [00120] An overall procedure for individual cylinder fuel control is outlined below with reference to the algorithm flow charts of Figures 8A-8D. In these flow charts, process step corrections for first harmonic imbalances are shown in blocks 802-824 and a like process for second harmonic corrections is shown through blocks 902-924. For purposes of brevity the steps are described once.

[00121] 1. Establish the DFT thresholds δi and δ 2 for the acceptable levels of imbalances at CO 1 and ω 2 , respectively. The threshold is a function of engine operating conditions i.e. δ = f(rpm, MAP, MAF, MAT, Mode,...). Also establish a transient threshold β for algorithm activation and a filter constant a f for MAF filtering (block 800).

[00122] 2. Specify the number of wait-cycles (N w ) between correction and any subsequent detection to allow transient effects settled. This introduces a dead-time into the algorithm and has two functions: to reduce the impact of

A/F transients and to allow the effect of fuel changes in cylinders to reach the sensor location before any additional corrections are meaningfully attempted

(block 800). The wait-time is directly related to the engine and sensor system transportation delays.

[00123] 3. Initialize k and AAF and MAP variables in block 802 for first harmonic imbalances and block 902 for second harmonic imbalances.

[00124] 4. Measure MAF at event k (blocks 804, 904).

[00125] 5. Compute the rate of change of MAF (called DMAF), blocks

806, 906.

[00126] 6. Filter DMAF with a filter coefficient a f (called MAFR), blocks 808, 908.

[00127] 7. Increment event k and update old MAF in blocks 810, 910.

[00128] 8. Check the rate of change of MAF (or MAP) to be below the threshold value β before enabling the algorithm, blocks 812, 912. Given the high speed of algorithm execution,, the algorithm may be enabled even under mild transient conditions so that imbalances are eliminated on the fly.

[00129] 9. Execute Step II for detection of imbalances for first harmonics, block 813, and second harmonics, block 913.

[00130] 10. Execute the procedure for the correction of imbalances

(Step III) by computing template T 2 , T 3 and T 4 contributions d 2j d 3 and d 4 , respectively. Apply templates Tj of opposite magnitude (-d;) simultaneously to counteract the measured imbalances, (blocks 814, 914)

[00131] 11. Count events (blocks 818, 918) and wait for N w engine cycles to pass (blocks 820, 920). In actual implementation, a wait-cycle three times bigger produced good results.

[00132] 12. Measure imbalances again (blocks 822, 922) and verify that imbalances have indeed been removed. For this purpose, execute the procedure for the detection of imbalances (Step II) to determine any possible residual imbalances. Compute the magnitude of imbalances R (blocks 824,

924).

[00133] 13. In blocks 824, 924, if R < δ; take no further action

(negligible imbalances). If the magnitude of DFT after initial correction is still above the threshold, δj, then start a new iteration (steps 3 to 12). This concludes (block 926) the process for the individual cylinder control algorithm in a four-cylinder engine.

[00134] In all applications, A/F imbalances were detected and corrected in less than one second. This enables one to activate individual cylinder control algorithms even under mild transient operations. The method is robust to system disturbances such as sudden EGR valve openings, load applications and exhaust back-pressure changes.

[00135] The above description illustrated the use of exhaust oxygen sensors for A/F imbalances detection and correction through fuel injector biasing (i.e., fuel control). The invention is also applicable for air control if variable-valve actuation technology is used. Moreover, in conjunction with a crankshaft torque sensor, 'the disclosed techniques can also be used for the elimination of torque imbalances (i.e., torque control). [00136] Figure 1 illustrates a practice of the invention with templates

T2, T3, and T4 in which each template displays zero average values over one engine cycle. It will be apparent to one skilled in engine control methods that that other choices for the individual cylinder variations patterns or templates can be made (such as patterns with an imbalance in a single cylinder) without changing this method of detecting and correcting cylinder imbalances in any new way. Thus, while the invention has been described in terms of specific examples, it is apparent that other embodiments could readily be adapted by one skilled in the art and the invention is limited only by the scope of the following claims.