Engine air/fuel ratio control system

Abstract: A control system which controls engine air/fuel ratio and provides a measurement of efficiency in the catalytic converter (50) coupled to the engine exhaust. At the end of each of a plurality of test periods, one of three selected ratios of output signals generated from exhaust gas oxygen sensors (44, 52) positioned downstream and upstream of the catalytic converter (50) are sampled and the weighted average of the selected ratio over a plurality of test periods is determined. When the weighted average exceeds a reference ratio, an indication of converter efficiency is provided. Such an indication is also provided when the selected ratio exceeds the weighted average by a preselected amount, such as three standard deviations, for a preselected number of times. The weighted average is reset to the selected ratio when the selected ratio exceeds the weighted average by a preselected amount.

Description: The invention relates to controlling engine air/fuel ratio while concurrently monitoring the efficiency of a catalytic converter coupled to an engine exhaust. It is known to concurrently provide feedback air/fuel control and monitor of catalytic converter efficiency in response to exhaust gas oxygen sensors positioned upstream and downstream of the converter. In one known approach, converter degradation is indicated by comparing a ratio of downstream to upstream sensor switching frequency to a reference value while the vehicle is operating over a predetermined time period. In another approach, a ratio of downstream to upstream sensor amplitude is compared during the predetermined time period. USP 5119628 disclosed monitoring the ratio of reversal of an upstream and downstream oxygen sensor of an internal combustion engine having an exhaust catalyst, so as to determine catalyst deterioration. The test is performed each time the engine has completed a predetermined operation. There are numerous problems with the above approaches. For example, variations in an operator's driving habits over the predetermined time period may result in variations of test results and erroneous failure indications. An object of the invention herein is to concurrently provide engine air/fuel feedback control and monitoring of converter efficiency with less variation in monitoring results than heretofore possible. The above object and advantages are achieved, and problems of prior approaches overcome, by providing both a system and method for controlling engine air/fuel ratio and concurrently monitoring efficiency of a catalytic converter positioned in the engine exhaust. In one particular aspect of the invention, the method for controlling engine air/fuel ratio and concurrently monitoring efficiency of a catalytic converter positioned in the engine exhaust comprises the steps of: controlling fuel delivery to the engine in response to an output of an exhaust gas oxygen sensor positioned upstream of the catalytic converter and an output of an exhaust gas oxygen sensor positioncd downstream of the catalytic converter, providing a test period each time the engine has completed a predetermined operation; generating a monitoring ratio of a downstream signal derived from the downstream sensor output to an upstream signal derived from the upstream sensor output for each of the periods; characterised by providing a weighted average of the monitoring ratio over a plurality of the test periods; and indicating degradation in efficiency of the converter when the weighted average of the monitoring ratio exceeds a predetermined value. Preferably, the weighted average of the monitoring ratio is reset to the monitoring ratio after the monitoring ratio exceeds the weighted average by a preselected amount. Further, the above aspect of the invention is applicable to any form of ratio comparison such as frequency ratio, amplitude ratio, or area ratio. An advantage of the above aspect of the invention is that variations in operator habits over a test cycle should not result in an erroneous failure. An additional advantage is that use of the weighted average will not mask a significant and sudden change in converter operation because the weighted average is reset to the monitoring ratio when such a sudden change occurs. The invention will now be described further, by way of example, with reference to the accompanying drawings, in which: Figure 1 is a block diagram of an embodiment wherein the invention is used to advantage; Figure 2 is a high level flowchart of various operations performed by a portion of the embodiment shown in Figure 1; Figure 3 is a high level flowchart of various operations performed by a portion of the embodiment shown in Figure 1; Figures 4A-4B are a high level flowchart of various operations performed by a portion of the embodiment shown in Figure 1; Figures 5A-5B are a high level flowchart of various operations performed by a portion of the embodiment shown in Figure 1; Figures 6A-6B are a high level flowchart of various operations performed by a portion of the embodiment shown in Figure 1; Figures 7A-7B are graphical representations of various electrical signals generated by the embodiment shown in Figure 1; Figures 8A-8B are graphical representations of various electrical signals generated by the embodiment shown in Figure 1; Figure 9 is a high level flowchart of various operations performed by a portion of the embodiment shown in Figure 1; and Figure 10 is a graphical representation of an example of operation performed by a portion of the embodiment shown in Figure 1. Controller 10 is shown in the block diagram of Figure 1 as a conventional microcomputer including: microprocessor unit 12; input ports 14; output ports 16; read-only memory 18; random access memory 20; keep-alive memory 22; and a conventional data bus. Controller 10 is shown receiving various signals from sensors coupled to engine 28 including: measurement of inducted mass airflow (MAF) from mass airflow sensor 32; engine coolant temperature (T) from temperature sensor 40; indication of engine speed (rpm) from tachometer 42; output signal FEGO from conventional exhaust gas oxygen sensor 44, positioned upstream of catalytic converter 50; and signal REGO from another conventional exhaust gas oxygen sensor (52) positioned downstream of catalytic converter 50. Intake manifold 58 of engine 28 is shown coupled to throttle body 60 having primary throttle plate 62 positioned therein. Throttle body 60 is also shown having fuel injector 76 coupled thereto for delivering liquid fuel in proportion to the pulse width of signal fpw from controller 10. Fuel is delivered to fuel injector 76 by a conventional fuel system including fuel tank 80, fuel pump 82, and fuel rail 84. Other engine components and systems such as an ignition system are not shown because they are well known to those skilled in the art. Although a central fuel injection system is shown, the invention claimed herein may be used to advantage with other types of systems such as sequential fuel injection or carbureted systems. Those skilled in the art will also recognise that the invention claimed herein is applicable to other engine control configurations such as "stereo" control systems wherein the fuel injectors for each bank are controlled by a separate exhaust gas oxygen sensor of the exhaust manifolds for engines having a "V" configuration. Referring now to Figure 2, a flowchart of a routine performed by controller 10 to generate fuel trim signal FT is now described. In the particular example described herein, closed-loop air/fuel control is commenced (step 104) when engine temperature is within a predetermined range, the engine has been operating for at least a preselected time, and throttle position is within a preselected range. When closed-loop control commences, signal REGO is read (step 108) and subsequently processed in a proportional plus integral controller as described below. Referring first to step 126, signal REGO is multiplied by gain constant GI and the resulting product added to products previously accumulated (GI * REGO i-1 ) in step 128. Stated another way, signal REGO is integrated each sample period (i) in steps determined by gain constant GI. During step 132, signal REGO is also multiplied by proportional gain GP. The integral value from step 128 is added to the proportional value from step 132 during addition step 134 to generate fuel trim signal FT. The routine executed by controller 10 to generate the desired quantity of liquid fuel delivered to engine 28 is now described with reference to Figure 3. During step 158, an open-loop fuel quantity is first determined by dividing measurement of inducted mass airflow (MAF) by desired air/fuel ratio AFd which is typically the stoichiometric value for gasoline combustion. This open-loop fuel charge is then adjusted, in this example divided, by feedback variable FV which is generated as described below with respect to steps 160-178 shown in Figure 3. After determining that closed-loop control is desired (step 160), by monitoring engine operating conditions such as those previously described herein with reference to step 104 in Figure 2, signal FEGO is read during step 162. Signal FEGO is then trimmed (in this example by addition) with trim signal FT which is transferred from the routine previously described with reference to Figure 2 to generate trimmed signal TS. The product of integral gain value KI times trimmed signal TS (step 170) is generated and added to the previously accumulated products (step 172). That is, trimmed signal TS is integrated in steps determined by gain constant KI each sample period (i) during step 172. A product of proportional gain KP times trimmed signal TS (step 176) is then added to the integration of KI * TS during step 178 to generate feedback variable FV. Alternatively, the process described above with particular reference to Figure 3 may be performed by biasing signal FV, rather than trimming signal FEGO, with fuel trim signal FT. In one such alternative embodiment, two proportional gain constants (KP 1 and KP 2 ) are used to advantage. Proportional gain KP 1 multiplies signal FEGO when it switches from a lean to a rich indicating state and proportional gain KP 2 multiplies signal FEGO when it switches from a rich to a lean state. Proportional term KP 1 is incremented when fuel trim signal FT indicates a lean bias is desired and proportional term KP 1 is decreased (or KP 2 incremented) when a rich bias is desired by fuel trim signal FT. The first of three examples for providing an indication of converter efficiency is now described with particular reference to the flowchart shown in Figures 4A-4B. During step 198 and step 200, signal FV is band pass filtered and then rectified. A graphical representation of signal FV during typical engine operation is show in Figure 5A and its filtered output shown in Figure 5B (before rectification). Similarly, signal REGO is band pass filtered, and the filtered output rectified (see steps 204 and 206 in Figure 4A). A graphical representation of signal REGO during typical engine operation is shown in Figure 6A, and the signal output after band pass filtering is shown in Figure 6B (before rectification). It is noted that the band pass filter operation facilitates the subsequent operation of computing area under the signal curves (i.e., integration). Continuing with Figures 4A-4B, initial engine conditions are checked during step 210 before entering the test cycle described below. More specifically, the test cycle is entered when engine temperature (T) is within a predetermined range, a predetermined time elapsed since the engine was started, and the closed loop air/fuel control has been operable for a preselected time. During steps 220, 224, and 226, the inducted air flow range in which engine 28 is operating is determined. These ranges are described as range (1), range (2)..., and range (n), for this example wherein "n" inducted air flow ranges are used to advantage. Assuming engine 28 is operating within air flow range (1), the transition between states of signal FV are counted to generate count signal CFV 1 . While engine operation remains within airflow range (1), count CFV 1 is incremental each transition of signal FV until count CFV 1 is equal to maximum count CFV 1max (steps 232 and 236). The above described operation occurs for each airflow range. For example, when engine 28 is operating within air flow range (n), as shown in step 226, count CFV n is incremental each transition of feedback variable FV until it reaches maximum count CFV nmax (steps 252 and 256). As described below with particular reference to step 274, a converter test cycle or period is completed when engine 28 has operated for a predetermined period in each of "n" airflow ranges. Each of these predetermined periods is generated when feedback variable FV has completed a preselected number of transitions or cycles. During each background loop of controller 10, the area under the curve formed by feedback variable FV (after it is band pass filtered and rectified) is computed since the last background loop. This partial area is shown as signal AFV i in step 260. Signal AFV i is added to the areas accumulated during previous background loops to generate total area AFV t (step 264). Proceeding in a similar manner to that described above with respect to the generation of total area AFV t , the area under the curve formed by signal REGO (after it is band pass filtered and rectified) is computed during steps 268 and 270. More specifically, during each background loop of controller 10, the area under the REGO curve is computed during the present background loop (step 268) and added to the previously accumulated areas to generate total area AREGO t (step 270). Those skilled in the art will recognise that the above described operations of computing area under a curve defined by either signal FV or signal REGO, may be performed by integrating respective signal FV or signal REGO. Each area computation of signal AFV i or signal AREGO i is similar to an integration step during each background loop. During step 274, a determination is made that the test cycle or period has been completed when the count in transitions of feedback variable FV for each airflow range (CFV 1 ...CFV n ) has reached its respective maximum value (MAX). After the test cycle has been completed, area ratio ARAT is computed by dividing the total area under the feedback variable curve (AFV t ) into the area under the REGO curve (AREGO t ) during step 278. Variables CFV 1 ...CFV n , AFV t, and AREGO t are also reset (step 280). When computed area ratio ARAT is greater than reference or predetermined area ratio ARAT f , as shown in step 282, area ratio flag ARAT is set (step 284). The second of three examples presented herein for providing an indication of converter efficiency is now described with particular reference to the flowchart shown in Figures 5A-5B. During step 298, initial engine conditions are checked (see step 210 in Figure 4A) before entering the test cycle described below. During steps 300, 304, and 306, the inducted airflow range in which engine 28 operating is determined. These ranges are described as range (1), range (2), and range (n) for this example wherein "n" inducted airflow ranges are used to advantage. Assuming engine operation is within airflow range (1), transitions between states of signal FEGO are counted to generate count signal CF 1 . This count is compared to maximum count CF 1max during step 312. While engine operation remains within airflow range (1), count CF 1 is incremented each transition of signal FEGO until count CF 1 is equal to maximum count CF 1max (step 316). Similarly, count CR 1 is incremented each transition of signal REGO until count CF 1 = CF 1max . The above described operation occurs for each airflow range. For example, when engine 28 is operating within airflow range (n) as shown in step 306, test period (n), count CF n , and count CR n are generated as shown in steps 332, 336, and 338. During step 350, a determination is made as to whether engine 28 has operated in all airflow ranges (i···n) for the required minimum duration or test period. Stated another way, step 350 determines when each count of transitions in signal FEGOS (CF 1 , CF 2 , ···CF n ) have reached their respective maximum values (CF 1max , CF 2max , ···CF nmax ). Each count (CF 1max ···CF nmax ) of transitions in signal FEGOS is then summed in step 354 to generate total count CF t . Total count CR t is generated in step 356 by summing each count (CR 1 ···CR n ) for each airflow range during the test period. A ratio of total count CR t to total count CF t is then calculated during step 360 and all counts subsequently reset in step 362. If the calculated ratio is greater than a preselected reference ratio (RAT f ) a frequency ratio flag is set (steps 366 and 370) indicating that converter efficiency has degraded below a preselected limit. Referring now to Figures 6A-6B, an additional indication of converter efficiency is now described wherein peak-to-peak amplitude ratio of signal REGO is compared to peak-to-peak amplitude of signal FV. Steps 398-456 are processed in a manner similar to that previously described herein with respect to corresponding steps 198-256 shown in Figures 4A-4B. During step 398 and step 400, signal FV is band pass filtered and then rectified. Similarly, signal REGO is band pass filtered, and the filtered output rectified (see steps 404 and 406 in Figure 6A). Initial engine conditions are checked during step 410 before entering the test cycle described below. The inducted airflow range in which engine 28 is operating is determined during steps 420, 424, and 426. When engine 28 is operating within airflow range (1), the transition between states of signal FV are counted to generate count signal CFV 1 . Each transition of signal FV, count CFV 1 is incremented until it reaches its maximum count CFV 1max (steps 432 and 436). The same procedure is followed when engine 28 is operating within airflow range (n) as shown in steps 426, 452, and 456. This portion of the converter test cycle or period is completed when engine 28 has operated in each of "n" airflow ranges during a preselected number of transitions in signal FV. A similar result may also be achieved by counting transitions in signal FEGO in place of transitions in signal FV. While engine 28 is operating in airflow range (1), peak amplitude PARGO 1i of signal REGO is stored during each cycle (i) of signal FV in step 460. During step 464, peak-to-peak signal PPREGO 1i is calculated by adding peak amplitude PARGO 1i during the present (i) cycle to the peak amplitude during the previous (i -1) cycle. Total peak amplitude PPREGO 1t for airflow range (1) is calculated by adding peak-to-peak amplitude PPREGO 1i from each FV cycle. Continuing with the example presented for airflow range (1), peak amplitude PAFV 1i of feedback variable FV is stored during each cycle (i) of signal FV. Peak-to-peak amplitude PPFV 1i is calculated in step 474 by adding peak amplitude PAFV 1i during each signal FV cycle (i) to peak amplitude PAFV 1i -1 from the previous (i -1) cycle of signal FV. Total peak-to-peak amplitude PPFV 1t of signal FV while engine 28 is operating in airflow range (1) is calculated in step 478 by adding peak-to-peak amplitude PPFV 1i for each cycle (i) of signal FV. Total peak-to-peak amplitude PPREGO nt of signal REGO while engine 28 is operating in airflow range (n) is calculated during steps 480, 484, and 488 in a manner substantially the same as previously described herein with respect to corresponding steps 460, 464, and 468. Similarly, peak-to-peak signal PPFV nt is calculated during steps 490, 492, and 498 in a manner substantially the same as previously described herein with respect to corresponding steps 470, 474, and 478. The test cycle for the example presented in Figures 6A-6B is completed when the count in transitions of signal FV for each airflow range (CFV 1 ...CFV n ) reaches its respective maximum value (step 500). After completion of this test period or cycle, the total peak-to-peak amplitude of signal FV (PPFV T ) is calculated in step 504 by summing the total peak-to-peak amplitude of signal FV for each of the airflow ranges. Similarly, the total peak-to-peak amplitude of signal REGO over this test period is calculated in step 506. During step 510, a ratio of peak-to-peak amplitudes (PPRAT) is calculated by dividing total peak-to-peak amplitude of signal FV into total peak-to-peak amplitude of signal REGO after completion of the test period. When peak-to-peak ratio PPRAT is greater than reference ratio PPRAT F (step 512), the peak-to-peak ratio flag is set in step 516. Referring now to the routine shown in Figure 9, selection of the appropriate monitoring ratio and computation of its weighted average is now described. After initial conditions are verified in step 600, in a manner similar to that previously described with reference to step 210 in Figure 4A, the appropriate monitoring ratio is selected in step 602. For the particular examples presented herein, the selected monitoring ratio may be either area ratio ARAT (from the routine shown in Figures 4A-4B), or frequency ratio FRATIO (from the routine shown in Figures 5A-5B), or peak-to-peak amplitude ratio PPRAT (from the routine shown in Figures 6A-6B). A weighted average of selected ratio SRAT is computed each test cycle (p) during step 608 provided that selected ratio SRAT is within predetermined range of the ratio averaged over previous test cycles (AVRAT p-1 ) as determined in step 604. For this particular example, predetermined range was selected as three standard deviations from the average. Weighted average AVRAT p for the present test cycle is computed in step 608 by adding a percentage (shown in this example as x) of previous weighted average AVRAT p -1 to the product of the complimented percentage (1 -x) times selected ratio SRAT from the present test cycle (p). For the particular example presented herein percentage x is selected as eighty percent. When selected ratio SRAT is greater than deviation from previous average ratio AVRAT p -1 (step 604), the weighted average for the present test period (AVRAT p ) is reset to selected ratio SRAT in step 612. Concurrently, the p flag for the current test period is set in step 614. The weighted averaging is thereby prevented from inadvertently masking a sudden and significant change in converter efficiency. The test period is completed (step 620) when the count in transitions of feedback variable FV reaches a preselected number for each airflow range (see step 274 in Figure 4B). Weighted average AVRAT p for this test period is then compared to a preselected or predetermined value (AVRAT f ) in step 624. The catalytic monitor flag is set in step 626 in response to an affirmative comparison indicating degraded converter efficiency. The monitor flag (step 626) is also set when selected ratio SRAT exceeds the average ratio by for both the present and previous test cycles (see step 628). The operation described above with respect to Figure 9, may be better understood by reviewing a graphical representation of an example of operation presented in Figure 10. For this particular example, a hypothetical selected ratio SRAT is shown on line 630, corresponding weighted average (AVRAT) is shown on line 632, deviation above weighted average AVRAT is shown on line 634, and the reference ratio indicating degradation in converter efficiency is shown on line 638. Selected ratio SRAT (line 630) and weighted average ratio AVRAT (line 632) are shown updated at the end of each test period (TP1-TP7). For the particular example presented herein, it is noted that at the end of test period one (TP1), selected ratio SRAT is above the reference ratio shown by line 638. However, this appears to be a casual fluctuation caused by conditions such as operator habit and is not indicated as a failure because weighted average ratio AVRAT is below reference line 638. At the end of test period 6 (TP6), selected ratio SRAT (line 630) exceeds weighted average ratio AVRAT by more than. Accordingly, weighted average AVRAT is reset to selected ratio SRAT as shown at TP6 in Figure 10. For the example presented herein, the reset weighted average AVRAT exceeds reference line 638 resulting in an indication of converter degradation. Thus, it is seen that although the weighted average computation prevents erroneous indications, it will not hamper an indication of sudden degradation. An example of operation is presented wherein both upstream sensor 44 and downstream sensor 52 are two-state exhaust gas oxygen sensors. The invention claimed herein, however, may be used to advantage with other sensors such as proportional sensors.

