CONTROL APPARATUS FOR INTERNAL COMBUSTION ENGINE

Abstract: Values (L 1n , L 2n ) of a correction amount for correcting a fundamental control amount (Ti) of an internal combustion engine (E) are stored in a rewritable memory (1) having divisional storage areas corresponding to divisional running areas. When a value of the cor­ rection amount for a particular divisional running area is renewed, concurrently therewith, values of the correction amount for divisional running areas adjacent to the particular divisional running area are also renewed.

Description: BACKGROUND OF THE INVENTION This invention relates to an electronic control apparatus for internal combustion engines such as automobile gasoline engines and more particularly to a control apparatus for internal combustion engine having a learning function in order to constantly control the engine under the direction of optimized control parameters. In an internal combustion engine such as a gasoline engine (hereinafter simply referred to as an engine), it is required that, for example, the supply amount of fuel be kept at a predetermined proportion to intake air and that the ratio therebetween (termed an air/fuel ratio) be always maintained correctly. Conventionally, the intake air amount is measured and in accordance with measurement results, the supply amount of fuel is controlled such that a predetermined air/fuel ratio can be obtained. This method, however, can not achieve sufficiently accurate controlling from the standpoint exhaust gas regulation. Under the circumstances, a so-called air/fuel ratio feedback control method has been employed in which an air/fuel ratio sensor is used to detect an exhaust gas state and feedback-control the supply amount of fuel. Conveniently, in the air/fuel ratio feedback controlling, the range over which the engine rotation number changes and the range over which the intake air amount changes are respectively divided into, for example, 10 sections and these sections are combined together to define 100 running areas. Area correction coefficients for the respective running areas are precedently determined such that the stoichiometric air/fuel ratio equalling 14.7 can be obtained in each of the running areas, and these area correction coefficients are then stored in a memory. During engine running, the coefficients are read out of the memory as necessary so as to be used for calculating the injection amount, thus permitting the individual running areas to take the stoichiometric air/fuel ratio. This expedient can therefore prevent a transient aggravation of exhaust gas due to a delayed response in the air/fuel ratio feedback. Incidentally, control characteristics for the engine greatly differ from one engine to another, depending on irregularity of characteristics of the engine per se and irregularity of characteristics of various sensors and actuators used for controlling. This means that if the area correction coefficients necessary for the area correction method are precedently prepared in view of a standard engine and applied to all of the other engines, almost no fruitful results can be obtained. Therefore, different sets of area correction coefficients must be prepared independently for different engines and then must be stored in ROM's respectively dedicated to the different engines, thus giving rise to degraded productivity prone to high costs. Further, since the characteristics of the engine per se change with time and the characteristics of the sensors and actuators also change with time, it is frequent that area correction coefficients which are set at the initial phase of manufacture become almost unmatched as time elapses. As a countermeasure for the above problems, a learning control scheme has recently been highlighted in which a memory capable of being written or rewritten with data is used for storing area correction coefficients and running areas (learning areas) of the memory are sequentially written and supplemented or rewritten with area correction coefficients experiencing learning during engine running, whereby accurate area correction coefficients (learnt correction coefficients) based on the latest results of running can constantly be prepared for air/fuel ratio controlling. According to the learning control scheme, the area correction coefficients need not be prepared initially and besides when characteristics of, for example, the engine change, the area correction coefficients can be self-corrected correspondingly, thereby ensuring that constantly correct controlling can be expected and the aggravation of exhaust gas, inclusive of the transient aggravation, can be prevented. A prior art apparatus based on the learning control scheme is known as disclosed in, for example, JP-A-60-90944. In the known apparatus, a difference between an air/fuel ratio correction coefficient produced from an air/fuel ratio sensor and a reference value is determined and a learning value of a learning correction term used for correcting the air/fuel ratio correction coefficient is renewed by adding the difference at a predetermined proportion or percentage. When as in the prior art the learning value of the learning correction term used for correcting the air/fuel ratio correction coefficient is renewed adding the difference between air/fuel ratio correction coefficient and reference value at the predetermined proportion, the renewed learning value becomes overestimated for a value of the difference or underestimated for another value of the difference, indicating that proper learning can not be undertaken. Another problem encountered in the prior art is that after a particular learning area is renewed, renewal of learning areas adjacent to the particular learning area is not done for an interval of time in the event that a certain learning condition is imposed, with the result that controlling can not be shifted smoothly from one learning area to another. a) From the US-A-4 466 410 a learning control apparatus is known, wherein the basic fuel injection amount is feedback controlled by a lambda-sensor and learned correction amounts for correcting the basic fuel injection amount are stored in a two-dimensional table. The learned correction values are also used for renewing adjacently stored correction values, eg., a correction value L22 is renewed according to a formula (with K2 ≠ 0.0) L22 NEW = K1 * (L21 NEW + L22 OLD) + K2 * (L22 OLD - 2 * L21 NEW) However, renewing of correction values according to the above equation does not lead to a sufficently smooth controlling when one running area changes to another. From the GB-A-2 161 960 an apparatus is known, in which learned control values are stored in staggered tables. An object of this invention is to provide an air/fuel-ratio-learning control apparatus capable of constantly achieving proper learning and providing sufficently smooth controlling when one running area changes to another. This invention is achieved by a control apparatus according to claim 1. Further advantageous embodiments of the invention may be taken from claims 2 to 4. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 illustrates at sections (a) through (d) a waveform diagram and tables useful in explaining the operation of an air/fuel-ratio-learning control apparatus according to an embodiment of the invention. Figure 2 is a schematic diagram showing an example of an engine system to which the embodiment of the invention is applied. Figures 3A - 3E are flow charts for explaining the operation of the embodiment of the invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS An air/fuel-ratio-learning control apparatus of the invention will now be described by way of example with reference to the accompanying drawings. Fig. 2 shows an example of an engine system to which an embodiment of the invention is applied. In the illustrated engine system, a control unit 1 comprised of a microcomputer fetches data from various sensors mounted to an engine E, for example, a throttle valve opening THV from a throttle sensor 2, a sensor output signal O₂V from an oxygen (O₂) sensor 3, a cooling water temperature TW from a water temperature sensor 4, an engine rotation number per unit time (engine speed) N from a rotation sensor 5, and an intake air amount Qa from an air flow sensor 6, and deals with the data so as to supply a fuel injection pulse width Ti to an injector 7, thereby carrying out air/fuel ratio controlling. The embodiment of the invention operates as will be described below with reference to Fig. 1. Fig. 1 diagrammatically shows that, at section (a), the lean/rich decision on the air/fuel ratio is effected using the output voltage O₂V of the O₂ sensor 3 and an air/fuel ratio correction coefficient AL is increased or decreased by proportional portion P and integration portion I in accordance with results of the decision, and that, at sections (b), (c) and (d), a learning control operation of the embodiment of the invention is performed as illustrated in tables. More particularly, an output signal O₂V of the O₂ sensor 3 is first compared with a decision level SL and when the output voltage of the O₂ sensor exceeds the decision level SL, the air/fuel ratio is decided to be rich and the air/fuel ratio correction coefficient AL is subtracted with the proportional portion P and integration portion I. When the output voltage of the O₂ sensor is below the decision level SL, the air/fuel ratio is decided to be lean and the air/fuel ratio correction coefficient AL is added with the proportional portion P and integration portion I. On the other hand, the injection pulse width Ti applied to the injector 7 is defined by the following equation and it is increased or decreased as the air/fuel ratio correction coefficient AL increases or decreases: Ti = COEF × T p × α + T B where COEF = 1 + KW + KACC + KD + KFUL, T p = k₃ × Qa N , and α = AL + (k₁ × L 1n ) + (k₂ × L 2n ) and where T B represents a battery voltage correction term, KW an enhancing correction term due to water temperature, KACC an enhancing correction term due to acceleration, KD an enhancing correction term after idling, KFUL an enhancing correction term due to full open of the throttle valve, T p a fundamental injection amount, k₁, k₂ and k₃ weighting coefficients, L 1n a first learning value, L 2n a second learning value, and α an ultimate air/fuel ratio correction coefficient wherein a term (k₁ × L 1n ) + (k₂ × L 2n ) is representative of a learning correction term for the air/fuel ratio correction coefficient. When the steady running is decided, peak values AL p1 , AL p2 , AL p3 , AL p4 ----- of the air/fuel ratio correction coefficient AL are sampled and averaged to provide a mean value AL which is used to calculate a difference δ pursuant to δ = AL - 1.0 where 1.0 is a reference value. Subsequently, by looking up the table shown at section (b) in Fig. 1, a learning correction amount Xn corresponding to a difference δ is retrieved, values of the learning correction amount Xn being weighted by predetermined amounts in accordance with values of difference δ and used to renew learning values. Incidentally, in the present embodiment, the learning area is sorted into a first learning area as shown at section (c) in Fig. 1 and a second learning area as shown at section (d) in Fig. 1. The first learning area shown at (c) is divided at division points 8, 16, 23 ---- which are representative of values of the intake air amount Qa and the second learning area shown at (d) is divided at division points 12, 20, 27 ---- which are also representative of values of the intake air amount Qa, so that the division points of the first and second learning areas are offset with respect to each other. This ensures that even a running occurring near the boundary between adjacent divisional areas of the first learning area can be learnt at a divisional area of the second learning area. Learning values corresponding to the divisional areas of the first and second learning areas are stored in a RAM (rewritable memory) at its areas designated by L 1n and L 2n . The characters L 1n and L 2n also represent learning values stored in the RAM areas L 1n and L 2n , respectively. The learning values L 1n and L 2n are renewed using the learning value correction amount Xn, and when a particular divisional area is to be renewed, concurrently therewith, two divisional areas immediately preceding and succeeding the particular divisional area are also renewed. For example, assuming that a divisional area L₂₁ is renewed using a learning correction value Xn, adjacent two divisional areas L₂₀ and L₂₂ are also renewed concurrently by using correction amounts as indicated below the table shown at (d) in Fig. 1. Thus, the renewal is indicated as follows: Renewal of L₂₁: L₂₁ New = L₂₁ Old + Xn Renewal of learning values of adjacent divisional areas: L₂₀ New = ko × (L₂₁ New + L₂₀ Old) L₂₂ New = ko × (L₂₁ New + L₂₂ Old) where ko represents a renewal coefficient which is, for example, 0.5. The overall operation explained in connection with Figs. 1 and 2 can be implemented in accordance with flow charts as shown in Figs. 3A - 3E under the direction of a program of the microcomputer included in the control unit 1. This program is started at intervals of a predetermined period of, for example, 10 mS. Firstly, it is decided in step S1 whether the O₂ sensor is made active (the active O₂ sensor can produce the output voltage which is changeable between 0 (zero) volt and 1.0 volt.). When the O₂ sensor is decided not to be active, the air/fuel ratio correction coefficient AL is set to 1.0 and the procedure ends (Step S2). When the O₂ sensor is decided to be active, it is decided in steps S3 to S8 whether the engine cooling water temperature TW is above 80°C, whether the enhancing correction term KW due to water temperature equals zero, whether the enhancing correction term KACC due to acceleration equals zero, whether the enhancing correction term KD after idling equals zero, whether lapse of time after acceleration exceeds a predetermined value and whether lapse of time after deceleration exceeds a predetermined value. When either of the above decisions is negative, an OK flag for the first learning area and an OK flag for the second learning area are both cleared (Steps S9 and S10). In contrast, when all of the requirements raised in the steps S3 to S8 are satisfied, the first learning area and the second learning area are retrieved for their divisional areas in accordance with a current intake air amount Qa (Step S11), and it is decided whether a retrieved area coincides with a divisional area of the first learning area (Step S12) or whether a retrieved area coincides with a divisional area of the second learning area (Step S13). When coincidence is obtained in connection with the first learning area, the OK flag for the first learning area is set to binary "1" (Step S14) and the OK flag for the second learning area is then cleared (Step S15). With coincidence being otherwise obtained in connection with the second learning area, the OK flag for the second learning area is set to "1" (Step S16) and the OK flag for the first learning area is then cleared (Step S17). Subsequently, it is decided in steps S18 to S20 whether feedback control conditions for the air/fuel ratio detected by the O₂ sensor are satisfied, that is, whether the water temperature TW is above 40°C, whether the throttle opening THV is below α° and whether the engine rotation number N is below a predetermined value No. When either of the above conditions is not satisfied, the air/fuel ratio correction coefficient AL is set to 1.0 and the procedure ends (Step S2). In contrast, when all of the conditions are satisfied, the procedure proceeds to the flow chart of Fig. 3°C. In steps S21 to S27, the air/fuel ratio correction coefficient AL is added or subtracted with the proportional portion P and integration portion I in accordance with a current output voltage of the O₂ sensor. Thereafter, the OK flag for the first learning area or the OK flag for the second learning area is examined (Step S28 or S30). When the OK flag for the first learning area is "1", it is decided whether the O₂ sensor signal repeats its change from rich to lean three times in connection with the divisional area of the first learning area (Steps S29 and S32). Otherwise, when the OK flag for the second learning area is "1", it is decided whether the O₂ sensor signal repeats its change from rich to lean three times in connection with the divisional area of the second learning area (Steps S31 and S32). When the repetition of three changes is valid in connection with one of the first and second learning areas, peak values of the air/fuel ratio correction coefficient AL are sampled by predetermined times in order to calculate a mean value AL of the air/furl ratio correction coefficient (Steps S33 to S35), and one of first learning and flag and second learning end flag is set to "1" (Step S36 or S37). When one of the first learning end flag and second learning end flag is decided to be "1" (Step S38), the mean value AL of the air/fuel ratio correction coefficient is calculated, the difference δ is calculated, the learning correction amount Xn is retrieved, the learning value is renewed and the corresponding learning end flag is cleared (Steps S38 to S48) and then the procedure proceeds to the processing for calculating the injection pulse width Ti as shown in Fig. 3E. Firstly, in step S49, the learning value L 1n or L 2n for the current divisional area of the first or second learning area in compliance with the intake air amount Qa is retrieved and then, in step S50, an ultimate air/fuel ratio correction coefficient α is calculated, where the weighting coefficients k₁ and k₂ have a value of, for example, 0.5. As an alternative, the ultimate air/fuel ratio correction coefficient α may be defined by constantly employing larger one of the two renewed learning values as follows: α = AL + L 1n for L 1n ≧ L 2n α = AL + L 2n for L 1n < L 2n Subsequently, the fundamental injection amount T p is calculated on the basis of the intake air amount Qa and engine rotation number N (Step S51) and finally, an ultimate injection pulse width Ti is calculated on the basis of the various correction coefficients and the correction term (Steps S52 and S53), ending the procedure. Accordingly, in the embodiment described so far, the learning value can be renewed using the amount which is weighted in accordance with the difference between the air/fuel ratio correction coefficient and the reference value and in addition, a learning value of a particular divisional area can constantly be renewed concurrently with renewal of learning values of divisional areas adjacent to the particular divisional area in order to obtain proper and smooth controlling and the boundary in one learning area merges into the divisional area of the other learning area in order to increase the chance of learning and consequently to obtain learning of improved follow-up performance. More specifically, in contrast to the prior art wherein the learning condition is across adjacent divisional areas when the running, even though being the steady running, occurs near the boundary on the point which divides the learning area with the result that learning is retarded and the chance of learning is lessened correspondingly, the foregoing embodiment features offset setting of division points for the two learning areas so that even when the running occurs near the division point for one learning area, the learning condition does not cross the division point for the other learning area, thereby increasing the chance of learning and improving the learning performance. While the foregoing embodiment has been described as applied to the air/fuel ratio controlling, the invention may also be applied to other controlling such as ignition timing controlling. As described above, according to the invention, a learning value of a particular divisional area, together with learning values of divisional areas adjacent to the particular divisional area, can be renewed at a time by using the amount which is weighted in accordance with the difference between the air/fuel ratio correction coefficient and the reference value, thereby ensuring that excellent learning controlling can constantly be obtained on the basis of optimized learning results.

