Fuel metering control system for internal combustion engine

Abstract: A fuel metering control system for an internal combustion engine including a feedback loop having an adaptive controller and an adaptation mechanism that estimates controller parameters  and. The adaptive controller calculates a feedback correction coefficient that corrects the quantity of fuel injection to bring a controlled variable obtained at least based on an output of an air/fuel ratio sensor, to a desired air/fuel ratio. The convergence speed of the controller parameters are determined by a gain matrix. The gain matrix is determined in response to at least one of the detected engine operating conditions.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to a fuel metering control system for an internal combustion engine. 2. Description of the Related Art The application of adaptive control theory to internal combustion engines in recent years has led to the development of technologies for adaptively controlling the actual quantity of fuel drawn into the engine cylinders to the desired fuel quantity, as taught, for example, by Japanese Laid-Open Patent Application No. Hei 2(1990)-173,334. The present assignee's Japanese Patent Application No. Hei 4(1992)-215,665 (Japanese Laid-Open Patent Applications No. Hei 6(1994)-42,385) published as a European Patent Application, number EP-A-0 582 085 on February 9, 1994, as well as German published Application, number DE-A-4 339 170 published on June 1, 1994 also teach fuel metering control in an internal combustion engine using adaptive control. However, when actually applying the adaptive control in a fuel metering control, there are many problems to be solved so as to effectively conduct the control with high performance. SUMMARY OF THE INVENTION An object of the invention is therefore to provide a fuel metering control system for an internal combustion engine which enables an adaptive control to be conducted on an actual and commercially practical engine with high control performance. This invention achieves this object by providing a system for controlling fuel metering for a multicylinder internal combustion engine, comprising an air/fuel ratio sensor installed at an exhaust system of the engine, engine operating condition detecting means for detecting engine operating conditions at least including engine speed and engine load, fuel injection quantity determining means for determining a quantity of fuel injection for individual cylinders at least based on the detected engine operating conditions, a fuel injector for injecting fuel in the individual cylinders of the engine in response to a corrected quantity of the fuel injection, and a feedback loop having an adaptive controller and an adaptation mechanism that estimates controller parameters at a convergence speed determined by a gain matrix, said adaptive controller correcting the quantity of fuel injection to bring a controlled variable at least obtained based on an output of said air/fuel ratio sensor to a desired value. In the system, the gain matrix is determined in response to at least one of the engine operating conditions detected by the engine operating condition detecting means. BRIEF EXPLANATION OF THE DRAWINGS These and other objects and advantages of the invention will be more apparent from the following description and drawings, which show the invention by way of example only, and in which: Figure 1 is an overall schematic view showing a fuel metering control system for an internal combustion engine according to the present invention; Figure 2 is a schematic view showing the details of an exhaust gas recirculation (EGR) mechanism illustrated in Figure 1; Figure 3 is a schematic view showing the details of a canister purge mechanism illustrated in Figure 1; Figure 4 is a graph showing the valve timing characteristics of a variable valve timing mechanism illustrated in Figure 1; Figure 5 is a block diagram showing the details of the control unit illustrated in Figure 1; Figure 6 is a flowchart showing the operation of the system according to the invention; Figure 7 is a block diagram showing the configuration of the system, whose operation is illustrated in Figure 6, for fuel metering control having an adaptive controller; Figure 8 is a timing chart showing the operation of the adaptive controller illustrated in Figure 7; Figure 9 is a block diagram showing a portion of the configuration redrawn from Figure 7 with emphasis on the adaptive controller; Figure 10 is a subroutine flowchart of Figure 6 showing the calculation of one of the feedback correction coefficients determined by the adaptive controller; Figure 11 is a timing chart explaining the operation of Figure 10; Figure 12 is a subroutine flowchart of Figure 6 showing the feedback correction coefficient selection while checking the stability of the operation of the adaptive controller; Figures 13 and 14 are graphs explaining the operation of Figure 12; Figure 15 is a timing chart, similar to Figure 8, but showing another possible operation of the adaptive controller illustrated in Figure 7; Figure 16 is a flowchart showing the operation of the system according to a second embodiment of the invention for determining a gain matrix to be used in the adaptive controller; Figure 17 is an explanatory view showing the characteristic of a map used in the operation of Figure 16; Figures 18 to 21 are explanatory views showing the characteristics of tables used in the operation of Figure 16; Figure 22 is a flowchart showing the operation of the system according to a third embodiment of the invention for determining the gain matrix to be used in the adaptive controller; Figure 23 is a flowchart showing the operation of the system according to a fourth embodiment of the invention for determining an air/fuel ratio to be used in the adaptive controller; Figure 24 is a graph explaining the operation of Figure 23; Figure 25 is a flowchart showing the operation of the system according to a fifth embodiment of the invention for determining an estimation/identification error signal to be used in the adaptive controller; Figure 26 is a graph explaining the operation of Figure 25; Figure 27 is a flowchart showing the operation of the system according to a sixth embodiment of the invention for determining an estimation/identification error signal to be used in the adaptive controller; Figure 28 is a graph explaining the operation of Figure 27; Figure 29 is a flowchart showing the operation of the system according to a seventh embodiment of the invention for determining the control (operation) cycle of the adaptive controller; Figure 30 is an explanatory table explaining the operation of Figure 29; Figure 31 is a timing chart, similar to Figure 8, but showing the operation of Figure 29; Figure 32 is a flowchart, similar to Figure 10, but showing the operation of the system according to an eighth embodiment of the invention; Figure 33 is a flowchart, similar to Figure 10, but showing the operation of the system according to a ninth embodiment of the invention; Figure 34 is a flowchart, similar to Figure 6, but showing the operation of the system according to a tenth embodiment of the invention; Figure 35 is a block diagram showing the configuration of the system whose operation is illustrated in Figure 34; Figure 36 is an explanatory view showing the relationship between the air/fuel ratio at the confluence point of the exhaust system of an engine relative to the TDC crank position; Figure 37 is an explanatory view showing appropriate (best) sample timings of air/fuel ratio sensor outputs in contrast with inappropriate sample timings; Figure 38 is a flowchart showing the operation of the air/fuel ratio sampling conducted by the sampling block illustrated in Figure 35; Figure 39 is a block diagram showing a model we proposed previously which describes the detection behavior of the air/fuel ratio; Figure 40 is a block diagram which shows the model of Figure 39 discretized in the discrete-time series for a period delta T; Figure 41 is a block diagram showing a real-time air/fuel ratio estimator based on the model of Figure 40; Figure 42 is a block diagram showing a model we proposed previously which describes the behavior of the exhaust system of the engine; Figure 43 is a graph showing the precondition of a simulation where fuel is assumed to be supplied to three cylinders of a four-cylinder engine so as to obtain an air/fuel ratio of 14.7 : 1, and to one cylinder at 12.0 : 1; Figure 44 is a graph showing the result of the simulation which shows the output of the exhaust system model, and the air/fuel ratio at a confluence point when the fuel is supplied in the manner illustrated in Figure 43; Figure 45 is the result of the simulation which shows the output of the exhaust system model adjusted for sensor detection response delay (time lag) in contrast with the sensor's actual output; Figure 46 is a block diagram showing the configuration of an ordinary observer; Figure 47 is a block diagram which shows the configuration of the observer we proposed previously; Figure 48 is an explanatory block diagram showing the configuration achieved by combining the model of Figure 42 and the observer of Figure 47; Figure 49 is a block diagram showing the overall configuration of air/fuel ratio feedback loops in the system; Figure 50 is an explanatory view showing the characteristics of a timing map referred to in the flowchart of Figure 38; Figure 51 is a timing chart showing the characteristics of sensor output with respect to the engine speed, and a timing chart showing the characteristics of sensor output with respect to the engine load; Figure 52 is a timing chart showing the sampling of the air/fuel ratio sensor in the system; Figure 53 is a flowchart, similar to Figure 6, but showing the operation of the system according to an eleventh embodiment of the invention; Figure 54 is a block diagram showing the configuration of the system whose operation is illustrated in Figure 53; Figure 55 is a subroutine flowchart of Figure 53 showing the stability discrimination of the adaptive controller in the eleventh embodiment; Figure 56 is a timing chart showing the dead time in fuel metering control in an internal combustion engine; and Figure 57 is a timing chart, similar to Figure 8, but showing the operation of the adaptive controller we proposed previously. PREFERRED EMBODIMENTS OF THE INVENTION Embodiments of the invention, given by way of example only, will now be explained with reference to the drawings. Figure 1 is an overview of a fuel metering control system for an internal combustion engine according to the invention. Reference numeral 10 in this figure designates an overhead cam (OHC) in-line four-cylinder internal combustion engine. Air drawn into an air intake pipe 12 through an air cleaner 14 mounted on a far end thereof is supplied to each of the first to fourth cylinders through a surge tank 18, an intake manifold 20 and two intake valves (not shown), while the flow thereof is adjusted by a throttle valve 16. A fuel injector 22 for injecting fuel is installed in the vicinity of the intake valves of each cylinder. The injected fuel mixes with the intake air to form an air-fuel mixture that is ignited in the associated cylinder by a spark plug (not shown) in the firing order of #1, #3, #4 and #2 cylinder. The resulting combustion of the air-fuel mixture drives a piston (not shown) down. The exhaust gas produced by the combustion is discharged through two exhaust valves (not shown) into an exhaust manifold 24, from where it passes through an exhaust pipe 26 to a catalytic converter (three-way catalyst) 28 where noxious components are removed therefrom before it is discharged to the exterior. Not mechanically linked with the accelerator pedal (not shown), the throttle valve 16 is controlled to a desired degree of opening by a stepping motor M. In addition, the throttle valve 16 is bypassed by a bypass 32 provided at the air intake pipe 12 in the vicinity thereof. The engine 10 is equipped with an exhaust gas recirculation (EGR) mechanism 100 which recirculates a part of the exhaust gas to the intake side. More specifically, as shown in Figure 2, the exhaust gas recirculation mechanism 100 has an exhaust gas recirculation pipe 121 having one end (port) 121a connected with the exhaust pipe 26 on the upstream side of the first catalytic converter 28 (not shown in Figure 2) and another end (port) 121b connected to the air intake pipe 12 on the downstream side of the throttle valve 16 (not shown in Figure 2). For regulating the amount of recirculated exhaust gas, an EGR (exhaust gas recirculation) control valve 122 and a surge tank 121c are provided at an intermediate portion of the exhaust gas recirculation pipe 121. The EGR control valve 122 is a solenoid valve having a solenoid 122a which is connected to a control unit (ECU) 34 (described later). The EGR control valve 122 is linearly controlled to the desired degree of opening by an output from the control unit 34 to the solenoid 122a. The EGR control valve 122 is provided with a lift sensor 123 which detects the degree of opening of the EGR control valve 122 and sends a corresponding signal to the control unit 34. The engine 10 is also equipped with a canister purge mechanism 200 connected between the air intake system and a fuel tank 36. As shown in Figure 3, the canister purge mechanism 200, which is provided between the top of the sealed fuel tank 36 and a point on the air intake pipe 12 downstream of the throttle valve 16, comprises a vapor supply pipe 221, a canister 223 containing an absorbent 231, and a purge pipe 224. The vapor supply pipe 221 is fitted with a two-way valve 222, and the purge pipe 224 is fitted with a purge control valve 225, a flow meter 226 for measuring the amount of air-fuel mixture containing fuel vapor flowing through the purge pipe 224, and a hydrocarbon (HC) concentration sensor 227 for detecting the HC concentration of the air-fuel mixture. The purge control valve (solenoid valve) 225 is connected to the control unit 34 and is linearly controlled to the desired degree of opening by a signal from the control unit 34. When the amount of fuel vapor generated in the fuel tank 36 reaches a prescribed level, it pushes open the positive pressure valve of the two-way valve 222 and flows into the canister 223, where it is stored by absorption in the absorbent 231. Then when the purge control valve 225 is opened to an amount corresponding to the duty ratio of the on/off signal from the control unit 34, the vaporized fuel temporarily stored in the canister 223 and air drawn in through an external air intake 232 are together sucked into the air intake pipe 12 owing to the negative pressure in the air intake pipe 12. On the other hand, when the negative pressure in the fuel tank 36 increases owing to cooling of the fuel tank by the ambient air temperature, for example, the negative valve of the two-way valve 222 opens to allow the vaporized fuel temporarily stored in the canister 223 to return to the fuel tank 36. The engine 10 is also equipped with a variable valve timing mechanism 300 (denoted as V/T in Figure 1). As taught by Japanese Laid-open Patent Application No. Hei 2(1990)-275,043, for example, the variable valve timing mechanism 300 switches the opening/closing timing of the intake and/or exhaust valves between two types of timing characteristics: a characteristic for low engine speed designated LoV/T, and a characteristic for high engine speed designated HiV/T, as illustrated in Figure 4, in response to engine speed Ne and manifold pressure Pb. Since this is a well-known mechanism, however, it will not be described further here. (Among the different ways of switching between valve timing characteristics is included that of deactivating one of the two intake valves.) The engine 10 of Figure 1 is provided in its ignition distributor (not shown) with a crank angle sensor 40 for detecting the piston crank angle and is further provided with a throttle position sensor 42 for detecting the degree of opening of the throttle valve 16, and a manifold absolute pressure sensor 44 for detecting the pressure Pb of the intake manifold downstream of the throttle valve 16 in terms of absolute value. An atmospheric pressure sensor 46 for detecting atmospheric pressure Pa is provided at an appropriate portion of the engine 10, an intake air temperature sensor 48 for detecting the temperature of the intake air is provided upstream of the throttle valve 16, and a coolant temperature sensor 50 for detecting the temperature of the engine coolant is also provided at an appropriate portion of the engine. The engine 10 is further provided with a valve timing (V/T) sensor 52 (not shown in Figure 1) which detects the valve timing characteristic selected by the variable valve timing mechanism 300 based on oil pressure. Further, an air/fuel sensor 54 constituted as an oxygen detector or oxygen sensor is provided in the exhaust pipe 26 at, or downstream of, a confluence point in the exhaust system, between the exhaust manifold 24 and the catalytic converter 28, where it detects the oxygen concentration in the exhaust gas at the confluence point and produces a corresponding signal (explained later). The outputs of the sensors are sent to the control unit 34. Details of the control unit 34 are shown in the block diagram of Figure 5. The output of the air/fuel ratio sensor 54 is received by a detection circuit 62, where it is subjected to appropriate linearization processing for producing an output characterized in that it varies linearly with the oxygen concentration of the exhaust gas over a broad range extending from the lean side to the rich side. (The air/fuel ratio sensor is denoted as "LAF sensor" in the figure and will be so referred to in the remainder of this specification.) The output of the detection circuit 62 is forwarded through a multiplexer 66 and an A/D converter 68 to a CPU (central processing unit). The CPU has a CPU core 70, a ROM (read-only memory) 72 and a RAM (random access memory) 74, and the output of the detection circuit 62 is A/D-converted once every prescribed crank angle (e.g., 15 degrees) and stored in buffers of the RAM 74. As shown in Figure 49 to be discussed later, the RAM 74 has 12 buffers numbered 0 to 11 and the A/D-converted outputs from the detection circuit 62 are sequentially stored in the 12 buffers. Similarly, the analog outputs of the throttle position sensor 42, etc., are input to the CPU through the multiplexer 66 and the A/D converter 68 and stored in the RAM 74. The output of the crank angle sensor 40 is shaped by a waveform shaper 76 and has its output value counted by a counter 78. The result of the count is input to the CPU. In accordance with commands stored in the ROM 72, the CPU core 70 computes a manipulated variable in the manner described later and drives the fuel injectors 22 of the respective cylinders via a drive circuit 82. Operating via drive circuits 84, 86 and 88, the CPU core 70 also drives a solenoid valve (EACV) 90 (for opening and closing the bypass 32 to regulate the amount of secondary air), the solenoid valve 122 for controlling the aforesaid exhaust gas recirculation, and the solenoid valve 225 for controlling the aforesaid canister purge. (The lift sensor 123, flow meter 226, and HC concentration sensor 227 are omitted from Figure 5.) Figure 6 is a flowchart showing the operation of the system. The program is activated at a predetermined crank angle such as the TDC of the individual cylinders of the engine, and procedures illustrated therein act as the fuel injection quantity determining means. The program starts at S10 in which the detected engine speed Ne, the manifold pressure Pb, etc., are read and proceeds to S12 in which it is checked whether or not the engine is cranking, and if it is not, to S14 in which it is checked whether the supply of fuel has been cut off. Fuel cutoff is implemented under specific engine operating conditions, such as when the throttle is fully closed and the engine speed is higher than a prescribed value, at which time the supply of fuel is stopped and open-loop control is effected. When it is found in S14 that fuel cutoff is not implemented, the program proceeds to S16 in which the basic quantity of fuel injection Tim is calculated by retrieval from a map using the detected engine speed Ne and manifold pressure Pb as address data. Next, the program proceeds to S18 in which it is checked whether activation of the LAF sensor 54 is complete. This is done by comparing the difference between the output voltage and the center voltage of the LAF sensor 54 with a prescribed value (0.4 V, for example) and determining that the activation is complete when the difference is smaller than the prescribed value. When S18 finds that the activation is complete, the program goes to S20 in which it is checked whether the engine operating condition is in a feedback control region. Fuel metering is controlled in an open-loop fashion when the operating condition has changed owing to high engine speed, full-load enrichment or high coolant temperature. When S20 finds that the engine operating condition is in a feedback control region, the program proceeds to S22 in which the output of the LAF sensor is read, and to S24 in which the air/fuel ratio KACT(k) (k: sample number in a discrete time system) is determined or detected. The program then goes to S26 in which a feedback correction coefficient KLAF is calculated using the PID control law. The feedback correction coefficient KLAF determined by the PID control law is calculated as follows. First, the control error DKAF between the desired air/fuel ratio KCMD and the detected air/fuel ratio KACT is calculated as: DKAF(k) = KCMD(k-d') - KACT(k). In this equation, KCMD(k-d') is the desired air/fuel ratio (in which d' indicates the dead time before KCMD is reflected in KACT and thus signifies the desired air/fuel ratio before the dead time control cycle), and KACT(k) is the detected air/fuel ratio (in the current control (program) cycle). In this embodiment, however, the calculation is facilitated by representing, in fact, the desired value KCMD and the detected value KACT as the equivalence ratio, namely, as Mst/M = 1/lambda (Mst : stoichiometric air/fuel ratio, M = A/F (A : air mass flow rate, F : fuel mass flow rate, and lambda = excess air factor). Next, the control error DKAF(k) is multiplied by specific coefficients to obtain variables, i.e., the P term KLAFP(k), I term KLAFI(k), and D term KLAFD(k) as P term: KLAFP(k) = DKAF(k) x KP I term: KLAFI(k) = KLAFI(k-1) + (DKAF(k) x KI) D term: KLAFD(k) = (DKAF(k) - DKAF(k-1)) x KD. Thus, the P term is calculated by multiplying the error by the proportional gain KP; the I term is calculated by adding the value of KLAFI(k-1), the feedback correction coefficient in the preceding control cycle (k-1), to the product of the error and the integral gain KI; and the D term is calculated by multiplying the difference between the value of DKAF(k), the error in the current control cycle, and the value of DKAF(k-1), the error in the preceding control cycle (k-1), by the differential gain KD. The gains KP, KI and KD are calculated based on the engine speed and the engine load. Specifically, they are retrieved from maps using the engine speed Ne and the manifold pressure Pb as address data. Finally, KLAF(k), the value of the feedback correction coefficient according to the PID control law in the current control cycle, is calculated by summing the thus-obtained values: KLAF(k) = KLAFP(k) + KLAFI(k) + KLAFD(k). It should be noted here that KLAFI(k) includes an offset of 1.0 so that the value KLAF is a multiplicative correction coefficient. In other words, the initial value of KLAFI is set to be 1.0. The program then moves to S28 of the subroutine of Figure 6, in which a feedback correction coefficient KSTR(k) is determined using the adaptive control law. The feedback correction coefficient KSTR(k) determined using the adaptive control law will be explained in detail later. The program next proceeds to S30 in which the quantity of fuel injection named Tcyl(k) is determined by multiplying the calculated value of the basic quantity of fuel injection Tim by a desired air/fuel ratio correction coefficient named KCMDM(k) (explained later) and a correction coefficient KTOTAL (which is the product of various other multiplication coefficients for correcting for coolant temperature and the like). The quantity Tcyl(k) is expected to be the quantity required by the internal combustion engine so that it is hereinafter referred to as the "required quantity of fuel injection Tcyl". The desired air/fuel ratio is, in fact, expressed as the equivalence ratio in the control, as was mentioned earlier, and the equivalence ratio is used as the correction coefficient for the quantity of fuel injection. More specifically, since the charging efficiency of the intake air differs depending on the heat of vaporization, the desired air/fuel ratio is corrected for charging efficiency according to an appropriate characteristic so as to obtain the desired air/fuel ratio correction coefficient KCMDM. The program then goes to S32 in which the required quantity of fuel injection Tcyl(k) is multiplied by either the feedback correction coefficient KLAF(k) calculated in S26, or the feedback correction coefficient KSTR(k) calculated in S28 and an addition term TTOTAL is added to the product to obtain an output quantity of fuel injection Tout(k). TTOTAL indicates the total value of the various corrections for atmospheric pressure etc. conducted by addition terms (but does not include the fuel injector dead time, etc., which is added separately at the time of outputting the output quantity of fuel injection Tout). Next, in S34, the determined output quantity of fuel injection Tout(k) is corrected using a fuel adhesion coefficient retrieved from a fuel adhesion coefficient map employing the engine coolant temperature, etc., as address data, thereby correcting the output quantity of fuel injection Tout(k) for fuel adhesion on the wall of the intake manifold (the value corrected for fuel adhesion being defined as the final output quantity of fuel injection Tout-F(k)). Since the correction for fuel adhesion on the wall of the intake manifold is not directly related to the principle of this invention, however, it will not be explained here. The program then proceeds to S36 in which the final output quantity of fuel injection corrected for fuel adhesion, Tout-F(k), is output, thus completing the control cycle. When the result in S18 or S20 is NO, the program goes to S38 in which the basic quantity of fuel injection Tim(k) is multiplied by the desired air/fuel ratio correction coefficient KCMDM(k) and the correction coefficient KTOTAL, and the addition correction coefficient TTOTAL is added to the resulting product to obtain the output quantity of fuel injection Tout, and then proceeds to S34 and S36. If S12 finds that the engine is cranking, the program goes to S40 in which the quantity of fuel injection at cranking Ticr is retrieved, and then to S42 in which Ticr is used to calculate the output quantity of fuel injection Tout based on a start mode equation. If S14 finds that fuel cutoff is in effect, the output quantity of fuel injection Tout is set to 0 in S44. The manner in which the feedback correction coefficient KSTR, referred to in connection with S28 of the flowchart of Figure 6, is determined using the adaptive control law will now be explained. Figure 7 is a block diagram showing the operation concerned in more functional terms. The illustrated system is based on adaptive control technology proposed earlier application by the assigned. It comprises an adaptive controller constituted as an STR (self-tuning regulator) controller (controller means) and an adaptation mechanism (mechanism means) (system parameter estimator) for estimating/identifying the controller parameters (system parameters) (dynamic engine characteristic parameters)  and. The desired value and the controlled variable (plant output) of the fuel metering feedback control system are input to the STR controller, which receives the coefficient vector  and estimated/identified by the adaptation mechanism, and generates the control input. One identification or adaptation law (algorithm) available for adaptive control is that proposed by I.D. Landau et al. The adaptive control system is non linear in characteristic so that a stability problem is inherent. In the adaptation law proposed by I.D. Landau et al, the stability of the adaptation law expressed in a recursion formula is ensured at least using Lyapunov's theory or Popov's hyperstability theory. This method is described in, for example, Computrol (Corona Publishing Co., Ltd.) No. 27, pp. 28-41; Automatic Control Handbook (Ohm Publishing Co., Ltd.) pp. 703-707; "A Survey of Model Reference Adaptive Techniques - Theory and Applications" by I.D. Landau in Automatica. vol. 10, pp. 353-379; "Unification of Discrete Time Explicit Model Reference Adaptive Control Designs" by I.D. Landau et al. in Automatica, Vol. 17, No. 4, pp. 593-611; and "Combining Model Reference Adaptive Controllers and Stochastic Self-tuning Regulators" by I.D. Landau in Automatica, Vol. 18, No. 1, pp. 77-84. The adaptation or identification algorithm of I. D. Landau et al. was used in the assignee's earlier proposed adaptive control technology. In this adaptation or identification algorithm, when the polynomials of the denominator and numerator of the transfer function B(Z -1 )/A(Z -1 ) of the discrete controlled system are defined in the manner of Eq. 1-1 and Eq. 1-2 shown below, then the controller parameters or system (adaptive) parameters  and(k) are made up of parameters as shown in Eq. 1-3 and are expressed as a vector (transpose vector). And the input zeta (k) to the adaptation mechanism becomes that shown by Eq. 1-4. Here, there is taken as an example a plant in which m = 1, n = 1 and d = 3, namely, the plant model is given in the form of a linear system with three control cycles of dead time. A(z -1 ) = 1 + a 1 z -1 + ··· + a n z -n B(z -1 ) = b 0 + b 1 z -1 + ··· + b m z -m  T (k) = [ b 0 (k), B R (z -1 ,k), S (z -1 , k)] = [ b 0 (k), r 1 (k),...,r m+d-1 (k),s 0 (k),···,s n-1 (k)] = [b 0 (k),r 1 (k),r 2 (k),r 3 (k),s 0 (k)] ζ T (k) = [u(k), ···,u(k-m-d+1),y(k), ···,y(k-n+1)] = [u(k),u(k-1),u(k-2),u(k-3),y(k)] The controller parameters (vector)  and(k) is calculated by Eq. 2 below. In Eq.2, Γ(k) is a gain matrix (the (m+n+d)th order square matrix) that determines the estimation/identification rate or speed of the controller parameters  and, and e asterisk (k) is a signal indicating the generalized estimation/identification error, an estimation error signal of the controller parameters. They are represented by recursion formulas such as those of Eqs. 3 and 4.  (k) =  (k-1) + Γ(k-1)ζ(k-d)e*(k) Γ(k) = 1 λ 1 (k) [Γ(k-1) - λ 2 (k)Γ(k-1)ζ(k-d)ζ T (k-d)Γ(k-1) λ 1 (k) + λ 2 (k)ζ T (k-d)Γ(k-1)ζ(k-d) e*(k) = D(z -1 )y(k)-  T (k-1)ζ(k-d) 1+ ζ T (k-d)Γ(k-1)ζ(k-d) Various specific algorithms are given depending on the selection of lambda 1 and lambda 2 in Eq. 3. lambda 1(k) = 1, lambda 2(k) = lambda (0 < lambda < 2) gives the gradually-decreasing gain algorithm (least-squares method when lambda = 1); and lambda 1(k) = lambda 1 (0 < lambda 1 < 1), lambda 2(k) = lambda 2 (0 < lambda 2 < lambda) gives the variable-gain algorithm (weighted least-squares method when lambda 2 = 1). Further, defining lambda 1(k)/lambda 2(k) = a and representing lambda 3 as in Eq. 5, the constant-trace algorithm is obtained by defining lambda 1(k) = lambda 3(k). Moreover, lambda 1(k) = 1, lambda 2(k) = 0 gives the constant-gain algorithm. As is clear from Eq. 3, in this case Γ(k) = Γ(k-1), resulting in the constant value Γ(k) = Γ. λ 3 (k) = 1 - ∥Γ(k-1)ζ(k-d)∥ 2 σ+ζ T (k-d)Γ(k-1)ζ(k-d) · 1 trΓ(0) In the diagram of Figure 7, the STR controller (adaptive controller) and the adaptation mechanism (system parameter estimator) are placed outside the system for calculating the quantity of fuel injection (fuel injection quantity determining means) and operate to calculate the feedback correction coefficient KSTR(k) so as to adaptively bring the detected value KACT(k) to the desired value KCMD(k-d') (where, as mentioned earlier, d' is the dead time before KCMD is reflected in KACT). In other words, the STR controller receives the coefficient vector  and(k) adaptively estimated/identified by the adaptive mechanism and forms a feedback compensator (feedback control loop) so as to bring it to the desired value KCMD(k-d'). The required quantity of fuel injection Tcyl(k) is multiplied by the calculated feedback correction coefficient KSTR(k), and the corrected quantity of fuel injection is supplied to the controlled plant (internal combustion engine) as the output quantity of fuel injection Tout(k), more precisely Tout-F(k). Thus, the feedback correction coefficient KSTR(k) and the detected air/fuel ratio KACT(k) are determined and input to the adaptation mechanism, which calculates/estimates the controller parameter (vector)  and(k) for input to the STR controller. Based on these values, the STR controller uses the recursion formula to calculate the feedback correction coefficient KSTR(k) so as to bring the detected air/fuel ratio KACT(k) to the desired air/fuel ratio KCMD(k-d'). The feedback correction coefficient KSTR(k) is specifically calculated as shown by Eq. 6: KSTR(k) = KCMD(k-d')-s 0 xy(k)-r 1 xKSTR(k-1)-r 2 xKSTR(k-2)-r 3 xKSTR(k-3) b 0 On the other hand, the detected value KACT(k) and the desired value KCMD(k) are also input to the PID controller (denoted as PID in Figure 7), which calculates the second feedback correction coefficient KLAF(k) based on the PID control law explained in connection with S26 of the flowchart of Figure 6 so as to eliminate the error between the detected value at the exhaust system confluence point and the desired value. One or the other of the feedback correction coefficient KSTR obtained by the adaptive control law and the PID correction coefficient KLAF obtained using the PID control law is selected by a switching mechanism 400 shown in Figure 7 for use in calculating the quantity of fuel injection. When it is discriminated in the manner explained later that the operation of the adaptive control system (the STR controller) is unstable or when the engine operating condition is outside the operation region of the adaptive control system, the feedback correction coefficient KLAF calculated using the PID control law is used instead of the feedback correction coefficient KSTR determined using the adaptive control law. As will be understood from Figure 56, when the fuel metering is controlled in an internal combustion engine, a certain amount of time is required for calculating the quantity of fuel injection, compressing and combusting the resulting air-fuel mixture in the cylinder and then discharging the exhaust gas out of the cylinder. Additional time is needed for the exhaust gas to reach the LAF sensor, for the sensor to produce a corresponding output (because of the sensor detection delay) and for the control system to calculate the actual amount of fuel drawn into the cylinder based on the detected value. The total of this time, called the "dead time," is an unavoidable aspect of controlling the quantity of fuel injection in internal combustion engines. When the dead time for any given cylinder is, for example, three of the aforesaid combustion cycles, then in terms of TDC it becomes 12 TDCs in a four-cylinder engine, as illustrated in Figure 57. Here, the term "combustion cycle" is used to mean one cycle of all four-strokes including a series of intake, compression, expansion and exhaust that corresponds to 4 TDCs in the four-cylinder engine. In the aforesaid adaptive controller (STR controller), the number of elements of the controller parameters  and is m + n + d, as is clear from Eq. 1-3, and thus increases with the dead time d . Assuming that the dead time is 3, as in the preceding example, and that the STR controller and the adaptation mechanism are operated synchronously with TDC so as to respond to the instant-by-instant changes in the engine operating condition, d becomes 12 (three combustion cycles x 4TDCs; u(k) to u(k-12)) so that even when m = n = 1, the number of elements (m + n + d) of the controller parameters  and becomes 14. Since a 14 x 14 gain matrix Γ, etc., therefore has to be calculated, an on-board computer of ordinary performance becomes unable to complete the calculation within a single TDC at higher engine speeds. Moreover, increasing the number of dead time TDCs degrades the control performance. In view of the above, the invention is configured such that the STR controller is operated synchronously with a prescribed crank angle of the individual four cylinders, e.g., every TDC, while the controlled variable (plant output) y is input to the adaptation mechanism once per combustion cycle, e.g., at a prescribed crank angle such as the TDC at a certain cylinder such as #1 cylinder among four cylinders. Saying this again with reference to Figure 8, the system is configured such that the adaptation mechanism (abbreviated as "A" in the figure) and the STR controller (abbreviated as "C" in the same) operate at every TDC, but the input to the adaptation mechanism is only implemented once per combustion cycle, i.e., at every 4 TDCs. Although, at the time of calculating the controller parameters, a 14 x 14 matrix has to be calculated when every plant output (controlled variable) y is input to the adaptation mechanism, only a 5 x 5 matrix need be calculated when the controlled variable is thus input once per combustion cycle. Thus, as shown in Figure 8, when the input y to the adaptation mechanism is synchronized with the combustion cycle (4 TDCs), it follows that d = 3 (i.e., u(k) to u(k-3)), the number of elements in the controller parameters  and becomes m + n + d = 5, the gain matrix Γ to be calculated is reduced to a 5 x 5 matrix, and the load on an on-board computer can be reduced to a level enabling the calculation to be completed within one TDC. The illustrated fuel metering control system for an internal combustion engine is therefore designed to respond to the instant-by-instant changes in engine operating conditions to the utmost possible and, further, to reduce the matrix calculation volume so as to decrease the load on the on-board ordinary performance computer. Specifically, this can be realized by defining the control cycle k of Eqs. 1 to 6 for each cylinder. In the case of a four-cylinder engine, it is possible by rewriting Eq. 1-4 as Eq. 7, Eq. 2 as Eq. 8, Eq. 3 as Eq. 9, and Eqs. 4 to 6 as Eqs. 10 to 12. ζ(k)=[u(k) u(k-4) u(k-8) u(k-12) y(k)]  (k)=  (k-4)+Γ(k-4)ζ(k-4d)e*(k) e*(k) = D(z -1 )y(k)-  T (k-4)ζ(k-4d) 1+ζ T (k-4d)Γ(k-4)ζ(k-4d) λ 3 (k) = 1 - ∥Γ(k-4)ζ(k-4d)∥ 2 σ+ζ T (k-4d)Γ(k-4)ζ(k-4d) · 1 trΓ(0) KSTR(k) = KCMD(k-4d')-s 0 xKACT(k)-r 1 xKSTR(k-4)-r 2 xKSTR(k-8)-r 3 xKSTR(k-12) b 0 By this, it is possible to define one control cycle per TDC, namely, to calculate the controller parameters synchronously with TDC, while reducing the degree of the matrices and vectors used in the calculations. Similar operations can of course be realized by using a configuration in which the control cycle k of Eqs. 1 to 6 is replaced by K = number of cylinders x k ( k : TDC, K : combustion cycle (= number of cylinders x k)). By the foregoing, the number of elements of the controller parameters  and can be held to 5, whereby the gain matrix Γ to be calculated is reduced to a 5 x 5 matrix. As a result, the processing load decreases to the point that the calculation can be completed within one TDC interval by an ordinary on-board computer. The configuration of Figure 7 is redrawn in Figure 9 with emphasis on the STR controller and the adaptation mechanism. As pointed out before, a controlled system with a large dead time generally has poorer control performance than one with a small dead time, particularly in the case of adaptive control. In the above, the dead time is greatly reduced, thereby enhancing control performance. On the other hand, since synchronizing the input to the adaptation mechanism with the combustion cycle amounts to synchronizing the input with a prescribed crank angle of a specific (certain) cylinder such as #1 cylinder, the system is constantly and strongly affected by the detected air/fuel ratio of the specific cylinder. During stoichiometric air/fuel ratio control or the like, therefore, when, for example, the detected air/fuel ratio of the specific cylinder is on the lean side and that of the remaining cylinders is on the rich side, the adaptive controller (STR controller) will adjust the manipulated variable in the rich direction to bring it to the desired value, with the result that the air/fuel ratios of the remaining cylinders will become even richer. Because of this, the illustrated system is designed so as not to be strongly affected by the detected air/fuel ratio of a specific cylinder, notwithstanding that the input to the adaptation mechanism is synchronized with the combustion cycle so as to reduce the number of controller parameter elements and decrease the matrix calculation volume. For realizing this, the operation is implemented in the following manner. Specifically, although the input to the adaptation mechanism is synchronized with the combustion cycle, meaning that it is synchronized with a prescribed crank angle of a specific one of the four cylinders, it is configured that an average such as a simple average of the controlled variables y input to the adaptation mechanism, the detected air/fuel ratios KACT or the outputs  and from the adaptation mechanism or the outputs from the STR controller (feedback correction coefficients KSTR) at a prescribed crank angle, e.g. TDC, of the individual cylinders during the combustion cycle, is calculated and used. The system is therefore not greatly affected by the detected air/fuel ratio of the specified cylinder. Here, the average of the controller parameters  and or the feedback correction coefficient KSTR(k) need not always be input to the adaptation mechanism. This is because, the feedback correction coefficient KSTR(k), calculated at the STR controller using the average of the controller parameters  and, becomes a value that could not be affected greatly by the air/fuel ratio at a specific cylinder. For the same reason, the average of the feedback correction coefficient itself also becomes a value that could similarly be not affected by the air/fuel ratio of a specific cylinder. The subroutine for this calculation is shown by the flowchart of Figure 10. The subroutine begins at S100 in which it is checked whether the engine is in a prescribed operating region. As termed here, "prescribed operating region" refers to low engine-speed regions including the idling region. When S100 finds that the engine is not in a prescribed operating region, the program proceeds to S102 which calculates the controlled variable y(k) (plant output) as the average KACTAVE of the detected value KACT(k) calculated for the cylinder concerned in S24 of the flowchart of Figure 6 in the current control cycle and the values KACT(k-1), KACT(k-2) and KACT(k-3) calculated in the same step one, two and three control cycles earlier for the cylinders that fired one, two and three cycles earlier. In other words, S102 goes back three cycles and calculates the simple average of the air/fuel ratios, each calculated during one combustion cycle, for four cylinders up to and including the current cylinder and the result is defined as the controlled variable y(k). This method reduces the effect of the detected air/fuel ratio of a specific cylinder. The program then moves to S104 in which, as shown at the bottom of Figure 7, the adaptation mechanism calculates the controller parameters  and(k) from the just calculated controlled variable y(k), etc., according to Eq. 1-3 and sends the result to the STR controller. The program next advances to S106 which calculates the average, e.g., the simple average, of the values of the controller parameters  and calculated in the four control cycles up to and including the current control cycle (the simple average of  and(k),  and(k-1),  and(k-2) and  and(k-3) during one combustion cycle) as AVE- and(k). In other words, the average of the values of the controller parameters  and for four (fuel metering) control cycles (= 4 TDCs = one combustion cycle) corresponding to four cylinders is calculated on the output side, not on the input side, of the adaptation mechanism and input to the STR controller. Here, the control cycle is used as the same meaning as the prescribed crank angle (e.g., TDC), since fuel metering is controlled at the same crank angle as the prescribed crank angle. This method also achieves the desired reduction in the effect of the detected air/fuel ratio of the specific cylinder by inputting the average value of  and for four cylinders to the STR controller. Since  and is calculated as a vector as is expressed in Eq. 1-3, the average AVE- and can be obtained by calculating averages of respective vector elements, i.e., r1, r2, r3 and b0. The equation in S106 is used to mean this calculation. It can alternatively be made by calculating the average of one element such as b0 and by multiplying the other elements by the calculated average. The program proceeds to S108 in which the STR controller calculates the feedback correction coefficient KSTR from the input value according to Eq. 6, and to S110 which calculates the average, e.g., the simple average AVE-KSTR(k), of the values of the feedback correction coefficient KSTR calculated in the four control cycles up to and including the current control cycle (the simple average of KSTR(k), KSTR(k-1), KSTR(k-2) and KSTR(k-3) during one combustion cycle). In other words, the desired reduction in the effect of the detected air/fuel ratio of a specific cylinder can be achieved by calculating the average of the values of KSTR for four control cycles (one combustion cycle) corresponding to four cylinders, not on the adaptation mechanism side, but with respect to the STR controller which outputs KSTR(k) constituting the feedback correction coefficient of the fuel injection determining system. On the other hand, when S100 finds that the engine is in the prescribed operating region, the program goes to S112 in which y(k) is calculated, namely, in which the air/fuel ratio KACT(k) calculated for the cylinder concerned in S24 of the flowchart of Figure 3 in the current control cycle is used without modification as the controlled variable (plant output). The program then goes to S114 in which controller parameters  and(k) is calculated and to S116 in which the feedback correction coefficient KSTR(k) is calculated. Since the average of the air/fuel ratios for all cylinders is therefore input to the adaptation mechanism as the controlled variable y(k), the STR controller is not greatly affected by the detected air/fuel ratio of a specific cylinder (e.g., the first cylinder). Also, as regards the output of the STR controller, since the signal vector zeta input to the adaptation mechanism is calculated using the outputs of KSTR for four control cycles up to and including the most recent value u(k) (= KSTR(k)), the effect of the detected air/fuel ratio of a specific cylinder is even further reduced. Moreover, since the average of the values of  and for four control cycles (one combustion cycle) corresponding to four cylinders is calculated not with respect to the input side of the adaptation mechanism but with respect to the controller parameters  and(k) on the output side thereof and the result is input to the STR controller, the desired reduction in the effect of the detected air/fuel ratio of a specific cylinder can be achieved owing to this smoothing. In addition, since the average of the values of KSTR for four control cycles (one combustion cycle) is calculated not with respect to the adaptation mechanism side but with respect to the STR controller which outputs the feedback correction coefficient KSTR(k) of the fuel injection quantity determination system, the effect of the detected air/fuel ratio can be similarly reduced. On the other hand, since S100 discriminates whether or not the engine is in a prescribed operating region and the average values are not calculated when the result is YES, no problem arises. Specifically, the response delay of the LAF sensor can be ignored at low engine speed because the control cycle is long. Moreover, a phenomenon that amounts to a change in the dead time of the control system occurs because of the phase shift between the detected value KACT(k) and the average value KACTAVE shown in Figure 11. If adaptive control is conducted using the average value KACTAVE(k) whose phase has shifted, hunting and other undesirable effects may arise. The smoothing or averaging is therefore discontinued during idling and other low-engine-speed conditions when these effects are present. In the foregoing, the average AVE- and(k) of the controller parameters  and is not used to calculate estimation/identification error signal e asterisk indicated by Eq. 4. Since the estimation/identification error signal e asterisk is a function for evaluating the magnitude of the error between the detected air/fuel ratio and the desired air/fuel ratio, the error may become inaccurate if AVE- and(k) calculated in the foregoing manner is used in the calculation of Eq. 4. It is therefore advantageous to establish an operating region in which AVE- and(k) is used only in the calculation of Eq. 2-3 and is not used in the calculation of Eq. 4. While in the foregoing, various averages, i.e., the averages of the air/fuel ratio,  and(k) and KSTR(k) are used together, it is of course possible to use only one or an appropriate pair of them. Moreover, at engine starting or resumption of calculation in the STR controller, when no past values are available for calculating the averages, it is of course possible to use appropriate prescribed values. The selection of the feedback correction coefficient shown in S32 of the flowchart of Figure 6 will now be explained. The subroutine for this operation is shown by the flowchart of Figure 12. The subroutine begins at S200 in which it is checked whether the engine operating condition is in the operation region of the adaptive control system. Regions in which combustion is unstable, such as when the coolant temperature is extremely low, are defined as falling outside the operation region since they do not permit accurate detection/calculation of the air/fuel ratio KACT(k). When the result in S200 is NO, the program goes to S210 in which the output quantity of fuel injection Tout(k) is calculated using the feedback correction coefficient KLAF(k) calculated using the PID control law. When the result is YES, the program goes to S202 in which the stability of the adaptive controller is checked using the elements of controller parameters  and. The transfer characteristic of the feedback correction coefficient KSTR(k) calculated by the STR controller is specifically represented by Eq. 13. KSTR(z -1 )={KCMD(z -1 )-s 0 KACT(z -1 )-(r 1 z -1 +r 2 z -2 +r 3 z -3 ) x KSTR(z -1 )}/b 0 Assuming that the fuel adhesion correction is proper and that no disturbance is present in the fuel injection quantity determination system, the transfer characteristic between KSTR(k) and KACT(k) is KACT(z -1 )=z -3 KSTR(z -1 ) The transfer function between the feedback correction coefficient KSTR(k) and KCMD(k) is KSTR(z -1 ) KCMD(z -1 ) = 1 b 0 z 3 +r 1 z 2 +r 2 z+r 3 +s 0 z 3 ∵(b 0 +s 0 z -3 +r 1 z -1 +r 2 z -2 +r 3 z -3 )KSTR(z -1 )=KCMD(z -1 ) Since b0 here is a scalar quantity determining the gain and therefore cannot be zero or negative, the denominator function f(z) = b0Z 3 + r1Z 2 + r2Z + r3 + s0 of the transfer function of Eq. 15 is one of the functions shown in Figure 13. A check is therefore made as to whether the real root is within the unit circle. Specifically, as shown in Figure 14, when it is found that f(-1) < 0 or f(1) > 0, this means that the real root is within the unit circle, from which it can be easily determined whether or not the system is stable. The program then moves to S204 in which it is checked whether the adaptive control system is unstable. When the result is YES, the program goes to S206 in which the controller parameters  and is restored to its initial value. This restores the system stability. The program next goes to S208 in which the gain matrix Γ is corrected. Since the gain matrix Γdetermines the rate or speed of change (convergence) of the adaptation mechanism, this correction is made so as to slow the convergence rate. Here the elements of the gain matrix Γ are replaced with small values. This also enables restoration of system stability. The program then goes to S210 in which the output quantity of fuel injection Tout(k) is calculated using as the feedback correction coefficient the feedback correction coefficient KLAF(k) determined by the PID control law. Specifically, as shown, the output quantity of fuel injection Tout(k) is obtained by adding the addition term TTOTAL to the product of KLAF(k) and the required quantity of fuel injection Tcyl(k). If S204 finds that the adaptive control system is not unstable, the program goes to S212 in which, as shown, the output quantity of fuel injection Tout(k) is calculated using as the feedback correction coefficient the feedback correction coefficient KSTR(k) calculated by the adaptive control law. If available, the average of the feedback correction coefficients KSTR calculated in S110 of the flowchart of Figure 10 is, of course, used in this calculation. The output u(k) of the switching mechanism 400 in the block diagram of Figure 7 is input to the STR controller and the adaptation mechanism. This is to enable calculation of the feedback correction coefficient KSTR using the adaptive control law during periods when the PID correction coefficient KLAF is selected. Owing to the aforesaid configuration, this embodiment makes it possible to reduce the number of controller parameter elements to 5 notwithstanding that the adaptation mechanism operates every TDC. Since the gain matrix Γ to be calculated is therefore reduced to a 5 x 5 matrix, the processing load falls to a level enabling an on-board computer of ordinary performance to complete the calculation within one TDC. Moreover, since the STR controller also calculates the feedback correction coefficient KSTR every TDC, the system is able to respond to changes in the engine operating condition with very high efficiency, utilizing values of KSTR updated every TDC. In addition, an improvement in control performance is realized owing to the marked reduction of dead time. Although from the viewpoint of the individual cylinders the fact that the controlled variable is input to the adaptation mechanism once every combustion cycle, i.e., once every 4 TDCs in a four-cylinder engine means that the adaptive controller is strongly affected by the combustion state of the single specific cylinder, no problem of the combustion state of only the specific cylinder being strongly reflected arises in this embodiment because the average of the detected air/fuel ratios (controlled variables) for all cylinders included in the combustion cycle is calculated and input to the adaptation mechanism, the average of the controller parameters (vectors)  and is calculated and used, and/or the average of the feedback correction coefficients KSTR output by the STR controller are averaged and used. Moreover, in the case where the feedback correction coefficient KSTR is calculated based on the controlled variable of only a specific cylinder, the problem arises that if, for example, the detected air/fuel ratio of a specific cylinder such as the first cylinder is rich while those of the remaining cylinders are lean, the feedback correction coefficient KSTR will be determined so as to correct the air/fuel ratio in the lean direction and exacerbate the lean air/fuel ratios of the remaining cylinders. This problem does not occur in this embodiment, however, because the average value for all cylinders is used. A further simplification can be obtained, as shown in Figure 15, by calculating the controller parameters  and also synchronously with the combustion cycle of a specific cylinder, instead of every TDC, and using the same value of  and during the same number of cycles as the cylinders. This is an effective method for coping with the decrease in time available for computation with increasing engine speed. Since the variance among the controller parameters (vectors)  and required by the individual cylinders becomes small at high engine speed, the control performance is not degraded even when the controller parameter  and for a specific cylinder is used for all cylinders. It therefore becomes possible to shorten the computation time without loss of control performance. A still further simplification will be possible, as disclosed in Figure 31 which will be used in a later embodiment, by making both the adaptation mechanism and controller operate at every 4 TDCs. Figure 16 shows a second embodiment of the system according to the invention, specifically the flowchart related to the determination of the gain matrix Γ used to calculate the feedback correction coefficient KSTR. As is clear from the Eqs. 1 to 6 referred to earlier, the gain matrix Γ(k) is required for calculating the feedback correction coefficient KSTR. This second embodiment relates to the case where lambda 1 = 1, lambda 2 = 0 in Eq. 3, namely, where the constant-gain algorithm is used, and aims at reducing computation time and making determination easier by defining all nondiagonal elements of the gain matrix Γ as 0. The explanation will be facilitated by considering the calculation of the internal variable zeta (k-d) as an example. In the first embodiment, which uses a 5 x 5 gain matrix, the calculation is carried out in the manner of Eq. 16 and requires 25 multiplications and 20 additions. Since Eq. 17 holds when all nondiagonal elements of the gain matrix Γ are set to 0, the number of multiplications in the calculation can be reduced to five. Further, by setting all nondiagonal elements of the gain matrix Γ to 0, the calculation of the controller parameters  and(k) becomes as shown by Eq. 18. As a result, the matrix elements g11, g22, g33, g44 and g55 are values corresponding to only one change rate zeta (k) of the elements of the controller parameters  and(k) and can be set independently. When the nondiagonal elements of the gain matrix Γ are not 0, then, as can be seen from Eq. 16 and Eq. 18, the calculation of the controller parameters  and(k) would become as shown by Eq. 19, namely, it would become necessary to consider five variables corresponding to all elements of zeta (k-d) to determine the change rate of one element of  and(k), making the setting difficult. Setting all of the nondiagonal elements of the gain matrix Γ to 0, shortens the computation time and facilitates the setting. Tests conducted by the inventors have revealed that setting some of the five elements of g11 - g55 in the Γ matrix to the same value results in appropriate change rates among the elements of the controller parameters  and(k) and, as such, optimizes the control performance. By this is meant a setting such as g11 = g22 = g33 = g44 = = g. This makes it possible to reduce the number of elements to be set to two, g and g55, whereby the number of setting steps can be decreased and the calculation of, for example, zeta T (k-d) Γ zeta (k-d) of the internal variables becomes as shown by Eq. 20, so that there are 12 multiplications. In contrast, when g11 - g44 have different values, the calculation becomes as shown by Eq. 21 and the number of multiplications increases to 15. ζ T (k-d)Γζ((k-d)=g 11 u(k-d) 2 +···+g 55 y(k-d) 2 Thus by setting some of g11 - g55 to the same value, the number of elements to be set can be decreased and the computation time shortened. Further, since appropriate change rates can be established among the elements of the controller parameters  and(k), excellent reliability is obtained. The effect is of course most pronounced when g11 = g22 = g33 = g44 = g55. Moreover, in the case of an operating region in which the plant output is unstable owing to unstable combustion, for example, s0(k) hunting and the like can be reduced by making g55 small. Setting the nondiagonal elements of the gain matrix Γ to 0 thus produces a considerable advantage in terms of ease of setting the control characteristics. In addition, optimum control performance for the engine can be constantly obtained by selecting the best gain matrix Γ for the operating region. For this, g11 - g55 are stored in the RAM 74 of the control unit 34 in correspondence to different operating conditions, and also in correspondence to the different operating conditions of other engine control devices such as the canister purge mechanism and the exhaust gas recirculation mechanism. The values of g11 - g55 can all be the same, can be partially the same, or can all be different. When the capacity of RAM 74 is sufficiently large and/or enough computation time is available, values of the nondiagonal elements can also be used in the calculation. Based on the foregoing, the second embodiment of the system according to this invention will now be explained with reference to the flowchart of Figure 16. The subroutine begins at S300 in which the engine speed Ne, manifold pressure Pb and other engine operating parameters are read in along with the operating states of the exhaust gas recirculation mechanism and/or the canister purge mechanism. The program then goes to S302 in which it is checked whether the engine is idling, and when the result is YES, to S304 in which a Γ map for idling is looked up. When S302 finds that the engine operating condition is not in the idling region, the program goes to S306 in which it is checked whether the variable valve timing mechanism is operating at the Hi valve timing characteristic. When the result is YES, the program goes to S308 in which a Γ map for Hi valve timing is looked up. When the result is NO, the program goes to S310 in which a Γ map for Lo valve timing is looked up. Figure 17 shows the characteristic of the Γ map for low valve timing. As shown, matrix elements g11 - g55 are retrieved using the engine speed Ne and the manifold pressure Pb as address data. The Γ map for Hi valve timing has a similar characteristic. Moreover, since the value of the gain matrix Γ is retrieved from this map using the manifold pressure Pb, which is an index of engine load, the optimum gain matrix can be secured even during deceleration and other operating conditions involving rapid load change. The program next goes to S312 in which it is checked whether the EGR (exhaust gas recirculation) mechanism is in operation, and when the result is YES, to S314 in which the gain matrix Γ is corrected in accordance with a fuel correction coefficient KEGRN for correcting for the exhaust recirculation (EGR) rate. Specifically, a correction coefficient KΓEGR is retrieved from a table having the characteristic shown in Figure 18 using the fuel correction coefficient KEGRN for correcting for the exhaust recirculation rate as address data, and the gain matrix Γ is corrected by multiplying it by the retrieved correction coefficient KΓEGR. The gain matrix is corrected in accordance with the fuel correction coefficient KEGRN for correcting for the exhaust recirculation rate because disturbance increases as the fuel correction coefficient KEGRN for correcting for the exhaust recirculation rate decreases with an increasing amount of exhaust gas recirculation. For enhancing the stability of the adaptive control system, therefore, the correction coefficient KΓEGR is, as shown, established so as to reduce the gain matrix Γ as the fuel correction coefficient KEGRN for correcting for the exhaust recirculation rate decreases. The fuel correction coefficient KEGRN is a multiplication coefficient for correcting the quantity of fuel injection and is set at a value such as 0.9. Since this invention does not reside in the determination of the exhaust recirculation rate, however, this determination will not be discussed further here, other than to say that a more detailed description of exhaust recirculation rate determination can be found in, for example, the assignee's Japanese Patent Application No. Hei 6(1994 )-294,014 (which was published as a European Patent Application, number EP-A-0 677 651 on October 18, 1995. The program then goes to S316 in which it is checked whether the canister purge mechanism is in operation, and if the result is YES, to S318 in which the gain matrix Γ is corrected for the purge mass. Specifically, a correction coefficient KΓPUG is retrieved from a table having the characteristic shown in Figure 19 using the purge mass KPUG as address data and the gain matrix Γ is corrected by multiplying it by the retrieved correction coefficient KΓPUG. Since disturbance increases as the purge mass KPUG increases, the correction coefficient KΓPUG is, as shown, established so as to increase as the purge mass KPUG increases. As the determination of the purge mass is explained, for example, in the assignee's earlier Japanese Laid-Open Patent Application No. Hei 6(1994)-101,522, it will not be discussed further here. The program next goes to S320 in which the gain matrix Γ is corrected for the detected atmospheric pressure Pa. Specifically, a correction coefficient KΓPA is retrieved from a table having the characteristic shown in Figure 20 using the detected atmospheric pressure Pa as address data and the gain matrix Γ is corrected by multiplying it by the retrieved correction coefficient KΓPA. The gain matrix is corrected for the detected atmospheric pressure Pa because disturbance relative to the data set at normal pressure arises as the detected atmospheric pressure Pa decreases, namely, as the charging efficiency decreases with increasing altitude of the engine operating location. For enhancing the stability of the adaptive control system, therefore, the gain matrix Γ is reduced with decreasing detected atmospheric pressure Pa. The program then goes to S322 in which the gain matrix Γ is corrected for the detected engine coolant temperature Tw. Specifically, a correction coefficient KΓTW is retrieved from a table having the characteristic shown in Figure 21 using the detected engine coolant temperature Tw as address data and the gain matrix Γ is corrected by multiplying it by the retrieved correction coefficient KΓTW. The gain matrix is corrected for the detected engine coolant temperature Tw because, as shown, disturbance arises in the correction coefficient KΓTW relative to the data set at normal temperature when the combustion becomes unstable owing to high or low detected engine coolant temperature Tw. For enhancing the stability of the adaptive control system, therefore, the gain matrix Γ is reduced at high and low engine coolant temperatures. In the second embodiment described in the foregoing, the gain matrix determining the change (convergence) rate of the controller parameters  and is determined as appropriate for the engine operating conditions. It is therefore able to secure a stable controller parameter change rate and thereby enhance control performance. While the second embodiment determines the gain matrix Γ with the constant gain, it is also possible to use a variable-gain algorithm. In this case, the initial values of the elements of the gain matrix Γ can be adjusted for the engine operating condition in the foregoing manner and then can be determined to prescribed values when the engine operating condition changes. While the second embodiment was explained based on the constant-gain algorithm, in a case where the calculation of the gain matrix Γ(k) is conducted based on a law other than the constant-gain algorithm, such as on the variable-gain algorithm shown by Eq. 3, it is of course possible to reduce the processing volume and facilitate the setting or determination indicated in the second embodiment by not calculating the nondiagonal elements of the gain matrix Γ(k), i.e., by fixing them to 0. Figure 22 is a flowchart showing a third embodiment of the system according to the invention. The gain matrix Γ was calculated at constant gain in the first and second embodiments. In contrast, in the third embodiment it is calculated using an algorithm other than the constant-gain algorithm. In this case, when the calculated values are stored in memory in correspondence to the engine operating condition when the behavior of the control result using the controller parameters (the plant output, more specifically, the detected air/fuel ratio KACT) is good, then the need to recalculate the gain matrix Γ(k) in the region concerned is eliminated, the optimum gain matrix Γ(k) can be constantly used in the region, and control performance is enhanced. The Γ(k) stored in this case can be a processed value such as the average value over four TDCs. The gain matrix Γ is calculated from the constant-gain algorithm when it is discriminated that the plant output behavior is not good. In this case, the gain matrix Γ(k-1) starts with the initial values stored for the operating region concerned. Based on the foregoing, an explanation will now be given with reference to Figure 22, which shows the operations conducted in the third embodiment at the time of map retrieval of the gain matrix Γ in S308, S310, S304, etc., of the flowchart of Figure 16. The subroutine starts at S400 in which, as in the second embodiment, a Γ map is looked up, similarly to the second embodiment, using the engine speed Ne and the manifold pressure Pb as address data. The program then proceeds to S402 in which it is discriminated by an appropriate method whether the behavior of the detected air/fuel ratio KACT, the plant output, is proper, and when the result is NO, to S404 in which the gain matrix Γ(k) is calculated and to S406 in which the calculated gain matrix Γ(k) is stored in a prescribed region of the map from which the retrieval was made. When the result in S402 is YES, the program advances directly to S406. The discrimination in S402 as to whether or not the behavior of the detected value KACT is proper is conducted, for example, by judging that it is good when the detected value KACT is within plus or minus a prescribed value of the desired value KCMD over a period of 10 TDCs. Owing to the aforesaid configuration, the third embodiment makes it possible to reduce the processing volume since the gain matrix Γ(k) need not be calculated according to Eq. 3 but can be obtained by simple map retrieval when the behavior of the detected air/fuel ratio KACT is proper. Moreover, when the behavior of the detected value KACT is not proper, the optimum gain matrix Γ(k) is recalculated and learned. Since this makes it possible to learn the optimum gain matrix Γ(k) for each operating region of the internal combustion engine, the system is able to cope with aging of the internal combustion engine. As the behavior of the detected value KACT(k) can therefore be constantly maintained proper, control performance is enhanced. Figure 23 is a flowchart showing a fourth embodiment of the system according to the invention. In the fourth embodiment, a blind zone is established in the characteristic of the detected value KACT so as to prevent the adaptive control system from becoming unstable. Since the STR controller operates to bring the detected value KACT to the desired value KCMD, it follows that the controller parameters will scarcely vary when the detected value KACT input to the STR controller is equal to the desired value KCMD. Therefore, for preventing unnecessary overcorrection by the adaptive control system in response to slight variations in the detected value KACT caused by sensor noise and other slight disturbances, the characteristic of the detected value KACT is provided with a blind zone in the vicinity of the desired value KCMD, as shown in Figure 24. Specifically, the detected value KACT is made constant between a prescribed lower limit value KCMD-β and a prescribed upper limit value KCMD+α. The subroutine of the flowchart of Figure 23 starts at S500 in which the detected value KACT is compared with the prescribed lower limit value KCMD-β, and when it is equal to or greater than this value, the program moves to S502 in which the detected value KACT is compared with the prescribed upper limit value KCMD+α. When S502 finds the detected air/fuel ratio to be equal to or less than the prescribed value KCMD+α, the program goes to S504 in which the detected value KACT is set to a prescribed value, e.g. to the desired value KCMD. When S500 finds that the detected value KACT is less than the lower limit value KCMD-β or when S502 finds that the detected value KACT is greater than the upper prescribed limit value KCMD+α, the subroutine is immediately terminated. In such cases, therefore, the detected value becomes the detected air/fuel ratio KACT without modification. The aforesaid processing provides the characteristic that the detected air/fuel ratio KACT has a blind zone in the vicinity of the desired air/fuel ratio KCMD, as shown in Figure 22. Owing to the aforesaid configuration of the fourth embodiment, the STR controller is unaffected by any slight fluctuations occurring in the detected value KACT, for example, and can therefore operate stably. A good control result can therefore be obtained. Although the desired value KCMD is set to the detected air/fuel ratio in S504, it can instead be set to some other value in the range between KCMD-β and KCMD-α. Figure 25 is a flowchart showing a fifth embodiment of the system according to the invention. Like the fourth embodiment, the fifth embodiment also prevents destabilization of the adaptive control system, by establishing upper and lower limiters on the estimation/identification error signal e asterisk so as to stabilize the controller parameters. As is clear from Eq. 2, the change rate of the controller parameters  and can be restricted by limiting the value of the estimation/identification error signal asterisk (k) within a given range. This limitation prevents the controller parameters  and from overshooting its optimum value and, as a result, stabilizes the operation of the adaptive control system and makes it possible to obtain good control results. The subroutine of the flowchart of Figure 25 starts at S600 in which the calculated estimation/identification error signal e asterisk (k) is compared with an upper limit value a (shown in Figure 26). When it is greater than the upper limit value a , the program goes to S602 in which the estimation/identification error signal e asterisk (k) is set to a prescribed value, for example, the upper limit value a . On the other hand, if S600 finds the estimation/identification error signal e asterisk (k) to be equal to or less than the upper limit value a , the program goes to S604 in which the calculated estimation/identification error signal e asterisk (k) is compared with a lower limit value b (shown in Figure 26). When it is less than the lower limit value b , the program goes to S606 in which the estimation/identification error signal e asterisk (k) is set to a prescribed value, for example, the lower limit value b . If S604 finds the estimation/identification error signal e asterisk (k) to be equal to or greater than the lower limit value b , the subroutine is immediately terminated. In such a case, therefore, the detected value becomes the estimation/identification error signal e asterisk (k) without modification. Owing to the aforesaid configuration, the fifth embodiment can limit the change rate of the controller parameters  and by limiting the value of the estimation/identification error signal e asterisk within a prescribed range. Since this prevents the controller parameters  and from overshooting its optimum value, it enables stable operation of the adaptive control system, thereby ensuring good control results. While the value of the estimation/identification error signal e asterisk (k) is set to the upper or lower limit value in S602 or S606, it can instead be set to an appropriate value between the upper and lower limits or to a value in the vicinity of the upper or lower limit values. Figure 27 is a flowchart showing a sixth embodiment of the system according to the invention. In this sixth embodiment, the change rate of the estimation/identification error signal e asterisk in the STR controller of the first embodiment is made steady and improved control performance is achieved by making the constant 1 variable in the denominator of Eq. 4 for calculating the estimation/identification error signal e asterisk, which determines the controller parameters  and. The sixth embodiment relates to the technique to limit the range of change of intermediate values or variables that are used in the calculation of the adaptation mechanism. Specifically, it is arranged in the technique such that y(k) or zeta (k-d) to be input to the adaptation mechanism is multiplied by a coefficient other than 1 and is then input to the adaptation mechanism. This arrangement can limit the range of change of the values or variables, enabling the adaptive control on a low level on-board computer. Since, however, this technique is disclosed in the application proposed by the assignee and published in Germany on June 1, 1994, number DE-A-4 339170 (Japanese Laid-Open Patent Application No. Hei 6(1994)-161,511), no further explanation will be made. The theoretical equation for calculating the estimation/identification error signal e asterisk (k) is as shown by Eq. 4. Thus, in order to limit the range of change for the reason mentioned just above, when zeta (k-d) and y(k) are multiplied by the coefficient other than 1 such as 1/10 (hereinafter referred to as j) and input to the parameter adaptation mechanism, the denominator becomes as shown by Eq. 22 (i.e., becomes fixed when the gain matrix Γ(k-1) has constant gain). 1+ 1 10 ζ T (k-d)Γ(k-1) 1 10 ζ(k-d) Since the coefficient of the right term becomes the square of the multiplication coefficient of zeta (k-d), y(k), its value (1/10 2 = 1/100 in this example) is much smaller than the left term (= 1) when the multiplication coefficient is a small fractional value. As a result, the denominator of the estimation/identification error signal e asterisk stays in the vicinity of 1 no matter how the right term changes, so that the change rate of the estimation/identification error signal e (k) differs from that where the multiplication by the coefficient is not conducted. This problem can be overcome by setting the left term to a value other than 1. As a rule of thumb, the same change rate as before multiplication by the coefficient j can be obtained by setting the left term to j 2 . Conversely, since the change rate of the estimation/identification error signal e asterisk (k) is proportional to the change (convergence) rate of the controller parameters  and(k), i.e., since  and(k) is calculated using Eq. 2, the change rate of the controller parameters  and(k) can be varied by giving the left term a value other than j 2 . In Eq. 23 for calculating the denominator of the estimation/identification error signal e asterisk (k), therefore, i is defined as any value other than 1, i.e. i # 1. e*(k)= jy(k)-  T (k-1)jζ(k-d) i+jζ T (k-d)Γ(k-1)jζ(k-d) Here, j is the coefficient to be multiplied to the inputs to the adaptation mechanism as mentioned before and i is also a coefficient other than 1. The subroutine of the flowchart of Figure 27 starts at S700 which discriminates whether or not the rate of change (convergence) of the controller parameters  and(k) by the estimation/identification error signal e asterisk (k) is to be made variable. When the result is YES, the program moves to S702 in which i is set to a value other than 1. This is achieved by retrieving the value of i from a map whose characteristic is shown in Figure 28 using the engine speed Ne and manifold pressure Pb as address data. On the other hand, when the result in S700 is NO, the program goes to S704 in which i is set to j 2 , so that the change rate stays the same as before multiplication by the coefficient j. In the map characterized as shown in Figure 28, the value of i is set based on the value of j 2 , such as i = j 2 x 0.5 or i = j 2 x 2. Specifically, j is ordinarily set to a value smaller than 1. When j = 1/10, for instance, then i = j 2 = 1/100 when the result in S700 is NO. So that values centered on i = 1/100 are also obtained even when the result in S700 is YES, the mapped i values in Figure 28 are therefore set between 1/50 and 1/200, for example. The change (convergence) rate of the controller parameters  and is high for small values of i (such as 1/200) and is low for large values of i (such as 1/50). More specifically, therefore, the values of i are mapped in Figure 28 so that the value of i is large (e.g., 1/50) at high-speed, high-load and small (e.g., 1/200) at low-load. Since the sixth embodiment is configured to vary the estimation/identification error signal e asterisk which determines the controller parameters  and, it ensures good harmony with the coefficients of the inputs and makes the change rate of the controller parameters  and steady, thereby achieving proper control performance. It should here be noted that when the input to the adaptation mechanism is not multiplied by the coefficient other than 1, in other words, when i = 1, it suffices if i is varied around 1. Although the sixth embodiment was explained based on the STR controller of the first embodiment as an example, the adaptive controller of this embodiment is not limited to that illustrated in the first embodiment but may be of any type, including the MRACS type, that operates based on the adaptation or identification law (algorithm) proposed by I.D. Landau et al. Figure 29 is a flowchart showing a seventh embodiment of the system according to the invention. In the seventh embodiment, the control or calculation cycles of the adaptation mechanism and the STR controller of the first embodiment are made variable and are determined according to the engine operating condition, specifically the engine speed. Since varying the control cycles of the adaptation mechanism and the controller of the adaptive controller variable according to the engine operating condition minimizes the computational burden, it becomes possible to conduct adaptive control even under engine operating conditions when little computation time is available, such as when the engine is operating at high speed, and thus to achieve good control performance. The subroutine of the flowchart of Figure 29 starts at S800 in which the detected engine speed Ne is compared with a prescribed value NeA1. When S800 finds that the detected engine speed Ne is less than the prescribed value NeA1, the program goes to S802 in which the detected engine speed Ne is compared with a second prescribed value Nec1. When S802 finds that the detected engine speed Ne is less than the second prescribed value Nec1, the program goes to S804 in which the control cycle of the adaptation mechanism (abbreviated as "A" in Figure 29) and the STR controller (abbreviated as "C") are each set to once per TDC. The operations of the flowchart of Figure 29 are explained in Figure 30. As can be seen from Figure 30, NeA1 and Nec1 are defined as relatively low engine-speeds in which ample computation time is available. When the engine speed is equal to or less than Nec1, therefore, the adaptation mechanism and the STR controller are operated, as shown in Figures 8 and 57, every TDC for maximum control accuracy. When S802 of the flowchart of Figure 29 finds that the detected engine speed Ne exceeds the prescribed value Nec1, the program goes to S806 in which the detected engine speed Ne is compared with a prescribed value Nec2, and when it is less than Nec2, goes to S808 in which the adaptation mechanism is operated every TDC and the STR controller is operated every 2 TDCs. On the other hand, when S806 finds that the detected engine speed Ne is equal to or greater than the prescribed value Nec2, the program goes to S810 in which the adaptation mechanism is operated every TDC and the STR controller is operated every 4 TDCs. When S800 finds that the detected engine speed Ne is equal to or greater than the prescribed value NeA1, the program goes to S812 in which the detected engine speed Ne is compared with a prescribed value NeA2, and when it is less than NeA2, goes to S814 in which the detected engine speed Ne is compared with a prescribed value Nec3, and when detected engine speed Ne is less than the prescribed value Nec3, goes to S816 in which the adaptation mechanism is operated every 2 TDCs and the STR controller is operated every TDC. On the other hand, when S814 finds that the detected engine speed Ne is equal to or greater than the prescribed value Nec3, the program goes to S818 in which the detected engine speed Ne is compared with a prescribed value Nec4, and when it is less than Nec4, goes to S820 in which both the adaptation mechanism and the STR controller are operated every 2 TDCs. When S818 finds that the detected engine speed Ne is equal to or greater than the prescribed value Nec4, the program goes to S822 in which the adaptation mechanism is operated every 2 TDCs and the STR controller is operated every 4 TDCs. When S812 finds that the detected engine speed Ne is equal to or greater than the prescribed value NeA2, the program goes to S824 in which the detected engine speed Ne is compared with the prescribed value NeA3, and when it less than NeA3, goes to S826 in which the detected engine speed Ne is compared with a prescribed value Nec5. When S826 finds that the detected engine speed Ne is less than the prescribed value Nec5, the program goes to S828 in which the adaptation mechanism is operated every 4 TDCs and the controller is operated every TDC, as shown in Figure 15. On the other hand, when S826 finds that the detected engine speed Ne is equal to or greater than the prescribed value Nec5, the program goes to S830 in which the detected engine speed Ne is compared with a prescribed value Nec6, and when it is less than the prescribed value Nec6, the program goes to S832 in which the adaptation mechanism is operated every 4 TDCs and the STR controller is operated every 2 TDCs. When S830 finds that the detected engine speed Ne is equal to or greater than prescribed value Nec6, the program goes to S834 in which both the adaptation mechanism and the STR controller are operated every 4 TDCs, as illustrated in Figure 31. When S824 finds that the detected engine speed Ne is equal to or greater than the prescribed value NeA3, the program goes to S836 in which the operation of the adaptive controller STR is discontinued. Here, Figure 31 is only used to show the operation of the adaptive mechanism and STR controller so that the input to the adaptation mechanism should not be limited to the illustrated configuration. As described in the foregoing, the seventh embodiment determines the operation cycles of the adaptation mechanism and the STR controller according to the engine speed. As a result, the computational burden is minimized, enabling adaptive control to be conducted even at high engine speed and under other such engine operating conditions when available computation time is limited. The seventh embodiment therefore achieves good control performance. It is not necessary to provide the adaptive controller STR with all of the ten operating states mentioned in the foregoing and shown in Figure 30 (by the circled numerals 1 - 10). It is possible instead to select from among these operating states as appropriate for the engine and the performance of the CPU of the control unit. For example, a combination such as "1, 3, 5, 9 10," "1, 3, 6, 9, 10," "1, 7, 9, 10," " "1, 10" or "1, 4, 7, 10" can be selected. Moreover, this embodiment is not limited to use of engine speed as the engine operating condition. It is also possible to take engine load into account in determining the control cycles. In this case, since little change arises in the controller parameters  and under a high load condition, for example, it may be sufficient for the adaptation mechanism to conduct processing once every 4 TDCs. Figure 32 shows an eighth embodiment of the system according to the invention, specifically the flowchart of a subroutine similar to that of Figure 10 for calculating the average of the feedback correction coefficient KSTR and the like. In the first embodiment, the effect of the detected air/fuel ratio of a specific cylinder is reduced by, as a general rule, using the average of the detected air/fuel ratios for all cylinders for determining the feedback correction coefficient KSTR and, under a prescribed engine operating condition, namely, during idling, discontinuing the calculation of the average. In contrast to the first embodiment, the eighth embodiment does not calculate an average as a general rule but calculates one only under a prescribed engine operating condition, namely, only when exhaust gas recirculation (EGR) is in effect. When the aforesaid exhaust gas recirculation mechanism is recirculating exhaust gas, there is a possibility that, depending on the engine operating condition, the exhaust gas may not be introduced uniformly into all of the four cylinders but, instead, may, for example, be drawn in a large amount into the cylinder nearest the recirculation port 121b and be drawn in only a small amount into the cylinder farthest therefrom. In such a case, therefore, the air/fuel ratio KACT(k) detected every TDC is greatly influenced by a specific cylinder and if this detected air/fuel ratio KACT(k) is used, the system will try to bring only the air/fuel ratio of the specific cylinder to the desired air/fuel ratio, causing the manipulated variable of all cylinders to be offset by the amount of the offset of the specific cylinder and thereby offsetting the air/fuel ratios of the other cylinders. For avoiding this problem, it is preferable to calculate the average value as shown in the drawing. The subroutine of the flowchart of Figure 32 starts at S900 in which it is checked whether EGR (exhaust gas recirculation control) is in effect, and when the result is YES, the program proceeds to S902 and the following steps in which the average KACTAVE is calculated in the same manner as explained with reference to Figure 10 in connection with the first embodiment. On the other hand, when the result in S900 is NO, the program proceeds to S912 and the following steps in which processing is conducted in the manner explained with reference to Figure 10 in connection with the first embodiment. Owing to the aforesaid configuration, the eighth embodiment is ensured of not being strongly affected by the combustion state of only a specific cylinder and is able to achieve enhanced control performance. Figure 33 shows a ninth embodiment of the system according to the invention, specifically the flowchart of a subroutine similar to that of Figure 32 for calculating the average of the feedback correction coefficient KSTR and the like. The problem mentioned in connection with the eighth embodiment of gas being unevenly introduced to the cylinders during exhaust gas recirculation may also be experienced under certain engine operating conditions when gas is supplied during canister purging. The ninth embodiment is for eliminating this problem. The subroutine of the flowchart of Figure 33 starts at S1000 in which it is checked whether canister purging is in effect, and when the result is YES, the program proceeds to S1002 and the following steps in which the average KACTAVE is calculated in the same manner as explained with reference to Figure 10 in connection with the first embodiment. On the other hand, when the result in S1000 is NO, the program proceeds to S1012 and the following steps in which processing is conducted in the manner explained with reference to Figure 10 in connection with the first embodiment. Owing to the aforesaid configuration, the ninth embodiment achieves enhanced control performance by preventing a specific cylinder from greatly influencing the control when canister purge is implemented. Although not shown in the figures, it is also preferable from the point of improving control performance to calculate and use the aforesaid average when combustion is unstable, as when atmospheric pressure Pa is low (the engine is at a high altitude), coolant temperature is low or lean-burn fuel metering control is in effect. Figure 34 is a flowchart and Figure 35 is a block diagram showing a tenth embodiment of the system according to the invention. As shown in Figure 35, the configuration of the tenth embodiment is that obtained by removing the exhaust system confluence point air/fuel ratio feedback loop (feedback correction coefficient KLAF) using the PID control law from the configuration of the first embodiment and adding thereto feedback loops using the PID control law for the individual cylinders (feedback correction coefficient #nKLAF (n: cylinder concerned). More specifically, the observer described in the assignee's earlier Japanese Laid-Open Patent Application No. Hei 5(1993)-180,040 is used to estimate the individual cylinder air/fuel ratios #nA/F (n: cylinder concerned) from the output of a single air/fuel ratio sensor installed at the exhaust system confluence point, the feedback correction coefficient #nKLAF for each cylinder is calculated using the PID control law based on the error between the estimated value and a prescribed desired value of the air/fuel ratio feedback control of the cylinder concerned, and the output quantity of fuel injection Tout is corrected by multiplication by the feedback correction coefficient #nKLAF. More specifically, the cylinder-by-cylinder feedback correction coefficients #nKLAF are calculated using the PID control law so as to eliminate the error between the value obtained by dividing the air/fuel ratio at the confluence point by the average of the cylinder-by-cylinder feedback correction coefficients #nKLAF calculated in the preceding cycle (which is referred to in the foregoing manner as the "desired value of the air/fuel ratio feedback control of the cylinder concerned" and is a different value from the desired air/fuel ratio KCMD) and the air/fuel ratio #nA/F estimated by the observer. Since this is discussed in detail in the assignee's Japanese Patent Application No. Hei 5(1993)-251,138 (Japanese Laid-Open Patent Application No. 7(1995)-83,094) published as a European patent Application, number EP-A-0 643 212, on march 15, 1995, it will not be explained further here. The fuel adhesion compensator is also omitted from the figure. In the tenth embodiment, the observer is equipped with a sampling block (indicated as Sel-VOBSV in the figures) for appropriately sampling the output of the LAF sensor, and the STR controller is equipped with a similar sampling block (indicated as Sel-VSTR in the figures). The sampling blocks and the observer will now be explained. In an internal combustion engine, combusted gas is exhausted during the exhaust strokes at the individual cylinders. Thus, observation of the air/fuel ratio behavior at the exhaust system confluence point clearly shows that it varies synchronously with TDC. Sampling of the air/fuel ratio using the aforesaid LAF sensor installed in the exhaust system therefore has to be conducted synchronously with TDC. Depending on the sampling timing of the control unit (ECU) for processing the detection output, however, it may become impossible to ascertain the air/fuel ratio accurately. When the air/fuel ratio at the exhaust system confluence point varies with respect to TDC as shown in Figure 35, for example, the air/fuel ratio ascertained by the control unit may, depending on the sampling timing, become a completely different value, as shown in Figure 37. It is therefore preferable to sample at positions which enable the actual changes in the output of the air/fuel ratio sensor to be ascertained as accurately as possible. In addition, the detected air/fuel ratio also varies depending on the time required for the exhaust gas to reach the sensor and on the sensor response time (detection delay). The time required for the exhaust gas to reach the sensor in turn varies with the exhaust gas pressure, exhaust gas volume and the like. Since sampling synchronously with TDC means that the sampling is based on crank angle, moreover, the effect of engine speed is unavoidable. From this, it will be understood that air/fuel ratio detection is highly dependent on engine operating conditions. In the prior art disclosed in Japanese Laid-Open Patent Application Hei 1(1989)-313,644), therefore, the practice has been to discriminate the appropriateness of the detection once every prescribed crank angle. Since this requires a complex configuration and long computation time, however, it may not be able to keep up at high engine speeds and is further apt to encounter the problem that the sensor output has already passed its inflection point by the time that the decision to sample has been made. Figure 38 is a flowchart of the operations for sampling the LAF sensor. Since the accuracy of air/fuel ratio detection has a particularly close relationship with the estimation accuracy of the aforesaid observer, however, a brief explanation of the estimation of air/fuel ratio by the observer will be given before going into an explanation of this flowchart. For high-accuracy separation and extraction of the air/fuel ratios of the individual cylinders from the output of a single LAF sensor, it is first necessary to accurately ascertain the detection response delay (lag time) of the LAF sensor. This delay was therefore modeled as a first-order delay system, to obtain the model shown in Figure 39. Here, if we define LAF: LAF sensor output and A/F: input A/F, the state equation can be written as L A F(t) = αLAF(t)-αA/F(t) Discretizing this for period Delta T, yields LAF(k+1) = α LAF(k)+(1- α )A/F(k) Here, α and is the correction coefficient and is defined as: α = 1+α ΔT+(1/2!)α 2 ΔT 2 +(1/3!)α 3 ΔT 3 +(1/4!)α 4 ΔT 4 Eq. 25 is represented as a block diagram in Figure 40. Therefore, Eq. 25 can be used to obtain the actual air/fuel ratio from the sensor output. That is to say, since Eq. 25 can be rewritten as Eq. 26, the value at time k-1 can be calculated back from the value at time k as shown by Eq. 27. A/F(k) = {LAF(k+1)- α LAF(k)}/(1- α ) A/F(k-1) = {LAF(k)- α LAF(k-1)}/(1- α ) Specifically, use of the Z transformation to express Eq. 25 as a transfer function gives Eq. 28, and a real-time estimate of the air/fuel ratio input in the preceding cycle can be obtained by multiplying the sensor output LAF of the current cycle by the reciprocal of this transfer function. Figure 41 is a block diagram of the real-time A/F estimator. t(z) = (1- α )/(Z- α ) The separation and extraction of the air/fuel ratios of the individual cylinders using the actual air/fuel ratio obtained in the foregoing manner will now be explained. As explained in the earlier application, the air/fuel ratio at the exhaust system confluence point can be assumed to be an average weighted to reflect the time-based contribution of the air/fuel ratios of the individual cylinders. This makes it possible to express the air/fuel ratio at the confluence point at time k in the manner of Eq. 29. (As F (fuel) was selected as the controlled variable, the fuel/air ratio F/A is used here. For easier understanding, however, the air/fuel ratio will be used in the explanation so long as such usage does not lead to confusion. The term "air/fuel ratio" (or "fuel/air ratio") used herein is the actual value corrected for the response delay calculated according to Eq. 28.) [F/A](k) = C 1 [F/A# 1 ]+C 2 [F/A# 3 ] +C 3 [F/A# 4 ]+C 4 [F/A# 2 ] [F/A](k+1) = C 1 [F/A# 3 ]+C 2 [F/A# 4 ] +C 3 [F/A# 2 ]+C 4 [F/A# 1 ] [F/A](k+2) = C 1 [F/A# 4 )+C 2 [F/A# 2 ] +C 3 [F/A# 1 ]+C 4 [F/A# 3 ] · · More specifically, the air/fuel ratio at the confluence point can be expressed as the sum of the products of the past firing histories of the respective cylinders and weighting coefficient Cn (for example, 40% for the cylinder that fired most recently, 30% for the one before that, and so on). This model can be represented as a block diagram as shown Figure 42. Its state equation can be written as Further, when the air/fuel ratio at the confluence point is defined as y(k), the output equation can be written as Here: c 1 :0.05, c 2 :0.15, c 3 :0.30, c 4 :0.50 Since u(k) in this equation cannot be observed, even when an observer is designed from the equation, it will still not be possible to observe x(k). Thus, when one defines x(k+1) = x(k-3) on the assumption of a stable operating state in which there is no abrupt change in the air/fuel ratio from that of 4 TDCs earlier (i.e., from that of the same cylinder), Eq. 32 is obtained. The simulation results for the model obtained in the foregoing manner will now be given. Figure 43 relates to the case where fuel is supplied to three cylinders of a four-cylinder internal combustion engine so as to obtain an air/fuel ratio of 14.7 : 1, and to one cylinder so as to obtain an air/fuel ratio of 12.0 : 1. Figure 44 shows the air/fuel ratio at this time at the confluence point as obtained using the aforesaid model. While Figure 44 shows that a stepped output is obtained, when the response delay of the LAF sensor is taken into account, the sensor output becomes the smoothed wave designated "Model's output adjusted for delay" in Figure 45. The curve marked "Sensor's actual output" is based on the actually observed output of the LAF sensor under the same conditions. The close agreement of the model results with this verifies the validity of the model as a model of the exhaust system of a multiple cylinder internal combustion engine. Thus, the problem comes down to one of an ordinary Kalman filter in which x(k) is observed in the state equation (Eq. 33) and the output equation. When the weighting parameters Q, R are determined as Eq. 34 and Riccati's equation is solved, the gain matrix K becomes as shown in Eq. 35. Here: Obtaining A-KC from this gives Eq. 36. Figure 46 shows the configuration of an ordinary observer. Since there is no input u(k) in the present model, however, the configuration has only y(k) as an input, as shown in Figure 47. This is expressed mathematically by Eq. 37. The system matrix of the observer whose input is y(k), namely of the Kalman filter, is In the present model, when the ratio of the element of the weighting parameter R in Riccati's equation to the element of Q is 1 : 1, the system matrix S of the Kalman filter is given as Figure 48 shows the aforesaid model and observer combined. As the results of the simulation are shown in the before-mentioned Japanese application, they are omitted here. It suffices to say that this enables precise estimation of the air/fuel ratios at the individual cylinders from the air/fuel ratio at the confluence point. Since the observer is able to estimate the cylinder-by-cylinder air/fuel ratio from the air/fuel ratio at the confluence point, the air/fuel ratios of the individual cylinders can be separately controlled by PID control or the like. Specifically, as illustrated in Figure 49, in which the feedback section of the observer of Figure 35 is extracted and shown by itself, a confluence point feedback correction coefficient KLAF is calculated from the sensor output (confluence point air/fuel ratio) and the desired air/fuel ratio using the PID control law, and cylinder-by-cylinder feedback correction coefficients #nKLAF (n: cylinder concerned) are calculated from the observer's estimated air/fuel ratio #nA/F. More specifically, the cylinder-by-cylinder feedback correction coefficients #nKLAF are obtained by using the PID law to eliminate the error between the observer's estimated air/fuel ratio #nA/F and the desired value obtained by dividing the confluence point air/fuel ratio by the average value of the cylinder-by-cylinder feedback correction coefficients #nKLAF calculated in the preceding cycle. Owing to this convergence of the air/fuel ratios of the individual cylinders to the confluence point air/fuel ratio and convergence of the confluence point air/fuel ratio to the desired air/fuel ratio, the air/fuel ratios of all cylinders are converged to the desired air/fuel ratio. The output quantity of fuel injection #nTout (n: cylinder concerned) is determined by the fuel injector opening period and can be calculated as #nTout = Tcyl x KCMD x #nKLAF x KLAF. The sampling of the LAF sensor output will now be explained with reference to the flowchart of Figure 38. This subroutine is activated at TDC. The subroutine of the flowchart of Figure 38 starts at S1200 in which the engine speed Ne, the manifold pressure Pb and the valve timing V/T are read. The program then goes to S1204 and S1206 in which Hi and Lo valve timing maps (explained later) are looked up and to S1208 in which the sensor output is sampled for use in observer computation at Hi or Lo valve timing. Specifically, the timing map is looked up using the detected engine speed Ne and the manifold pressure Pb as address data, the No. of one of the aforesaid 12 buffers is selected, and the sampling value stored therein is selected. Figure 50 shows the characteristics of the timing maps. As shown, the characteristics are defined so that the sampling crank angle of the selected value becomes earlier with decreasing engine speed Ne and increasing manifold pressure (load) Pb. By an "earlier" value is meant a relatively older one sampled nearer to the preceding TDC. Conversely, the characteristics are defined so that the sampling crank angle of the selected value becomes later (becomes a newer value nearer to the following TDC) with increasing engine speed Ne and decreasing manifold pressure Pb. It is best to sample the LAF sensor output as close as possible to the inflection point of the actual air/fuel ratio, as shown in Figure 37. Assuming the sensor response time (detection lag) to be constant, this inflection point, or the first peak thereof, for example, will, as shown in Figure 51, occur at progressively earlier crank angles with decreasing engine speed. As engine load increases, the exhaust gas can be expected to increase in pressure and volume and therefore reach the sensor earlier owing to its higher flow rate. This is why the selection of the sampled data is determined as shown in Figure 50. The valve timing will now be discussed. Defining an arbitrary engine speed on the Lo side as Ne1-Lo and on the Hi side as Ne1-Hi and an arbitrary manifold pressure on the Low side as Pb1-Lo and on the Hi side as Pb1-Hi, the values are mapped such that Pb1-Lo > Pb1-Hi and Ne1-Lo > Ne1-Hi. In other words, since the time point at which the exhaust valve opens is earlier at HiV/T than at LoV/T, the map characteristics are determined so that an earlier sampling point is selected at HiV/T than at LoV/T insofar as the engine speed and manifold pressure are the same. The program then goes to S1210 in which the observer matrix is computed for HiV/T and to S1212 in which the computation is similarly made for LoV/T. It then proceeds to S1214 in which the valve timing is discriminated again and, depending on the result of the discrimination, to S1216 in which the computation result for HiV/T is selected or to S1218 in which that for LoV/T is selected. This completes the routine. In other words, since the behavior of the confluence point air/fuel ratio also varies with the valve timing, the observer matrix has to be changed synchronously with the switching of the valve timing. However, the estimation of the air/fuel ratios at the individual cylinders is not conducted instantaneously. Since several cycles are required for the observer computation to converge, the computations using the observer matrices before and after valve timing switchover are conducted in parallel and one of the computation results is selected in accordance with the new valve timing in S1214, after the valve timing change operation. After the estimation has been made for the individual cylinders, the feedback correction coefficient is calculated for eliminating the error relative to the desired value and the quantity of fuel injection is determined. The aforesaid configuration improves the accuracy of the air/fuel ratio detection. Since, as shown in Figure 52, the sampling is conducted at relatively short intervals, the sampled values faithfully reflect the sensor output and the values sampled at relatively short intervals are progressively stored in the group of buffers. The inflection point of the sensor is predicted from the engine speed and the manifold pressure and the corresponding value is selected from the group of buffers at the prescribed crank angle. The observer computation is then conducted for estimating the air/fuel ratios at the individual cylinders, thereby enabling cylinder-by-cylinder feedback control to be conducted as explained with reference to Figure 49. The CPU core 70 can therefore accurately ascertain the maximum and minimum values of the sensor output, as shown at the bottom of Figure 52. As a result, the estimation of the air/fuel ratios of the individual cylinders using the aforesaid observer can be conducted using values that approximate the behavior of the actual air/fuel ratio, thereby enabling an improvement in accuracy when cylinder-by-cylinder air/fuel ratio feedback control is conducted in the manner described with reference to Figure 49. As the particulars of this control are explained in the assignee's earlier Japanese Patent Application No. Hei 6(1994)-243,277 (Japanese Laid-Open Patent Application No. Hei 7(1995)-259,588), it will not be discussed further here. While the foregoing describes only the sampling or air/fuel ratio determination in Sel-VOBSV in Figure 35 for the observer with respect to the LAF sensor output, a similar operation will also be conducted for the STR controller in Sel-VSTR in Figure 35. The operation of Sel-VSTR is similar to that of Sel-VOBSV and thus follows a flowchart similar to the procedures of Figure 38. While Sel-VOBSV is for achieving optimum timing of the air/fuel ratio detection in connection with the cylinder-by-cylinder air/fuel ratio estimation by the observer (e.g., optimum timing of the aforesaid weighting coefficient C with respect to the model), Sel-VSTR uses a map similar to that shown in Figure 50 used by Sel-VOBSV for achieving optimum timing of the air/fuel ratio detection for the operation of the STR controller (e.g., the air/fuel ratio detection timing which maximizes the effect of the cylinder whose exhaust stroke is nearest). Based on the foregoing, the tenth embodiment will now be explained with reference to the flowchart of Figure 34. After executing S1100 to S1110, which are steps similar to those in the first embodiment, the program arrives at S1112 in which Sel-VSTR selects one from among the sampled data of the LAF sensor output, i.e., detects the air/fuel ratio KACT(k). It then goes to S1114 in which the feedback correction coefficient KSTR is calculated in the same manner as in the first embodiment, using the flowchart of Figure 10 used in the first embodiment. The program then goes to S1116 and S1118 in which the required quantity of fuel injection Tcyl(k) and the output quantity of fuel injection Tout(k) are calculated, and to S1120 in which the LAF sensor output is sampled by Sel-VOBSV, i.e., in which the air/fuel ratio KACT(k) is detected. The program next goes to S1122 in which the cylinder-by-cylinder air/fuel ratios #nA/F are estimated via the aforesaid observer, to S1124 in which the cylinder-by-cylinder feedback correction coefficient #nKLAF is calculated, to S1126 in which the a value #nKLAFsty is calculated through a learning, i.e., by obtaining a weighted average between #nKLAF and #nKLAF(k-1) in the preceding cycle and the like, to S1128 in which the output quantity of fuel injection Tout is corrected by multiplication by the cylinder-by-cylinder feedback correction coefficient #nKLAF of the cylinder concerned to obtain the output quantity of fuel injection #nTout of the cylinder concerned, to S1130 in which compensation for fuel adhesion on the wall of the intake manifold is conducted, and to S1132 in which the result is output. When the result in S1108, or S1110 is NO, the program goes to S1134 in which the required quantity of fuel injection Tcyl(k) is calculated in the manner shown, to S1136 in which the learned value of the cylinder-by-cylinder feedback correction coefficient #nKLASFsty is read, and to S1138 in which the correction coefficient #nKLAF is set to the learned value. When S1104 finds that the supply of fuel has been cut off, the program passes through S1144 to S1146 in which the matrix computation is discontinued, and to S1148 in which the cylinder-by-cylinder feedback correction coefficient is set to the value in the preceding cycle. The remaining steps are the same as those in the first embodiment. Configured in the foregoing manner, the tenth embodiment, like the first, synchronizes input to the adaptation mechanism with the combustion cycle while calculating the controller parameters at every TDC, thereby greatly reducing the computational burden of the adaptation mechanism, enabling use of an adaptive controller in a commercially practical internal combustion engine without degrading control performance, and reducing variance among the cylinders. Since also like the first embodiment it calculates and inputs to the adaptation mechanism the average of the detected air/fuel ratios KACT for all cylinders during each combustion cycle and the average of the controller parameters (vectors), and further calculates the average of the STR controller output, it ensures that the system is not greatly affected by the combustion state of a specific cylinder. In the tenth embodiment it is also possible, as in the second embodiment, to calculate the average of the controller parameters or KSTR, or to calculate the averages of both the detected air/fuel KACT and of the controller parameters  and. It is also possible to set the same desired value KCMD(k) for all cylinders. All of the statements made in the foregoing regarding the second, third, fourth, fifth, sixth, seventh, eighth and ninth embodiments also apply to the tenth embodiment. Figure 53 is a flowchart and Figure 54 is a block diagram showing an eleventh embodiment of the system according to the invention. As shown in Figure 54, in the eleventh embodiment the STR controller and the adaptation mechanism are disposed in series with the system for calculating the quantity of fuel injection. In other words, as in the first embodiment, the basic quantity of fuel injection Tim is first multiplied by the desired air/fuel ratio correction coefficient KCMDM(k) and the various correction coefficients KTOTAL to obtain the required quantity of fuel injection Tcyl(k) and the required quantity of fuel injection Tcyl(k) is then input to the STR controller. On the other hand, also as in the first embodiment, the average values KACTAVE and/or AVE- and are calculated and the required quantity of fuel injection Tcyl(k) is dynamically corrected by the STR controller for calculating a corrected quantity of fuel injection Gfuel-str(k). Simultaneously, the confluence point air/fuel ratio feedback correction coefficient KLAF is calculated from the detected confluence point air/fuel ratio using the PID control law and the required quantity of fuel injection Tcyl(k) is multiplied thereby to obtain a corrected quantity of fuel injection Gfuel-KLAF(k). In Figure 54, the STR controller adaptively calculates the output quantity of fuel injection Gfuel-str(k) to bring the actual (estimated) quantity of cylinder intake fuel Gfuel(k) to the desired quantity of fuel injection Tcyl(k) and supplies the result to the internal combustion engine as the output quantity of fuel injection Tout(k). Since the correction for fuel adhesion on the wall of the intake manifold is explained in detail in the assignee's Japanese Laid-Open Patent Application No. Hei 6(1994)-17,681 and is not directly related to the principle of this invention, it will not be explained here. The actual (estimated) quantity of cylinder intake fuel Gfuel(k) can be calculated by dividing the detected quantity of air by the detected air/fuel ratio. However, in this embodiment, which is not equipped with an air flow meter, it is obtained by multiplying the desired quantity of fuel injection (required quantity of fuel injection) Tcyl(k) by the detected air/fuel ratio. The actual quantity of fuel injection calculated in this way is equivalent to that obtained by calculation from the detected quantity of air. When the desired air/fuel ratio is not the stoichiometric air/fuel ratio, the actual (estimated) quantity of cylinder intake fuel is calculated by further dividing the calculated value by the desired air/fuel ratio. Specifically, when the desired air/fuel ratio is the stoichiometric air/fuel ratio, the actual (estimated) quantity of cylinder intake fuel is calculated as Actual (estimated) quantity of cylinder intake fuel = Required quantity of fuel injection (Desired quantity of fuel injection) x Detected air/fuel ratio, and when the desired air/fuel ratio is other than the stoichiometric air/fuel ratio, is calculated as Actual (estimated) quantity of cylinder intake fuel = (Required quantity of fuel injection (Desired quantity of fuel injection) x Detected air/fuel ratio)/ Desired air/fuel ratio. In the subroutine of the flowchart of Figure 53, the program executes S1300 to S1316, which are steps similar to those in the earlier embodiments, and arrives at S1318 in which KACTAVE, the average of the air/fuel ratios, and AVE- and, the average of the controller parameters (vectors)  and are calculated. The program then passes through S1320 and S1322 to S1324 in which the stability of the adaptive controller (the STR controller) is discriminated as in the first embodiment. The subroutine for this is shown by the flowchart of Figure 55. This subroutine starts at S1400 in which the stability of the STR control system is discriminated using the elements of the controller parameters  and. Specifically, the STR controller calculates the quantity of fuel injection Gfuel-STR(k) according to Eq. 40. Tout-str(z -1 )={Tcyl(z -1 )-s 0 Gfuel(z -1 )-(r 1 z -1 +r 2 z -2 +r 3 z -3 ) x Gfuel-str(z -1 )}/b 0 Assuming that the fuel adhesion correction here is correct, the transfer function of the virtual plant becomes Gfuel(z -1 )=z -3 Gfuel-str(z -1 ) It follows from Eq. 40 and Eq. 41 that the transfer function from Tcyl(k) to the quantity of fuel injection Gfuel-STR(k) is Gfuel-str(z) Tcyl(z) = 1 b 0 z 3 +r 1 z 2 +r 2 z+r 3 +s 0 z 3 ∵(b 0 +s 0 z -3 +r 1 z -1 +r 2 z -2 +r 3 z -3 )Gfuel-str(z -1 )=Tcyl(z -1 ) Since b0 here is a scalar quantity determining the gain and therefore cannot be zero or negative, the denominator function f(z) = b0Z 3 + r1Z 2 + r2Z + r3 + s0 of the transfer function of Eq. 42 is one of the functions shown in Figure 13. A check is therefore made as to whether the real root is within the unit circle. Specifically, as shown in Figure 14, when it is found that f(-1) < 0 or f(1) > 0, this means that the real root is within the unit circle, from which it can be easily determined whether or not the system is stable. The program then moves to S1402 in which it is checked whether the STR controller system is unstable. When the result is YES, the program goes to S1404 in which the controller parameters  and are restored to their initial values. This restores the system stability. The program next goes to S1406 in which the gain matrix Γ is corrected. Since the gain matrix Γ determines the convergence rate of the adaptation mechanism, this correction is made so as to slow the convergence rate. This also enables restoration of system stability. The program then goes to S1408 in which the output quantity of fuel injection Tout(k) is calculated using as the feedback correction coefficient KLAF(k) determined by the PID control law, using the corrected quantity of fuel injection Gfuel-KLAF(k) and adding thereto the addition term TTOTAL. If S1402 finds that the STR controller system is not unstable, the program goes to S1410 in which, as shown, the output quantity of fuel injection Tout(k) is calculated using the corrected quantity of fuel injection Gfuel-str(k) which uses the feedback correction coefficient KSTR(k) calculated by the adaptive control law as the feedback correction coefficient. Returning to the flowchart of Figure 53, the program proceeds to S1326 in which the output quantity of fuel injection is output, thus completing one control cycle. In the eleventh embodiment, unlike in the other embodiments, the calculation of the averages of the air/fuel ratio and the like need not be conducted at a prescribed crank angle of a specific cylinder but can instead be conducted at prescribed crank angles of the individual cylinders. The remaining steps are the same as those in the other embodiments. Configured in the foregoing manner, the eleventh embodiment, like the first, can synchronize input to the adaptation mechanism with the combustion cycle (= 4 TDCs) to calculate the controller parameters, while operating the STR controller at every control cycle (every TDC) and in such a case greatly reduces the computational burden of the parameter adaptation mechanism, enabling use of an adaptive controller in a commercially practical internal combustion engine without degrading control performance, and reducing variance among the cylinders. It also enhances control performance by reducing dead time. In addition, since the eleventh embodiment calculates and inputs to the adaptation mechanism the average of the controlled variables for all of the cylinders, it is not strongly affected by the combustion state of only a specific cylinder. While the first to eleventh embodiments were described with respect to the use of simple averages, the invention is not limited to this arrangement and it is possible instead to use weighted averages, moving averages, weighted moving averages and the like. Further, while it was described that averages are calculated during a single combustion cycle (= 4 TDCs) with which the input to the adaptation mechanism is made synchronously, it is instead possible to calculate the averages for the most recent two combustion cycles (= 8 TDCs) or to calculate the averages for less than one combustion cycle, e.g. for two or three TDCs. It is of course best to establish Sel-VOBSV and Sel-VSTR separately and to have each detect the optimum air/fuel ratio. Depending on the engine characteristics and the exhaust system layout, however, Sel-VOBSV and Sel-VSTR may give substantially identical detected air/fuel ratios in most operating regions. In such cases, it is possible to consolidate the sampling functions of Sel-VOBSV and Sel-VSTR and apply the output obtained to both the observer and the STR controller. For example, the arrangement of Figure 35 can be reconfigured to have only Sel-VOBSV and the output thereof be used by both the observer and the STR controller. In addition, while in some of the embodiments, such as the first, the air/fuel ratio was expressed as the equivalence ratio, the air/fuel ratio and the equivalence ratio can instead be determined separately. Moreover, while the feedback correction coefficients KSTR, #nKLAF and KLAF were calculated as multiplication coefficients (terms) in the foregoing embodiments, they can instead be calculated as addition terms. Further, while the TDC is used as the example of the prescribed or predetermined crank angle of a certain or all of the cylinders for inputting the controlled variable or for operating the adaptation mechanism or STR controller or for determining the quantity of fuel injection, it is alternatively possible to use any other crank angles that are determined by the TDC such as 10 crank angles before the TDC. Furthermore, while the aforesaid embodiments were described with respect to examples using STRs, MRACS (model reference adaptive control systems) can be used instead. While the foregoing embodiments were described as using the output of a single air/fuel ratio sensor installed at the exhaust system confluence point, the invention is not limited to this arrangement and it is possible instead to conduct the air/fuel ratio feedback control based on air/fuel ratios detected by air/fuel ratio sensors installed for the individual cylinders.