Claims: A method for controlling engine air/fuel ratio and concurrently monitoring efficiency of a catalytic converter (50) positioned in the engine exhaust, comprising the steps of: controlling fuel delivery to the engine (28) in response to an output of an exhaust gas oxygen sensor (44) positioned upstream of the catalytic converter (50) and an output of an exhaust gas oxygen sensor (52) positioned downstream of the catalytic converter (50); providing a test period each time the engine (28) has completed a predetermined operation; generating a monitoring ratio of a downstream signal derived from said downstream sensor (52) output to an upstream signal derived from said upstream sensor (44) output for each of said test periods; characterised by providing a weighted average of said monitoring ratio over a plurality of said test periods; and indicating degradation in efficiency of the converter when said weighted average of said monitoring ratio exceeds a predetermined value. A method as claimed in claim 1, wherein said downstream signal is derived from frequency in transitions of said downstream sensor output and said upstream signal is derived from frequency in transitions of an integration of said upstream sensor output. A method as claimed in claim 1, wherein said weighted average of said monitoring ratio is reset to said monitoring ratio after said monitoring ratio exceeds said weighted average by a preselected amount. A method as claimed in claim 3, wherein said preselected amount comprises three standard deviations from said weighted average. A method as claimed in claim 1, wherein said indication of converter degradation is also indicated when said monitoring ratio exceeds said weighted average of said monitoring ratio by a preselected amount for a preselected number of times. A method as claimed in claim 1, further comprising a step of providing said test period by determining when the engine has completed operation within each of a plurality of inducted airflow ranges for at least a minimum duration in each of said airflow ranges. A method as claimed in claim 6, wherein said minimum duration is generated by counting a preselected number of transitions in said upstream exhaust gas oxygen sensor output. A method as claimed in claim 1, wherein said downstream signal is derived from amplitude of said downstream sensor output and said upstream signal is derived from an integration of said upstream sensor output. A method as claimed in claim 1, wherein said downstream signal is derived from an integration of said downstream sensor output and said upstream signal is derived from an integration of a rectified integration of said upstream sensor output. A method as claimed in claim 1, further comprising a step of band pass filtering said downstream sensor output and said upstream sensor output. Apparatus for controlling engine air/fuel ratio and indicating efficiency of a catalytic converter positioned in the engine exhaust, comprising; control means for controlling fuel delivered to the engine in response to a feedback variable derived by integrating an output of an exhaust gas oxygen sensor positioned upstream of the converter and an output of an exhaust gas oxygen sensor (52) positioned downstream of the catalytic converter; generating means for generating a monitoring ratio related to a ratio of frequency of transitions in said feedback variable to frequency in transitions of said downstream exhaust gas oxygen sensor output during each of a plurality of test periods; test means for generating each of said test periods when the engine has completed operation within each of a plurality of inducted airflow ranges for at least a predetermined duration in each of said airflow ranges; characterised by averaging means for averaging said monitoring ratio over a plurality of said test periods, said averaged monitoring ratio being reset to said monitoring ratio after said monitoring ratio exceeds a predetermined value; and indicator means for indicating degraded converter efficiency when said averaged monitoring ratio exceeds a preselected ratio. A system as claimed in claim 11, further comprising first filter means for band pass filtering said feedback variable and second filter means for band pass filtering said downstream exhaust gas oxygen sensor output. A system as claimed in claim 11, wherein said control means further includes trim means for trimming said feedback variable in response to an integration of said downstream sensor. A system as claimed in claim 11, wherein said test means determines operation within a particular airflow range by comparing inducted airflow to a preselected minimum value and a preselected maximum value so that converter efficiency is determined over a range of exhaust gas flows.

Inventors: ORZEL DANIEL V, TRUONG TRI T, ZIMLICH GLENN A, ORZEL, DANIEL V., TRUONG, TRI T., ZIMLICH, GLENN A.
Applicants: FORD FRANCE, FORD MOTOR CO, FORD WERKE AG, FORD FRANCE S. A., FORD MOTOR COMPANY LIMITED, FORD-WERKE AKTIENGESELLSCHAFT
Application year: 1994
Main classification: F02D41
IPC codes: F02D41, F02D45, F01N11