Claims: A control apparatus for internal combustion engine comprising: fundamental control amount deciding means (1, 5, 6) for determining a fundamental control amount (Ti) on the basis of operation parametera (Qa, N) of an internal combustion engine (E); feedback control means (1, 3) for correcting said fundamental control amount by feeding back a specified operation parameter (O₂V) of said internal combustion engine; correction amount storage means (1) having a plurality of divisional running areas obtained by dividing the running condition in accordance with values of said operation parameters of said internal combustion engine and storing values of a correction amount for correcting said fundamental control amount (Ti) in respective divisional running areas; and correction amount renewing means (1) for renewing the correction amount stored in said correction amount storage means in accordance with an output signal of said feedback control means (1, 3) in such a manner that when a value of the correction amount for a particular divisional running area (1,n;2,m) is renewed, concurrently therewith, values of the correction amount for divisional running areas adjacent to the particular divisional running area are also renewed, wherein when the correction amount L 1 , n ; L 2 , m for said particular divisional running area is renewed, the correction amount L 1, n-1 , L 1, n+ ₁; L₂, m-1 , L 2, m+1 for each of said adjacent divisional running areas is concurrently renewed to a value equal to a product of a weighting value (ko) and a sum of a renewed value L 1, n NEW ; L 2, m NEW of the correction amount for said particular divisional running area and a current value L 1, n-1 OLD' L 1, n+ ₁ OLD ; L 2, m-1 OLD' L 2, m+1 OLD of the correction amount for each adjacent divisional running area. A control apparatus for internal combustion engine according to Claim 1 wherein said correction amount storage means (1) comprises first and second storage areas respectively having divisional storage areas corresponding to the divisional running areas, a set of divisional storage areas of said first storage area and the other set of divisional storage areas of said second storage area being offset from each other to resemble offset of division points for the corresponding sets of divisional running areas, and said fundamental control amount (Ti) is corrected in accordance with a value (L 1n , L 2m ) of the correction amount obtained either from a divisional storage area of said first storage area which is identical to a divisional running area representative of the current running or from a divisional storage area of said second storage area which is identical to a divisional running area representative of the current running, wherein the selection, which of said divisional storing areas is to be used for correction, is made on the basis of the current value of an operation parameter (Qa). A control apparatus for internal combustion engine according to Claim 3 wherein values (L 1n , L 2n ) of the correction amount obtained form the divisional storage areas of said first and second storage areas are weighted by different coefficients (k 1 , k 2 ), respectively, and are added together. A control apparatus for internal combustion engine according to Claim 1 wherein said fundamental control amount determined by said fundamental control amount deciding means (1, 5, 6) is a fuel injection amount (Ti), said operation parameters are an intake air amount (Q₂) and an engine rotation number (N), and said specified operation parameter which is feedback-controlled by said feedback control means is an air/fuel ratio (O₂V).

Inventors: FUJISHITA, MASAKATSU, MANAKA, TOSHIO, MIYAKE, JUNJI, NAGANO, MASAMI, SAKAMOTO, MASAHIDE, TERAGAKIUCHI, AKIRA
Applicants: HITACHI, LTD.
Application year: 1988
Main classification: F02D41
IPC codes: F02D41, F02B1, F02D45