Air flow metering apparatus for internal combustion engines

Abstract: Disclosed is an air flow metering apparatus for an internal combustion engine of the type in which heating current supply to a hot-wire air flow meter (1) for detec­ tion of engine suction air flow rate is made intermittent in synchronism with the rotation of the engine so as to directly generate a flow rate detection signal in the form of a pulse width signal. The apparatus comprises a computing means (20b) for generating a correction data by using variables including the rotation period of the engine and the opening rate of a suction air flow control means, whereby an air flow data obtained from the pulse width signal is corrected on the basis of the correction data.

Description: BACKGROUND OF THE INVENTION FIELD OF THE INVENTION The present invention relates to an air flow metering apparatus for metering suction air flow rate in an internal combustion engine such as a gasoline engine, and, more particularly, relates to an air flow metering apparatus using a heat resistor. DESCRIPTION OF THE PRIOR ART To sufficiently realize a high performance and exhaust gas control in cars, a system of the kind for controlling engines through detecting suction air flow rate has been put into practice. With the advance of the system, various kinds of air flow meters have been proposed and have been used practically. For example, a hot-wire air flow meter or sensor is one of the air flow meters. In general, an electronic control apparatus for a car is mainly constituted by a micro-computer. It is therefore necessary that the detection signal of such an air flow meter or the like acting as an apparatus for generating an input signal for the control apparatus is taken into the control apparatus in the form of digital signal after the detection signal has been subject to analog-to-digital conversion. Accordingly, it is desirable to design flow meters for cars so that the output signals thereof can be directly made into the form of digital signals. To this end, there has been disclosed an air flow meter, so to speak, a pulse-width modulation air flow meter, for example, in Japanese Patent Unexamined Publication No. 62-110123. In the so-called pulse-width modulation air flow meter, the supply of a current to a hot wire is made intermittent in synchronism with the rotation of an engine so that the air flow rate can be directly converted into an output pulse-width signal by using the fact that the time required for heating the hot wire to a predetermined temperature is considered to be a predetermined function of air flow rate. Similar such air flow meters are disclosed in EP-A-0206215, EP-A-212076 and US-A-4297881. In the two pending European patent applications there is disclosed an air flow meter having a hot-wire probe in an air intake and an air temperature probe for detecting the air temperature in the air intake tube, means for generating a cyclic signal in synchronism with a crank angle of the engine, a flip flop circuit for starting supply of a heating current to the hot-wire probe in accordance with the cyclic signal, comparator means for deciding that a temperature difference between the hot-wire probe and the air temperature probe has reached a predetermined value, and wherein the flip flop circuit also stops supply of the heating current in accordance with the signal from the comparator and outputs an air flow rate signal representative of the period while supply of the heating current to the hot-wire probe is discontinued. In the prior art meters of the type shown in Fig. 17, however, many problems remain as follows. A first problem is to supply a sufficiently regulated current to heat the hot wire. Another problem is that even when the current supply is cut off, sometimes, the output voltage of the comparator may become high because of variations in its input offset voltage. One possibility to solve this problem is shown in Fig.14,15, which do not fall within the scope of the claims. A similar method of trimming the offset voltage is known from Horowitz and Hill: The Art of Electronics, 1980, pages 103-106, for an operational amplifier having additional terminals for trimming the two inputs of the amplifier for zero signal output. Such trimming is required because the input stages are not perfectly balanced and if the two inputs were connected together for zero input signal, the output would saturate at either V CC or V EE . The difference in input voltages necessary to bring the output voltage to zero is termed the input offset voltage. By connecting a potentiometer to the additional terminals, and a voltage source to the tapping point of the potentiometer, the input offset voltage may be brought toward zero. Another problem is errors caused by the pulsation of suction air as shown in Fig. 8. SUMMARY OF THE INVENTION According to this invention there is provided an air flow metering apparatus for an internal combustion engine as claimed in claim 1 herein. BRIEF DESCRIPTION OF THE DRAWINGS Other features and advantages of the present invention will be apparent from the following description taken in connection with the accompanying drawings, wherein: Fig. 1 is a block diagram showing an embodiment of the hot-wire air flow meter according to the present invention; Fig. 2 is a detailed block diagram of a masking circuit; Fig. 3 is a view for explaining the operation of the masking circuit; Fig. 4 is a circuit diagram showing the detail of an output adjusting circuit; Fig. 5 is a view for explaining the operation of the output adjusting circuit; Fig. 6 is a characteristic diagram of the air flow rate; Fig. 7 is a flow chart showing an air flow rate calculating procedure; Fig. 8 is a characteristic diagram for explaining an air pulsating error; Fig. 9 is a view for explaining a correction map; Fig. 10 is flow chart showing a correction procedure; Fig. 11 is a block diagram of a computer; Fig. 12 is a block diagram showing another embodiment of the air flow meter according to the present invention; Fig. 13 is a block diagram showing a further embodiment according to the present invention; Fig. 14 is a view for explaining an example of an offset adjusting circuit, which does not fall within the scope of the claims; Fig. 15 is a detailed circuit diagram of the offset adjusting circuit of Fig. 14; Fig. 16 is a block diagram showing a further embodiment of the air flow meter according to the present invention; Fig. 17 is a block diagram showing a conventional hot-wire air flow meter; Fig. 18 is a view for explaining the principle of the operation of the hot-wire air flow meter; Figs. 19 and 20 are views showing examples of construction of the hot-wire probe; Fig. 21 is a block diagram of a hot-wire air flow meter with air temperature compensation; Fig. 22 is a characteristic diagram showing the operation thereof; Fig. 23 is a characteristic diagram of a conventional three-dimensional map; Fig. 24 is a characteristic diagram of a two-dimensional map; Fig. 25 is a flow chart showing a procedure for processing the two-dimensional map; Figs. 26 and 29 are characteristic diagrams of the flow rate signal in the case where the amount of air is changed step by step; Fig. 27 is a view for explaining a method for measurement twice or more for every air-intake stroke; Fig. 28 is a flow chart showing a procedure for calculating the amount of air in the air-intake stroke; and Fig. 30 is a view for explaining another method for measurement twice or more for every air-intake stroke. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to the accompanying drawings, embodiments of the present invention will be described in detail in connection with the above-mentioned objects of the invention, for the sake of arrangement of the invention. First, the foregoing prior art will be described for the better understanding of the present invention. Referring now to Fig. 17, a conventional air flow meter is shown. In Fig. 17, the conventional air flow meter is provided with a so-called hot wire or a hot-wire probe 1, a temperature-compensating resistor called "cold wire" or a temperature probe 2, a comparator 3, a flip-flop circuit 4, a switch 5, and a constant-current regulated power supply 6. The flip-flop circuit 4 has a set terminal for receiving a so-called crank angle signal generated for every predetermined engine rotation angle as the engine rotates. When the crank angle signal is received, the voltage level of an output Q terminal of the flip-flop circuit 4 becomes high. As the result, the switch 5 is turned on, so that a current from the constant-current regulated power supply 6 is fed to the hot wire 1. As the result, the temperature of the hot wire 1 rises so that the resistance thereof increases. When the temperature of the hot wire 1 reaches a predetermined value, the output signal of the comparator 3 becomes high. This output signal is fed to the reset terminal of the flip-flop circuit 4, so that the voltage level of the output Q terminal of the flip-flop circuit 4 becomes low. As the result, the switch 5 is turned off, so that the current supply to the hot wire 1 is cut off. The cutting-off of the current supply to the hot wire 1 is continued until the set terminal of the flip-flop circuit receives a next crank signal. During the cutting-off of the current supply to the hot wire 1, the hot wire 1 is cooled by suction air flow. In the case where the air flow rate is large, the degree of cooling the hot wire 1 during the cutting-off of the heating current is intensified to prolong the next current supply period required for heating the hot wire 1 to the predetermined temperature. Accordingly, the air flow rate Q a can be obtained as a function of the current supply period T and the crank angle signal period T 0 , which corresponds to the reciprocal of the rotation speed N of the engine, as shown in Fig. 18. As described above, predetermined high accuracy will be required for metering the suction air flow rate in a car engine, in addition to the consideration on the variations in apparatus, the time aging and the like. However, the aforementioned prior art lacks consideration for the influence of the pulsating suction air and the influence of the heat capacity of the hot-wire probe in the case where the rotation speed of the engine is relatively small and the load upon the engine is relatively heavy. There arises a problem in that sufficiently high accuracy cannot be kept. In respect to the hot-wire probe used in this kind of air flow meter, relatively simple construction and good durability are required in the point of view of use in a car. To this end, use of hot-wire probes as shown in Figs. 19 and 20 has been proposed heretofore. Fig. 19 shows an example of the construction of the hot-wire probe which has a ceramic cylinder 22 used as a bobbin, a fine platinum wire 23 wound thereon, a covering material 24 such as glass for covering the surface thereof, suitable lead wires 25, and supporting members 26 for supporting the ceramic bobbin 22 through the lead wires 25. Fig. 20 shows another example of the construction of the hot-wire probe which has a ceramic flat board 27, a film resistor 28 formed of a resistance material dependent on temperature and applied to the surface of the ceramic flat board by a thin-film or a thick-film technique, and supporting members 29 for supporting the ceramic flat board coated with the film resistor 28. In use of either of the aforementioned hot-wire probes, the heat capacity thereof becomes very large, so that when a temperature change occurs at the intermittent supply of current to the hot-wire probe becomes not so large. Accordingly, a highly accurate comparator is required for detection of the temperature change. This brings increase of cost. Further, the offset characteristic of the comparator may make it difficult to keep high accuracy. To solve the aforementioned problem, the following arrangement is used in the present invention. Referring to Fig. 1, an embodiment of the air flow meter according to the present invention is shown. In Fig. 1, the air flow meter is provided with a hot wire 1, a resistance wire 2, comparators 3 and 11, a flip-flop circuit 4, transistors 7 and 8, resistors 9, 10, 12 and 14, a variable resistor 13, a crank angle sensor 15, a starting power supply 16, a masking circuit 17, an output adjusting circuit 18, and a control micro-computer 20. When the flip-flop circuit 4 is set on the basis of the signal from the crank angle sensor 15, the voltage level of the output Q terminal of the flip-flop circuit 4 becomes low, so that the transistor 7 is turned off and the transistor 8 is turned on. On the other hand, when the flip-flop 4 is reset by the output of the comparator 3, the output terminal Q becomes high, so that the transistor 7 is turned on and the transistor 8 is turned off. As the result, the transistor 8 serves as the switch 5 in the prior art of Fig. 17, so that a pulse signal having a pulse width which is changing corresponding to the air flow rate Q a can be obtained from the output Q terminal of the flip-flop circuit 4. In the ON state of the transistor 8, the comparator 11 feeds a current to the base of the transistor 8. The comparator 11 compares a voltage drop IR 9 caused by the resistor 9 with a reference voltage V r given by dividing the voltage from the constant voltage regulated power supply through the resistors 12 and 13, so that the comparator 11 generates a current corresponding to the difference between IR 9 and V r . As the result, the heating current I fed to the hot wire 1 from the power supply is regulated to a predetermined value determined by the reference voltage V r . In short, a sufficiently regulated current I can be supplied to heat the hot wire 1. In manufacture, variations in characteristics for the different devices or elements used for the comparator cannot be avoided. As a result, even when the current supply is cut off, sometimes, the output voltage of the comparator 3 may become high because of variations in its input offset voltage or the like. In the case where such an element or device is installed as the comparator, the output state of the comparator is never inverted though the set input of the flip-flop circuit 4 changes. As the result, no current is supplied to the hot wire 1, so that the operation of the flow meter cannot start. Accordingly, it is difficult to use the flow meter under no adjustment. Therefore, the starting power supply circuit 16 is provided in this embodiment. The circuit 16 is constructed so that a fine electric potential is applied to the - (minus) input terminal of the comparator 3 through a diode 16a from a predetermined constant voltage regulated power supply. In short, an air flow meter which always securely operates under no adjustment can be provided easily. The masking circuit 17 is provided to mask the ignition signal to thereby prevent operation errors due to noises from occurring. The detailed construction of the masking circuit 17 is shown in Fig. 2 in which the reference numeral 17a designates an electronic switch, and 17b designates a mono-multi vibrator. The electronic switch 17a is constituted by a digital switch formed by a combination of analog switches and logical circuits. The electronic switch 17a is connected so that the signal from the crank angle sensor 15 is fed to the set input terminal of the flip-flop circuit 4 through the electronic switch 17a. The mono-multi vibrator 17b is triggered by the ignition signal, whereafter the vibrator 17b is reset with a predetermined time constant. In short, the vibrator 17b serves to close the electronic switch 17a when it is triggered. Even when an ignition noise is superposed on the signal from the crank angle sensor 15 as shown in the symbol 1 ○ in Figs. 2 and 3, the OFF control of the electronic switch 17a during the period of occurrence of the ignition noise is carried out by the operation of the mono-multi vibrator 17b, so that the ignition noise is masked as shown in the symbol 2 ○ in Figs. 2 and 3, to make it possible to prevent operation errors from occuring. In the aforementioned flow meter, the gain adjustment and zero-point adjustment are required in order to make the heating current supply period for the hot wire 1, which becomes an air flow signal, agree with a predetermined characteristic. The gain adjustment can be attained by trimming the resistor 13 to adjust the current to be supplied to the hot wire 1 or by trimming the resistor 10 to change the target temperature of the hot wire 1. In this embodiment, the output adjusting circuit 18 is provided to perform the zero-point adjustment. Fig. 4 shows the detailed construction of the output adjusting circuit 18 which has two transistors 18a and 18b, a comparator 18c, three fixed resistors 18d to 18f, variable resistors 18g and 18h, and a capacitor 18i. The operation of the output adjusting circuit 18 will be described with reference to Fig. 5. The signal appearing in the output Q terminal of the flip-flop circuit 4 is as shown by the symbol 1 ○ in Fig. 5. The signal is processed by the transistors 18a and 18b, the resistors 18d to 18f and the capacitor 18g to thereby be converted into a waveform having time constants in the rise and fall periods thereof as shown by the symbol 2 ○ in Fig. 5. The signal represented by the symbol 2 ○ in Fig. 5 is fed to the + (plus) input terminal of the comparator 18c in which the signal is compared with a predetermined level L set by the two variable resistors 18g and 18h. As the result, a signal having a waveform as shown by the symbol 3 ○ in Fig. 5 can be obtained at the output terminal of the comparator 18c. Accordingly, the pulse width of the signal obtained in the output terminal 3 of the comparator 18c can be adjusted by changing the electric potential level L of the - (minus) input terminal of the comparator by adjusting the variable resistors 18g and 18h. In short, the zero-point adjustment can be carried out by the output adjusting circuit 18. Signal processing by the computer 20 will be described hereunder. The output from the output adjusting circuit 18 is fed to an air flow computing means 20a. The processing executed by the computing means 20a is a procedure for calculating the air quantity IQ a sucked into the cylinder during an air-intake stroke, on the basis of the heating current supply period T and the air-intake stroke period T 0 . The details of the procedure will be described with reference to Figs. 6 and 7. In general, the relations between the heating current supply period T, the air-intake stroke period T 0 (which is the reciprocal of the rotation speed of the engine) and the cylinder suction air quantity IQ a are as shown in Fig. 6, in which C in the ordinate is a constant (inclusive of 0). In this embodiment, the relations as shown in Fig. 6 are formed as a table, so that a necessary data IQ a can be obtained by searching the table on the basis of the data T and T 0 and the constant C. Fig. 7 is a flow chart showing the contents of the procedure executed by the computing means 20a. When execution of the procedure starts, necessary data are fetched (step 32). Then an arithmetic operation necessary for searching the table of Fig. 6 is carried out (Step 33). Then the cylinder suction air quantity IQ a is obtained by searching the table (Step 34). In the case where suction air is substantially constant, the air quantity can be measured with sufficiently high accuracy. However, in the case where suction air pulsates, a considerable error is produced to lower the accuracy. Therefore, the correction computing means 20b is provided in this embodiment to attain high accuracy at all times. The procedure executed by the correction computing means 20b will be described hereunder. An error caused by the pulsation of suction air is as shown in Fig. 8. As the opening of the throttle valve for controlling suction air flow rate decreases, the pulsation of suction air increases, and, accordingly, the measurement value of the air quantity decreases relative to the true value thereof. Therefore, a map as shown in Fig. 9 is provided in this embodiment. A correction value α is obtained by searching the map on the basis of the rotation speed N (1/T 0 ) of the engine and the opening of the throttle valve, so that the data IQ a is corrected on the basis of the correction value to thereby obtain the true value of the air quantity. Fig. 10 is a flow chart showing the procedure executed by the correction computing means 20b. When the execution of the procedure states, various necessary data for searching the map are fetched (step 36). Then a correction value α is obtained by searching the map of Fig. 9 (Step 37). Then the output signal of the computing means 20a is multiplied by the correction value α, and the correction procedure is terminated (Step 38). Accordingly, in this embodiment, the suction air flow rate can be metered with high accuracy at all times regardless of the operation condition of the engine. In short, high-accurate air-fuel ratio control can be attained. In Fig. 1, the reference numeral 20c designates a fuel supply quantity computing means for computing the amount of fuel supply for the air-fuel ratio control. Although above description has been made by classifiying the respective means 20a, 20b and 20d into blocks, it is to be understood that all the procedures by those means are executed by one computer 20. Fig. 11 shows an example of the construction of the computer 20. The computer 20 has a CPU 41 which receives various input signals. Of those input signals, analog signals, such as a signal representing the cooling water temperature in the engine, a signal representing the opening of the throttle valve, and the like, are supplied to the CPU through an analog input port 42. On the other hand, pulse signals, such as a signal from the crank angle sensor 15 (for measuring the rotation speed of the engine), a signal from the output adjusting circuit 18, and the like, are supplied to the CPU through a digital input port 43. The CPU 41 is a central processing unit for performing digital arithmetic operations. The CPU 41 are provided with an RAM 44 for temporarily storing data in the middle of an arithmetic operation and an ROM 45 for storing programs in advance, and executes the aforementioned various arithmetic operations. For example, output circuits 46 and 47 in Fig. 11 represent a fuel injection valve and an ignition device, respectively. Fig. 12 shows another embodiment of the present invention, in which the present invention is applied to a conventional hot-wire flow meter driving circuit disclosed in U.S. Patent 4,297,881. In Fig. 12, an intermediate voltage obtained by dividing the voltage across the opposite ends of the hot wire 1 by resistors 50 and 51 is drawn out and, at the same time, the temperature-compensating resistor wire 2 is inserted into a feedback circuit of a second comparator 53. The output from the comparator 53 is connected to the - (minus) input terminal of the comparator 3. In this embodiment, the current flowing in the resistor wire 2 can be reduced. As the result, the apparatus can be operated even in the case where the resistance of the resistor wire 2 is small. Accordingly, this embodiment has an advantage in that a material of the same form and the same resistance can be used commonly to both the hot wire 1 and the resistor wire 2. Further, in this embodiment, the output impedance of the comparator 53 is very small. Accordingly, the starting power supply circuit 16 can be formed simply by connecting a predetermined electric potential point and the - (minus) input terminal of the comparator 3 through a resistor 16b. As the result, the diode 16a used in the embodiment as shown in Fig. 1 becomes useless. Fig. 13 shows a further embodiment of the present invention, in which the input offset of the comparator 3 is adjusted. As is well known, the comparator of the kind as described above has an offset characteristic in the input thereof. As described above, that available in the form of an individual element or device must be used as it is as the comparator of the type described above. Accordingly, there are variations in characteristics of the individual comparator used. The offset voltage ΔU varies widely depending on the used individual comparator. On the other hand, in this flow meter, the output signal of the comparator is changed over when voltages V a and V b as shown in Fig. 13 satisfy the following relation. V a + ΔU = V b Accordingly, without any change, the accuracy of the flow meter will be lowered because of the offset voltage ΔU and, at the same time, the characteristic thereof will vary to make it impossible to keep high accuracy. Further, the offset voltage ΔU depends on the temperature to give a worse influence on the accuracy. Therefore, a voltage setting circuit constituted by a resistor 60 and a variable resistor 61 is provided in this embodiment. A predetermined voltage V C set by this circuit is applied to the input terminal of the comparator 3 through the resistor 62 to thereby cancel the offset voltage ΔU. The polarity of the offset voltage ΔU may be inverted depending on the used comparator. Therefore, it is necessary to change the connection as shown in the broken line of Fig. 13 in accordance with the polarity. Accordingly, in this embodiment, the air flow rate can be metered with high accuracy at all times regardless of the used comparator. In this case, the variable resistor 61 is trimmed while the output voltage of the comparator 3 is measured in the actual case. Another example of the offset adjustment, which does not fall under the scope of the claims, is shown in Fig. 14. In Fig. 14, the fact that the comparator 3 is an operational amplifier is used. Because the circuit configuration of the operational amplifier is as shown in Fig. 15, the offset voltage can be canceled by connecting the variable resistors 63 and 64 respectively to the terminals 3 and 4 of the operational amplifier. Fig. 16 shows a further embodiment of the present invention, in which the offset voltage canceling method is applied to the flow meter using the second comparator as shown in Fig. 12. The total offset voltage of the comparators 53 and 3 is canceled by additionally providing resistors 60 and 61. In Fig. 16, the connection can be changed as shown in the broken line in accordance with the polarity of the total offset voltage. The offset voltage can be set to an optimum operation point by trimming the variable resistor 61 in the same manner as described above. In this embodiment, a predetermined constant voltage may be applied to a selected one of the input terminals of the comparator 3. In this case, the comparator 3 is considered to be an operational amplifier having an infinite amplification factor. In such a configuration, the cancellation of the total offset voltage changes greatly though the constant voltage to be applied changes slightly. In this embodiment, the amplification factor of the comparator 53 as an operational amplifier is suppressed to a considerably small value because the voltage for canceling the offset voltage is applied to the comparator 53. Accordingly, the response to the voltage change becomes slow, so that the offset adjustment can be carried out simply. According to the aforementioned construction, exact air flow metering can be made while necessary accuracy is kept regardless of the condition of use. Consequently, air-fuel ratio control for a car can be made with high accuracy at all times. The prior art as shown in Fig. 17 lacks consideration about the method for calculating the basic quantity Q a /N for determining the fuel quantity supplied to the engine. In the prior art, the hot-wire heating period is directly used as an air flow signal, so that variously different characteristics are produced depending on the rotation speed N of the engine, and all the different characteristic values must be stored. There arises therefore a problem in that the flow meter is complicated in construction. To solve the aforementioned problem, the following construction is used in the present invention. As shown in Figs. 17 and 18, the crank angle signal is fed to the set terminal of the flip-flop 4, so that the Q output of thereof is set to pass a current through the hot wire 1. As the result, the temperature of the hot wire 1 rises, so that the voltage of the hot wire 1 increases. When the voltage of the hot wire 1 reaches a predetermined value, the comparator 3 operates to feed a reset signal to the flip-flop circuit 4 to thereby reset the Q output, so that the heating of the hot wire 1 stops. As the result, the temperature of the hot wire is lowered, so that the voltage of the hot wire 1 decreases. The period in which the Q output is set, that is, the heating period T, has a value corresponding to the suction air flow rate and represented by the equation I 2 R w T T 0 = (C 1 + C 2 U )(T w - T a ) · S in which I represents a current flowing in the hot wire, R w represents a resistance of the hot wire, T a represents the temperature of air, T w represents the temperature of the hot wire, S represents the surface area of the hot wire, T 0 represents a heating cycle, and T represents a heating period. From the equation (1), the heating period T changes corresponding to the value of √U.The heating period T changes in proportion to the temperature difference (T w - T a ) corresponding to the temperature T a . Accordingly, it is preferable that the air temperature compensation relative to the voltage V h of the hot wire 6 is provided in the sensor output as follows. Figs. 21 and 22 are a block diagram showing an example of construction of an air flow meter formed by adding temperature compensation of the sensor output to Fig. 17 and a graph showing the operation thereof, respectively. In Fig. 21, the reference numeral 2 designates a temperature-sensitive resistor for air temperature compensation, 70 designates an power supply V, 71 designates an A/D converter, and 72 designates a D/A converter. Fig. 22 is an operational waveform graph showing the voltage V h of the hot wire 1 under the air temperature compensation. In Fig. 21, a constant voltage V obtained from the power supply 70 is supplied to the temperature-sensitive resistor 2 through a resistor R, separately from the current I supplied to the hot wire 1 from the driving circuit 8. A voltage V c determined by the resistance R c of the temperature-sensitive resistor 2 corresponding to the air temperature T a is converted, by the A/D converter 71, into a digital signal which is in turn supplied to the micro-computer 20. In the micro-computer 20, a predetermined value V ref is determined corresponding to the voltage V c (hence, corresponding to the resistance R c ) and converted, by the D/A converter 72, into an analog signal to be fed to the comparator. The operation after that is the same as described above with reference to Fig. 17. By compensation of the air temperature T a , the predetermined value V ref changes corresponding to the air temperature T a as shown in Fig. 22. As the result, the hot wire heating period T does not change though the air temperature T a changes. In short, the predetermined value V ref increases to a value V ref ′ as the air temperature T a increases to a value T a ′, so that the heating period T becomes equal to a heating period T' to thereby avoid the influence of suction air temperature. Here the following equations are established. R c = R c0 (1 + C c T a ) R w = R w0 (1 + C w T w ) In those equations, C c represents the temperature coefficient of the temperature-sensitive resistor 2, C w represents the temperature coefficient of the hot wire 1, R c0 represents the resistance of the temperature-sensitive resistor 2 at 0°C, R w0 represents the resistance of the hot wire 1 at 0°C, R c represents the resistance of the temperature-sensitive resistor 2 at T a °C (that is, the air temperature), and R w represents the resistance of the hot wire 1 at T w °C. Now the characteristics of the temperature-sensitive resistor 2 and the hot wire 1 are established as follows. R c0 = R w0 = R 0 C c = C w = 2 Then the following equation is obtained from the equations (4) and (5). T w - T a = 1 2R 0 (R w - R c ) Accordingly, the following equation is obtained from the equations (6) and (1). I 2 R w T T 0 = (C 1 +C 2 √U) 1 2R 0 (R w -R c )·S The equation can be rearranged as follows. Assuming now that the current I is constant, that is 2, then the following functional equation is obtained because 2, R 0 , S, C 1 and C 2 are invariables. Accordingly, if the hot wire temperature T w is changed corresponding to the air temperature T a on the basis of the equations (2) and (3) so that the ratio of R c to R w , that is, R c /R w , can be kept constant, the equation (8) can be rearranged as follows because R c /R w is invariable. T = f ( U ) · T 0 The heating period T for the hot wire 1 becomes independent of the air temperature T a and the hot wire temperature T w . The aforementioned operation can be executed by changing the hot wire temperature T w corresponding to the air temperature T a . In short, in the point of view of the circuit, the aforementioned operation can be executed by changing the voltage V h of the hot wire 1 corresponding to the predetermined value V ref as shown in Fig. 22. The characteristics are stored in the micro-computer 20. Although the aforementioned method using the heating period T for the hot wire 1 directly as an air flow signal is a known method, the basic quantity Q a /N of injection obtained from the heating period as an air flow signal Q a by using the known method varies corresponding to the rotation speed N of the engine. Fig. 23 is a characteristic diagram of a three-dimensional map for expressing the relation between the heating period T and the basic quantity Q a /N in the prior art. In Fig. 23, the basic quantity Q a /N (in which Q a is the average of air flow rate and N is the rotation speed of the engine) obtained directly from the equation (9) by using the period T for heating the hot wire 1 by the prior art suction air synchronization pulse driving method as an air flow signal Q a varies corresponding to the rotation speed N of the engine as shown in Fig. 23. In short, the basic quantity Q a /N can be expressed as a characteristic curve by using the rotation speed N of the engine as a parameter (for example, N = 1000, 2000, 4000, 6000 rpm). Accordingly, the three-dimensional map of N and T is required for obtaining the basic quantity Q a /N from the heating period T. There arises a disadvantage in that the capacity of the micro-computer 20 must be enlarged to store the three-dimensional map therein. Here Q a /N is a basic quantity for determining the amount of fuel injection (that is, the valve opening period) supplied from the injector 9. Therefore, according to the present invention, the three-dimensional characteristic in Fig. 23 is converted into two-dimensional characteristic by the following method. The equation (1) is rearranged as follows. I 2 R w T T 0 = (C 1 + C 2 U ) ΔT · S In the equation (10), ΔT = T w - T a . ∴ T = ΔT·S I 2 R w · C 1 + C 2 U 1 T 0 In the equation (11), N = k 1 1 / t (in which k 1 is constant). Accordingly, the equation (11) is rearranged as follows. T = k 1 ΔT·S I 2 R w · C 1 + C 2 U N In the equations, U = k 2 Q a (in which k 2 is constant). Accordingly, the equation (13) is rearranged as follows. If the current I and the rate ΔT/R w (or R/R w ) are kept constant in the same manner as described above in the prior art, the equation (14) is rearranged into the following equation because S, k 1 , C 1 and C 2 k 2 are invariables. N · T = A N + B Q a N in which A = k 1 ΔT·S I 2 R w · C 1 B = k 1 ΔT·S I 2 R w · C 2 k 2 The following equation can be obtained by rearranging the equation (15). B · Q a N = N · T - A N ∴ Q a N = 1 B 2 N · T - A N In short, the following functional relation can be obtained. Accordingly, the basic quantity Q a /N can be obtained directly by calculating the right side of the equation (17) or (18) on the basis of the rotation speed N of the engine and the heating period T. Fig. 24 is a characteristic diagram of the two-dimensional map for expressing the functional relation between the variable (√N ·T - A/√N) including the heating period T and the rotation speed N of the engine and the basic quantity Q a /N according to one embodiment of the present invention. In Fig. 24, the characteristics of (√N ·T - A/√N) and Q a /N obtained by using the functional relation as represented by the equation (18) do not change though the rotation speed N of the engine changes successively to 1000, 2000, 4000 and 6000 rpm as shown in Fig. 24. Accordingly, the basic quantity Q a /N can be obtained easily from the heating period T for hot wire 1 by using the two-dimensional map having the characteristic of Fig. 24. Accordingly, there arises an advantage in that the capacity of the micro-computer for storing the characteristic can be reduced. Fig. 25 is a flow chart showing the procedure for calculating, by the micro-computer 20, the basic quantity Q a /N from the heating period T for the hot wire by using the two-dimensional map of Fig. 24. The micro-computer 20 fetches the heating period T for every heating cycle of the hot wire 1 (Step 75) and then fetches the rotation speed N of the engine (Step 76). Then the micro-computer calculates (√N·T - A/√N) (Step 77), calculates Q a /N from the two-dimensional map as shown in Fig. 24 (Step 78) and then sends out Q a /N (Step 79). The aforementioned procedure is carried out for every cycle after every heating cycle of the hot wire 1 by suction air synchronization pulse driving is finished. Whenever the procedure is finished, the value of Q a /N is sent out soon. The amount of fuel injection from the injector 9 is determined on the basis of the basic quantity Q a /N. Further, correction coefficients and a correction term for correcting the scatter in characteristics may be added to the functional relation of Fig. 24 represented by the equation (18). In short, Q a /N can be represented by the equation In which K 1 , K 2 and K 3 are constant. According to the aforementioned construction, the basic quantity Q a /N can be obtained from the hot wire heating period T by using the two-dimensional map. Accordingly, the necessary capacity of the micro-computer can be reduced to about 1/20 as much as the capacity in the prior art, so that cost can be reduced. At the same time, the computing speed can be improved to be adapted to the high-speed rotation of the engine. According to the prior art as shown in Fig. 26, a problem arises in the following two points. The first point is in that the output signal expresses a vibrating waveform at the early stage of stepping change of air flow rate. The second point is in that the average amount of pulsating air flow rate is measured to be lower than the true amount. This is because the detection signal obtained by intermittent heating is proportional to the average of the heat transmission coefficient, not proportional to the average of the flow rate in the measurement period. In other words, this reason is that the average of the heat transmission coefficient (A + B Q a ), not the average of the flow rate Q a , is obtained (A and B are invariables). Accordingly, errors increase as the amplitude ratio of the pulsating air flow rate increases. To solve the aforementioned problem, the following construction is used in the present invention. The basic thought in the present invention is in that the hot-wire probe is heated twice or more in every air-intake stroke to obtain two or more measurement values (heating current supply period), the measurement values being added after converted into air quantities, to calculate the amount of suction air in every air-intake stroke to thereby evade the oscillation of the stepping answer signal and the measurement error of the pulsating air flow rate. Fig. 27 shows the case where the measurement is repeated twice in every air-intake stroke (at the crank angle of 180° in the case of 4-cylinder 4-cycle engine). A crank angle signal for every 90° is fed to the set terminal of the flip-flop circuit 4 to supply a heating current to the hot-wire probe 1. The periods (output signals) T 1 and T 2 required for heating the hot-wire probe to a predetermined temperature are measured. Fig. 28 is a flow chart showing the procedure for calculating the amount of air Q a dt in every air-intake stroke from the output signals T 1 and T 2 . In Step 80, variables are initialized. In Step 81, the measurement period T 0 (period between crank angles) and the output signal T (heating current supply period) as shown in Fig. 27 are read. In Step 82, T/ T 0 + C/ T 0 is calculated. In Step 83, is obtained from T/ T 0 + C/ T 0 by using the table of Fig. 6. In Step 84, is added. In Steps 85 and 86, whether the number of arithmetic operations of Q a reaches a predetermined number or not is judged. When the number of times of the arithmetic operations does not reach the predetermined value, the situation is returned to Step 81. When the number of times of the arithmetic operations reaches the predetermined value, Q a is established to be the amount of suction air in the air-intake stroke. In short, the method comprises the steps of calculating the air quantity from the output signal T and the measurement period T 0 is repeated by predetermined times in every air-intake stroke, and adding up the measured values of the air quantity to obtain the amount of suction air in every air-intake stroke. Fig. 29 shows the average of the signals as shown in Fig. 26. It is apparent from Fig. 29 that the amplitude of the signal is reduced. As described above, it is necessary to increase the number times of measurements in every air-intake stroke for the double purpose of avoiding oscillation of the stepping response signal and reducing measurement errors due to pulsating flow rate. However, the output signal T (heating current supply period) is shortened to make it more difficult to measure the period T with high accuracy practically, as the number of times of measurements increases. In particular, as the rotation speed of the engine becomes high, the period of one air-intake stroke is shortened and the output signal T is shortened. Therefore, it is necessary to change the number of times of measurements in one air-intake stroke corresponding to the rotation speed of the engine. An embodiment adapted to the change of the number of times of measurements is shown in Fig. 30. In this embodiment, a synchronization signal generator 87 is disposed between the crank angle sensor 15 and the set terminal of the flip-flop circuit 4 in Fig. 1. When the rotation speed of the engine is not lower than a predetermined value, a signal from the computer 20 is fed to the synchronization signal generator 87 to thin out signals of the crank angle sensor 15. According to the aforementioned construction, oscillation of the air flow metering signal during the changing of air flow rate step by step can be avoided, so that the average amount of pulsating air flow rate can be measured with high accuracy. In particular, when the air flow meter according to the present invention is adapted to fuel injection apparatus for cars, the air-fuel ratio of supply mixed gas can be controlled with high accuracy in a wide operational range.

