This application is based on and incorporates herein by reference Japanese Patent Application No. 2009-53333 filed on Mar. 6, 2009.
The present invention relates to a sensor for measuring a concentration of a material such as alcohol in a liquid.
Recently, alcohol blended gasoline has attracted great attention as a fuel for a vehicle for its low pollution characteristics. An optimum air-fuel ratio is different between pure gasoline and such blended gasoline. Therefore, accurate measurement of the concentration of alcohol in blended gasoline is important to achieve optimum control of an air-fuel ratio for blended gasoline.
A physical constant with a high change rate is generally used to accurately measure the concentration of alcohol in a liquid. In a conventional method, the concentration of alcohol is measured by detecting a change in relative permittivity of the liquid. For example, the change in the relative permittivity can be measured based on a change in capacitance. A conventional liquid concentration sensor has a pair of opposing electrodes located in the liquid and measure a change in capacitance between the electrodes, thereby measuring a change in the relative permittivity of the liquid. The electrodes are repeatedly charged and discharged by a switch that is turned ON and OFF at a constant period by a control circuit. An output voltage of the liquid concentration sensor changes in proportion to the concentration of alcohol in the liquid.
Assuming that the sensor output voltage is converted to digital by an A/D converter, the sensor output voltage may involve a conversion error (e.g., ±30 mV) due to characteristics of the A/D converter. The conversion error causes a measurement error in the ethanol concentration.
In view of the temperature dependence, the measurement error in the ethanol concentration becomes large, when (e.g., at a point indicated by an arrow B in
Therefore, the measurement error becomes large at a point (i.e., at the point indicated by the arrow B in
The above problem may be solved by amplifying an output voltage. For example, JP-U-H4-75957 disclose a technique for representing an output signal as a linear function of a capacitance of a sensor portion by using a square circuit.
However, it is not always possible to simply amplify an output voltage, because the amplified voltage may exceed a saturation voltage of a circuit. For example, gain necessary to reduce the measurement error rate below one percent at the point where the relationship curve is almost parallel to the horizontal axis is about six times greater than the output voltage. As a result, the amplified voltage exceeds the saturation voltage. A reason for this is that the output voltage is increased (i.e., offset) due to a stray capacitance.
In view of the above, it is an object of the present invention to provide a liquid concentration sensor for measuring a concentration of a material in a liquid by reducing an effect of a stray capacitance so that an output voltage can be amplified to a level large enough to reduce a measurement error.
According to an aspect of the present invention, a liquid concentration sensor includes an electrode capacitance conversion circuit, a stray capacitance conversion circuit, a difference calculation circuit, and an amplifier circuit. The electrode capacitance conversion circuit includes a detection electrode, switching devices, and an operation signal output device. The detection electrode has a pair of opposing terminals and is adapted to be partially located in a liquid fuel. The switching devices switch between charging and discharging of the detection electrode. The operation signal output device outputs an operation signal for turning ON and OFF the switching devices so that the electrode capacitance conversion circuit outputs a first measurement value that is determined by the charging and discharging of the detection electrode. The stray capacitance conversion circuit has the almost same configuration as the electrode capacitance conversion circuit so as to output a second measurement value corresponding to a stray capacitance of the electrode capacitance conversion circuit. The difference calculation circuit outputs a difference value between the first and second measurement values. The amplifier circuit amplifies the difference value.
The above and other objectives, features and advantages of the present invention will become more apparent from the following detailed description made with check to the accompanying drawings. In the drawings:
An alcohol concentration sensor 1 according to an embodiment of the present invention is described below with reference to the drawings. For example, the alcohol concentration sensor 1 can be mounted on a vehicle to measure the concentration of ethanol in blended gasoline used as a fuel for the vehicle.
The electrode capacitance conversion circuit 100 outputs a first measurement voltage corresponding to a capacitance including a stray capacitance existing in electrodes and circuitry. The stray capacitance conversion circuit 200 outputs a second measurement voltage corresponding to the stray capacitance. The differential amplifier 300 outputs a difference voltage between the first measurement voltage and the second measurement voltage, thereby canceling the effect of the stray capacitance. The amplifier circuit 400 amplifies the difference voltage to a suitable level. The amplified voltage is inputted to the microcomputer 500.
Firstly, the electrode capacitance conversion circuit 100 is discussed in detail below.
The electrode capacitance conversion circuit 100 has an output terminal 11 for outputting a first measurement voltage Va. The first measurement voltage Va is measured with respect to a reference voltage E. For example, the reference voltage E can be 1 volts (V).
The electrode capacitance conversion circuit 100 includes an oscillation section 20 and a detection section 40. The oscillation section 20 outputs a pulse signal (as an operation clock signal) with a frequency f. For example, the oscillation section 20 can include a Schmitt trigger with hysteresis, a resistor connected in parallel to the Schmitt trigger, a capacitor connected between an input side of the Schmitt trigger and a ground potential.
As described later, the oscillation section 20 can output two types of pulse signals with different frequencies f1, f2. Therefore, for example, the oscillation section 20 can be formed with two sets of a Schmitt trigger, a resistor, and a capacitor that are configured in a manner described above.
The microcomputer 500 switches the frequency f of the pulse signal between the frequency f1 and the frequency f2. That is, the microcomputer 500 controls the oscillation section 20 so that the electrode capacitance conversion circuit 100 can operate on the pulse signal with the frequency f1 or the frequency f2.
The electrode capacitance conversion circuit 100 further includes a first switch sw1, a second switch sw2, a first EXOR gate 33, and a second EXOR gate 34. The first EXOR gate 33 is connected between the oscillation section 20 and the first switch sw1. Specifically, a first input of the first EXOR gate 33 is connected to the oscillation section 20, and an output of the first EXOR gate 33 is connected to the first switch sw1. The second EXOR gate 34 is connected between the oscillation section 20 and the second switch sw2. Specifically, a first input of the second EXOR gate 34 is connected to the oscillation section 20, and an output of the second EXOR gate 34 is connected to the second switch sw2. A second input of the first EXOR gate 33 is connected to a power source 12 so that a power supply voltage Vcc can be applied to the second input of the first EXOR gate 33. A second input of the second EXOR gate 34 is grounded. Thus, the first switch sw1 and the second switch sw2 are alternately and repeatedly turned ON and OFF at a period corresponding to the frequency f (i.e., f1 or f2) of the pulse signal outputted from the oscillation section 20.
The detection section 40 includes a detection electrode 41. The detection electrode 41 is located in a path over which a fuel of the vehicle flows. The detection electrode 41 has a pair of positive and negative terminals that are located opposite to each other to form a capacitance Cp. According to the embodiment, the concentration of ethanol in the fuel is measured by measuring the capacitance Cp of the detection electrode 41. It is noted that there is a leak resistance Rp that affects the measurement. It has been known that the leak resistance Rp depends on the amount of impurities in the fuel. Specifically, as the amount of impurities are increased, the leak resistance Rp is reduced. It can be considered that the leak resistance Rp is connected in parallel to the detection electrode 41. As described later, one advantage of the present embodiment is that the concentration of ethanol in the fuel can be measured without being affected by the leak resistance Rp.
The positive terminal of the detection electrode 41 is connected to an inverting input terminal of an operational amplifier 43 via the first switch sw1. A capacitor 44 and a gain resistance Rg are connected in parallel between an non-inverting input terminal and an output terminal of the operational amplifier 43. The reference voltage E is applied to the non-inverting input terminal of the operational amplifier 43. Further, the positive terminal of the detection electrode 41 is grounded via the second switch sw2, and the negative terminal of the detection electrode 41 is directly grounded.
The output terminal of the operational amplifier 43 is connected to the output terminal 11 via a resistor 47. The output terminal 11 is grounded via a capacitor 49. Thus, an output voltage V of the operational amplifier 43 is smoothed into the first measurement voltage Va.
Next, an operation of the electrode capacitance conversion circuit 100 is discussed below with reference to
As described previously, the first switch sw1 and the second switch sw2 are alternately and repeatedly turned ON and OFF at the period corresponding to the frequency f (i.e., f1 or f2) of the pulse signal (i.e., operation clock signal) outputted from the oscillation section 20.
As shown in
In this case, the operational amplifier 43 acts in such a manner that the inverting and non-inverting input terminals of the operational amplifier 43 are at the same potential. Consequently, as shown in
In
As shown in
Since the positive terminal of the detection electrode 41 is grounded via the second switch sw2, the charged detection electrode 41 can be discharged. Therefore, the current i1 flows through the detection electrode 41 in opposite direction compared to when the pulse signal is at a logic Low level.
In
Next, the output voltage V of the operational amplifier 43 produced when the first and second switches sw1,sw2 are switched by the pulse signal with the frequency f is discussed below.
From
i2=0.5E/Rp (1)
Charge stored in the detection electrode 41 can be given as follows by using the capacitance Cp of the detection electrode 41:
ΔQ=CpE (2)
Since an average value of the first current i1 is the derivative of the charge, the average value of the first current i1 can be given as follows:
i1=ΔQ/T0=CpE/T0=CpEf (3)
In the equation (3), T0 (=1/f) represents a period of the pulse signal.
Therefore, the output voltage V of the operational amplifier 43 can be given as follows by using the equations (1), (3):
It can be seen from the equation (4) that the output voltage V does not vary when the leak resistance Rp is close to infinity. In such a case, the ethanol concentration can be accurately measured. However, when the leak resistance Rp is small (i.e., when the fuel contains a lot of impurities), the measurement error becomes larger.
According to the embodiment, the first and second switches sw1, sw2 are turned ON and OFF by the pulse signal with the frequency f1 to obtain an output voltage V(f1) of the operational amplifier 43. Further, the first and second switches sw1, sw2 are turned ON and OFF by the pulse signal with the frequency f2 to obtain an output voltage V(f2) of the operational amplifier 43. The effect of the leak resistance Rp can be removed by taking a difference between the output voltages V(f1), V(f2). From the equation (4), the difference V(f1)-V(f2) can be given as follows:
V(f1)−V(f2)=E·(f1−f2)·Rg·Cp (5)
Thus, the capacitance Cp of the detection electrode 41 can be measured from the equation (5) without being affected by the leak resistance Rp.
Next, the stray capacitance conversion circuit 200 is discussed in detail below with reference to
As can be seen by comparing
A difference between the electrode capacitance conversion circuit 100 and the first example of the stray capacitance conversion circuit 200 is in that the stray capacitance conversion circuit 200 has a dummy detection section 50 instead of the detection section 40. The dummy detection section 50 includes a dummy detection electrode 51 and a resistance R connected in parallel to the dummy detection electrode 51. It is noted that the dummy detection electrode 51 is entirely located outside the fuel. The dummy detection electrode 51 has a capacitance C corresponding to a capacitance of a portion of the detection electrode 41 located outside the fuel. Since the capacitance of the portion of the detection electrode 41 located outside the fuel has an almost constant value, the capacitance C of the dummy detection electrode 51 can be determined by a statistical method. The resistance R is adjusted according to a resistance (generally very small) of a first switch sw1.
As can be seen by comparing
It is noted that the stray capacitance affecting the measurement is caused from the electrode capacitance conversion circuit 100 itself and a portion of the detection electrode 41 located outside the fuel.
When the second example of the stray capacitance conversion circuit 200 shown in
In contrast, when the first example of the stray capacitance conversion circuit 200 shown in
Next, the differential amplifier 300 is discussed in detail below with reference to
Specifically, the output terminal 11 of the electrode capacitance conversion circuit 100 is connected to an inverting input terminal of the operational amplifier 61 via the resistor 62. The output terminal of the stray capacitance conversion circuit 200 is connected to an non-inverting input terminal of the operational amplifier 61 via the resistor 63. Further, the non-inverting input terminal of the operational amplifier 61 is grounded via the resistor 64. Furthermore, the output terminal of the operational amplifier 61 is connected to the amplifier circuit 400 and connected to the inverting input terminal of the operational amplifier 61. Thus, the difference between the first measurement voltage Va outputted from the electrode capacitance conversion circuit 100 and the second measurement voltage Vr or Vrr outputted from the stray capacitance conversion circuit 200 is inputted to the amplifier circuit 400.
Next, advantages of the alcohol concentration sensor 1 are discussed below.
As described previously,
According to the embodiment, the effect of the stray capacitance of the electrode capacitance conversion circuit 100 itself can be removed by using the stray capacitance conversion circuit 200 shown in
Further, according to the embodiment, the effect of the stray capacitance of the portion of the detection electrode 41 located outside the fuel can be removed by using the stray capacitance conversion circuit 200 shown in
Since the offset voltage is very small, the output voltage of the differential amplifier 300 is relatively small. Therefore, the output voltage of the differential amplifier 300 can be amplified by the amplifier circuit 400 to a level large enough to reduce the measurement error in the ethanol concentration as much as possible.
The oscillation section 20 can serve as an operation signal output device. The differential amplifier 300 can serve as a difference calculation circuit. The dummy detection electrode 51 can serve as a capacitor with a capacitance corresponding to a capacitance of a portion of the detection electrode 41 located outside the fuel. The resistance R of the dummy detection section 50 can serve as a resistor with a resistance corresponding to a resistance of the switching devices sw1, sw2.
(Modifications)
The embodiment described above can be modified in various ways.
For example, four switches that are connected in a so-called crawl type configuration can be used instead of the two switches sw1, sw2.
The present invention can be applied to a liquid concentration sensor for measuring the concentration of a material other than ethanol. For example, the present invention can be applied to a liquid concentration sensor for measuring the concentration of methyl alcohol (methanol).
Such changes and modifications are to be understood as being within the scope of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2009-53333 | Mar 2009 | JP | national |