A kind of high resolving power gas sensor interface circuitTechnical field
The present invention relates to a kind of interface circuit, especially a kind of high resolving power gas sensor interface circuit.
Background technology
The electric signal that gas sensor transforms out need to be processed by interface circuit conventionally, to meet the parameter request of analog to digital converter.For resistance signal output type sensor, it is equivalent to a variohm.The way of common this sensor interface circuitry is at both ends of power series connection sensor and a fixed resistance value resistance.Analog to digital converter detects the voltage at pull-up resistor two ends.Physical circuit is shown in Fig. 1.
But the pull-up resistor of fixed resistance value has its inherent shortcoming, see following formula.
Order
(formula 2),
(formula 3), dull decline within the scope of arithmetic number.Changing in sensing range of visible light transducer, and but maximum at RS/RL=1 place slope, only the sensitivity of sensor is the highest herein.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method that can significantly improve sensor detection sensitivity is provided.
Technical scheme of the present invention is as follows:
A kind of high resolving power gas sensor interface circuit, comprise power supply, sensor, pull-up resistor, voltage-level detector, described sensor and pull-up resistor are connected in series in both ends of power, voltage-level detector is parallel to the two ends of pull-up resistor, voltage for detection of pull-up resistor two ends, it is characterized in that: described pull-up resistor is variable load resistance, described variable load resistance is also connected with controller, controller is for adjusting the value of variable load resistance according to the value of voltage-level detector, make the resistance value of sensor equal the resistance value of variable load.
As a further improvement on the present invention, described variable load resistance is digital adjustable potentiometer.
As a further improvement on the present invention, described voltage-level detector is analog to digital converter.
The invention has the beneficial effects as follows:
The resistance value that a kind of high resolving power gas sensor of the present invention interface circuit has been realized any time sensor equals the resistance value of variable load, make the sensitivity of whole sensing range inner sensor be maximal value, and this maximal value is constant, effectively improved sensor detection sensitivity.
Accompanying drawing explanation
Fig. 1 is the circuit diagram of sensor interface circuitry in prior art;
Fig. 2 is the circuit diagram of a kind of high resolving power gas sensor of the present invention interface circuit.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
The circuit diagram of a kind of high resolving power gas sensor of the present invention interface circuit as shown in Figure 1, comprise power supply, sensor, pull-up resistor, voltage-level detector, described sensor and pull-up resistor are connected in series in both ends of power, voltage-level detector is parallel to the two ends of pull-up resistor, for detection of the voltage at pull-up resistor two ends.Wherein, pull-up resistor is variable load resistance, and variable load resistance is also connected with controller, and controller is for adjusting the value of variable load resistance according to the value of voltage-level detector, makes the resistance value of sensor equal the resistance value of variable load.
Variable load resistance is preferably digital adjustable potentiometer, and voltage-level detector is preferably analog to digital converter.
In Fig. 1, the resistance of sensor is Rs, and the resistance of pull-up resistor is Rl, supply voltage is Vc, the terminal voltage of pull-up resistor is VrL.
The present invention is replaced by digital variable resistor by fixed resistance value pull-up resistor in original circuit; With controller, read the magnitude of voltage in analog to digital converter.According to acquisition value, adjust the resistance of digital current potential, make it guarantee as far as possible Rs=Rl.
According to formula
(formula 1)
Order
(formula 2),
(formula 3), if any time Rs=R
l, the sensitivity of whole sensing range inner sensor is maximal value and constant.Can effectively improve sensor detection sensitivity.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.