Claims: An air flow metering apparatus for an internal combustion engine comprising: (a) a hot-wire probe (1) provided in an air-intake stream for said engine, (b) an air temperature probe (2) for detecting the air temperature in said air-intake stream, (c) flip flop means (4) responsive to means (15) for generating a cyclic signal in synchronism with a crank angle of the engine and for controlling means (7, 8, 11) for starting supply of a heating current to said hot-wire probe, (d) comparator means (3) responsive to the temperature of said hot-wire probe and to the temperature of said air temperature probe, for deciding that a temperature difference between said hot-wire probe (1) and said air temperature probe (2) has reached a predetermined value, whereby said flip flop means (4) stops supply of the heating current in accordance with the signal at a reset input thereof from said comparator means (3), and said flip flop means (4) outputs an air flow rate signal representative of the period while supply of the heating current to said hot-wire probe is continued, characterised by comparison means (8, 11, 12, 13) for comparing the current through the hot wire probe with a reference voltage (Vr) for controlling the said current to be constant, offset adjustment means (16, 60, 61) connected to said comparator means (3) for adjusting the offset voltage of the comparator means such that the output signal of said comparator means and the reset input of said flip-flop means are at a low level while said heating current in said hot-wire probe (1) is cut off, wherein said offset adjustment means applies a voltage to one of the first and second signal inputs of said comparator means, and computing means (20a, 20b) for multiplying a correction coefficient (α) obtained from the rotation speed of said engine and the opening of a suction air flow control means by an air quantity signal obtained from the air flow rate signal, whereby the air flow rate signal is rendered more accurate under conditions when the suction air pulsates. An air flow rate metering apparatus as claimed in claim 1 wherein said computing means includes means (20a) for calculating an air quantity per air-intake stroke on the basis of the output signal of said flip flop means (4) and the air-intake stroke period T 0 , which said calculation is used as said air quantity signal. An air flow metering apparatus as claimed in claim 1 or 2, comprising electronic switching means (17) coupling said means (15) for generating a cyclic signal to said flip-flop means (4), said electronic switching means (17) being open-circuited for a predetermined time which includes the ignition instant of the engine. An air flow metering apparatus as claimed in claim 3 wherein said switching means (17) is triggered by a monostable multi-vibrator (17b) which is responsive to an ignition timing signal produced by said means (15). An air flow metering apparatus as claimed in any preceding claim wherein said means (8, 11, 12, 13) for controlling the hot wire probe current regulates said current by comparing a potential derived from said current to a controllable constant voltage. An air flow metering apparatus as claimed in any preceding claim wherein said hot wire probe (1) and said air temperature probe (2) are arranged in adjacent arms of a bridge circuit, and the arm (10) of said bridge opposite said hot wire probe (1) comprises a variable resistance for changing a target temperature of said hot wire probe. An air flow metering apparatus as claimed in any preceding claim further comprising zero adjustment means (18) for processing the output of said flip-flop means (4) to adjust the pulse width thereof.

Inventors: NISHIMURA YUTAKA, OHSUGA MINORU, OHYAMA YOSHISHIGE, NISHIMURA, YUTAKA, OHSUGA, MINORU, OHYAMA, YOSHISHIGE
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1989
Main classification: G01F1
IPC codes: G01F1, F02D41, F02B75, F02B1