Claims: A system for controlling fuel metering for a multicylinder internal combustion engine, comprising: an air/fuel ratio sensor (54) installed at an exhaust system (26) of the engine; engine operating condition detecting means for detecting engine operating conditions at least including engine speed and engine load; fuel injection quantity determining means for determining a quantity of fuel injection (Tim) for individual cylinders at least based on the detected engine operating conditions; a fuel injector (22) for injecting fuel in the individual cylinders of the engine in response to a corrected quantity of the fuel injection; and a feedback loop having an adaptive controller and an adaptation mechanism that estimates controller parameters ( and) at a convergence speed determined by a gain matrix (Γ), said adaptive controller correcting the quantity of fuel injection to bring a controlled variable (KACT, Gfuel) at least obtained based on an output of said air/fuel ratio sensor to a desired value (KCMD, Gfuel-str), characterised in that : the gain matrix (Γ) is determined in response to at least one of the engine operating conditions detected by the engine operating condition detecting means. A system according to claim 1, wherein the gain matrix is determined based on the engine load. A system according to claim 1 or 2, wherein the gain matrix when the engine is idling is different from that when the engine is other than idling. A system according to any of preceding claims 1 to 3, wherein the engine is equipped with an exhaust gas recirculation mechanism (100), and the gain matrix when the exhaust gas is recirculated is different from that when no exhaust gas in recirculated. A system according to any of preceding claims 1 to 4, wherein the engine is equipped with a canister purge mechanism (200), and the gain matrix under canister purge operation, is different from that when the canister purge is out of operation. A system according to any of preceding claims 1 to 5, wherein the gain matrix is determined based upon an atmospheric pressure. A system according to any of preceding claims 1 to 6, wherein the gain matrix is determined based upon an engine coolant temperature. A system according to any of preceding claims 1 to 7, wherein the engine is equipped with a variable valve timing mechanism, and the gain matrix is determined based upon a valve timing selected in the variable timing mechanism (300).

Inventors: AKAZAKI SHUSUKE, HASEGAWA YUSUKE, MAKI HIDETAKA, NISHIMURA YOICHI, AKAZAKI, SHUSUKE, HASEGAWA, YUSUKE, MAKI, HIDETAKA, NISHIMURA, YOICHI
Applicants: HONDA MOTOR CO LTD, HONDA GIKEN KOGYO KABUSHIKI KAISHA
Application year: 1996
Main classification: F02D41
IPC codes: F02D41